@charset "utf-8"; .board-list {
    padding-left: 0;
}

/* 탭 네비게이션 */
.list-tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 60px;
    background: #f1f5f9;
    padding: 6px;
    /*border-radius: 12px;*/
}

.list-tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border: none;
    /*border-radius: 8px;*/
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    font-family: inherit;
    position: relative;
}

.list-tab-item i {
    font-size: 22px;
}

.list-tab-item:hover {
    color: #334155;
    background: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.list-tab-item.active {
    color: #fff;
    font-weight: 700;
    background: #2459ab;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.list-tab-item.active i {
    color: #fff;
}

@media (max-width: 576px) {
    .list-tab-nav {
        gap: 6px;
        padding: 4px;
        border-radius: 10px;
    }
    .list-tab-item {
        font-size: 14px;
        padding: 14px 10px;
        gap: 6px;
        border-radius: 6px;
    }
    .list-tab-item i {
        font-size: 18px;
    }
}

.box-list-top {
    padding: 50px;
}

.service-center-wrap {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
    width: 100%;
    margin: 0 auto;
}

.sc-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 50px;
}

.sc-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.list-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.sc-header h2 i {
    color: var(--sub-color);
    font-size: 36px;
}

.sc-header p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
}

.sc-header p span {
    color: var(--sub-color);
    font-weight: 700;
}

.sc-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.region-buttons {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
}

.region-buttons button {
    padding: 12px 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.region-buttons button:hover {
    background: #f1f5f9;
}

.region-buttons button.active {
    background: var(--sub-color);
    color: #fff;
    border-color: var(--sub-color);
    font-weight: 700;
}

.region-count {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1;
    margin-top: 2px;
}

.region-count::after {
    content: "개";
}

.region-buttons button.active .region-count {
    color: rgba(255,255,255,0.8);
}

.sc-body-wrap {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 50px;
}

.sc-map-area {
    width: 40%;
    position: sticky;
    top: 20px;
}

.map-view {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    aspect-ratio: 1/1.2;
    height: 707px;
}

.map-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* 지도 핫스팟 스타일 */
.map-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.map-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    transition: all 0.3s ease;
}

/* 지역별 핫스팟 위치 */
.map-hotspot01 { top: 29%; left: 24%; flex-direction: row-reverse; gap: 10px; }
.map-hotspot02 { top: 25%; left: 60%; flex-direction: row; gap: 10px; }
.map-hotspot03 { top: 51%; left: 43%; gap: 10px; }
.map-hotspot04 { top: 69%; left: 22%; flex-direction: row-reverse; gap: 10px; }
.map-hotspot05 { top: 63%; left: 74%; flex-direction: row; gap: 10px; }
.map-hotspot06 { top: 80%; left: 40%; flex-direction: row; gap: 10px; }
@media (max-width: 991px) {
    .map-hotspot01 { left: 36%; }
    .map-hotspot02 { left: 55%; }
    .map-hotspot03 { left: 47%; }
    .map-hotspot04 { left: 34%; }
    .map-hotspot05 { left: 62%; }
    .map-hotspot06 { left: 45%; }
}


.hotspot-dot {
    width: 16px;
    height: 16px;
    background: var(--sub-color);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.hotspot-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sub-color);
    opacity: 0.2;
    animation: hotspot-pulse 2s ease-in-out infinite;
}

@keyframes hotspot-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.hotspot-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 2px solid var(--sub-color);
}

.hotspot-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.hotspot-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--sub-color);
    line-height: 1.3;
}

.map-hotspot:hover .hotspot-dot {
    transform: scale(1.3);
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
}

.map-hotspot:hover .hotspot-label {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* 활성화된 핫스팟 */
.map-hotspot.active .hotspot-dot {
    background: #e74c3c;
    transform: scale(1.4);
    box-shadow: 0 3px 12px rgba(231,76,60,0.4);
}

.map-hotspot.active .hotspot-dot::before {
    background: #e74c3c;
    animation: hotspot-pulse-active 1.5s ease-in-out infinite;
}

@keyframes hotspot-pulse-active {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.map-hotspot.active .hotspot-label {
    background: var(--sub-color);
    opacity: 1;
    border-color: var(--sub-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.map-hotspot.active .hotspot-name {
    color: #fff;
}

.map-hotspot.active .hotspot-count {
    color: rgba(255,255,255,0.9);
}

@media (max-width: 576px) {
    .hotspot-label {
        padding: 3px 6px;
    }
    .hotspot-name {
        font-size: 11px;
    }
    .hotspot-count {
        font-size: 10px;
    }
    .hotspot-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
}

.sc-list-area {
    width: 60%;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    /*max-height: 600px;
    overflow-y: auto;*/
    padding-right: 10px;
    padding-top: 5px;
}

.company-list::-webkit-scrollbar {
    width: 6px;
}

.company-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.company-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.company-item {
    background: #fff;
    border: 1px solid #e8ecf1;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.company-item:hover {
    border-color: var(--sub-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.ci-header {
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* 본사 - 파란색 강조 */
.badge.hq {
    background: #1e40af;
    color: #fff;
    box-shadow: 0 2px 6px rgba(30, 64, 175, 0.3);
}

/* 직영 - 초록색 강조 */
.badge.designated {
    background: #16a34a;
    color: #fff;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

/* 지정정비업체 - 주황색 강조 */
.badge.general {
    background: #ea580c;
    color: #fff;
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);
}

/* 담당자 섹션 */
.ci-contacts {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    margin-bottom:20px;
}

.ci-contacts-title {
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ci-contacts-title i {
    font-size: 16px;
    color: var(--sub-color);
}

.ci-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ci-contact-person {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
    font-size: 15px;
}

.contact-name {
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 100px;
}

.contact-name i {
    font-size: 14px;
    color: #94a3b8;
}

.contact-phone {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-phone i {
    font-size: 14px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .sales-list {
        grid-template-columns: 1fr;
    }
    .ci-contact-person {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .contact-name {
        min-width: auto;
    }
}

.ci-name {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0;
    transition: color 0.2s;
}

.company-item:hover .ci-name {
    color: var(--sub-color);
}

.ci-info {
    font-size: 16px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.ci-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ci-row i {
    color: #94a3b8;
    font-size: 18px;
    margin-top: 2px;
    width: 20px;
    flex-shrink: 0;
}

.ci-row span {
    flex: 1;
    line-height: 1.5;
}

.btn-detail {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #fff;
    color: var(--sub-color);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    text-align: center;
}

.btn-detail:hover {
    border-color: var(--sub-color);
    background: var(--sub-color);
    color: #fff;
}

@media (max-width: 991px) {
    .sc-body-wrap {
        flex-direction: column;
    }

    .sc-map-area, .sc-list-area {
        width: 100%;
    }

    .map-view {
        aspect-ratio: 16/9;
        padding: 40px 0;
    }

    .region-buttons {
        grid-template-columns: repeat(4, 1fr);
    }

    .company-list {
        grid-template-columns: repeat(2, 1fr);
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .sc-map-area {
        padding: 15px 0;
    }

    .region-buttons {
        grid-template-columns: repeat(3, 1fr);
    }

    .region-buttons button {
        font-size: 13px;
        padding: 8px 0;
    }

    .company-list {
        grid-template-columns: 1fr;
    }

    .company-item {
        padding: 18px;
    }
}

/* Detail Page Styles */
/* Detail Page Styles - Modern & Clean */
.detail-view-wrap {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    align-items: stretch;
}

.detail-left {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-info-card {
    padding: 10px 0;
}

.detail-header {
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.detail-header .badge {
    margin-bottom: 16px;
    font-size: 14px;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    letter-spacing: -0.01em;
}

.detail-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

.detail-rows {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.detail-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.detail-row i {
    width: 48px;
    height: 48px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sub-color);
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.detail-row:hover i {
    background: var(--sub-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.detail-row-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 2px;
}

.detail-label {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-text {
    font-size: 18px;
    color: #334155;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
    word-break: keep-all;
    letter-spacing: -0.02em;
}

.detail-buttons {
    display: none;
    gap: 12px;
    margin-top: 30px;
}

.btn-detail-action {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    letter-spacing: -0.5px;
}

.btn-call {
    background: var(--sub-color);
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.detail-map {
    flex: 1;
    /* background: #f1f5f9;
    min-height: 550px; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 600;
    border: none;
    overflow: hidden;
    /* box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03); */
}

@media (max-width: 991px) {
    .detail-view-wrap {
        flex-direction: column;
        gap: 40px;
    }

    .detail-left {
        width: 100%;
    }

    .detail-map {
        min-height: 350px;
        order: 0;
        border-radius: 20px;
    }

    .detail-buttons {
        display: flex;
    }

    .detail-title {
        font-size: 32px;
    }
}

/* Bottom Button Styles */
.view-btn {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
    display: block;
}

.btn-group {
    display: inline-flex;
    gap: 5px;
}

.btn-black {
    background: #333;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-black:hover {
    background: #000;
    color: #fff;
}

.btn-black i {
    font-size: 12px;
}
