/* ============================================
   오토스쿨 (AutoSchool) - Blazor Redesign
   Color Scheme: #0069c2 / #449cd9 / #ff7b1a
   ============================================ */

:root {
    --blue: #0069c2;
    --blue-dark: #0159a1;
    --blue-deep: #03499f;
    --blue-light: #449cd9;
    --blue-sky: #1ea5eb;
    --blue-bg: #e8eaf1;
    --orange: #ff7b1a;
    --orange-dark: #e56a0f;
    --yellow: #f6bf2e;
    --dark: #1a1a2e;
    --dark-bg: #0a0e1a;
    --gray-900: #2a2a2a;
    --gray-700: #494949;
    --gray-500: #8b95a2;
    --gray-300: #d5d5d5;
    --gray-200: #e8e8e8;
    --gray-100: #f6f6f6;
    --white: #ffffff;
    --danger: #f54337;
    --success: #22c55e;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

#blazor-error-ui, #components-reconnect-modal { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-900);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

.container { width: 1200px; margin: 0 auto; padding: 0; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }

/* ============================================
   HEADER
   ============================================ */
/* ── Header ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,105,194,0.08);
    transition: all 0.35s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 44px; transition: opacity 0.2s ease; }
.logo:hover .logo-img { opacity: 0.85; }

/* Nav */
.main-nav ul { display: flex; list-style: none; gap: 0; margin: 0; padding: 0; align-items: center; }
.main-nav .nav-item,
.main-nav a {
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
}
.main-nav .nav-item:hover, .main-nav a:hover {
    color: var(--blue);
    background: rgba(0,105,194,0.06);
}
.main-nav .nav-item.active, .main-nav a.active {
    color: var(--blue);
    font-weight: 700;
}
.main-nav .nav-item.active::after, .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%; transform: translateX(-50%);
    width: 20px; height: 2.5px;
    background: linear-gradient(90deg, #0069c2, #1ea5eb);
    border-radius: 2px;
}

/* AI CTA Button */
.main-nav .nav-cta {
    background: linear-gradient(135deg, #0069c2, #1ea5eb) !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 22px !important;
    padding: 8px 20px !important;
    margin-left: 4px;
    box-shadow: 0 2px 12px rgba(0,105,194,0.25);
    transition: all 0.3s ease !important;
}
.main-nav .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,105,194,0.35) !important;
    background: linear-gradient(135deg, #0059a8, #1690d0) !important;
}
.main-nav .nav-cta::after { display: none !important; }
.main-nav .nav-cta i { font-size: 13px; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: var(--blue);
    text-decoration: none; padding: 6px 14px;
    border: 1.5px solid rgba(0,105,194,0.2);
    border-radius: 20px; transition: all 0.2s ease;
}
.header-phone:hover { background: rgba(0,105,194,0.06); border-color: var(--blue); }
.header-phone i { font-size: 13px; }

/* Hamburger */
.mobile-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
    position: relative; z-index: 1001;
}
.mobile-toggle span {
    width: 22px; height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Overlay */
.overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,20,40,0.4);
    backdrop-filter: blur(4px);
    z-index: 998;
    animation: fadeIn 0.2s ease;
}
.overlay.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================
   HERO SECTION (원본 autoschool20.com 동일)
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 780px;
    padding-top: 64px;
    background: #e8eaf1 url('images/main_bgv2.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* 히어로는 JS 로딩 전에도 보이도록 */
.hero-section .motion [class*="top"] {
    opacity: 1;
    transform: none;
}

.hero-lease {
    background: url('images/main2_bgv2.png') no-repeat center center;
    background-size: cover;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.hero-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    z-index: 2;
}
.hero-logo { height: 50px; margin-bottom: 10px; }
.hero-title-img { max-width: 460px; margin-bottom: 16px; }

.hero-desc {
    font-size: 25px;
    color: #333;
    margin-bottom: 36px;
    font-weight: 500;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px;
    background: var(--orange);
    color: white; border: none; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(255,123,26,0.4);
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255,123,26,0.5); }

.btn-cta-outline {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px;
    background: transparent; color: #333;
    border: 2px solid var(--blue); border-radius: 50px;
    font-size: 16px; font-weight: 600; cursor: pointer;
    transition: var(--transition);
}
.btn-cta-outline:hover { background: var(--blue); color: white; }

.btn-cta-white {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px;
    background: white; color: var(--blue);
    border: none; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: var(--transition);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.hero-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.hero-phone,
.hero-card1,
.hero-card2 {
    position: absolute;
    left: 40%;
}

.hero-phone {
    top: 50px;
    margin-left: 165px;
    z-index: 10;
}

.hero-card1 {
    top: 100px;
    margin-left: 180px;
    width: auto;
    z-index: 5;
}

.hero-card2 {
    top: 70px;
    margin-left: 540px;
    width: auto;
    z-index: 1;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   SCROLL ANIMATION (원본 CSS 그대로)
   ============================================ */
.motion [class*="top"],
.motion [class*="left"],
.motion [class*="bottom"],
.motion [class*="po-"] {
    opacity: 0;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.active-wrap .motion [class*="top"],
.active-wrap .motion [class*="left"],
.active-wrap .motion [class*="bottom"],
.active-wrap .motion [class*="po-"] {
    opacity: 1;
}

.motion [class*="top"] { top: 40px; }
.active-wrap .motion [class*="top"] { top: 0px; }

.motion [class*="po-t"] { bottom: -100px; }
.active-wrap .motion [class*="po-t"] { bottom: 0px; }

.motion [class*="po-b"] { bottom: 40px; }
.active-wrap .motion [class*="po-b"] { bottom: 0px; }

.motion [class*="po-l"] { right: -40px; }
.active-wrap .motion [class*="po-l"] { right: 0px; }

.motion [class*="left"] { padding-left: 40px; }
.active-wrap .motion [class*="left"] { padding-left: 0; }

.motion [class*="bottom"] { margin-top: -100px; }
.active-wrap .motion [class*="bottom"] { margin-top: 0px; }

/* 순차 딜레이 */
.active-wrap .motion [class*="2"] { transition-delay: 0.3s; }
.active-wrap .motion [class*="3"] { transition-delay: 0.6s; }
.active-wrap .motion [class*="4"] { transition-delay: 0.9s; }
.active-wrap .motion [class*="5"] { transition-delay: 1.2s; }
.active-wrap .motion [class*="6"] { transition-delay: 1.5s; }

/* 히어로 이미지: 원본 동일 - 초기 투명, active-wrap 시 등장 */
.hero-section .hero-visual img {
    position: absolute;
    left: 40%;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.hero-section.active-wrap .hero-visual img {
    opacity: 1;
}
.hero-section.active-wrap .hero-card1 { transition-delay: 0.3s; }
.hero-section.active-wrap .hero-card2 { transition-delay: 0.6s; }

/* 히어로 텍스트: 원본 동일 - position:relative로 motion top 적용 */
.hero-section .hero-text [class*="top"] {
    position: relative;
}

/* main06 영수증은 별도 CSS로 제어 */
.m6-po-l, .m6-po-r { opacity: 1 !important; }

/* ============================================
   STATS (원본: #0069c2 배경, #fed428 숫자)
   ============================================ */
.stats-section {
    padding: 0;
    background: #0069c2;
}

.stats-grid {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 55px 0 45px;
    color: white;
}

.stat-number {
    display: block;
    font-size: 45px;
    font-weight: 500;
    color: #fed428;
    letter-spacing: 0;
    padding-bottom: 24px;
    line-height: 1;
}
.stat-label { display: block; font-size: 25px; font-weight: 500; color: #fff; }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 55px; font-weight: 800; color: #000; line-height: 1.3; margin-bottom: 12px; }
.section-header p { font-size: 25px; color: #494949; }
.text-blue { color: var(--blue); }
.text-lightblue { color: var(--blue-light); }
.underline-text { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; text-decoration-thickness: 3px; }

/* ============================================
   QUOTE SECTION (원본: #449cd9 배경, 흰 텍스트)
   ============================================ */
.quote-section {
    padding: 0;
    background: #449cd9;
    position: relative;
    height: 700px;
    overflow: hidden;
}

.quote-content {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    height: 100%;
}

.quote-visual {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.quote-papper {
    position: absolute;
    right: 50%;
    margin-right: 45px;
}

.quote-phone {
    position: absolute;
    right: 50%;
    margin-right: 148px;
    margin-bottom: -90px;
    bottom: 0;
    z-index: 100;
}

.quote-text {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -107px;
    color: #fff;
}

.quote-text h2 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
}

.quote-text p {
    font-size: 25px;
    color: rgba(255,255,255,0.85);
    margin-top: 16px;
}

/* ============================================
   MAIN03 - 대리점 비교 (원본 CSS 그대로)
   ============================================ */
.main03 {
    background: #fff;
    height: 800px;
}
.main03-contents {
    position: relative;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}
.main03-txt {
    position: absolute;
    left: 0;
    top: 50%;
    height: 400px;
    margin-top: -178px;
    color: #000;
}
.main03-txt [class*="top"] { position: relative; }
.main03-txt h2 { font-size: 55px; font-weight: 800; line-height: 1.3; }
.main03-txt p { font-size: 25px; color: #494949; margin-top: 10px; }
.main03-btnbox {
    margin-top: 40px;
}
.main03-btnbox > div {
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: -17px 17px 13px rgba(0,0,0,0.16);
    font-size: 18px;
    font-weight: 500;
    box-sizing: border-box;
    padding: 14px;
    position: relative;
}
.main03-btnbox > div:before {
    content: '';
    display: block;
    position: absolute;
    left: 14px;
    top: 14px;
    width: 33px;
    height: 34px;
    background: url('images/main3_ico1.jpg') no-repeat center center;
}
.main03-btnbox > div .m3-count {
    display: block;
    margin-top: 56px;
    border-top: 1px solid #87a8f5;
    padding-top: 10px;
}
.main03-btnbox > div.wh-box .m3-count { border-color: #e9e9e9; }
.main03-btnbox > div.bl-box {
    background: #2d66ee;
    color: #fff;
    margin-right: 11px;
}
.main03-btnbox > .wh-box:before {
    background: url('images/main3_ico2.jpg') no-repeat center center;
}
.main03-img img {
    position: absolute;
    left: 50%;
}
.main03-img .m3-phone {
    top: 110px;
    z-index: 10;
}
.main03-img .m3-card2 {
    top: 120px;
    margin-left: 250px;
    z-index: 1;
}

/* ============================================
   BENEFITS (원본: 340x385 박스, 원형 아이콘, #449cd9 강조)
   ============================================ */
.benefits-section {
    padding: 135px 0 60px;
    background: white;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding-top: 60px;
}

.benefit-card {
    width: 340px;
    height: 385px;
    padding: 25px 20px 30px;
    text-align: center;
    transition: var(--transition);
    border: none;
    border-radius: 0;
    background: #fff;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-card.accent { background: #449cd9; color: #fff; }
.benefit-card.accent h4 { color: #fff; }
.benefit-card.accent p { color: #fff; }

.benefit-icon {
    width: 153px; height: 153px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
    color: var(--blue);
    box-shadow: none;
}

.benefit-card h4 { font-size: 28px; font-weight: 500; margin-bottom: 20px; color: #000; padding-top: 8px; }
.benefit-card p { font-size: 23px; color: #494949; line-height: 1.5; }

/* ============================================
   VS SECTION (원본: 배경이미지, 흰 텍스트)
   ============================================ */
/* ============================================
   MAIN06 - 할부 VS 렌트 (원본 CSS 그대로)
   ============================================ */
.main06 {
    width: 100%;
    height: 1017px;
    background: url('images/main5_bg.png') no-repeat center center;
    background-size: cover;
}
.main06-contents {
    position: relative;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
}
.main06-txt {
    text-align: center;
}
.main06-txt h2 {
    padding-top: 136px;
    margin: 0 auto;
    width: 600px;
}
.main06-img {
    position: relative;
    width: 100%;
    height: 670px;
}
.main06-img img {
    position: absolute;
}
.main06-img .m6-vs {
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}
.main06-img .m6-car {
    top: 200px;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
}
.main06-img .m6-po-l {
    z-index: 0;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    transition: all 0.6s ease-in-out;
}
.main06-img .m6-po-r {
    z-index: 0;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    transition: all 0.6s ease-in-out;
}
.active-wrap .main06-img .m6-po-l {
    left: 0%;
    transform: translate(0%, 0);
}
.active-wrap .main06-img .m6-po-r {
    left: auto;
    right: 0%;
    transform: translate(0%, 0);
}
.m6-note {
    position: relative;
    text-align: center;
    font-size: 20px;
    color: #fff;
    padding-top: 15px;
    color: #fff;
    position: relative;
    text-align: center;
    padding-top: 15px;
}

/* ============================================
   MAIN05-LEASE - 자동차리스 장점 (원본 main05-index2)
   ============================================ */
.main05-lease { padding: 135px 0 18px; }
.main05-lease-contents { width: 1200px; margin: 0 auto; }
.main05-lease-txt { text-align: center; }
.main05-lease-txt h2 { font-size: 55px; font-weight: 800; line-height: 1.3; color: #000; }
.main05-lease-txt p { font-size: 25px; color: #494949; margin-top: 0; }
.main05-lease-boxes {
    padding-top: 110px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.m5l-box {
    float: left;
    width: 400px;
    height: 385px;
    box-sizing: border-box;
    padding: 25px 0 30px;
    text-align: center;
    margin: 0 60px 80px;
}
.m5l-box.on { background: #449cd9; color: #fff; }
.m5l-box.on h3, .m5l-box.on p { color: #fff; }
.m5l-box h3 { font-size: 28px; color: #000; padding: 28px 0 20px; }
.m5l-box p { font-size: 23px; color: #494949; }
.m5l-ico1, .m5l-ico2, .m5l-ico3, .m5l-ico4 {
    display: block;
    width: 153px;
    height: 153px;
    margin: 0 auto;
    border-radius: 100%;
    background: #fff no-repeat center center;
}
.m5l-ico1 { background-image: url('images/main4_ico1.png'); }
.m5l-ico2 { background-image: url('images/main4_ico2.png'); }
.m5l-ico3 { background-image: url('images/main4_ico33.png'); }
.m5l-ico4 { background-image: url('images/main4_ico44.png'); }

/* ============================================
   SAME CAR SECTION (원본: main07)
   ============================================ */
.same-car-section {
    padding: 80px 0;
    background: white;
}

.same-car-img {
    text-align: center;
    padding: 29px 0 70px;
}
.same-car-img img {
    max-width: 100%;
    width: 100%;
}

/* ============================================
   RENT vs LEASE (원본: main08)
   ============================================ */
.rent-lease-section {
    padding: 80px 0;
    background: #fff;
}

.rent-lease-img {
    text-align: center;
    padding: 29px 0 70px;
}
.rent-lease-img img {
    max-width: 100%;
    width: 100%;
}

/* ============================================
   PROMISE (원본: #0159a1, 원형 카드)
   ============================================ */
.promise-section {
    padding: 80px 0;
    background: #0159a1;
    text-align: center;
    color: white;
}

.promise-section .section-header h2 { color: white; }

.promise-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.promise-card {
    width: 320px;
    height: 320px;
    background: #fff;
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    transition: var(--transition);
    border: none;
}
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.promise-num {
    display: block;
    font-size: 60px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 18px;
}
.promise-card p { font-size: 25px; font-weight: 500; line-height: 1.6; color: #000; opacity: 1; }

/* ============================================
   PARTNER (원본: 테두리 그리드)
   ============================================ */
.partner-section {
    padding: 70px 0;
    background: white;
}

.partner-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

.partner-grid {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    margin-left: -1px;
    border-top: 1px solid #cfcfcf;
    border-left: 1px solid #cfcfcf;
}

.partner-item {
    width: 20%;
    height: 75px;
    border-right: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: var(--transition);
    padding: 10px;
    border-radius: 0;
    min-height: auto;
}
.partner-item:hover { background: var(--blue-bg); }
.partner-item img { max-height: 40px; max-width: 100%; object-fit: contain; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
    text-align: center;
}
.cta-section h2 { font-size: 50px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { font-size: 25px; opacity: 0.85; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FIX BOTTOM BAR (원본 동일)
   ============================================ */
.fix-bottom-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
}

.fix-bottom-tab {
    display: flex;
    background: #1ea5eb;
}

.fix-bottom-tab a {
    flex: 1;
    text-align: center;
    padding: 14px;
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.fix-bottom-tab a.active {
    background: #0069c2;
    color: white;
}
.fix-bottom-tab a:hover { color: white; }

.fix-bottom-quick {
    display: flex;
    background: #ffb87a;
    border-top: none;
    box-shadow: 0 -3px 16px rgba(0,0,0,0.08);
}

.fix-bottom-quick .quick-btn {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 5px;
    padding: 14px 6px;
    border: none; background: #ff9a4a;
    cursor: pointer; font-size: 14px; font-weight: 600;
    color: #fff; transition: var(--transition);
    text-decoration: none;
}
.fix-bottom-quick .quick-btn i { font-size: 22px; }
.fix-bottom-quick .quick-btn:hover { background: #fff; color: #ffb87a; }

/* ============================================
   PROCESS (자동차리스 진행 절차)
   ============================================ */
.process-section { padding: 80px 0; background: white; }

.process-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.process-step {
    flex: 0 0 200px;
    text-align: center;
    padding: 36px 18px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-num {
    display: inline-block;
    width: 46px; height: 46px; line-height: 46px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 14px;
}

.process-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--gray-500); }
.process-arrow { font-size: 22px; color: var(--gray-300); }

/* ============================================
   PAGE HERO (Sub pages)
   ============================================ */
.page-hero {
    padding: 130px 0 50px;
    background: linear-gradient(135deg, var(--dark-bg), var(--blue-dark));
    color: white;
    text-align: center;
}
.page-hero h1 { font-size: 36px; font-weight: 900; margin-bottom: 10px; }
.page-hero p { font-size: 17px; opacity: 0.75; }

/* ============================================
   SIMULATOR
   ============================================ */
.sim-section { padding: 60px 0 80px; }

.sim-layout { display: grid; grid-template-columns: 340px 1fr; gap: 30px; }

.sim-input-panel {
    background: white; border-radius: var(--radius-md);
    padding: 28px; box-shadow: var(--shadow-md);
    position: sticky; top: 80px; align-self: start;
}
.sim-input-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; color: var(--blue); }
.sim-input-panel h3 i { margin-right: 6px; }

.sim-group { margin-bottom: 20px; }
.sim-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }

.sim-input {
    width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm); font-size: 15px; font-family: inherit;
    font-weight: 600; color: var(--gray-900);
}
.sim-input:focus { outline: none; border-color: var(--blue); }

.sim-group input[type="range"] {
    width: 100%; margin-top: 8px; accent-color: var(--blue);
}

.sim-value { display: block; text-align: right; font-size: 13px; color: var(--blue); font-weight: 700; margin-top: 4px; }

.sim-toggle { display: flex; gap: 6px; flex-wrap: wrap; }
.sim-toggle button {
    flex: 1; padding: 9px 8px; border: 1.5px solid var(--gray-300);
    background: white; border-radius: var(--radius-sm); font-size: 13px;
    font-weight: 600; cursor: pointer; transition: var(--transition);
    color: var(--gray-700); min-width: 60px;
}
.sim-toggle button.active { background: var(--blue); color: white; border-color: var(--blue); }
.sim-toggle button:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

.sim-result-panel { }
.sim-result-panel h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; color: var(--gray-900); }
.sim-result-panel h3 i { color: var(--blue); margin-right: 6px; }

.sim-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }

.sim-card {
    padding: 24px 20px; border-radius: var(--radius-md);
    background: var(--gray-100); border: 2px solid transparent;
    text-align: center; position: relative; transition: var(--transition);
}
.sim-card.featured { background: var(--blue-bg); }
.sim-card.best { border-color: var(--orange); box-shadow: var(--shadow-md); }
.sim-card:hover { transform: translateY(-3px); }

.best-badge {
    position: absolute; top: -10px; right: 12px;
    background: var(--orange); color: white;
    padding: 3px 12px; border-radius: 12px;
    font-size: 11px; font-weight: 800;
}

.sim-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.sim-card-price { font-size: 14px; color: var(--gray-500); margin-bottom: 14px; }
.sim-card-price strong { font-size: 26px; font-weight: 900; color: var(--blue); }
.sim-card.best .sim-card-price strong { color: var(--orange); }

.sim-card ul { list-style: none; padding: 0; text-align: left; }
.sim-card li { font-size: 13px; color: var(--gray-700); padding: 4px 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; }
.sim-card li strong { color: var(--gray-900); }
.text-save { color: var(--blue) !important; }

.sim-chart {
    background: white; border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.sim-chart h4 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }

.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-item { display: flex; align-items: center; gap: 10px; }
.bar-label { width: 40px; font-size: 13px; font-weight: 600; color: var(--gray-700); flex-shrink: 0; }
.bar-track { flex: 1; height: 28px; background: var(--gray-100); border-radius: 14px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 14px; transition: width 0.6s ease; }
.bar-fill.install { background: var(--gray-500); }
.bar-fill.rent { background: var(--blue); }
.bar-fill.lease { background: var(--blue-light); }
.bar-value { width: 70px; font-size: 13px; font-weight: 700; color: var(--gray-900); text-align: right; flex-shrink: 0; }

.sim-insight {
    background: linear-gradient(135deg, var(--blue-bg), #e0ecff);
    border-radius: var(--radius-md); padding: 20px; margin-bottom: 24px;
    border-left: 4px solid var(--blue);
}
.insight-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.insight-header i { font-size: 20px; color: var(--blue); }
.insight-header strong { font-size: 15px; color: var(--blue); }

/* ============================================
   SMART QUOTE
   ============================================ */
.sq-section { padding: 40px 0 80px; }

.sq-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.sq-step { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--gray-500); }
.sq-step.active { color: var(--blue); }
.sq-step.done { color: var(--blue-light); }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-200); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.sq-step.active .step-num { background: var(--blue); color: white; }
.sq-step.done .step-num { background: var(--blue-light); color: white; }
.sq-step-line { width: 60px; height: 2px; background: var(--gray-200); margin: 0 12px; }
.sq-step-line.active { background: var(--blue); }

.sq-panel { max-width: 900px; margin: 0 auto; background: white; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.sq-panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.sq-sub { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }

.sq-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.sq-field { }
.sq-field label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.sq-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; font-family: inherit; }
.sq-input:focus { outline: none; border-color: var(--blue); }
.sq-field input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--blue); }

.sq-radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.sq-radio { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 500; transition: var(--transition); flex: 1; justify-content: center; }
.sq-radio.active { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.sq-radio input { display: none; }
.sq-radio i { font-size: 18px; }

.sq-btn-group { display: flex; gap: 6px; flex-wrap: wrap; }
.sq-btn-group button { flex: 1; padding: 10px 8px; border: 1.5px solid var(--gray-300); background: white; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; cursor: pointer; transition: var(--transition); color: var(--gray-700); min-width: 70px; }
.sq-btn-group button.active { background: var(--blue); color: white; border-color: var(--blue); }
.sq-btn-group button:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

.sq-actions { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }
.sq-actions .btn-cta, .sq-actions .btn-cta-outline { text-decoration: none; }

/* Loading */
.sq-loading { text-align: center; padding: 60px 20px; }
.sq-loading-spinner { width: 48px; height: 48px; border: 4px solid var(--gray-200); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 20px; }
.sq-loading h3 { font-size: 18px; color: var(--gray-700); margin-bottom: 30px; }
.sq-loading-steps { display: flex; flex-direction: column; gap: 12px; max-width: 280px; margin: 0 auto; text-align: left; }
.load-step { font-size: 14px; color: var(--gray-300); display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.load-step.done { color: var(--blue); }
.load-step i { font-size: 18px; }

/* Result */
.sq-result-header { text-align: center; margin-bottom: 30px; }
.sq-recommend-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--orange); color: white; padding: 6px 18px; border-radius: 20px; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.sq-result-header h2 { font-size: 28px; font-weight: 900; color: var(--gray-900); }
.sq-recommend-reason { font-size: 15px; color: var(--gray-500); margin-top: 8px; }

.sq-compare-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 30px; }
.sq-ccard { padding: 24px 18px; border-radius: var(--radius-md); background: var(--gray-100); border: 2px solid transparent; position: relative; transition: var(--transition); }
.sq-ccard.best { border-color: var(--orange); background: white; box-shadow: var(--shadow-md); }
.sq-ccard:hover { transform: translateY(-3px); }
.sq-best-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--orange); color: white; padding: 3px 14px; border-radius: 12px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.sq-ccard h4 { text-align: center; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.sq-ccard-price { text-align: center; font-size: 14px; color: var(--gray-500); margin-bottom: 16px; }
.sq-ccard-price strong { font-size: 24px; font-weight: 900; color: var(--blue); }
.sq-ccard.best .sq-ccard-price strong { color: var(--orange); }
.sq-ccard-details { display: flex; flex-direction: column; gap: 8px; }
.sq-ccard-details > div { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.sq-ccard-details span { color: var(--gray-500); }
.sq-ccard-details strong { color: var(--gray-900); }
.sq-ccard-details .save { color: var(--blue) !important; }
.sq-ccard-details .final { color: var(--orange) !important; font-size: 15px; }

/* Scenario Chart */
.sq-scenario { background: white; border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 24px; border: 1px solid var(--gray-200); }
.sq-scenario h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.sq-scenario h3 i { color: var(--blue); margin-right: 6px; }

.sq-chart-area { display: flex; justify-content: center; gap: 30px; padding: 30px 0 10px; }
.sq-chart-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sq-bars { display: flex; gap: 6px; align-items: flex-end; height: 160px; }
.sq-bar { width: 36px; border-radius: 6px 6px 0 0; display: flex; align-items: flex-start; justify-content: center; min-height: 20px; transition: height 0.6s ease; position: relative; }
.sq-bar.buy { background: var(--blue); }
.sq-bar.return { background: var(--orange); }
.sq-bar-val { position: absolute; top: -20px; font-size: 11px; font-weight: 700; color: var(--gray-700); white-space: nowrap; }
.sq-chart-label { font-size: 13px; font-weight: 600; color: var(--gray-700); }

.sq-chart-legend { display: flex; justify-content: center; gap: 24px; margin-top: 16px; }
.legend-buy, .legend-return { font-size: 13px; font-weight: 500; color: var(--gray-700); display: flex; align-items: center; gap: 4px; }
.legend-buy i { color: var(--blue); }
.legend-return i { color: var(--orange); }

.sq-scenario-insight { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; padding: 14px; background: var(--blue-bg); border-radius: var(--radius-sm); }
.sq-scenario-insight i { color: var(--orange); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.sq-scenario-insight p { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* Curation */
.sq-curation { margin-bottom: 24px; }
.sq-curation h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.sq-curation h3 i { color: var(--orange); margin-right: 6px; }
.sq-curation-cards { display: flex; flex-direction: column; gap: 10px; }
.sq-tip-card { display: flex; gap: 14px; padding: 16px 18px; background: var(--gray-100); border-radius: var(--radius-sm); align-items: flex-start; }
.sq-tip-card > i { font-size: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.sq-tip-card strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.sq-tip-card p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* AI Report */
.sq-ai-report { background: linear-gradient(135deg, var(--blue-bg), #dce8ff); border-radius: var(--radius-md); padding: 24px; margin-bottom: 24px; border-left: 4px solid var(--blue); }
.sq-ai-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sq-ai-header i { font-size: 22px; color: var(--blue); }
.sq-ai-header strong { font-size: 16px; color: var(--blue); }
.sq-ai-report p { font-size: 14px; color: var(--gray-700); line-height: 1.8; white-space: pre-wrap; margin-bottom: 0; }
.sq-ai-extra { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(0,105,194,0.25); }
.sq-ai-extra-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.sq-ai-extra-header i { font-size: 18px; color: var(--blue); }
.sq-ai-extra-header strong { font-size: 14px; color: var(--blue); }
.sq-ai-extra p { font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 0; }
.sq-ai-extra-loading { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(0,105,194,0.25); color: var(--gray-400); font-size: 13px; }
.spinner-sm { width: 16px; height: 16px; border: 2px solid var(--gray-200); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }

@media (max-width: 768px) {
    .sq-form-grid { grid-template-columns: 1fr; }
    .sq-compare-cards { grid-template-columns: 1fr; }
    .sq-steps { flex-wrap: wrap; gap: 8px; }
    .sq-step-line { width: 30px; margin: 0 6px; }
    .sq-chart-area { gap: 16px; }
    .sq-bar { width: 28px; }
    .sq-panel { padding: 24px 18px; }
}
.sim-insight p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }

.sim-tax-detail {
    background: white; border-radius: var(--radius-md);
    padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.sim-tax-detail h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; color: var(--gray-900); }
.sim-tax-detail h4 i { color: var(--blue); margin-right: 6px; }

.tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tax-item {
    padding: 14px 16px; background: var(--gray-100);
    border-radius: var(--radius-sm); display: flex;
    justify-content: space-between; align-items: center;
}
.tax-item span { font-size: 13px; color: var(--gray-700); }
.tax-item strong { font-size: 15px; color: var(--gray-900); }
.tax-item.highlight { background: var(--blue-bg); }
.tax-item.highlight strong { color: var(--blue); font-size: 17px; }

.sim-cta {
    text-align: center; padding: 24px;
    background: var(--gray-100); border-radius: var(--radius-md);
}
.sim-cta p { font-size: 14px; color: var(--gray-500); margin-bottom: 14px; }
.sim-cta .btn-cta { text-decoration: none; }

@media (max-width: 768px) {
    .sim-layout { grid-template-columns: 1fr; }
    .sim-input-panel { position: static; }
    .sim-cards { grid-template-columns: 1fr; }
    .tax-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CAR CATALOG
   ============================================ */
.cc-section { padding: 40px 0 80px; }

.cc-breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.cc-bc-item { font-size: 14px; font-weight: 600; color: var(--gray-500); cursor: pointer; padding: 6px 12px; border-radius: 20px; transition: var(--transition); }
.cc-bc-item.active { color: var(--blue); background: var(--blue-bg); }
.cc-bc-item:hover { color: var(--blue); }
.cc-bc-arrow { font-size: 12px; color: var(--gray-300); }

.cc-panel { background: white; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.cc-panel h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }
.cc-brand-tag { display: inline-block; background: var(--blue); color: white; padding: 3px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; margin-right: 6px; }

.cc-brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.cc-brand-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); text-align: center; }
.cc-brand-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.cc-brand-logo { width: 56px; height: 56px; object-fit: contain; }
.cc-brand-icon { width: 56px; height: 56px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--blue); }
.cc-brand-card span { font-size: 13px; font-weight: 600; color: var(--gray-700); }

.cc-model-grid { display: flex; flex-direction: column; gap: 8px; }
.cc-model-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); }
.cc-model-card:hover { border-color: var(--blue); background: var(--blue-bg); }
.cc-model-img { width: 120px; height: 68px; object-fit: contain; flex-shrink: 0; border-radius: var(--radius-sm); }
.cc-model-icon { width: 44px; height: 44px; background: var(--gray-100); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--blue); flex-shrink: 0; }
.cc-model-info { flex: 1; }
.cc-model-info strong { font-size: 16px; color: var(--gray-900); }
.cc-arrow { color: var(--gray-300); font-size: 18px; }

.cc-detail-grid { display: flex; flex-direction: column; gap: 8px; }
.cc-detail-card { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); gap: 12px; }
.cc-detail-card:hover { border-color: var(--blue); background: var(--blue-bg); }
.cc-detail-main { flex: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cc-detail-main strong { font-size: 15px; color: var(--gray-900); }
.cc-detail-main span { font-size: 14px; }
.cc-detail-actions { flex-shrink: 0; }
.cc-quote-btn { background: var(--orange); color: white; border: none; padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 4px; transition: var(--transition); }
.cc-quote-btn:hover { background: var(--orange-dark); }

.cc-empty { text-align: center; padding: 40px; color: var(--gray-500); font-size: 15px; }

.cc-selected-car { display: flex; align-items: center; gap: 20px; padding: 24px; background: linear-gradient(135deg, var(--blue-bg), #dce8ff); border-radius: var(--radius-md); margin-bottom: 28px; }
.cc-car-icon-lg { width: 72px; height: 72px; background: var(--blue); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 32px; color: white; flex-shrink: 0; }
.cc-car-info h2 { font-size: 22px; font-weight: 800; color: var(--gray-900); margin: 4px 0; }
.cc-car-info p { font-size: 14px; color: var(--gray-500); }

.cc-options-section { margin-bottom: 28px; }
.cc-options-section h4 { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.cc-options-section h4 i { color: var(--blue); margin-right: 4px; }
.cc-opt-sub { font-size: 12px; color: var(--gray-500); font-weight: 400; }
.cc-option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.cc-option-card { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--gray-700); transition: var(--transition); }
.cc-option-card:hover { border-color: var(--blue-light); }
.cc-option-card.selected { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.cc-option-card i { font-size: 18px; flex-shrink: 0; }

.cc-action-section { margin-bottom: 28px; }
.cc-action-section h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.cc-action-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cc-action-card { padding: 28px 20px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); text-align: center; cursor: pointer; transition: var(--transition); position: relative; }
.cc-action-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cc-action-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.cc-action-icon.ai { background: var(--blue-bg); color: var(--blue); }
.cc-action-icon.sim { background: #e6fff9; color: #00a88a; }
.cc-action-icon.quick { background: #fff5ec; color: var(--orange); }
.cc-action-card strong { display: block; font-size: 15px; margin-bottom: 6px; color: var(--gray-900); }
.cc-action-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }
.cc-action-badge { position: absolute; top: -8px; right: 12px; background: var(--orange); color: white; padding: 2px 10px; border-radius: 10px; font-size: 11px; font-weight: 800; }

/* 차량 스펙 2컬럼 레이아웃 */
.cc-spec-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px;
}
.cc-spec-table, .cc-spec-options {
    border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden;
}
.cc-spec-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; background: var(--gray-100); border-bottom: 1.5px solid var(--gray-200);
    font-size: 15px; font-weight: 700;
}
.cc-spec-header strong { color: var(--blue); font-size: 16px; }
.cc-spec-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 18px; border-bottom: 1px solid var(--gray-100); font-size: 14px;
}
.cc-spec-row:last-child { border-bottom: none; }
.cc-spec-label { color: var(--gray-500); font-weight: 500; }
.cc-spec-value { color: var(--gray-900); font-weight: 600; }
.cc-spec-value.link { color: var(--blue); cursor: pointer; text-decoration: underline; }
.cc-spec-value.link:hover { color: var(--blue-dark); }

.cc-opt-add {
    color: var(--blue); font-size: 13px; font-weight: 600; cursor: pointer;
    padding: 4px 10px; border: 1px solid var(--blue); border-radius: 14px;
}
.cc-opt-add:hover { background: var(--blue); color: white; }

.cc-spec-empty { padding: 20px 18px; text-align: center; color: var(--gray-400); font-size: 14px; }

.cc-spec-opt-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 18px; border-bottom: 1px solid var(--gray-100); font-size: 14px;
}
.cc-spec-opt-row:last-child { border-bottom: none; }
.cc-spec-opt-right { display: flex; align-items: center; gap: 8px; }
.cc-spec-opt-right strong { color: var(--gray-900); }
.cc-spec-opt-del {
    background: none; border: none; color: var(--gray-400); cursor: pointer;
    font-size: 16px; padding: 2px; display: flex;
}
.cc-spec-opt-del:hover { color: var(--danger); }

@media (max-width: 768px) {
    .cc-spec-layout { grid-template-columns: 1fr; }
}

.cc-quick-form { background: var(--gray-100); border-radius: var(--radius-md); padding: 24px; margin-top: 20px; }
.cc-quick-form h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cc-quick-form h4 i { color: var(--orange); margin-right: 4px; }
.cc-quick-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.cc-quick-fields { margin-bottom: 16px; }
.cc-quick-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 10px; }
.cc-quick-row label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.cc-quick-row input, .cc-quick-row select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; }
.cc-quick-row input:focus, .cc-quick-row select:focus { outline: none; border-color: var(--blue); }
.cc-submit-btn { width: 100%; }
.cc-submit-msg { margin-top: 12px; padding: 10px; border-radius: var(--radius-sm); font-size: 14px; text-align: center; }
.cc-submit-msg.ok { background: #f0fdf4; color: var(--success); }
.cc-submit-msg.err { background: #fef2f2; color: var(--danger); }

@media (max-width: 768px) {
    .cc-brand-grid { grid-template-columns: repeat(3, 1fr); }
    .cc-action-cards { grid-template-columns: 1fr; }
    .cc-option-grid { grid-template-columns: 1fr 1fr; }
    .cc-quick-row { grid-template-columns: 1fr; }
    .cc-selected-car { flex-direction: column; text-align: center; }
}

/* ============================================
   DETAILED QUOTE PAGE
   ============================================ */
.dq-section { padding: 30px 0 80px; }

.dq-tab { display: flex; margin-bottom: 24px; border-bottom: 2px solid var(--gray-200); }
.dq-tab-item {
    flex: 1; text-align: center; padding: 14px; font-size: 17px; font-weight: 700;
    color: var(--gray-500); text-decoration: none; transition: var(--transition);
    border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.dq-tab-item.active { color: var(--blue); border-bottom-color: var(--blue); }
.dq-tab-item:hover { color: var(--blue); }

.dq-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }

.dq-car-panel {
    background: white; border-radius: var(--radius-md);
    padding: 28px; box-shadow: var(--shadow-md); min-height: 500px;
}
.dq-car-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--blue); }
.dq-car-panel h3 i { margin-right: 6px; }

.dq-form-panel {
    background: white; border-radius: var(--radius-md);
    padding: 28px; box-shadow: var(--shadow-md);
    position: sticky; top: 90px; align-self: start;
}
.dq-form-panel h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--blue); }
.dq-form-panel h3 i { margin-right: 6px; }

.dq-form-placeholder {
    text-align: center; padding: 80px 20px; color: var(--gray-400);
}
.dq-form-placeholder p { margin-top: 16px; font-size: 15px; }

.dq-car-summary { }
.dq-car-info { background: var(--blue-bg); border-radius: var(--radius-sm); padding: 16px; }
.dq-car-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 14px; }
.dq-car-row:last-child { border-bottom: none; }
.dq-car-row span { color: var(--gray-500); }
.dq-car-row strong { color: var(--gray-900); }

.dq-notice {
    background: var(--gray-100); border-radius: var(--radius-sm);
    padding: 14px 16px; margin-bottom: 14px; border-left: 3px solid var(--blue);
}
.dq-notice p { font-size: 12px; color: var(--gray-500); line-height: 1.7; margin: 0; }

.dq-privacy-btn {
    background: none; border: none; color: var(--blue); font-size: 13px;
    font-weight: 600; cursor: pointer; text-decoration: underline; margin-left: 8px; padding: 0;
}
.dq-privacy-btn:hover { color: var(--blue-dark); }

.dq-privacy-box {
    background: var(--gray-100); border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm); padding: 20px; margin: 10px 0 14px;
}
.dq-privacy-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--gray-900); }
.dq-privacy-content { max-height: 250px; overflow-y: auto; }
.dq-privacy-content p { font-size: 13px; color: var(--gray-700); line-height: 1.7; margin-bottom: 10px; }
.dq-privacy-content strong { color: var(--gray-900); }
.dq-privacy-close {
    display: block; margin: 12px auto 0; padding: 8px 24px;
    background: var(--gray-300); border: none; border-radius: 20px;
    font-size: 13px; font-weight: 600; cursor: pointer; color: var(--gray-700);
}
.dq-privacy-close:hover { background: var(--gray-500); color: white; }

.dq-switch-link {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 16px; padding: 14px;
    background: var(--blue-bg); border: 1.5px solid var(--blue);
    border-radius: var(--radius-sm); color: var(--blue);
    font-size: 15px; font-weight: 700; text-decoration: none;
    transition: var(--transition);
}
.dq-switch-link:hover { background: var(--blue); color: white; }

@media (max-width: 768px) {
    .dq-layout { grid-template-columns: 1fr; }
    .dq-form-panel { position: static; }
}

/* ============================================
   ABOUT
   ============================================ */
.about-intro { padding: 70px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }
.about-text .sub-title { display: block; font-size: 13px; color: var(--blue); font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.about-text h2 { font-size: 30px; font-weight: 400; line-height: 1.5; color: var(--gray-900); }
.about-text h2 strong { font-weight: 800; }
.divider { width: 50px; height: 3px; background: var(--blue); border-radius: 2px; margin: 20px 0; }
.intro-text { font-size: 15px; color: var(--gray-700); line-height: 1.8; }

.ceo-section { padding: 70px 0; background: var(--gray-100); }
.ceo-message h3 { font-size: 26px; font-weight: 800; color: var(--gray-900); margin-bottom: 14px; }
.ceo-message h4 { font-size: 18px; font-weight: 600; color: var(--blue); margin-bottom: 20px; }
.ceo-message p { font-size: 15px; color: var(--gray-700); line-height: 1.8; margin-bottom: 14px; }
.ceo-name { margin-top: 20px; font-size: 17px; }

.values-section { padding: 70px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { padding: 36px; text-align: center; background: white; border-radius: var(--radius-md); border: 2px solid var(--gray-200); transition: var(--transition); }
.value-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.value-icon { font-size: 34px; color: var(--blue); margin-bottom: 14px; }
.value-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ============================================
   PROMO / RECRUIT / BRANCH
   ============================================ */
.promo-section, .recruit-section, .branch-section { padding: 70px 0; }
.promo-empty { text-align: center; padding: 70px 20px; background: var(--gray-100); border-radius: var(--radius-md); }
.promo-empty i { font-size: 44px; color: var(--gray-300); margin-bottom: 14px; display: block; }
.promo-empty p { color: var(--gray-500); line-height: 1.8; }
.promo-loading { text-align: center; padding: 60px 20px; }
.promo-loading .spinner { width: 36px; height: 36px; border: 3px solid var(--gray-200); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 14px; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.promo-card { border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; transition: var(--transition); background: #fff; }
.promo-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.promo-card-img { position: relative; height: 200px; background: var(--gray-100); overflow: hidden; }
.promo-card-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-card-img.no-img { display: flex; align-items: center; justify-content: center; }
.promo-card-img.no-img i { font-size: 48px; color: var(--gray-300); }
.promo-badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.promo-badge.active { background: var(--blue); color: #fff; }
.promo-badge.upcoming { background: var(--orange); color: #fff; }
.promo-badge.ended { background: var(--gray-400); color: #fff; }
.promo-card-body { padding: 20px; }
.promo-card-body h3 { font-size: 17px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; line-height: 1.4; }
.promo-card-body p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 10px; }
.promo-card-date { font-size: 13px; color: var(--gray-400); }
.promo-card-date i { margin-right: 4px; }
/* 프로모션 상세 */
.promo-detail-section { padding: 40px 0 70px; }
.promo-back { background: none; border: none; color: var(--blue); font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 24px; display: inline-flex; align-items: center; gap: 6px; }
.promo-back:hover { text-decoration: underline; }
.promo-detail { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.promo-detail-img { max-height: 400px; overflow: hidden; }
.promo-detail-img img { width: 100%; object-fit: cover; }
.promo-detail-content { padding: 36px; }
.promo-detail-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.promo-detail-header .promo-badge { position: static; }
.promo-period { font-size: 14px; color: var(--gray-400); }
.promo-period i { margin-right: 4px; }
.promo-detail-content h2 { font-size: 26px; font-weight: 800; color: var(--gray-800); margin-bottom: 16px; }
.promo-detail-desc { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 24px; }
.promo-detail-html { line-height: 1.8; color: var(--gray-700); margin-bottom: 30px; }
.promo-detail-html img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }
.promo-detail-actions.right { display: flex; gap: 12px; justify-content: flex-end; }
/* 공지사항 */
.notice-section { padding: 50px 0 70px; }
.notice-detail-section { padding: 40px 0 70px; }
.notice-list { border-top: 2px solid var(--gray-800); }
.notice-item { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px; border-bottom: 1px solid var(--gray-200); cursor: pointer; transition: var(--transition); }
.notice-item:hover { background: var(--blue-bg); }
.notice-item-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.notice-badge { background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 4px; flex-shrink: 0; }
.notice-item h3 { font-size: 15px; font-weight: 500; color: var(--gray-800); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-item-date { font-size: 13px; color: var(--gray-400); flex-shrink: 0; margin-left: 16px; }
.notice-detail { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.notice-detail-header { padding: 28px 32px; border-bottom: 1px solid var(--gray-200); }
.notice-detail-header h2 { font-size: 22px; font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.notice-date { font-size: 14px; color: var(--gray-400); }
.notice-date i { margin-right: 4px; }
.notice-detail-body { padding: 32px; line-height: 1.8; color: var(--gray-700); font-size: 15px; }
.notice-detail-body img { max-width: 100%; height: auto; }
@media (max-width: 768px) { .notice-item-left { gap: 10px; } .notice-item h3 { font-size: 14px; } .notice-detail-header { padding: 20px; } .notice-detail-body { padding: 20px; } }
@media (max-width: 768px) { .promo-grid { grid-template-columns: 1fr; } .promo-detail-content { padding: 24px; } .promo-detail-content h2 { font-size: 20px; } }

.recruit-info, .branch-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recruit-card, .branch-card { text-align: center; padding: 36px 24px; background: var(--gray-100); border-radius: var(--radius-md); transition: var(--transition); }
.recruit-card:hover, .branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.recruit-card i, .branch-icon { font-size: 34px; color: var(--blue); margin-bottom: 14px; display: block; }
.branch-icon i { font-size: 34px; color: var(--blue); }
.recruit-card h4, .branch-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.recruit-card p, .branch-card p { font-size: 14px; color: var(--gray-500); }
.recruit-contact { text-align: center; margin-top: 36px; padding: 20px; background: var(--blue-bg); border-radius: var(--radius-md); color: var(--blue); font-weight: 500; }

/* ============================================
   FAQ
   ============================================ */
.faq-section { padding: 70px 0; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-300); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; cursor: pointer; transition: var(--transition); }
.faq-item:hover { border-color: var(--blue-light); }
.faq-item.open { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; align-items: center; gap: 10px; padding: 18px 20px; background: white; }
.faq-question span { font-size: 17px; font-weight: 900; color: var(--blue); flex-shrink: 0; }
.faq-question strong { flex: 1; font-size: 15px; font-weight: 600; color: var(--gray-900); }
.faq-question i { color: var(--gray-500); transition: var(--transition); }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--blue); }
.faq-answer { display: flex; gap: 10px; padding: 18px 20px; background: var(--gray-100); border-top: 1px solid var(--gray-300); }
.faq-answer span { font-size: 17px; font-weight: 900; color: var(--orange); flex-shrink: 0; }
.faq-answer p { font-size: 14px; color: var(--gray-700); line-height: 1.7; }

/* ============================================
   TERMS / PRIVACY
   ============================================ */
.terms-section { padding: 70px 0; }
.terms-content { max-width: 780px; margin: 0 auto; }
.terms-content h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-top: 32px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 2px solid var(--blue-bg); }
.terms-content h3:first-child { margin-top: 0; }
.terms-content p { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 6px; }
.terms-content ul { margin: 6px 0 14px 18px; padding: 0; }
.terms-content li { font-size: 14px; color: var(--gray-700); line-height: 1.8; margin-bottom: 3px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 50px 0 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-logo-img { height: 32px; filter: brightness(0) invert(1); margin-bottom: 10px; }
.footer-logo p { font-size: 13px; line-height: 1.6; }

.footer-links { display: flex; gap: 50px; }
.link-group h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.link-group a { display: block; color: rgba(255,255,255,0.45); font-size: 13px; margin-bottom: 6px; transition: var(--transition); }
.link-group a:hover { color: white; }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.company-info span { font-size: 12px; margin-right: 14px; }
.copyright { font-size: 12px; opacity: 0.4; }

/* ============================================
   AI CHATBOT
   ============================================ */
.ai-chat-toggle {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 1050;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,105,194,0.4);
    transition: var(--transition);
}
.ai-chat-toggle:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,105,194,0.5); }

.chat-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--orange);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}

.ai-chat-panel {
    position: fixed;
    bottom: 110px;
    right: 20px;
    z-index: 1051;
    width: 380px;
    max-height: 520px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: white;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-header-info i { font-size: 28px; }
.chat-header-info strong { display: block; font-size: 15px; }
.chat-header-info span { font-size: 11px; opacity: 0.8; }

.chat-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}
.chat-close:hover { background: rgba(255,255,255,0.3); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    min-height: 200px;
    background: var(--gray-100);
}

.chat-msg {
    display: flex;
    gap: 8px;
    max-width: 88%;
}
.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px; height: 32px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    white-space: pre-wrap;
}

.chat-msg.bot .msg-bubble {
    background: white;
    color: var(--gray-900);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.chat-msg.user .msg-bubble {
    background: var(--blue);
    color: white;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex; gap: 4px; padding: 4px 0;
}
.typing-indicator span {
    width: 7px; height: 7px;
    background: var(--gray-300);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

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

.chat-quick-btns {
    display: flex;
    gap: 6px;
    padding: 8px 16px;
    overflow-x: auto;
    border-top: 1px solid var(--gray-200);
    background: white;
}

.chat-quick-btns button {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid var(--blue);
    background: white;
    color: var(--blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.chat-quick-btns button:hover { background: var(--blue); color: white; }

.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--gray-200);
}

.chat-input-area input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: 24px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}
.chat-input-area input:focus { border-color: var(--blue); }

.chat-input-area button {
    width: 40px; height: 40px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}
.chat-input-area button:hover:not(:disabled) { background: var(--blue-dark); }
.chat-input-area button:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 768px) {
    .ai-chat-panel {
        bottom: 0; right: 0;
        width: 100%;
        max-height: 85vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    .ai-chat-toggle { bottom: 120px; right: 14px; width: 50px; height: 50px; font-size: 20px; }
}

/* ============================================
   MODAL
   ============================================ */
.modal-backdrop { display: none; position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.5); z-index: 1100; backdrop-filter: blur(3px); }
.modal-backdrop.show { display: block; }

.quote-modal {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1101; width: 92%; max-width: 480px; max-height: 90vh;
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.quote-modal.show { display: block; }
.quote-modal.detailed { max-width: 660px; }
.quote-modal .modal-content { padding: 32px; overflow-y: auto; max-height: 90vh; }

.modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px; background: var(--gray-100);
    border: none; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: var(--transition);
}
.modal-close:hover { background: var(--gray-300); }

.modal-title { font-size: 22px; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }
.modal-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; line-height: 1.6; }
.modal-body-scroll { padding: 0 32px 32px; overflow-y: auto; max-height: calc(90vh - 56px); }

.tab-header { display: flex; padding: 6px 32px 0; gap: 4px; }
.tab-btn {
    flex: 1; padding: 13px 14px; border: none;
    background: var(--gray-100); font-size: 14px; font-weight: 600;
    color: var(--gray-500); cursor: pointer;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: var(--transition);
}
.tab-btn.active { background: var(--blue); color: white; }

/* ============================================
   FORM
   ============================================ */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 5px; }
.form-input {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
    font-size: 14px; font-family: inherit; color: var(--gray-900);
    transition: var(--transition); background: white;
}
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-bg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-label {
    display: flex; align-items: center; gap: 5px;
    padding: 9px 18px; border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm); cursor: pointer;
    font-size: 14px; font-weight: 500; transition: var(--transition);
}
.radio-label:has(input:checked) { border-color: var(--blue); background: var(--blue-bg); color: var(--blue); }
.radio-label input { accent-color: var(--blue); }

.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.agree-section { padding: 14px 0; border-top: 1px solid var(--gray-200); margin-top: 14px; }

.selected-options { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.option-tag {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 5px 10px; background: var(--blue-bg);
    color: var(--blue); border-radius: 18px; font-size: 12px; font-weight: 500;
}
.option-tag button { background: none; border: none; cursor: pointer; color: var(--blue); padding: 0; display: flex; }

.notice { font-size: 11px; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }

.btn-submit {
    width: 100%; padding: 14px;
    background: var(--orange); color: white;
    border: none; border-radius: 50px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: var(--transition);
}
.btn-submit:hover:not(:disabled) { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,123,26,0.4); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.submit-message { margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; text-align: center; }
.submit-message.success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.submit-message.error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: white; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.validation-message { font-size: 11px; color: var(--danger); margin-top: 3px; }

/* ============================================
   RESPONSIVE
   ============================================ */
/* ============================================
   RESPONSIVE - 원본과 동일하게 PC 구조 유지, 축소만
   ============================================ */

/* 헤더/푸터/모달만 모바일 대응 */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; order: -1; }
    .header-actions { display: none; }
    .header-inner { position: relative; }
    .logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .main-nav {
        display: none; position: fixed; top: 0; left: 0;
        width: 280px; height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        box-shadow: 8px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 80px 16px 20px;
    }
    .main-nav.active { display: block; animation: slideInLeft 0.25s ease; }
    @keyframes slideInLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav .nav-item, .main-nav a {
        padding: 14px 16px; font-size: 15px; display: flex;
        border-radius: 10px;
    }
    .main-nav .nav-item.active::after, .main-nav a.active::after { display: none; }
    .main-nav .nav-cta {
        margin: 8px 0 0 !important;
        justify-content: center;
        border-radius: 12px !important;
        padding: 14px 20px !important;
    }

    .footer-top { flex-direction: column; }
    .footer-links { flex-direction: column; gap: 24px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .form-row { grid-template-columns: 1fr; }

    main { padding-bottom: 110px; }

    .quote-modal .modal-content { padding: 22px; }
    .tab-header { padding: 6px 22px 0; }
    .modal-body-scroll { padding: 0 22px 22px; }

    /* 서브 페이지 반응형 */
    .container { width: 100% !important; padding: 0 16px !important; }
    .page-hero { padding: 80px 0 30px; }
    .page-hero h1 { font-size: 24px; }
    .page-hero p { font-size: 14px; }

    /* 스마트견적 */
    .sq-section { padding: 20px 0 60px; }
    .sq-steps { flex-wrap: wrap; gap: 6px; }
    .sq-step-line { width: 20px; margin: 0 4px; }
    .sq-panel { padding: 20px 16px; }
    .sq-form-grid { grid-template-columns: 1fr; }
    .sq-compare-cards { grid-template-columns: 1fr; }
    .sq-chart-area { flex-wrap: wrap; gap: 12px; }
    .cc-brand-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .cc-action-cards { grid-template-columns: 1fr; }
    .cc-option-grid { grid-template-columns: 1fr 1fr; }
    .cc-quick-row { grid-template-columns: 1fr; }
    .cc-selected-car { flex-direction: column; text-align: center; }

    /* 상세견적 */
    .dq-layout { grid-template-columns: 1fr; }
    .dq-form-panel { position: static; }
    .dq-tab-item { font-size: 15px; padding: 12px; }

    /* 시뮬레이터 */
    .sim-layout { grid-template-columns: 1fr; }
    .sim-input-panel { position: static; }
    .sim-cards { grid-template-columns: 1fr; }
    .tax-grid { grid-template-columns: 1fr; }

    /* 프로모션/공지/FAQ */
    .values-grid { grid-template-columns: 1fr; }

    /* 하단바 */
    .fix-bottom-tab a { font-size: 14px; }
    .fix-bottom-quick .quick-btn { font-size: 12px; }
}

/* body 콘텐츠 - 원본과 동일 */
.hero-section,
.quote-section { overflow: hidden; }

main { padding-bottom: 100px; }

/* 원본 CSS(original.css)가 메인 페이지 body 처리 */
/* 헤더/푸터/하단바는 app.css에서 반응형 유지 */
.site-header, .site-footer, .fix-bottom-bar { min-width: 0; }

/* ============================================
   FAST DELIVERY (즉시출고)
   ============================================ */
.fd-section { padding: 40px 0 80px; }

.fd-filter { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 30px; }
.fd-filter-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.fd-filter-item { flex: 1; min-width: 200px; }
.fd-filter-item label { display: block; font-size: 13px; font-weight: 600; color: #666; margin-bottom: 6px; }
.fd-filter-item select, .fd-filter-item input { width: 100%; padding: 10px 14px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; }
.fd-filter-item select:focus, .fd-filter-item input:focus { outline: none; border-color: #0069c2; }
.fd-price-range { display: flex; align-items: center; gap: 8px; }
.fd-price-range select { flex: 1; }
.fd-price-range span { color: #999; }
.fd-filter-summary { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #666; }
.fd-filter-summary strong { color: #0069c2; font-size: 18px; }
.fd-reset { background: none; border: 1px solid #ddd; padding: 6px 14px; border-radius: 6px; font-size: 13px; cursor: pointer; color: #666; }
.fd-reset:hover { border-color: #0069c2; color: #0069c2; }

.fd-loading { text-align: center; padding: 60px 0; }
.fd-loading .spinner { width: 40px; height: 40px; border: 3px solid #eee; border-top-color: #0069c2; border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
.fd-empty { text-align: center; padding: 80px 0; color: #999; }
.fd-empty p { margin-top: 12px; font-size: 15px; }

.fd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }

.fd-card { background: #fff; border: 1.5px solid #eee; border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.2s ease; }
.fd-card:hover { border-color: #0069c2; box-shadow: 0 4px 16px rgba(0,105,194,0.12); transform: translateY(-2px); }
.fd-card-header { display: flex; align-items: center; gap: 8px; padding: 14px 18px 0; }
.fd-badge { background: #ff5722; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.fd-finance { font-size: 12px; color: #0069c2; font-weight: 600; background: #e8f4fd; padding: 3px 10px; border-radius: 10px; }
.fd-card-body { padding: 12px 18px; }
.fd-card-body h4 { font-size: 17px; font-weight: 700; color: #222; margin-bottom: 4px; }
.fd-lineup { font-size: 13px; color: #0069c2; font-weight: 600; margin-bottom: 2px; }
.fd-trim { font-size: 13px; color: #666; margin-bottom: 8px; }
.fd-details { display: flex; gap: 12px; font-size: 12px; color: #888; }
.fd-details i { margin-right: 3px; }
.fd-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-top: 1px solid #f0f0f0; }
.fd-price { font-size: 18px; font-weight: 800; color: #0069c2; }
.fd-inquiry-btn { background: #ff7b1a; color: #fff; border: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; }
.fd-inquiry-btn:hover { background: #e56a0f; }

.fd-paging { display: flex; justify-content: center; gap: 4px; margin-top: 30px; }
.fd-paging button { min-width: 36px; height: 36px; border: 1px solid #ddd; background: #fff; border-radius: 8px; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fd-paging button.active { background: #0069c2; color: #fff; border-color: #0069c2; }
.fd-paging button:hover:not(.active) { border-color: #0069c2; color: #0069c2; }

.fd-modal-bg { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1100; }
.fd-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; border-radius: 16px; padding: 30px; width: 90%; max-width: 480px; z-index: 1101; max-height: 90vh; overflow-y: auto; }
.fd-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 20px; cursor: pointer; color: #999; }
.fd-modal h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.fd-modal-car { background: #f8f9fa; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.fd-modal-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px solid #eee; }
.fd-modal-row:last-child { border-bottom: none; }
.fd-modal-row span { color: #888; }
.fd-modal-row strong { color: #222; }
.fd-modal-form { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.fd-modal-form input, .fd-modal-form select { padding: 11px 14px; border: 1.5px solid #ddd; border-radius: 8px; font-size: 14px; font-family: inherit; }
.fd-modal-form input:focus, .fd-modal-form select:focus { outline: none; border-color: #0069c2; }
