@charset "utf-8";

@import url("./default.css");

/* ═══════════════════════════════════════════════════════════════
   홈 섹션 공통 스크롤 인터랙션
   data-anim        → 개별 fade-up (data-anim-delay 로 딜레이 ms 지정)
   data-anim-stagger → 자식 요소 순서대로 0.12s 간격 stagger
   data-anim-item   → stagger 컨테이너 안의 개별 아이템
   .is-visible      → JS가 추가하는 활성 클래스
═══════════════════════════════════════════════════════════════ */

/* 기본 숨김 상태 */
.jc-anim-resetting {
    transition: none !important;
}

.jc-anim-no-motion {
    transition: none !important;
}

[data-anim] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.9s ease,
                transform 0.9s ease;
    will-change: opacity, transform;
}

[data-anim].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* stagger 컨테이너의 직계 자식 */
[data-anim-stagger] > * {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.9s ease,
                transform 0.9s ease;
    will-change: opacity, transform;
}

[data-anim-stagger] > *.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.jc-home-who-cards[data-who-scroll-cards] > * {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
    transition: opacity 0.4s ease-out,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.jc-home-hwt-grid[data-hwt-scroll-cards] > * {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
    transition: background-color 0.2s ease,
                opacity 0.4s ease-out,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

@media (min-width: 1025px) {
    .jc-home-hwt-grid[data-hwt-scroll-cards] > * {
        transform: translate3d(0, 150px, 0);
        transition: background-color 0.2s ease,
                    opacity 0.9s ease,
                    transform 0.9s ease;
    }
    .jc-home-who-cards[data-who-scroll-cards] > * {
        transform: translate3d(0, 150px, 0);
        transition: opacity 0.9s ease,
                    transform 0.9s ease;
    }
}

.jc-home-who-cards[data-who-scroll-cards] > *.is-visible,
.jc-home-hwt-grid[data-hwt-scroll-cards] > *.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* why-stat 같은 data-anim-item (stagger 컨테이너 직계 자식이 아닌 경우) */
[data-anim-item] {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity 0.9s ease,
                transform 0.9s ease;
    will-change: opacity, transform;
}

[data-anim-item].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* WHY WITH US 전용 모션 (lift-led) */
.jc-home-why-stat[data-anim-item] {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
    transition: opacity 0.4s ease-out,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.jc-home-why-stat[data-anim-item].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.jc-home-why-clients[data-anim] {
    opacity: 0;
    transform: translate3d(0, 80px, 0);
    transition: opacity 0.4s ease-out,
                transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.jc-home-why-clients[data-anim].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .jc-home-why-stat[data-anim-item],
    .jc-home-why-clients[data-anim] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* 접근성: 모션 줄이기 */
@media (prefers-reduced-motion: reduce) {
    [data-anim],
    [data-anim-stagger] > *,
    .jc-home-who-cards[data-who-scroll-cards] > *,
    .jc-home-hwt-grid[data-hwt-scroll-cards] > *,
    [data-anim-item] {
        opacity: 1 !important;
        clip-path: none !important;
        transform: none !important;
        transition: none !important;
    }
}

/* home 페이지 전용 변수 (공통 색상 변수는 default.css :root에 정의됨) */
:root {
    --jc-home-bg: #f7f7f7;
    --jc-home-banner-image: url("../img/KakaoTalk_Photo_2026-02-20-16-56-05.jpg");
}

.jc-home {
    /* Figma main: PC 1440/1200, tablet 945/785, mobile 360/280 */
    --jc-home-content-width: min(1200px, calc(100% - 160px));
    --jc-home-gallery-side: max(80px, calc((100% - 1200px) / 2));
    --jc-news-content-width: var(--jc-home-content-width);
    background: var(--jc-home-bg);
    color: #000;
}

.jc-home #wrapper,
.jc-home #container_wr,
.jc-home #container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
}

.jc-home #container {
    min-height: 0;
}

.jc-main-stage {
    position: relative;
    background: var(--jc-home-bg);
    overflow: hidden;
}

.jc-home-wrap {
    width: var(--jc-home-content-width);
    margin: 0 auto;
}

.jc-home-title {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    word-break: keep-all;
}

.jc-home-title-accent {
    color: var(--jc-orange-600);
    font-size: clamp(34px, 4.2vw, 56px);
}

.jc-home-title-on-dark {
    color: var(--jc-orange-600);
    font-size: clamp(40px, 5.1vw, 72px);
    font-weight: 700;
}

.jc-home-btn {
    --jc-btn-gap: 6px;
    --jc-btn-font-weight: 500;
    --jc-btn-line-height: 1.4;
    --jc-btn-icon-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   WHO WE ARE
═══════════════════════════════════════════════════════════════ */

.jc-home-who {
    background: #fef9f0;
    padding: 120px 0;
}

.jc-home-who-inner {
    width: var(--jc-home-content-width);
    margin: 0 auto;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.05);
}

.jc-home-who-head {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
}

.jc-home-who-kicker {
    display: block;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    color: #000;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
}

.jc-home-who-title {
    margin: 0 0 20px;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: #f4b540;
    text-align: center;
    word-break: keep-all;
}

.jc-home-who-desc {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    text-align: center;
    word-break: keep-all;
}

.jc-home-who-desc-lines {
    display: block;
}

.jc-home-who-desc-lines--mobile {
    display: none;
}

.jc-home-who-cards {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.jc-home-who-card {
    position: relative;
    min-height: 380px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #2a2a2a;
    background-image: var(--jc-who-card-bg, none);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 56px 40px;
}

.jc-home-who-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: inherit;
}

.jc-home-who-card-body {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.jc-home-who-card-title {
    margin: 0 0 24px;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #f4b540;
    word-break: keep-all;
}

.jc-home-who-card-desc {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #fff;
    word-break: keep-all;
}

/* ═══════════════════════════════════════════════════════════════
   WHY WITH US
═══════════════════════════════════════════════════════════════ */

.jc-home-why {
    background: #fff;
    padding: 120px 0 60px;
}

.jc-home-why-main {
    width: var(--jc-home-content-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 0;
    background: transparent;
}

.jc-home-why-intro {
    flex: 0 0 auto;
    width: 394px;
}

.jc-home-why-heading {
    margin: 0 0 16px;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: #f0a824;
}

.jc-home-why-sub {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    word-break: keep-all;
}

.jc-home-why-stats {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    width: min(706px, 100%);
    position: relative;
    box-sizing: border-box;
    padding: 0 32px;
}

.jc-home-why-stats::before,
.jc-home-why-stats::after {
    content: "";
    display: block;
    width: 1px;
    height: 120px;
    background: #ebebeb;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.jc-home-why-stats::before {
    left: 0;
}

.jc-home-why-stats::after {
    right: 0;
}

.jc-home-why-stat {
    flex: 0 0 auto;
    position: relative;
    display: flex;
    align-items: center;
}

.jc-home-why-stat:nth-child(1) {
    width: 180px;
}

.jc-home-why-stat:nth-child(2) {
    width: 202px;
}

.jc-home-why-stat:nth-child(3) {
    width: 196px;
}

.jc-home-why-stat+.jc-home-why-stat {
    margin-left: 32px;
}

.jc-home-why-stat-divider {
    display: block;
    width: 0;
    height: 120px;
    border-left: 1px solid #ebebeb;
    background: transparent;
    align-self: center;
    flex-shrink: 0;
    margin-right: 32px;
}

.jc-home-why-stat-inner {
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}

.jc-home-why-stat-number {
    margin: 0 0 5px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    flex-wrap: nowrap;
    line-height: 1;
    white-space: nowrap;
}

.jc-home-why-stat-prefix {
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #141f61;
    padding-bottom: 8px;
    flex-shrink: 0;
}

.jc-home-why-stat-value {
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.3px;
    color: #141f61;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: max-content;
}

.jc-home-why-stat-unit {
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #141f61;
    padding-bottom: 8px;
    margin-left: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.jc-home-why-stat-desc {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: #616161;
    word-break: keep-all;
}

/* 클라이언트 로고 슬라이더 */

/* 클라이언트 로고 슬라이더 */
.jc-home-why-clients {
    --jc-clients-title-font-size: 24px;
    --jc-logo-row-gap: 40px;
    width: 100%;
    background: #fff;
    overflow: hidden;
    padding: 60px 0 120px;
}

.jc-home-why-clients-title {
    width: var(--jc-home-content-width);
    margin: 0 auto 24px;
    font-family: "Pretendard", sans-serif;
    font-size: var(--jc-clients-title-font-size);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    color: #000;
    text-align: left;
    padding-left: 0;
    box-sizing: border-box;
}

.jc-home-clients-marquee {
    --jc-logo-width: 245px;
    --jc-logo-height: 103px;
    --jc-logo-row-1-speed: 30s;
    --jc-logo-row-2-speed: 35s;
    --jc-logo-row-3-speed: 40s;
    --jc-logo-item-gap: 30px;
    width: 100%;
    overflow: hidden;
    padding: 0;
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

.jc-home-clients-marquee .carousel-container {
    display: flex;
    flex-direction: column;
    gap: var(--jc-logo-row-gap);
}

.jc-home-clients-marquee .carousel-row {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.jc-home-clients-marquee .carousel-track {
    display: flex;
    gap: var(--jc-logo-item-gap);
    width: fit-content;
    will-change: transform;
    transform: translateX(0);
}

.jc-home-clients-marquee .track-1 {
    animation: jc-logo-scroll-left var(--jc-logo-row-1-speed) linear infinite;
}

.jc-home-clients-marquee .track-2 {
    animation: jc-logo-scroll-right var(--jc-logo-row-2-speed) linear infinite;
}

.jc-home-clients-marquee .track-3 {
    animation: jc-logo-scroll-left var(--jc-logo-row-3-speed) linear infinite;
}

.jc-home-clients-marquee .carousel-item {
    flex-shrink: 0;
    width: var(--jc-logo-width);
    height: var(--jc-logo-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}

.jc-home-clients-marquee .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.48;
}

@keyframes jc-logo-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * var(--jc-logo-carousel-distance, 2750px)));
    }
}

@keyframes jc-logo-scroll-right {
    0% {
        transform: translateX(calc(-1 * var(--jc-logo-carousel-distance, 2750px)));
    }

    100% {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .jc-home-clients-marquee .carousel-track {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HOW WE THINK
═══════════════════════════════════════════════════════════════ */

.jc-home-hwt {
    background: #FEF9F0;
    padding: 120px 0;
}

.jc-home-hwt-inner {
    width: min(1212px, calc(100% - 160px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* 상단 헤드 - 중앙 정렬 */
.jc-home-hwt-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    text-align: center;
    position: static;
}

.jc-home-hwt-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jc-home-hwt-copy-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jc-home-hwt-kicker {
    display: block;
    font-family: "Pretendard", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    color: #F0A824;
    text-transform: uppercase;
    margin: 0;
}

.jc-home-hwt-title {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: #000;
    word-break: keep-all;
}

.jc-home-hwt-sub {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    word-break: keep-all;
}

/* jc-btn 시스템 위임 — desktop은 shared md round gray CTA 사용, hover 톤만 보정 */
.jc-home-hwt-more {
    /* HWT 배경(#FEF9F0)이 밝아서 rgba(white,0.1) hover가 안 보임 — 회색으로 오버라이드 */
    --jc-btn-bg-hover: rgba(158, 158, 158, 0.12);
    --jc-btn-bg-active: rgba(158, 158, 158, 0.28);
    max-width: 300px;
}

.jc-home-hwt-more .jc-btn__icon {
    flex-shrink: 0;
}

/* 2x2 카드 그리드 */
.jc-home-hwt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
    width: 100%;
    max-width: 100%;
}

.jc-home-hwt-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
    width: 100%;
    min-width: 0;
    transition: background-color 0.2s ease;
}

.jc-home-hwt-card:first-child {
    background: #fff;
}

.jc-home-hwt-card:hover {
    background: #ffe8b3;
}

.jc-home-hwt-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 530px;
    padding: 32px;
    gap: 24px;
    box-sizing: border-box;
}

/* 카드 텍스트 영역 */
.jc-home-hwt-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.jc-home-hwt-card-brand {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4;
    color: #000;
    letter-spacing: -0.3px;
    white-space: normal;
}

.jc-home-hwt-card-title {
    margin: 0;
    font-family: "Pretendard", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    word-break: keep-all;
}

/* 카드 이미지 영역 */
.jc-home-hwt-card-media {
    width: 100%;
    height: 307px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    position: relative;
}

.jc-home-hwt-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jc-home-hwt-empty {
    display: flex;
    justify-content: center;
    padding: 48px 0;
    width: 100%;
}


/* ═══════════════════════════════════════════════════════════════
   STAGGERED GALLERY
═══════════════════════════════════════════════════════════════ */

.jc-home-gallery {
    background: #f9f7f3;
    padding: 0 var(--jc-home-gallery-side) 80px;
    overflow: hidden;
}

.jc-home-gallery-stagger {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 20px;
    row-gap: 12px;
    align-items: start;
}

.jc-home-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: #ddd;
}

.jc-home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.jc-home-gallery-item:nth-child(1) {
    height: 379px;
}

.jc-home-gallery-item:nth-child(2) {
    height: 240px;
    margin-top: 139px;
}

.jc-home-gallery-item:nth-child(3) {
    height: 301px;
    margin-top: 60px;
}

.jc-home-gallery-item:nth-child(4) {
    height: 175px;
    margin-top: 108px;
}

.jc-home-gallery-item:nth-child(5) {
    height: 364px;
    margin-top: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   JOYCONNECT NEWS
═══════════════════════════════════════════════════════════════ */

/* News 섹션은 /css/jc-news.css 공유 파일로 이전됨 */

/* ═══════════════════════════════════════════════════════════════
   반응형
═══════════════════════════════════════════════════════════════ */

@media (min-width: 1025px) and (max-width: 1279px) {

    .jc-home-who-inner,
    .jc-home-why-main,
    .jc-home-hwt-inner {
        width: var(--jc-home-content-width);
    }

    .jc-home-why-clients-title {
        width: var(--jc-home-content-width);
        margin-right: auto;
        margin-left: auto;
        padding-left: 0;
        font-size: 20px;
    }

}

@media (min-width: 1025px) and (max-width: 1308px) {
    .jc-home-why-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .jc-home-why-intro {
        width: 100%;
        max-width: 394px;
    }

    .jc-home-why-stats {
        width: min(706px, 100%);
    }
}

/* 태블릿(1024px 이하): 별도 갤러리 섹션 숨기고 HOW WE WORK 섹션 내부 갤러리 표시 */
@media (max-width: 1024px) {
    .jc-home {
        --jc-home-content-width: calc(100% - 160px);
        --jc-news-content-width: var(--jc-home-content-width);
    }

    .jc-home-gallery {
        display: none;
    }

    .jc-home-wrap,
    .jc-home-who-inner,
    .jc-home-why-main,
    .jc-home-hwt-inner {
        width: var(--jc-home-content-width);
    }

    .jc-home-who {
        padding: 80px 0;
    }

    .jc-home-who-head {
        padding: 0;
    }

    .jc-home-who-kicker {
        margin-bottom: 16px;
        color: #000;
        letter-spacing: 0;
        font-size: 16px;
        line-height: 1.4;
    }

    .jc-home-who-title {
        margin: 0 0 16px;
        font-size: 32px;
        line-height: 1.4;
        letter-spacing: -0.4px;
    }

    .jc-home-who-desc {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.5;
        color: #000;
    }

    .jc-home-who-cards {
        margin-top: 16px;
        column-gap: 20px;
        row-gap: 12px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .jc-home-why-clients {
        --jc-logo-row-gap: 32px;
    }

    .jc-home-clients-marquee {
        padding: 0 80px;
        box-sizing: border-box;
        --jc-logo-width: 180px;
        --jc-logo-height: 76px;
        --jc-logo-item-gap: 20px;
    }

    .jc-home-who-card {
        min-height: 280px;
        padding: 36px 24px;
        justify-content: flex-start;
    }

    .jc-home-who-card-title {
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 1.3;
        text-align: center;
    }

    .jc-home-who-card-desc {
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .jc-home {
        --jc-home-content-width: calc(100% - 80px);
        --jc-news-content-width: calc(100% - 40px);
    }

    .jc-home-why-clients {
        --jc-logo-row-gap: 28px;
    }

    .jc-home-clients-marquee {
        padding: 0 24px;
        box-sizing: border-box;
        --jc-logo-width: 136px;
        --jc-logo-height: 57px;
        --jc-logo-item-gap: 14px;
    }

    .jc-home-who-kicker {
        font-size: 14px;
    }

    .jc-home-who-title {
        font-size: 26px;
        letter-spacing: -0.3px;
    }

    .jc-home-who-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .jc-home-why-main {
        flex-direction: column;
        gap: 40px;
    }

    .jc-home-why-intro {
        width: 100%;
    }

    .jc-home-why-stats {
        width: 100%;
        gap: 16px;
        position: static;
        padding: 0;
    }

    .jc-home-why-stats::before,
    .jc-home-why-stats::after {
        display: none;
    }

    .jc-home-why-stat:nth-child(1),
    .jc-home-why-stat:nth-child(2),
    .jc-home-why-stat:nth-child(3) {
        width: auto;
    }

    .jc-home-why-stat+.jc-home-why-stat {
        margin-left: 0;
    }

    .jc-home-why-stat-value {
        font-size: 48px;
    }

    .jc-home-hwt-grid {
        grid-template-columns: 1fr;
    }

    .jc-home-hwt-card {
        width: 100%;
    }

    .jc-home-hwt-card-link {
        height: auto;
        min-height: 400px;
    }

    .jc-home-hwt-kicker {
        font-size: 16px;
    }

    .jc-home-hwt-title {
        font-size: 30px;
    }

    .jc-home-hwt-sub {
        font-size: 16px;
    }

    .jc-home-hwt-card-brand {
        font-size: 26px;
    }

    .jc-home-hwt-card-title {
        font-size: 18px;
    }

    .jc-home-gallery {
        padding: 0 40px 60px;
    }

    .jc-home-gallery-stagger {
        grid-template-columns: repeat(3, 1fr);
    }

    .jc-home-gallery-item:nth-child(4),
    .jc-home-gallery-item:nth-child(5) {
        display: none;
    }

    .jc-home-gallery-item:nth-child(1) {
        height: 280px;
        margin-top: 0;
    }

    .jc-home-gallery-item:nth-child(2) {
        height: 200px;
        margin-top: 80px;
    }

    .jc-home-gallery-item:nth-child(3) {
        height: 240px;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .jc-home-who-cards {
        grid-template-columns: 1fr;
    }

    .jc-home-who-card {
        min-height: 260px;
        justify-content: flex-start;
        padding: 36px 24px;
    }

    .jc-home-who-card-title,
    .jc-home-who-card-desc {
        text-align: center;
    }
}

@media (max-width: 640px) {

    .jc-home-who-inner,
    .jc-home-hwt-inner {
        width: var(--jc-home-content-width);
    }

    .jc-home-who-head {
        padding: 0;
    }

    .jc-home-who-title {
        font-size: 24px;
    }

    .jc-home-who-desc {
        font-size: 14px;
    }

    .jc-home-why {
        padding-top: 40px;
    }

    .jc-home-why-main {
        width: var(--jc-home-content-width);
        flex-direction: column;
        gap: 24px;
        padding: 20px;
        border-bottom: none;
        border-radius: 8px;
        box-shadow: 0 -7.2px 18px rgba(0, 0, 0, 0.05);
    }

    .jc-home-why-intro {
        width: 100%;
        text-align: center;
    }

    .jc-home-why-heading {
        margin: 0 0 12px;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        color: #f4b540;
    }

    .jc-home-why-sub {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        color: #000;
    }

    .jc-home-why-stats {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .jc-home-why-stat-divider {
        display: none;
    }

    .jc-home-why-stat {
        border-top: 1px solid #ebebeb;
        border-bottom: 1px solid #ebebeb;
        padding: 12px 0;
    }

    .jc-home-why-stat+.jc-home-why-stat {
        border-top: none;
    }

    .jc-home-why-stat-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 0;
    }

    .jc-home-why-stat-number {
        margin: 0;
        align-items: center;
        width: 80px;
        flex-shrink: 0;
    }

    .jc-home-why-stat-prefix,
    .jc-home-why-stat-unit {
        font-size: 12px;
        padding-bottom: 0;
    }

    .jc-home-why-stat-value {
        font-size: 24px;
        line-height: 1.3;
    }

    .jc-home-why-stat-desc {
        width: 120px;
        font-size: 12px;
        line-height: 1.4;
        color: #616161;
    }

    .jc-home-why-clients {
        --jc-clients-title-font-size: 10px;
        --jc-logo-row-gap: 24px;
        padding: 24px 0 40px;
    }

    .jc-home-why-clients-title {
        width: var(--jc-home-content-width);
        margin: 0 auto 12px;
        padding-left: 0;
        font-weight: 700;
        line-height: 1.3;
    }

    .jc-home-clients-marquee {
        padding: 0 24px;
        box-sizing: border-box;
        --jc-logo-width: 128px;
        --jc-logo-height: 54px;
        --jc-logo-item-gap: 12px;
    }

    .jc-home-hwt-kicker {
        font-size: 14px;
    }

    .jc-home-hwt-title {
        font-size: 24px;
        letter-spacing: -0.3px;
    }

    .jc-home-hwt-sub {
        font-size: 14px;
    }

    .jc-home-hwt-card-brand {
        font-size: 22px;
    }

    .jc-home-hwt-card-title {
        font-size: 15px;
    }

    .jc-home-hwt-card-link {
        padding: 20px;
        height: auto;
        min-height: 300px;
    }

    .jc-home-hwt-card-media {
        height: 200px;
    }

    .jc-home-gallery {
        padding: 0 24px 48px;
    }

    .jc-home-gallery-stagger {
        grid-template-columns: repeat(2, 1fr);
    }

    .jc-home-gallery-item:nth-child(3),
    .jc-home-gallery-item:nth-child(4),
    .jc-home-gallery-item:nth-child(5) {
        display: none;
    }

    .jc-home-gallery-item:nth-child(1) {
        height: 220px;
        margin-top: 0;
    }

    .jc-home-gallery-item:nth-child(2) {
        height: 160px;
        margin-top: 60px;
    }
}

@media (max-width: 767px) {
    .jc-home-who {
        padding: 40px 0;
    }

    .jc-home-who-inner {
        width: var(--jc-home-content-width);
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 -7.2px 18px rgba(0, 0, 0, 0.05);
    }

    .jc-home-who-head {
        max-width: 240px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .jc-home-who-kicker {
        margin: 0;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    }

    .jc-home-who-title {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .jc-home-who-desc {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    }

    .jc-home-who-desc-lines--desktop {
        display: none;
    }

    .jc-home-who-desc-lines--mobile {
        display: block;
        width: max-content;
        max-width: none;
        margin: 0 auto;
    }

    .jc-home-who-desc-lines--mobile .jc-line {
        white-space: nowrap;
    }

    .jc-home-who-desc br,
    .jc-home-who-card-desc br {
        display: none;
    }

    .jc-home-who-cards {
        margin-top: 24px;
        gap: 16px;
    }

    .jc-home-who-card {
        min-height: 120px;
        height: 120px;
        padding: 16px;
        justify-content: center;
    }

    .jc-home-who-card:nth-child(1),
    .jc-home-who-card:nth-child(3) {
        background-position: center top;
    }

    .jc-home-who-card:nth-child(2) {
        background-position: center center;
    }

    .jc-home-who-card-body {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 8px;
    }

    .jc-home-who-card-title {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
    }

    .jc-home-who-card-desc {
        margin: 0 auto;
        max-width: 208px;
        font-size: 12px;
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    .jc-home-hwt {
        padding: 40px 0;
    }

    .jc-home-hwt-inner {
        width: var(--jc-home-content-width);
        gap: 18px;
    }

    .jc-home-hwt-head {
        width: min(275px, 100%);
        gap: 12px;
    }

    .jc-home-hwt-copy {
        gap: 6px;
    }

    .jc-home-hwt-copy-main {
        gap: 7px;
    }

    .jc-home-hwt-kicker {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    }

    .jc-home-hwt-title {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .jc-home-hwt-sub {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    }

    .jc-home-hwt-more.jc-btn--round.jc-btn--md.jc-btn--gray {
        --jc-btn-height: 32px;
        --jc-btn-font-size: 12px;
        --jc-btn-gap: 4px;
        --jc-btn-min-width: 80px;
        max-width: 280px;
    }

    .jc-home-hwt-grid {
        width: min(256px, 100%);
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .jc-home-hwt-card {
        width: 100%;
        border-radius: 16px;
    }

    .jc-home-hwt-card-link {
        height: auto;
        min-height: 0;
        padding: 16px;
        gap: 24px;
    }

    .jc-home-hwt-card-brand {
        font-size: 20px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .jc-home-hwt-card-title {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.5;
    }

    .jc-home-hwt-card-media {
        height: auto;
        aspect-ratio: 536 / 307;
        border-radius: 24px;
        background: #fff;
    }
}

@media (max-width: 480px) {
    .jc-home-why-clients {
        --jc-logo-row-gap: 20px;
    }

    .jc-home-clients-marquee {
        padding: 0 20px;
        --jc-logo-width: 116px;
        --jc-logo-height: 49px;
        --jc-logo-item-gap: 12px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .jc-home-why {
        padding: 80px 0;
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .jc-home-why-main {
        width: var(--jc-home-content-width);
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .jc-home-why-intro {
        width: 100%;
        max-width: none;
    }

    .jc-home-why-heading {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .jc-home-why-sub {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .jc-home-why-stats {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        min-height: 142px;
        flex: 0 1 auto;
        align-items: stretch;
        justify-content: space-between;
        padding: 0;
    }

    .jc-home-why-stats::before,
    .jc-home-why-stats::after {
        height: 142px;
    }

    .jc-home-why-stat,
    .jc-home-why-stat:nth-child(1),
    .jc-home-why-stat:nth-child(2),
    .jc-home-why-stat:nth-child(3) {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        align-items: flex-start;
        justify-content: center;
        padding: 0 18px;
    }

    .jc-home-why-stat+.jc-home-why-stat {
        margin-left: 0;
    }

    .jc-home-why-stat-divider {
        position: absolute;
        left: 0;
        top: 50%;
        height: 142px;
        margin: 0;
        transform: translateY(-50%);
    }

    .jc-home-why-stat-number {
        margin-bottom: 16px;
        align-items: flex-end;
        gap: 6px;
        line-height: 1.2;
    }

    .jc-home-why-stat-value {
        font-size: 47px;
        line-height: 1.2;
        letter-spacing: -0.47px;
        min-width: 0;
    }

    .jc-home-why-stat-prefix,
    .jc-home-why-stat-unit {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: -0.16px;
        padding-bottom: 8px;
    }

    .jc-home-why-stat-desc {
        font-size: 12px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .jc-home-why-clients {
        width: 100%;
        --jc-logo-row-gap: 32px;
        padding: 0;
    }

    .jc-home-why-clients-title {
        width: var(--jc-home-content-width);
        margin: 0 auto 32px;
        padding-left: 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
    }

    .jc-home-clients-marquee {
        padding: 0 40px;
        --jc-logo-width: 180px;
        --jc-logo-height: 76px;
        --jc-logo-item-gap: 20px;
    }

    .jc-home-hwt {
        padding: 80px 0;
    }

    .jc-home-hwt-inner {
        width: var(--jc-home-content-width);
        gap: 48px;
    }

    .jc-home-hwt-head {
        width: min(721.744px, 100%);
        gap: 32px;
    }

    .jc-home-hwt-copy {
        gap: 16px;
    }

    .jc-home-hwt-copy-main {
        gap: 18px;
    }

    .jc-home-hwt-kicker {
        font-size: 13px;
        font-weight: 500;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .jc-home-hwt-title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .jc-home-hwt-sub {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
    }

    .jc-home-hwt-more.jc-btn--round.jc-btn--md.jc-btn--gray {
        --jc-btn-height: 32px;
        --jc-btn-font-size: 12px;
        --jc-btn-gap: 4px;
        --jc-btn-min-width: 80px;
        max-width: 280px;
    }

    .jc-home-hwt-grid {
        width: min(600px, 100%);
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .jc-home-hwt-card-link {
        height: 530px;
        min-height: 0;
        padding: 32px;
        gap: 24px;
    }

    .jc-home-hwt-card-brand {
        font-size: 28px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .jc-home-hwt-card-title {
        font-size: 20px;
        font-weight: 500;
        line-height: 1.5;
    }

    .jc-home-hwt-card-media {
        height: 307px;
        border-radius: 24px;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {

    .jc-home-why-main,
    .jc-home-why-clients-title {
        width: calc(100% - 160px);
    }

    .jc-home-why-stat,
    .jc-home-why-stat:nth-child(1),
    .jc-home-why-stat:nth-child(2),
    .jc-home-why-stat:nth-child(3) {
        align-items: center;
    }

    .jc-home-why-stat-inner {
        width: fit-content;
        max-width: min(240px, 100%);
        flex: 0 1 auto;
    }

    .jc-home-hwt-inner {
        width: min(785px, calc(100% - 160px));
    }

    .jc-home-hwt-head {
        width: min(721.744px, 100%);
    }

    .jc-home-hwt-grid {
        width: min(600px, 100%);
    }
}

@media (min-width: 1280px) and (max-width: 1439px) {
    .jc-home-why {
        padding: 80px 0;
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .jc-home-why-main,
    .jc-home-why-clients-title {
        width: calc(100% - 160px);
    }

    .jc-home-why-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .jc-home-why-intro {
        width: 100%;
        max-width: none;
    }

    .jc-home-why-heading {
        margin-bottom: 16px;
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .jc-home-why-sub {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.4;
        letter-spacing: 0;
    }

    .jc-home-why-stats {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        min-height: 142px;
        flex: 0 1 auto;
        align-items: stretch;
        justify-content: space-between;
        padding: 0;
    }

    .jc-home-why-stats::before,
    .jc-home-why-stats::after {
        height: 142px;
    }

    .jc-home-why-stat,
    .jc-home-why-stat:nth-child(1),
    .jc-home-why-stat:nth-child(2),
    .jc-home-why-stat:nth-child(3) {
        width: auto;
        min-width: 0;
        flex: 1 1 0;
        align-items: center;
        justify-content: center;
        padding: 0 18px;
    }

    .jc-home-why-stat-inner {
        width: fit-content;
        max-width: min(240px, 100%);
        flex: 0 1 auto;
    }

    .jc-home-why-stat+.jc-home-why-stat {
        margin-left: 0;
    }

    .jc-home-why-stat-divider {
        position: absolute;
        left: 0;
        top: 50%;
        height: 142px;
        margin: 0;
        transform: translateY(-50%);
    }

    .jc-home-why-stat-number {
        margin-bottom: 16px;
        align-items: flex-end;
        gap: 6px;
        line-height: 1.2;
    }

    .jc-home-why-stat-value {
        font-size: 47px;
        line-height: 1.2;
        letter-spacing: -0.47px;
        min-width: 0;
    }

    .jc-home-why-stat-prefix,
    .jc-home-why-stat-unit {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: -0.16px;
        padding-bottom: 8px;
    }

    .jc-home-why-stat-desc {
        font-size: 12px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .jc-home-why-clients {
        width: 100%;
        --jc-logo-row-gap: 36px;
        padding: 0;
    }

    .jc-home-why-clients-title {
        margin: 0 auto 32px;
        padding-left: 0;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.3;
    }

    .jc-home-clients-marquee {
        padding: 0 40px;
        --jc-logo-width: 200px;
        --jc-logo-height: 84px;
        --jc-logo-item-gap: 24px;
    }
}
