/* ********** 제품 · 사례 · 신뢰 페이지 공통 ********** */

.hero_light {
    display: block;
    font-size: 0.5em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1rem;
    letter-spacing: -0.01em;
}

.hero_tag {
    margin-bottom: 1.6rem;
}

.hero_tag .badge {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.3rem;
    padding: 0.6rem 1.2rem;
}

/* ---------- 모듈 (기능 블록) ---------- */
.module {
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 4rem;
    padding: 4rem 0;
    border-top: 1px solid #e6e9ef;
}

.module:last-child {
    border-bottom: 1px solid #e6e9ef;
}

.module_head {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.module_icon {
    flex: 0 0 auto;
    width: 6rem;
    height: 6rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6e9ef;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module_icon img {
    width: 3rem;
    height: 3rem;
}

.module_step {
    font-size: 1.4rem;
    font-weight: 800;
    color: #008afe;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.module_title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
}

.module_desc {
    font-size: 1.7rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1.8rem;
}

.module_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 2rem;
}

.module_list li {
    position: relative;
    padding-left: 1.8rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.module_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #008afe;
}

/* ---------- 대행 표 ---------- */
.agency_tbl td {
    font-size: 1.5rem;
}

/* ---------- 17025 표 ---------- */
.kolas_tbl th:first-child,
.kolas_tbl td:first-child {
    width: 18%;
}

.kolas_tbl .clause {
    display: block;
    font-size: 1.3rem;
    color: #8a94a3;
    margin-bottom: 0.4rem;
}

/* ---------- 도입 절차 타임라인 ---------- */
.timeline_v {
    position: relative;
    padding-left: 4rem;
}

.timeline_v::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 0.8rem;
    bottom: 0.8rem;
    width: 2px;
    background: #dfe3e8;
}

.tl_item {
    position: relative;
    padding-bottom: 4rem;
}

.tl_item::before {
    content: "";
    position: absolute;
    left: -3.6rem;
    top: 0.5rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: #008afe;
    box-shadow: 0 0 0 5px rgba(0, 138, 254, 0.15);
}

.tl_week {
    font-size: 1.3rem;
    font-weight: 800;
    color: #008afe;
    margin-bottom: 0.6rem;
}

.tl_title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.tl_text {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #555;
}

.tl_who {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ---------- FAQ 필터 ---------- */
.faq_filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.faq_filter button {
    border: 1px solid #cfd6e0;
    background: #fff;
    border-radius: 999px;
    padding: 0.9rem 1.8rem;
    font: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
}

.faq_filter button.active {
    background: #008afe;
    border-color: #008afe;
    color: #fff;
}

.faq_group_tag {
    font-size: 1.2rem;
    font-weight: 800;
    color: #008afe;
    margin-right: 1rem;
}

/* ---------- 신뢰 센터 ---------- */
.trust_group {
    padding: 5rem 0;
    border-top: 1px solid #e6e9ef;
}

.trust_grid {
    display: grid;
    grid-template-columns: 30% 1fr;
    gap: 4rem;
}

.trust_items {
    display: grid;
    gap: 1.4rem;
}

.trust_item {
    display: grid;
    grid-template-columns: 20rem 1fr auto;
    gap: 2rem;
    align-items: start;
    padding: 2rem 2.4rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e6e9ef;
}

.trust_item.todo {
    background: #fbfbfc;
    border-style: dashed;
}

.trust_label {
    font-size: 1.6rem;
    font-weight: 800;
}

.trust_text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #444;
}

.trust_item.todo .trust_text {
    color: #8a94a3;
}

.trust_docs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ---------- 케이스 목록 ---------- */
.case_filter_note {
    font-size: 1.4rem;
    color: #8a94a3;
    margin-top: 1rem;
}

.customer_tbl td:first-child {
    font-weight: 700;
}

.customer_logo_cell img {
    height: 2.6rem;
    max-width: 12rem;
    object-fit: contain;
    vertical-align: middle;
}

/* ---------- 케이스 상세 ---------- */
.case_section {
    padding: 5rem 0;
    border-top: 1px solid #e6e9ef;
}

.case_section_title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2.4rem;
}

.metric_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.metric {
    padding: 2.6rem;
    border-radius: 14px;
    background: #f5f7fb;
}

.metric_value {
    font-size: 3.4rem;
    font-weight: 800;
    color: #008afe;
    line-height: 1;
}

.metric_label {
    margin-top: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.metric_method {
    margin-top: 0.6rem;
    font-size: 1.3rem;
    color: #8a94a3;
    line-height: 1.5;
}

.draft_box {
    padding: 2.4rem 2.8rem;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.5);
    font-size: 1.5rem;
    line-height: 1.7;
    color: #7a4b00;
}

/* ---------- 반응형 ---------- */
@media screen and (max-width: 1024px) {
    .module {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust_grid {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .trust_item {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .trust_docs,
    .metric_grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .module_list {
        grid-template-columns: 1fr;
    }

    .module_title {
        font-size: 2rem;
    }

    .timeline_v {
        padding-left: 3rem;
    }

    .tl_item::before {
        left: -2.6rem;
    }

    .tl_title {
        font-size: 1.9rem;
    }
}

/* ---------- 외부 시스템 연계 다이어그램 ---------- */
.api_diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1.2fr;
    align-items: center;
    gap: 1.6rem;
}

.api_node {
    padding: 2.4rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6e9ef;
    text-align: center;
}

.api_node_cali {
    border-color: rgba(0, 138, 254, 0.35);
}

.api_node_hub {
    background: #0b1b33;
    color: #fff;
    border-color: #0b1b33;
}

.api_node_title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.api_node_text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
}

.api_node_hub .api_node_text {
    color: rgba(255, 255, 255, 0.72);
}

.api_link {
    position: relative;
    width: 9rem;
    height: 2px;
    background: #c4ccd8;
}

.api_link::before,
.api_link::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 0.8rem;
    height: 0.8rem;
    border-top: 2px solid #c4ccd8;
    border-right: 2px solid #c4ccd8;
}

.api_link::after {
    right: 0;
    transform: translateY(-50%) rotate(45deg);
}

.api_link::before {
    left: 0;
    transform: translateY(-50%) rotate(-135deg);
}

.api_link span {
    position: absolute;
    left: 50%;
    top: -2.4rem;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 1.2rem;
    font-weight: 700;
    color: #8a94a3;
}

.api_node_group {
    display: grid;
    gap: 1rem;
}

.api_node_group .api_node {
    padding: 1.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.api_node_group .api_node_title {
    margin-bottom: 0;
    font-size: 1.5rem;
}

@media screen and (max-width: 1024px) {
    .api_diagram {
        grid-template-columns: 1fr;
    }

    .api_link {
        width: 2px;
        height: 6rem;
        margin: 0 auto;
    }

    .api_link::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%) rotate(-45deg);
    }

    .api_link::after {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 0;
        transform: translateX(-50%) rotate(135deg);
    }

    .api_link span {
        top: 50%;
        left: calc(50% + 1.6rem);
        transform: translateY(-50%);
    }
}

.hero_link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

/* ---------- 가독성 조정 (site.css 와 같은 기준) ---------- */
.module_step { font-size: 1.5rem; }
.module_title { font-size: 2.5rem; }
.module_desc { font-size: 1.8rem; line-height: 1.75; }
.module_list li { font-size: 1.65rem; line-height: 1.7; }
.module_list li::before { top: 1.1rem; }
.agency_tbl td { font-size: 1.6rem; }
.kolas_tbl .clause { font-size: 1.4rem; }
.tl_week { font-size: 1.4rem; }
.tl_title { font-size: 2.3rem; }
.tl_text { font-size: 1.7rem; line-height: 1.75; }
.faq_filter button { font-size: 1.6rem; }
.faq_group_tag { font-size: 1.3rem; }
.trust_label { font-size: 1.7rem; }
.trust_text { font-size: 1.65rem; line-height: 1.75; }
.case_filter_note { font-size: 1.5rem; }
.metric_label { font-size: 1.7rem; }
.metric_method { font-size: 1.4rem; }
.draft_box { font-size: 1.6rem; }
.api_node_title { font-size: 1.8rem; }
.api_node_text { font-size: 1.5rem; line-height: 1.65; }
.api_node_group .api_node_title { font-size: 1.6rem; }
.api_link span { font-size: 1.3rem; }

@media screen and (max-width: 640px) {
    .module_desc { font-size: 1.8rem; }
    .module_list li { font-size: 1.7rem; }
    .tl_text { font-size: 1.75rem; }
    .trust_text { font-size: 1.7rem; }
    .trust_label { font-size: 1.8rem; }
    .api_node_text { font-size: 1.6rem; }
    .metric_label { font-size: 1.75rem; }
    .metric_method { font-size: 1.5rem; }
}
