@charset "utf-8";

/* ============================================
   TeddyX · Quote Left Sidebar
   ============================================ */

:root {
    --tdx-primary:       #009CE0;
    --tdx-primary-dark:  #0077B3;
    --tdx-primary-light: #E6F7FF;
    --tdx-white:         #FFFFFF;
    --tdx-gray-50:       #F8FAFC;
    --tdx-gray-100:      #F1F5F9;
    --tdx-gray-200:      #E2E8F0;
    --tdx-gray-400:      #94A3B8;
    --tdx-gray-500:      #9E9E9E;
    --tdx-gray-600:      #757575;
    --tdx-gray-700:      #334155;
    --tdx-gray-900:      #0F172A;
    --tdx-shadow-sm:     0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
    --tdx-shadow-md:     0 4px 14px rgba(0,0,0,.09);
}

/* ============================================
   Aside wrapper
   ============================================ */
.left {
    position: relative;
    width: 432px;
    background-color: #f7fcff;
    border-right: 1px solid var(--tdx-gray-200);
}

.left-pdt-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* common.css에서 제어하는 show/hide 로직을 깨지 않도록,
   PC 기본값에서는 left-mo를 숨기고(기본), 모바일에서만 노출 */
.left-mo {
    display: none;
}

/* ============================================
   Hero — background photo
   ============================================ */
.left-hero {
    position: relative;
    width: 100%;
    background-image: url('/images/travel/quote/group_left_banner.jpeg');
    background-size: cover;
    background-position: 35% 5%;
    overflow: hidden;
    flex-shrink: 0;
}

.left-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        /* 하단 페이드 — 텍스트 아래부터 시작해 흰 배경으로 연결 */
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(248, 250, 252, 0.40) 78%,
            rgba(248, 250, 252, 0.88) 92%,
            #F8FAFC 100%
        ),
        /* 어둠 오버레이 — 텍스트 가독성 */
        linear-gradient(
            180deg,
            rgba(210, 210, 210, 0.28) 20%,
            rgba(122, 122, 122, 0.55) 60%,
            rgba(83, 83, 83, 0.75) 100%
        );
}

.left-hero-content {
    position: relative;
    z-index: 1;
    padding: 36px 32px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* 칩 */
.left-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #009ce0;
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 5px 14px;
    border-radius: 100px;
    width: fit-content;
}

/* 타이틀 */
.left-hero-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -0.5px;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* 설명 텍스트 — 반투명 패널로 가독성 확보 */
.left-hero-desc {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgb(255 255 255 / 58%);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.12);
    width: 100%;
}

.left-hero-desc p {
    margin: 0;
    font-size: 14px;
    color: rgb(63, 63, 63);
    font-weight: 400;
    padding: 3px 0;
}

.left-hero-desc p + p {
    border-top: 1px solid rgba(255,255,255,0.12);
}

.left-hero-desc p strong {
    font-weight: 700;
    color: #232323;
    margin-right: 8px;
    font-size: 14px;
}

/* ============================================
   .left .check-list
   ============================================ */
   .left .check-list {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* 체크리스트 스타일 개선 */
.left .check-list {
    display: flex;
    flex-direction: column;
    gap: 6px 0;
    padding: 6px 24px 6px 24px;
    background: rgb(255 255 255 / 58%);
    border-radius: 12px;
    box-shadow: var(--teddy-shadow-sm);
    border: 1px solid var(--teddy-gray-200);
}

.left .check-list li {
    font-size: 14px;
    color: rgb(63, 63, 63);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0 9px;
    line-height: 1.5;
}

.left .check-list li {
    position: relative;
}

.left .check-list li::before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background: #009ce0;
    border-radius: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 156, 224, 0.2);
    position: relative;
}

.left .check-list li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Insurance cards — 칩 + 원형 아이콘 레이아웃
   ============================================ */
.left-cards {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-shrink: 0;
}

.left-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--tdx-gray-200);
    background: var(--tdx-white);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.left-card:hover {
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
    transform: translateY(-2px);
}

/* 상단: 원형 아이콘 + 타이틀 */
.left-card-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

/* 원형 아이콘 (이미지 스타일) */
.left-card-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.left-card--overseas .left-card-icon {
    background: var(--tdx-primary);
    color: #fff;
}

.left-card--domestic .left-card-icon {
    background: #51a271;
    color: #fff;
}

.left-card-icon svg {
    width: 16px;
    height: 16px;
}

.left-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--tdx-gray-900);
    letter-spacing: -0.02em;
    margin: 0;
}

/* 설명 문구 */
.left-card-desc {
    font-size: 13px;
    color: var(--tdx-gray-600);
    margin: 0 0 6px;
}

/* 칩 행 — pill 스타일 */
.left-card-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 12px;
}

.left-card .chip {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 400;
    color: var(--tdx-gray-800);
    background: #F1F5F9;
    border-radius: 100px;
    white-space: nowrap;
}

.dark .left-card .chip {
    background: #334155;
    color: #E2E8F0;
}

/* ============================================
   Insurance company logos
   ============================================ */
.left .logos {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    max-width: 100%;
    margin: 0 auto;
    gap: 7px 12px;
    padding: 14px 24px 14px;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.left .logos img {
    display: block;
    max-width: 100%;
    height: 26px;
    width: auto;
    object-fit: contain;
    object-position: center;
}

/* 개별 로고 높이 조절 (필요시 수정) */
.left .logos img.logo-hyundai { width: 72px;transform: translateY(-1px); }
.left .logos img.logo-kyobo { width: 52px;}
.left .logos img.logo-db {width: 85px;}
.left .logos img.logo-hana { width: 90px;}
.left .logos img.logo-kb {width: 90px;}
.left .logos img.logo-meritz { width: 50px;transform: translateY(-3px);}
.left .logos img.logo-shinhan { width: 100px; }
.left .logos img.logo-samsung { width: 48px;}
.left .logos img.logo-lotte { width: 32px;  transform: translateY(-2px); }

/* ============================================
   Bottom business info
   ============================================ */
.left .bottom-banner {
    margin-top: auto;
    padding: 18px 0 26px;
    border-top: 1px solid var(--tdx-gray-200);
}

.left .deliberation {
    font-size: 13px;
    color: var(--tdx-gray-600);
    line-height: 1.75;
    text-align: center;
}

.left .deliberation span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tdx-gray-900);
}

/* ============================================
   Responsive  ≤ 1200px  (tablet + mobile — .left-mo)
   ============================================ */
@media (max-width: 1200px) {
    .left.left-mo {
        display: block;
        width: 432px;
        max-width: 100%;
        padding-top: 70px;
        margin: 0 auto;
        border-right: none;
        border-bottom: 1px solid var(--tdx-gray-200);
    }

    .left.left-mo .left-hero {
        min-height: 220px;
    }

    .left.left-mo .left-hero-content {
        padding: 56px 24px 24px;
    }

    .left.left-mo .left-hero-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .left.left-mo .left-hero-desc p {
        font-size: 13px;
    }

    .left.left-mo .check-list {
        margin: 16px 24px 18px;
        padding: 14px 18px;
    }

    .left.left-mo .check-list li {
        font-size: 13px;
    }

    .left.left-mo .left-cards {
        padding: 16px 24px 20px;
        gap: 10px;
    }

    .left.left-mo .left-card {
        flex: 1;
        min-width: 0;
        padding: 14px;
    }

    .left.left-mo .left-card-title {
        font-size: 1rem;
    }

    .left.left-mo .left-card-desc-list li,
    .left.left-mo .left-card-desc {
        font-size: 12px;
    }

    .left.left-mo .left-card-desc-list {
        margin-bottom: 10px;
    }

    .left.left-mo .left-card .chip {
        font-size: 10px;
        padding: 4px 8px;
    }

    .left.left-mo .logos {
        padding: 12px 24px 16px;
    }

    .left.left-mo .bottom-banner {
        padding: 14px 24px 20px;
    }

    .left.left-mo .deliberation {
        font-size: 12px;
    }
}

/* 모바일 좁은 화면 (≤ 640px) */
@media (max-width: 640px) {
    .left.left-mo {
        width: 100%;
        max-width: 100%;
    }

    .left.left-mo .left-hero {
        min-height: 200px;
    }

    .left.left-mo .left-hero-content {
        padding: 48px 20px 20px;
        gap: 12px;
    }

    .left.left-mo .left-hero-desc p {
        font-size: 12px;
    }

    .left.left-mo .check-list {
        margin: 14px 20px 16px;
        padding: 0 16px;
    }

    .left.left-mo .check-list li {
        font-size: 12px;
    }

    .left.left-mo .left-cards {
        padding: 14px 20px 16px;
        gap: 10px;
    }

    .left.left-mo .left-card .chip {
        font-size: 10px;
        padding: 3px 8px;
    }

    .left.left-mo .logos {
        padding: 18px 20px;
        gap: 4px 11px;
    }


    .left.left-mo .bottom-banner {
        padding: 12px 20px 16px;
    }

    .left-hero-desc {
        width: 90%;
    }


}

/* ============================================
   Entrance animation
   ============================================ */
@keyframes ldFadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.left-hero-content { animation: ldFadeUp .5s ease-out both; }
.left .check-list  { animation: ldFadeUp .5s ease-out .12s both; }
.left-cards        { animation: ldFadeUp .5s ease-out .22s both; }
