:root {
    --bg: #eef7ff;
    --card: #ffffff;
    --primary: #1677ff;
    --primary-hover: #0f63d9;
    --ink: #16324f;
    --muted: #64748b;
    --line: #d7e8f7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Sans KR", sans-serif;
    color: var(--ink);
    background: var(--bg);
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(238, 247, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand-icon {
    flex-shrink: 0;
    font-size: 30px;
    line-height: 1;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.brand-text strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.brand-text span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    line-height: 1.3;
}

.header-nav {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
}

.header-nav a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.header-nav a:hover {
    background: var(--card);
    color: var(--primary);
}

.hero {
    max-width: 1080px;
    margin: 0 auto;
    padding: 36px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-kicker {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.hero h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.hero-sub {
    margin: 14px 0 0;
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.7;
    color: var(--muted);
    font-weight: 500;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    min-width: 280px;
    padding: 18px 32px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(22, 119, 255, 0.28);
}

.hero-cta:hover {
    background: var(--primary-hover);
}

.cta-icon {
    font-size: 18px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
}

.hero-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 800;
}

.find-section {
    scroll-margin-top: 80px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 20px 64px;
}

.find-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 32px 44px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
    text-align: center;
}

.find-card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.find-lead {
    margin: 12px 0 28px;
    color: var(--muted);
    line-height: 1.7;
}

.search-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 28px;
    padding: 6px;
    background: var(--bg);
    border-radius: 12px;
}

.search-tab {
    border: none;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.search-tab.is-active {
    background: var(--card);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(22, 50, 79, 0.08);
}

.vehicle-form,
.coming-soon {
    text-align: left;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.field-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

select,
input[type="text"],
input[type="tel"],
input[type="date"] {
    width: 100%;
    appearance: none;
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2316324F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    font: inherit;
    color: var(--ink);
}

input[type="text"],
input[type="tel"],
input[type="date"] {
    background-image: none;
    padding-right: 16px;
}

select:disabled,
input:disabled {
    background-color: #f8fbff;
    color: var(--muted);
    cursor: not-allowed;
}

.find-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(22, 119, 255, 0.24);
}

.find-submit:hover {
    background: var(--primary-hover);
}

.coming-soon-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
}

.coming-soon p:not(.coming-soon-title) {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.7;
}

.model-hit-wrap {
    margin-top: 20px;
    text-align: left;
}

.model-hit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.model-hit {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.model-hit:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f7fbff;
}

.model-search-empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: #f8fbff;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.7;
}

.result-wrap {
    scroll-margin-top: 80px;
    max-width: 560px;
    margin: 24px auto 0;
}

.result-head {
    padding: 28px 28px 8px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
    text-align: center;
}

.result-card {
    padding: 28px 28px 32px;
    margin-top: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
    text-align: center;
}

.result-kicker {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
}

.result-vehicle {
    margin: 6px 0 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.result-title {
    margin: 20px 0 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 20px;
    font-weight: 800;
}

.result-guide {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.result-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: #f4f9ff;
    border: 1px dashed var(--line);
    font-size: 48px;
}

.result-brand {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--primary);
}

.result-name {
    margin: 6px 0 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.spec-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.result-spec {
    margin: 10px 0 0;
    color: var(--ink);
    font-weight: 700;
}

.result-extra {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.result-price {
    margin: 24px 0 0;
    text-align: left;
}

.result-price div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
}

.result-price dt {
    color: var(--muted);
    font-weight: 600;
}

.result-price dd {
    margin: 0;
    font-weight: 700;
}

.result-price .sale dt {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
}

.result-price .sale dd {
    color: var(--primary);
    font-size: clamp(20px, 5.2vw, 24px);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.result-stock {
    margin: 18px 0 0;
    font-weight: 700;
}

.result-stock::before {
    content: "●";
    margin-right: 6px;
}

.result-stock.is-in {
    color: #16a34a;
}

.result-stock.is-out {
    color: #dc2626;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.result-actions .urgent-call,
.result-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 16px 20px;
    border-radius: 12px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    box-sizing: border-box;
}

.result-cta {
    cursor: pointer;
}

.result-cta-primary {
    border: none;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(22, 119, 255, 0.24);
}

.result-cta-primary:hover {
    background: var(--primary-hover);
}

.result-cta-outline {
    border: 1.5px solid var(--primary);
    background: #fff;
    color: var(--primary);
}

.result-empty {
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.result-note {
    margin: 18px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.5;
}

.price-note {
    margin: 8px 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    line-height: 1.5;
    white-space: nowrap;
    max-width: 100%;
}

.consult-block {
    margin-top: 16px;
    padding: 24px 28px 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
}

.consult-note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.5;
}

.order-wrap {
    scroll-margin-top: 80px;
    max-width: 560px;
    margin: 24px auto 0;
}

.order-card {
    padding: 32px 28px 36px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
    text-align: left;
}

.order-card h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
}

.order-lead {
    margin: 10px 0 24px;
    color: var(--muted);
    line-height: 1.7;
    text-align: center;
}

.order-summary {
    margin: 0 0 24px;
    padding: 16px 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.order-summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    padding: 8px 0;
}

.order-summary dt {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.order-summary dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.order-summary .sale dt,
.order-summary .sale dd {
    color: var(--primary);
    font-weight: 800;
}

.urgent-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    background: #e53935;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(229, 57, 53, 0.28);
}

.urgent-call:hover {
    background: #c62828;
}

.method-field {
    border: none;
    padding: 0;
    margin: 0 0 18px;
}

.method-field legend {
    padding: 0;
    margin-bottom: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    cursor: pointer;
}

.radio-option input {
    width: auto;
    padding: 0;
    accent-color: var(--primary);
}

textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
    resize: vertical;
}

input[type="date"] {
    background-image: none;
    padding-right: 16px;
}

.info-section {
    scroll-margin-top: 80px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 56px;
}

.info-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 32px 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
}

.info-kicker {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.store-kicker {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.info-card h2,
.cases-head h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.store-branch {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 600;
}

.store-address {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.store-address p {
    margin: 6px 0 0;
    font-weight: 700;
}

.store-subtitle {
    margin: 20px 0 12px;
    font-size: 16px;
    font-weight: 800;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-grid li {
    padding: 16px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.map-box {
    margin-top: 28px;
    padding: 20px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: #f7fbff;
    text-align: center;
}

.map-box-label {
    margin: 0 0 14px;
    font-weight: 700;
}

.map-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #03c75a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.map-button:hover {
    background: #02b351;
}

.store-map-card {
    max-width: 900px;
    margin: 20px auto 0;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-sizing: border-box;
}

.store-map-image {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    border-radius: 12px;
}

.cases-head {
    max-width: 1080px;
    margin: 0 auto 24px;
    text-align: center;
}

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

.cases-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px 16px;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: var(--card);
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.case-card {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(22, 50, 79, 0.06);
    text-align: left;
}

.case-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    height: auto;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #f4f9ff;
    border: 1px dashed var(--line);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.case-photo:has(.case-photo-img) {
    border-style: solid;
}

.case-photo.is-empty {
    border-style: dashed;
}

.case-photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.case-vehicle {
    margin: 8px 0 0;
    color: var(--ink);
    font-weight: 700;
}

.case-battery {
    margin: 4px 0 0;
    color: var(--primary);
    font-weight: 700;
}

.case-desc {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 600;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: keep-all;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.case-card.is-expanded .case-desc {
    display: block;
    overflow: visible;
}

.case-details-toggle {
    align-self: flex-start;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.case-blog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 12px;
    background: #03c75a;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.case-card .case-blog {
    margin-top: 16px;
}

.case-blog:hover {
    background: #02b351;
}


.hero-call {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    min-height: 58px;
    margin: 10px auto 0;
    padding: 10px 18px;
    border-radius: 14px;
    background: #e53935;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(229, 57, 53, 0.25);
}

.hero-call strong {
    margin-top: 3px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.hero-cta,
.hero-call {
    width: min(100%, 320px);
    min-width: 0;
    height: 58px;
    box-sizing: border-box;
}

.hero-cta {
    padding: 0 32px;
}

.hero-call {
    padding: 6px 18px;
}

@media (max-width: 640px) {
    .urgent-call-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
        line-height: 1.2;
    }

    .urgent-call-copy strong {
        margin-top: 3px;
        font-size: 15px;
        letter-spacing: 0.02em;
    }
    .header-inner {
        padding: 10px 16px;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon {
        font-size: 24px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .brand-text span {
        display: none;
    }

    .header-nav {
        gap: 0;
    }

    .header-nav a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .hero {
        padding: 24px 16px 20px;
        align-items: stretch;
    }

    .hero-cta {
        width: 100%;
        min-width: 0;
    }

    .hero-call {
        width: 100%;
    }

    .find-section {
        padding: 4px 16px 48px;
    }

    .find-card,
    .result-head,
    .result-card,
    .consult-block {
        padding-left: 20px;
        padding-right: 20px;
    }

    .search-tabs {
        grid-template-columns: 1fr;
    }

    .find-submit {
        width: 100%;
    }

    .result-brand {
        font-size: 16px;
    }

    .price-note {
        font-size: clamp(13px, 3.5vw, 20px);
        white-space: nowrap;
    }

    .info-section {
        padding: 0 16px 48px;
    }

    .info-card {
        padding: 24px 20px 28px;
    }

    .map-box {
        padding: 14px 8px;
    }

    .store-map-card {
        width: 100%;
        padding: 4px;
        margin-top: 16px;
    }

    .store-map-image {
        border-radius: 8px;
    }

    .service-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .map-button {
        width: 100%;
        min-width: 0;
    }
}
