@charset "UTF-8";

/* hero 배경만 정의 — 레이아웃/텍스트는 components.css */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../../image/business/smartMobilitySolution/background.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

/* ══ PAGE BODY ══ */
.page-body {
    display: flex;
    flex-direction: column;
    gap: clamp(60px,8vw,97px);
    padding-bottom: clamp(60px,8vw,97px);
}

.section-inner {
    width: min(1550px, 92%);
    margin: 0 auto;
}

/* ══ SOLUTION INTRO ══ */
.intro-section {
    width: min(1550px, 92%);
    margin: clamp(48px,6vw,97px) auto 0;
    display: flex;
    flex-direction: column;
    gap: clamp(32px,4vw,64px);
}

.intro-img {
    width: 100%;
    /* aspect-ratio: 16/7; */
    object-fit: contain;
    border-radius: 16px;
    background: #e8e0f0;
    display: block;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.intro-text .ko-title {
    font-size: clamp(24px,3.5vw,64px);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.intro-text .en-title {
    font-size: clamp(16px,2vw,32px);
    font-weight: 500;
    color: rgba(0,0,0,.55);
}
.intro-text .desc {
    font-size: clamp(15px,1.6vw,32px);
    font-weight: 500;
    color: #111;
    line-height: 1.6;
}

/* ══ 사업분야 CARDS ══ */
.bg-section {
    background: #F6F8FF;
    padding: clamp(32px,4vw,40px) 0;
}

.section-title {
    font-size: clamp(22px,2.5vw,36px);
    font-weight: 400;
    color: #111;
    margin-bottom: clamp(20px,2.5vw,40px);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: clamp(16px,2vw,32px);
}

.biz-card {
    background: white;
    border-radius: var(--radius-card);
    outline: 1px rgba(0,0,0,.1) solid;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.biz-card img {
    width: 100%;
    height: clamp(150px,18vw,293px);
    object-fit: cover;
    background: #e0d0f5;
    display: block;
}
.biz-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.biz-card-title { font-size: clamp(16px,1.5vw,24px); font-weight: 600; color: #111; }
.biz-card-desc  { font-size: clamp(13px,1.1vw,18px); font-weight: 500; color: rgba(0,0,0,.55); line-height:1.55; }
.biz-card-link  { font-size: clamp(13px,1.1vw,18px); font-weight: 500; color: #111; text-decoration: none; cursor: pointer; }

/* ══ 구축 사례 ══ */
.cases-section {
    width: min(1550px,92%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(40px,5vw,80px);
}

.case-carousel-block {
    display: flex;
    flex-direction: column;
    gap: clamp(16px,2vw,24px);
}

.case-type-title {
    font-size: clamp(18px,2vw,28px);
    font-weight: 600;
    color: var(--color-primary);
}

.case-track-outer {
    overflow: hidden;
    padding: 4px 0 8px;
    margin: -4px 0 -8px;
}

.case-track {
    display: flex;
    gap: clamp(16px,2vw,32px);
    transition: transform 0.52s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.case-track.is-dragging { cursor: grabbing; transition: none; }

.case-card {
    flex: 0 0 calc((min(1550px, 92vw) - 2 * clamp(16px, 2vw, 32px)) / 3);
    background: white;
    border-radius: var(--radius-card);
    outline: 1px rgba(0,0,0,.1) solid;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(93,56,149,0.15);
}

.case-card img {
    width: 100%;
    height: clamp(140px,20vw,391px);
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.case-card:hover img { transform: scale(1.07); }

.case-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.case-card-desc  { font-size: clamp(12px,1vw,18px); font-weight: 500; color: rgba(0,0,0,.55); line-height:1.5; }
.case-card-years { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.year-badge {
    font-size: clamp(11px,0.9vw,14px);
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(93,56,149,0.08);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}

/* ── 캐러셀 컨트롤 ── */
.case-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.arr {
    flex-shrink: 0;
    width: clamp(38px,4vw,52px);
    height: clamp(38px,4vw,52px);
    border-radius: 50%;
    border: none;
    background: rgba(93,56,149,.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .15s, opacity .2s;
}
.arr:hover:not(:disabled) { background: rgba(93,56,149,.18); transform: scale(1.09); }
.arr:disabled { opacity: .28; cursor: default; transform: none !important; }
.arr svg { width: 18px; height: 18px; stroke: #5d3895; fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }

.case-dots { flex: 1; display: flex; align-items: center; gap: 7px; }
.case-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(0,0,0,.18); border: none; padding: 0; cursor: pointer;
    transition: width .28s ease, background .22s ease;
}
.case-dot.on { width: 26px; border-radius: 4px; background: #5d3895; }
.case-counter { flex-shrink: 0; font-size: clamp(12px,1vw,15px); color: rgba(0,0,0,.38); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1100px) {
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .case-card  { flex: 0 0 calc((92vw - clamp(16px,2vw,32px)) / 2); }
}
@media (max-width: 768px) {
    .cards-grid { grid-template-columns: 1fr; }
    .case-card  { flex: 0 0 92vw; }
    .bg-section { padding-left: clamp(16px,4vw,32px); padding-right: clamp(16px,4vw,32px); }
    .case-dots  { display: none; }
    .case-counter { font-size: 14px; color: rgba(0,0,0,.5); margin-left: auto; }
}
