*,
*::before,
*::after { box-sizing: border-box; }

body.page-service {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: #0b0b0b;
    color: #fff;
}

body.page-process {
    min-height: 100svh !important;
    display: block;
    overflow: hidden !important;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.service-page {
    min-height: 100svh;
    background: #0b0b0b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--identity-header-h, 90px) + 14px) 0 152px;
}

.service-inner {
    width: min(1240px, 94vw);
    margin: 0 auto;
}

.service-hero {
    padding: 0;
}

.service-hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 46px;
    text-align: center;
}

.service-hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: 56px !important;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
}

.service-hero h1.business-title-small {
    font-size: 56px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
}

.service-hero-copy > .process-hero-desc {
    max-width: 680px;
    margin: 12px auto 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
    letter-spacing: normal !important;
    opacity: 1;
    text-align: center;
}

.process-section-divider {
    display: block;
    align-self: center;
    width: min(1360px, calc(100vw - 80px));
    max-width: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.24);
    margin: 38px 0 38px;
}

.process-service-tags {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 0 auto 44px;
    line-height: 1.2;
    word-break: keep-all;
}

.process-service-tab {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: clamp(15px, 2.1vw, 22px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.3px;
    word-break: keep-all;
    cursor: pointer;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.process-service-tab:hover,
.process-service-tab:focus-visible,
.process-service-tab.active {
    color: #ffffff;
}

.process-service-tab:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 6px;
}

.process-service-tags i {
    display: block;
    width: 1px;
    height: 0.85em;
    background: rgba(255, 255, 255, 0.24);
}

.process-flow {
    --process-flow-gap: clamp(44px, 3.8vw, 64px);
    --process-row-gap: var(--process-flow-gap);
    --process-arrow-color: rgba(255, 255, 255, 0.16);
    --process-arrow-width: 36px;
    --process-arrow-height: 22px;
    --process-arrow-stem: 18px;
    --process-arrow-head: 17px;
    --process-arrow-thickness: 10px;
    --process-arrow-length: calc(var(--process-arrow-stem) + var(--process-arrow-head));
    --process-turn-arrow-x: calc(100% + 10px);
    --process-card-gap: 18px;
    --process-badge-size: clamp(88px, 6.2vw, 112px);
    --process-title-height: 2.15em;
    width: min(1360px, calc(100vw - 80px));
    display: grid;
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    gap: var(--process-flow-gap);
    justify-content: center;
    border: 0;
}

.process-flow article {
    position: relative;
    min-height: 0;
    padding: 0 clamp(10px, 1.2vw, 18px);
    border: 0;
    border-radius: 0;
    background: transparent;
    display: grid;
    grid-template-rows: var(--process-badge-size) var(--process-title-height) auto;
    gap: var(--process-card-gap);
    align-items: start;
    align-content: start;
    justify-items: center;
    justify-content: center;
    text-align: center;
}

.process-flow article.fade-in-up {
    transition: opacity 0.86s ease, transform 0.86s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes processArrowMoveX {
    0%, 100% { transform: translate(0, -50%); }
    50% { transform: translate(6px, -50%); }
}

@keyframes processArrowMoveY {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 6px); }
}

@media (min-width: 1280px) {
    .process-flow article:not(:last-child)::before,
    .process-flow article:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        pointer-events: none;
        animation: processArrowMoveX 1.45s ease-in-out infinite;
    }

    .process-flow article:not(:last-child)::before {
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2));
        width: var(--process-arrow-stem);
        height: var(--process-arrow-thickness);
        border-radius: 0;
        background: var(--process-arrow-color);
        transform: translateY(-50%);
    }

    .process-flow article:not(:last-child)::after {
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2) + var(--process-arrow-stem) - 1px);
        width: 0;
        height: 0;
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
        border-left: var(--process-arrow-head) solid var(--process-arrow-color);
        transform: translateY(-50%);
    }
}

.process-flow span {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: var(--process-badge-size);
    height: var(--process-badge-size);
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.process-flow span:hover {
    opacity: 0.72;
    transform: translateY(-5px);
}

.process-flow span img {
    display: block;
    width: 58%;
    height: 58%;
    object-fit: contain;
}

.process-flow h3 {
    margin: 0;
    padding-top: 6px;
    max-width: none;
    min-height: var(--process-title-height);
    color: #fff;
    font-size: clamp(17px, 1.45vw, 22px);
    font-weight: 600;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: nowrap;
}

.process-card-copy {
    display: contents;
}

.process-flow p {
    align-self: start;
    margin: 0;
    max-width: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(13px, 1vw, 16px);
    font-weight: 300;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: nowrap;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.86s ease, transform 0.86s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-0 { transition-delay: 0s; }
.animate-delay-1 { transition-delay: 0.16s; }
.animate-delay-2 { transition-delay: 0.32s; }
.animate-delay-3 { transition-delay: 0.48s; }
.animate-delay-4 { transition-delay: 0.64s; }
.animate-delay-5 { transition-delay: 0.8s; }
.animate-delay-6 { transition-delay: 0.96s; }
.animate-delay-7 { transition-delay: 1.12s; }
.animate-delay-8 { transition-delay: 1.28s; }
.animate-delay-9 { transition-delay: 1.44s; }

body.page-service .page-footer {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: rgba(10, 10, 10, 0.96) !important;
}

body.light-mode.page-service,
body.light-mode .service-page {
    background: #fcfcfc;
    color: #111;
}

body.light-mode .service-page {
    background: #fcfcfc;
}

body.light-mode .service-hero h1 {
    color: #0b0b0b;
}

body.light-mode .service-hero-copy > .process-hero-desc {
    color: rgba(0, 0, 0, 0.62);
}

body.light-mode .process-flow {
    --process-arrow-color: rgba(0, 0, 0, 0.18);
}

body.light-mode .process-service-tags {
    color: #0b0b0b;
}

body.light-mode .process-service-tab {
    color: rgba(0, 0, 0, 0.5);
}

body.light-mode .process-service-tab:hover,
body.light-mode .process-service-tab:focus-visible,
body.light-mode .process-service-tab.active {
    color: #0b0b0b;
}

body.light-mode .process-service-tab:focus-visible {
    outline-color: rgba(0, 0, 0, 0.4);
}

body.light-mode .process-service-tags i {
    background: rgba(0, 0, 0, 0.18);
}

@media (min-width: 1280px) {
    body.light-mode .process-flow article:not(:last-child)::before {
        background: rgba(0, 0, 0, 0.18);
    }

    body.light-mode .process-flow article:not(:last-child)::after {
        border-left-color: rgba(0, 0, 0, 0.18);
    }
}

body.light-mode .process-flow h3,
body.light-mode .process-flow p {
    color: #0b0b0b;
}

body.light-mode .process-flow p {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .process-flow span {
    background: rgba(0, 0, 0, 0.06);
}

body.light-mode.page-service .page-footer {
    background: #f5f5f5 !important;
}

@media (max-width: 1279px) {
    body.page-process {
        min-height: 100%;
        display: block;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    .service-page {
        min-height: auto;
        justify-content: flex-start;
        padding-top: calc(var(--identity-header-h, 90px) + 48px);
        padding-bottom: 34px;
    }

    body.page-service .page-footer {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .process-flow {
        --process-flow-gap: 52px;
        --process-row-gap: 60px;
        grid-template-columns: repeat(3, minmax(190px, 230px));
        width: min(860px, 92vw);
        gap: var(--process-row-gap) var(--process-flow-gap);
        justify-items: center;
    }

    .process-flow article {
        width: 100%;
        max-width: 230px;
    }

    .process-flow article:not(:last-child)::before,
    .process-flow article:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 50%;
        pointer-events: none;
        animation: processArrowMoveX 1.45s ease-in-out infinite;
    }

    .process-flow article:not(:last-child)::before {
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2));
        width: var(--process-arrow-stem);
        height: var(--process-arrow-thickness);
        border-radius: 0;
        background: var(--process-arrow-color);
        transform: translateY(-50%);
    }

    .process-flow article:not(:last-child)::after {
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2) + var(--process-arrow-stem) - 1px);
        width: 0;
        height: 0;
        border-top: 11px solid transparent;
        border-right: 0;
        border-bottom: 11px solid transparent;
        border-left: var(--process-arrow-head) solid var(--process-arrow-color);
        transform: translateY(-50%);
    }

    .process-flow article:nth-child(3)::before {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2));
        width: var(--process-arrow-stem);
        height: var(--process-arrow-thickness);
        border-radius: 0;
        transform: translateY(-50%);
    }

    .process-flow article:nth-child(3)::after {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2) + var(--process-arrow-stem) - 1px);
        border-top: 11px solid transparent;
        border-right: 0;
        border-bottom: 11px solid transparent;
        border-left: var(--process-arrow-head) solid var(--process-arrow-color);
        transform: translateY(-50%);
    }
}

@media (max-width: 760px) {
    .process-flow {
        --process-flow-gap: 52px;
        --process-row-gap: 60px;
        grid-template-columns: repeat(2, minmax(190px, 230px));
        width: min(560px, 92vw);
    }

    .process-flow article {
        max-width: 230px;
    }

    .process-flow article:nth-child(3)::before {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2));
        width: var(--process-arrow-stem);
        height: var(--process-arrow-thickness);
        border-radius: 0;
        transform: translateY(-50%);
    }

    .process-flow article:nth-child(3)::after {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2) + var(--process-arrow-stem) - 1px);
        border-top: 11px solid transparent;
        border-right: 0;
        border-bottom: 11px solid transparent;
        border-left: var(--process-arrow-head) solid var(--process-arrow-color);
        transform: translateY(-50%);
    }

    .process-flow article:nth-child(2)::before,
    .process-flow article:nth-child(4)::before {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2));
        width: var(--process-arrow-stem);
        height: var(--process-arrow-thickness);
        border-radius: 0;
        transform: translateY(-50%);
    }

    .process-flow article:nth-child(2)::after,
    .process-flow article:nth-child(4)::after {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-length)) / 2) + var(--process-arrow-stem) - 1px);
        border-top: 11px solid transparent;
        border-right: 0;
        border-bottom: 11px solid transparent;
        border-left: var(--process-arrow-head) solid var(--process-arrow-color);
        transform: translateY(-50%);
    }
}

@media (max-width: 640px) {
    .service-inner {
        width: min(100% - 32px, 1120px);
    }

    .service-page {
        padding-bottom: 28px;
    }

    .service-hero {
        padding: 0;
    }

    .service-hero h1 {
        font-size: 48px !important;
    }

    .service-hero-copy > .process-hero-desc {
        font-size: 15px !important;
    }

    .process-service-tags {
        flex-wrap: wrap;
        gap: 10px 14px;
        margin-bottom: 34px;
    }

    .process-service-tab {
        font-size: clamp(14px, 3.7vw, 17px);
    }

    .process-service-tags i {
        height: 0.78em;
    }

    .process-flow {
        --process-badge-size: 104px;
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .process-flow article {
        width: min(78vw, 300px);
        padding: 24px 22px;
    }

    .process-flow article:not(:last-child)::before {
        top: calc(100% + ((56px - var(--process-arrow-length)) / 2));
        left: 50%;
        width: var(--process-arrow-thickness);
        height: var(--process-arrow-stem);
        border-radius: 0;
        animation: processArrowMoveY 1.45s ease-in-out infinite;
    }

    .process-flow article:not(:last-child)::after {
        top: calc(100% + ((56px - var(--process-arrow-length)) / 2) + var(--process-arrow-stem) - 1px);
        left: 50%;
        border-top: var(--process-arrow-head) solid var(--process-arrow-color);
        border-right: 10px solid transparent;
        border-bottom: 0;
        border-left: 10px solid transparent;
        animation: processArrowMoveY 1.45s ease-in-out infinite;
    }

    .process-flow h3 {
        font-size: 20px;
    }

    .process-flow p {
        font-size: 14px;
    }
}

@media (min-width: 641px) {
    .process-flow article:not(:last-child)::before {
        display: none;
    }

    .process-flow article:not(:last-child)::after {
        top: 50%;
        left: calc(100% + ((var(--process-flow-gap) - var(--process-arrow-width)) / 2));
        width: var(--process-arrow-width);
        height: var(--process-arrow-height);
        border: 0;
        background: var(--process-arrow-color);
        clip-path: polygon(0 30%, 58% 30%, 58% 0, 100% 50%, 58% 100%, 58% 70%, 0 70%);
        animation: processArrowMoveX 1.45s ease-in-out infinite;
        transform: translateY(-50%);
    }
}

@media (max-width: 640px) {
    .process-flow article:not(:last-child)::before {
        display: none;
    }

    .process-flow article:not(:last-child)::after {
        top: calc(100% + ((56px - var(--process-arrow-width)) / 2));
        left: 50%;
        width: var(--process-arrow-height);
        height: var(--process-arrow-width);
        border: 0;
        background: var(--process-arrow-color);
        clip-path: polygon(30% 0, 70% 0, 70% 58%, 100% 58%, 50% 100%, 0 58%, 30% 58%);
        animation: processArrowMoveY 1.45s ease-in-out infinite;
        transform: translateX(-50%);
    }
}
