/* =========================================================
   KIA 신차 상담 사이트 - 공통 스타일 (신뢰감 중심 리뉴얼)
   팔레트: 밝은 바탕 + 딥 네이비. 빨강은 필수 표시에만.
   ========================================================= */

:root {
    --navy: #0f2a4a;         /* 주색: 신뢰 */
    --navy-2: #163a63;
    --navy-3: #1f4b7d;
    --blue: #2f6fb3;         /* 링크·강조 */
    --blue-soft: #e9f1fb;    /* 연한 파랑 배경 */
    --ink: #1c2733;          /* 본문 진한 글자 */
    --ink-2: #3d4a5c;
    --muted: #6b7686;
    --muted-2: #98a2b3;
    --line: #e3e8ef;
    --line-2: #eef1f5;
    --paper: #ffffff;
    --ground: #f6f8fb;       /* 페이지 바탕 */
    --ground-2: #eef2f7;
    --accent: #c8102e;       /* 필수 표시·경고 등 최소 사용 */
    --kakao: #fee500;
    --ok: #1f8a4c;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 14px rgba(16, 24, 40, .05);
    --shadow: 0 12px 34px rgba(15, 42, 74, .10);
    --shadow-lg: 0 24px 60px rgba(15, 42, 74, .16);
    --max: 1160px;
    --header-h: 76px;
    --font: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
    "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--ground);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 3px solid rgba(47, 111, 179, .45); outline-offset: 2px; }

/* ---------------- Header ---------------- */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;      /* 로고 이미지·이름·부제를 세로 가운데 정렬 (baseline 이면 이미지가 위로 뜸) */
    gap: 9px;
    color: #fff;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.02em;
}

.logo__mark {
    font-size: 20px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.06em;
}

.logo__img { height: 30px; width: auto; display: block; margin-right: 3px; }

.logo__sub {
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    letter-spacing: 0;
    align-self: baseline;     /* 부제만 이름 글자 밑선에 맞춤 */
    padding-top: 5px;
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav a {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}

.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; border-bottom-color: #fff; }

.header__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 20px;
    border-radius: 999px;
    transition: background .2s, box-shadow .2s;
}

.header__cta:hover { background: var(--blue-soft); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 0; background: transparent;
    color: #fff;
    align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ---------------- Hero ---------------- */

.hero {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--ground) 100%);
    padding: 84px 0 64px;
    overflow: hidden;
}

.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .12;
}

.hero__grad {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 480px at 85% 20%, rgba(47, 111, 179, .10), transparent 60%),
        radial-gradient(700px 400px at 5% 90%, rgba(15, 42, 74, .06), transparent 60%);
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;     /* 좌: 담당자 카드 / 우: 위치 지도 */
    gap: 40px;
    align-items: stretch;
}

/* 담당자 카드 (히어로 왼쪽) */
.profile-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.profile-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line-2);
}

.profile-card__photo {
    width: 84px; height: 84px;
    border-radius: 16px;
    object-fit: cover;
    background: var(--blue-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: var(--navy);
    flex: none;
}

.profile-card__name {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 3px;
}

.profile-card__role { font-size: 13.5px; color: var(--muted); font-weight: 600; }

.profile-card__intro {
    font-size: 14.5px;
    color: var(--ink-2);
    margin: 20px 0 20px;
    line-height: 1.7;
}

.contact-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: grid;
    gap: 11px;
}

.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; }
.contact-list .label { flex: none; width: 60px; color: var(--muted); font-size: 13px; padding-top: 1px; }
.contact-list .value { font-weight: 600; color: var(--ink); }
.contact-list a.value:hover { color: var(--blue); }

.profile-card__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* 위치 지도 카드 (히어로 오른쪽) — 관리자 > 사이트 정보 > 연락처 > 네이버 지도 */
.map-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 22px 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.map-card__head { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.map-card__title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 4px; letter-spacing: -0.02em; }
.map-card__addr { font-size: 13.5px; color: var(--muted); }
.map-card__frame { flex: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); min-height: 320px; }
.naver-map { width: 100%; height: 100%; min-height: 320px; }
.naver-map--error {
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 24px; background: var(--ground); color: var(--muted); font-size: 13.5px; line-height: 1.7;
}
.naver-map__label {
    background: var(--navy); color: #fff;
    font: 700 13px/1 var(--font);
    padding: 8px 12px; border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 42, 74, .25);
    white-space: nowrap;
}
.map-card__empty {
    flex: 1; min-height: 320px;
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 24px; border-radius: 14px;
    background: var(--ground); color: var(--muted); font-size: 14px; line-height: 1.7;
}

/* 실적 바 */
.stats-bar {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-left: 1px solid var(--line-2);
}

.stat-item:first-child { border-left: 0; }

.stat-item b {
    display: block;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat-item span { font-size: 13.5px; color: var(--muted); }

/* ---------------- Buttons ---------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border: 1px solid transparent;
    transition: background .2s, box-shadow .2s, color .2s, border-color .2s, transform .15s;
    white-space: nowrap;
}

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

.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); box-shadow: 0 10px 24px rgba(15, 42, 74, .22); }

.btn--kakao { background: var(--kakao); color: #191600; }
.btn--kakao:hover { box-shadow: 0 10px 24px rgba(254, 229, 0, .35); }

.btn--ghost {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--outline { background: var(--paper); border-color: var(--line); color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); }

.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* ---------------- Sections ---------------- */

.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--tint { background: var(--ground-2); }
.section--dark { background: var(--navy); color: #fff; }

.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 12px;
}

.section--dark .eyebrow { color: #9cc3ef; }

.section__title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.28;
    color: var(--navy);
    margin: 0 0 14px;
    text-wrap: balance;
}

.section--dark .section__title { color: #fff; }

.section__desc { font-size: 16.5px; color: var(--muted); margin: 0; line-height: 1.75; }
.section--dark .section__desc { color: rgba(255, 255, 255, .78); }

.section__head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
}

.section__head-row .section__head { margin-bottom: 0; }

/* ---------------- 약속 (points) ---------------- */

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.point {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.point__icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--blue-soft);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: var(--navy);
}

.point__icon svg { width: 24px; height: 24px; }

.point h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 8px;
}

.point p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.7; }

/* ---------------- 진행 절차 ---------------- */

.process {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px 24px;
}

.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.step h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 6px; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.65; }

.step::after {
    content: "";
    position: absolute;
    top: 38px; right: -14px;
    width: 14px; height: 2px;
    background: var(--line);
}

.step:last-child::after { display: none; }

/* ---------------- 차량 카드 ---------------- */

.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

.vcard {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

.vcard__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(160deg, #eef2f7 0%, #dfe6ef 100%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard__placeholder { width: 74%; color: rgba(15, 42, 74, .16); }

.vcard__watermark {
    position: absolute;
    left: 18px; bottom: 14px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    color: rgba(15, 42, 74, .40);
    text-transform: uppercase;
}

.vcard__badge { position: absolute; top: 14px; left: 14px; display: inline-flex; gap: 6px; }

.chip {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    border: 1px solid var(--line);
}

.chip--accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip--light { background: var(--blue-soft); color: var(--navy); border-color: transparent; }

.vcard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.vcard__name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 3px; }
.vcard__sub { font-size: 13px; color: var(--muted-2); margin: 0 0 12px; }
.vcard__summary { font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px; flex: 1; }

.vcard__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
}

.vcard__price .label { font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 2px; }
.vcard__price .amount { font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.vcard__price .monthly { font-size: 13px; color: var(--blue); font-weight: 700; text-align: right; }
.vcard__price .monthly__cond { display: block; font-size: 11px; font-weight: 500; color: var(--muted-2); margin-top: 2px; }

.vcard__promo {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    background: var(--blue-soft);
    padding: 9px 13px;
    border-radius: var(--radius-sm);
}

/* 카테고리 필터 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }

.filter-bar a {
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    transition: all .2s;
}

.filter-bar a:hover { border-color: var(--navy); color: var(--navy); }
.filter-bar a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------- 스토리 카드 ---------------- */

.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.scard {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

.scard__thumb {
    aspect-ratio: 16 / 9;
    background: linear-gradient(160deg, #e6edf6, #d6e0ec);
    position: relative;
    overflow: hidden;
}

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

.scard__thumb-text {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 700; letter-spacing: .08em;
    color: rgba(15, 42, 74, .38);
    text-transform: uppercase;
}

.scard__body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.scard__meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.scard__title { font-size: 17.5px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.45; color: var(--navy); margin: 0 0 10px; }
.scard__summary { font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px; flex: 1; }
.scard__more { font-size: 14px; font-weight: 700; color: var(--blue); }

/* ---------------- 문의 폼 ---------------- */

.inquiry-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }

.form-card {
    background: var(--paper);
    border-radius: 22px;
    padding: 36px;
    box-shadow: var(--shadow-lg);
    color: var(--ink);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field label .req { color: var(--accent); margin-left: 3px; }

.field input, .field select, .field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    transition: border-color .2s, box-shadow .2s;
}

.field textarea { resize: vertical; min-height: 110px; }

.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47, 111, 179, .15);
}

.field .error { font-size: 13px; color: var(--accent); font-weight: 600; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: var(--accent); }

.agree {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--ink-2);
    background: var(--ground);
    padding: 15px 16px;
    border-radius: var(--radius-sm);
    line-height: 1.6;
}

.agree--optional { background: transparent; border: 1px dashed var(--line); margin-top: -6px; }

.agree input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--navy); }
.agree a { text-decoration: underline; color: var(--blue); }

/* 스팸 봇 함정: 사람에게는 보이지 않음 */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: 13px; color: var(--muted); margin: 16px 0 0; text-align: center; }

.info-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .k { flex: none; width: 64px; font-size: 13px; color: var(--muted); }
.info-list .v { font-weight: 600; font-size: 15px; }
.section--dark .info-list .k { color: rgba(255, 255, 255, .6); }
.section--dark .info-list .v { color: #fff; }

/* 안심 문구 */
.assurance {
    margin-top: 32px;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .85);
}

.assurance strong { color: #fff; display: block; margin-bottom: 4px; }

/* ---------------- 서브 페이지 히어로 ---------------- */

.page-hero {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 64px 0 52px;
}

.page-hero h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin: 0 0 12px;
    text-wrap: balance;
}

.page-hero p { font-size: 16.5px; color: var(--muted); margin: 0; max-width: 640px; line-height: 1.75; }

.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--navy); }

/* ---------------- 상세 페이지 ---------------- */

.detail-layout { display: grid; grid-template-columns: 1.4fr .95fr; gap: 48px; align-items: start; }

.detail-visual {
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(160deg, #eef2f7, #dfe6ef);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 34px;
    border: 1px solid var(--line);
}

.detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.detail-visual svg { width: 66%; color: rgba(15, 42, 74, .16); }

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

.detail-block h2 {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--navy);
}

.detail-block p { font-size: 16px; color: var(--ink-2); margin: 0 0 14px; line-height: 1.8; }

.spec-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.spec-list li { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15.5px; display: flex; gap: 12px; }
.spec-list li::before {
    content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
    background: var(--blue); margin-top: 11px;
}

.side-card {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.side-card__price { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line-2); }
.side-card__price .label { font-size: 13px; color: var(--muted); }
.side-card__price .amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.side-card__price .monthly { font-size: 14px; font-weight: 700; color: var(--blue); }
.side-card__buttons { display: grid; gap: 10px; }
.side-note { font-size: 12.5px; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }

/* 아티클 */
.article { max-width: 760px; margin: 0 auto; }

.article__meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    font-size: 13.5px; color: var(--muted);
    padding-bottom: 24px; margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
}

.article__body { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.article__body p { margin: 0 0 22px; }
.article__body p:empty { min-height: 1em; }
.article__body h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); margin: 44px 0 14px; }
.article__body h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 34px 0 12px; }
.article__body img { display: block; max-width: 100%; height: auto; border-radius: 14px; margin: 28px auto; }
.article__body ul, .article__body ol { padding-left: 24px; margin: 0 0 22px; }
.article__body li { margin-bottom: 8px; }
.article__body blockquote {
    margin: 28px 0; padding: 18px 24px;
    border-left: 4px solid var(--blue);
    background: var(--blue-soft);
    border-radius: 0 12px 12px 0;
    color: var(--ink-2);
}
.article__body a { color: var(--blue); text-decoration: underline; }
.article__body strong { color: var(--ink); }
.article__body .ql-align-center { text-align: center; }
.article__body .ql-align-right { text-align: right; }
.article__body .ql-align-justify { text-align: justify; }

.article__cta {
    margin-top: 56px;
    padding: 36px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-align: center;
}

.article__cta h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 8px; }
.article__cta p { color: var(--muted); margin: 0 0 22px; font-size: 15px; }

/* 페이징 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }

.pagination a, .pagination span {
    min-width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 14.5px; font-weight: 600; color: var(--ink-2);
}

.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 빈 상태 */
.empty {
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

/* ---------------- 고정 CTA ---------------- */

.floating {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 90;
    display: flex; flex-direction: column; gap: 10px;
}

.floating a {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    font-size: 14.5px; font-weight: 700;
    box-shadow: var(--shadow);
    transition: transform .15s;
}

.floating a:hover { transform: translateY(-2px); }
.floating__call { background: var(--navy); color: #fff; }
.floating__kakao { background: var(--kakao); color: #191600; }
.floating__top { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); justify-content: center; }

.mobile-bar { display: none; }

/* ---------------- Footer ---------------- */

.footer {
    background: var(--paper);
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 56px 0 40px;
    font-size: 14px;
}

.footer__top {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line-2);
    margin-bottom: 26px;
}

.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__links a:hover { color: var(--navy); }
.footer__info { display: grid; gap: 6px; }
.footer__info strong { color: var(--navy); }
.footer__legal { font-size: 12.5px; color: var(--muted-2); line-height: 1.8; }

/* ---------------- 알림 ---------------- */

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; margin-bottom: 20px; }
.alert--success { background: #e8f6ec; color: var(--ok); }
.alert--error { background: #fdecef; color: var(--accent); }

/* ---------------- 신차 라인업 (kia.com 데이터를 서버에서 읽어 표시) ---------------- */

.kia-lineup { padding-top: 56px; }

/* 카테고리 탭: 텍스트 + 밑줄 */
.kia-tabs {
    display: flex;
    gap: 34px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 48px;
    overflow-x: auto;                /* 좁은 화면에서는 가로 스크롤 */
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.kia-tabs::-webkit-scrollbar { display: none; }

.kia-tabs a {
    flex: 0 0 auto;
    padding: 14px 2px 16px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color .15s, border-color .15s;
}
.kia-tabs a:hover { color: var(--navy); }
.kia-tabs a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

/* 차량 카드 */
.kia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 32px;
}

.kia-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 12px 18px;
    border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s, background-color .2s;
}
.kia-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--paper); }

.kia-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.kia-card__thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.kia-card:hover .kia-card__thumb img { transform: scale(1.04); }
.kia-card__thumb .vcard__placeholder { width: 60%; }

.kia-card__name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 6px; }
.kia-card__price { font-size: 15px; color: var(--muted); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.kia-card__more { font-size: 13.5px; font-weight: 600; color: var(--navy); opacity: 0; transition: opacity .15s; }
.kia-card:hover .kia-card__more { opacity: 1; }

.kia-lineup__note {
    margin: 56px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line-2);
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
}
.kia-lineup__note a { text-decoration: underline; }

.kia-lineup .empty a { display: inline-block; margin-top: 10px; text-decoration: underline; color: var(--navy); }

@media (max-width: 860px) {
    .kia-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
    .kia-tabs { gap: 24px; }
    .kia-tabs a { font-size: 15.5px; }
}
@media (max-width: 480px) {
    .kia-grid { grid-template-columns: 1fr; gap: 32px; }
    .kia-card__more { opacity: 1; }
}

/* PC 에서 링크가 끊긴 전화 상담 버튼 (main.js 가 붙임): 모양은 유지, 클릭 반응만 없앰 */
.is-tel-static { cursor: default; user-select: text; }
.is-tel-static:hover { transform: none; }
.is-tel-static strong { font-weight: 800; letter-spacing: .01em; }

/* ---------------- 반응형 ---------------- */

@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; gap: 40px; }
    .detail-layout { grid-template-columns: 1fr; gap: 36px; }
    .side-card { position: static; }
    .inquiry-wrap { grid-template-columns: 1fr; gap: 36px; }
    .points { grid-template-columns: 1fr; }
    .process { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(3) { border-left: 0; }
    .stat-item { border-top: 1px solid var(--line-2); }
    .stat-item:nth-child(-n+2) { border-top: 0; }
}

@media (max-width: 860px) {
    .nav-toggle { display: inline-flex; }

    .nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s, transform .2s;
    }

    .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .nav a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 16px; }
    .nav a.is-active { border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .header__cta { display: none; }

    .section { padding: 68px 0; }
    .container { padding: 0 20px; }
    .hero { padding: 52px 0 48px; }
    .process { grid-template-columns: 1fr; }
    .form-card { padding: 26px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .section__head-row { flex-direction: column; align-items: flex-start; }
    .floating { display: none; }

    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 95;
        border-top: 1px solid var(--line);
    }

    .mobile-bar a {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 16px 10px;
        font-size: 15px; font-weight: 700;
    }

    .mobile-bar .call { background: var(--navy); color: #fff; }
    .mobile-bar .kakao { background: var(--kakao); color: #191600; }
    body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .vcard, .scard, .floating a { transition: none; }
    .btn:hover, .vcard:hover, .scard:hover, .floating a:hover { transform: none; }
}
