@charset "utf-8";
html {
    scroll-behavior: auto;
}

.main {}
section { background: #fff; padding: 100px 0; }
.section-hidden { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.section-visible { opacity: 1 !important; transform: translateY(0) !important; }
.mo_br { display: none; }

/* main_tit */
.main_tit { margin-bottom: 80px; }
.main_tit > h4 { margin-bottom: 40px; font-size: 18px; color: #e6802c; font-family: 'SCoreDream','Pretendard'; text-transform: uppercase; letter-spacing: 0.15em; }
.main_tit > h3 { font-size: 42px; line-height: 60px; font-weight: 300; font-family: 'SCoreDream','Pretendard'; }
.main_tit > h3 > span { display: block; }
.main_tit > h3 font { font-weight: 600; }
.main_tit > p { margin-top: 60px; font-size: 16px; line-height: 28px; font-weight: 200; color: #777; }
.main_tit > p > span { display: block; }

/* ─── INTRO ─── */
section.main01_intro {
    padding: 0;
    position: fixed; z-index: 9999;
    width: 100%; height: 100vh;
    left: 0; top: 0;
    display: flex; justify-content: center; align-items: center;
    background: #fff;
    overflow: hidden;
}
section.main01_intro > .main01_tit {
    display: flex; flex-direction: column;
    align-items: center;
    gap: clamp(10px, 2.1vw, 20px);
    text-align: center;
}
section.main01_intro > .main01_tit > h3 {
    font-size: clamp(22px, 4vw, 56px);
    line-height: 1.5; font-weight: 300;
    font-family: 'SCoreDream','Pretendard';
    white-space: nowrap;
}
section.main01_intro > .main01_tit > h3 font { font-weight: 700; }
section.main01_intro > .main01_tit > p {
    margin-top: 20px;
    font-size: clamp(14px, 2vw, 28px);
    color: #e6802c;
    font-family: 'SCoreDream','Pretendard';
}
section.main01_intro > .main01_tit > .line {
    width: 60%; height: 2px;
    background: linear-gradient(90deg, transparent, #000, transparent);
    transform-origin: center;
}

/* ─── MAIN01 ─── */
section.main01 {
    position: relative;
    width: 100%;
    height: 100vh;
    top: 0;
    padding: 0;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 0;
    visibility: visible;
    opacity: 1;
}
/* PC: 왼쪽 어둡고 오른쪽 밝은 그라데이션 */
section.main01::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 35%, rgba(0,0,0,0.1) 65%, transparent 100%);
    z-index: 4;
}

/* 텍스트: 왼쪽 정렬 + 하단 배치 */
section.main01 > .main01_tit.main01_tit--left {
    position: absolute;
    left: 0; bottom: 0;
    transform: none;
    top: auto;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #fff;
    z-index: 5;
    padding: 0 0 170px clamp(40px, 6vw, 120px);
    gap: 0;
}
section.main01 > .main01_tit.main01_tit--left > h3 {
    font-size: clamp(24px, 3.2vw, 42px);
    line-height: 1.55;
    font-weight: 300;
    font-family: 'SCoreDream','Pretendard';
    color: #fff;
}
section.main01 > .main01_tit.main01_tit--left > h3 font {
    font-weight: 700;
    color: #fff;
}

/* ─── MAIN01 커스텀 바 ─── */
.main01_bars {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    width: 80%;
    max-width: 900px;
}
.main01_bar {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}
.main01_bar:hover { background: rgba(255,255,255,0.5); }
.main01_bar_fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    opacity: 0.35;
}


section.main01 > .main01_slide { max-height: 100vh; }
section.main01 > .main01_slide > .main01_img > img { width: 100%; height: 100vh; object-fit: cover; display: block; transform-origin: center center; will-change: transform; }

/* ─── COPY 텍스트 섹션 ─── */
.copy-section {
    padding: 15vh 0 35vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    min-height: auto;
}
.copy-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 2vw, 20px);
}
.copy-eng {
    font-size: clamp(20px, 3.5vw, 48px);
    font-weight: 700;
    font-family: 'SCoreDream','Pretendard';
    color: #111;
    letter-spacing: 0.02em;
}
.copy-line {
    width: 60%;
    max-width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #000, transparent);
    transform-origin: center;
}
.copy-kor {
    font-size: clamp(18px, 3vw, 40px);
    font-weight: 300;
    font-family: 'SCoreDream','Pretendard';
    color: #111;
    line-height: 1.5;
}
.copy-kor font {
    font-weight: 700;
}
/* SplitType 글자별 스타일 */
.copy-eng .char,
.copy-kor .char {
    display: inline-block;
}

/* ─── 이미지 확대 섹션 ─── */
.expand-trigger {
    position: relative;
    z-index: 2;
    /* 핵심: COPY 섹션 위를 덮으며 올라오도록 겹침 */
    margin-top: -30vh;
}
.expand-pin {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.expand-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    will-change: clip-path, transform, opacity;
    /* 초기: 가운데 사각형만 보이게 — JS에서 정확한 값 설정 */
}
.expand-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.expand-darken {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.1) 65%, transparent);
    opacity: 0;
    pointer-events: none;
}
.expand-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
    width: 88%;
    max-width: 720px;
    opacity: 0;
}
.expand-text h3 {
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 300;
    font-family: 'SCoreDream','Pretendard';
    color: #fff;
    line-height: 1.5;
    margin-bottom: clamp(16px, 2vw, 32px);
    text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 8px rgba(0,0,0,0.3);
}
.expand-text h3 font {
    font-weight: 700;
    color: #fff;
}
.expand-text p {
    font-size: 18px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
    color: rgba(255,255,255,0.85);
    line-height: 2;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}
.expand-text p strong {
    color: #fff;
    font-weight: 600;
}

/* ─── PC/모바일 전환 ─── */
.mo-only { display: none; }
.pc-only { display: block; }

/* ─── 모바일 소개 섹션 (단순 레이아웃) ─── */
.mo-intro {
    padding: 0;
    background: #fff;
}
.mo-intro-img {
    width: 100%;
    overflow: hidden;
}
.mo-intro-img img {
    width: 100%;
    display: block;
    object-fit: cover;
}
.mo-intro-txt {
    padding: 40px 24px 50px;
    background: #fff;
}
.mo-intro-txt h3 {
    font-size: 22px;
    font-weight: 300;
    font-family: 'SCoreDream','Pretendard';
    color: #111;
    line-height: 1.55;
    margin-bottom: 20px;
}
.mo-intro-txt h3 font {
    font-weight: 700;
}
.mo-intro-txt p {
    font-size: 15px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
    color: #555;
    line-height: 1.9;
}
.mo-intro-txt p strong {
    color: #111;
    font-weight: 600;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    /* PC 전용 숨김, 모바일 전용 표시 */
    .pc-only { display: none !important; }
    .mo-only { display: block !important; }

    /* COPY 섹션: 모바일에서는 패딩 줄이고, 이미지 확대 효과용 여백 제거 */
    .copy-section {
        padding: 10vh 24px 6vh;
        min-height: auto;
    }
    .copy-eng { font-size: 24px; }
    .copy-kor { font-size: 20px; }
    .copy-line { width: 50%; }
}
@media (max-width: 480px) {
    .copy-section { padding: 8vh 20px 5vh; min-height: auto; }
    .copy-eng { font-size: 20px; }
    .copy-kor { font-size: 18px; }

    .mo-intro-txt { padding: 30px 20px 40px; }
    .mo-intro-txt h3 { font-size: 20px; }
    .mo-intro-txt p { font-size: 14px; }
}

/* ─── COLUMN ─── */
.column {
    padding: 100px 0;
    background: #fff;
    border-radius: 50px 50px 0 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.column.is-visible { opacity: 1; transform: translateY(0); }
.column > .inner > .column_box {
    display: flex;
    align-items: flex-start;
}

.column > .inner > .column_box > .left {
    width: 50%;
    position: sticky;
    top: 150px;
    display: flex;
    align-items: flex-start;
}
.left_sticky {
    width: 100%;
    padding-right: 40px;
    position: relative;
}
.left_sticky > ul.left_imgs { position: relative; width: 100%; padding-top: 125%; }
.left_sticky > ul > li.left_img {
    width: 100%;
    height: 100%;
    background: #ddd;
    border-radius: 20px;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.5s ease;
}
.left_sticky > ul > li.left_img:first-child { opacity: 1; }
.left_sticky > ul > li.left_img > img { width: 100%; height: 100%; object-fit: cover; }

.column > .inner > .column_box > .right { width: 50%; }
.column > .inner > .column_box > .right > div { padding: 0 40px; }
.column_bot { display: flex; flex-wrap: wrap; justify-content: space-between; }
.column_bot > li { width: calc((100% - 30px)/2); margin-bottom: 30px; }
.column_bot > li > a { display: block; }
.column_bot > li > a > .img { background: #ddd; position: relative; width: 100%; padding-top: 125%; border-radius: 20px; overflow: hidden; }
.column_bot > li > a > .img > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.column_bot > li > a:hover .img > img { transform: scale(1.04); }
.column_bot > li > a > .txt { margin-top: 16px; }
.column_bot > li > a > .txt > h5 { margin-bottom: 12px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.column_bot > li > a > .txt > p { font-size: 14px; color: #666; }

/* ─── PORTFOLIO ─── */
.portfolio {
.portfolio { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.portfolio.is-visible { opacity: 1; transform: translateY(0); } padding: 80px 0 200px; }
.portfolio .main_tit { text-align: center; margin-bottom: 32px; }

/* 탭 */
.port_tab_nav {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}
.port_tab_item {
    font-size: 18px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    color: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
    padding-bottom: 8px;
    position: relative;
}
.port_tab_item.on {
    color: #111;
    font-weight: 700;
    font-size: 22px;
}
.port_tab_item.on::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: #e6802c;
}

/* 콘텐츠 */
.port_contents {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    height: 420px;
}
.port_content {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.port_content.on {
    opacity: 1;
    pointer-events: auto;
}

/* 이미지 */
.port_img {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
   
}
.port_img img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* 뱃지 - port_content 기준 absolute */
.port_badge {
    position: absolute;
    will-change: transform;
    background: rgba(230,128,44,0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    border-radius: 100px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(230,128,44,0.4);
    white-space: nowrap;
    z-index: 10;
}
/* 위치 클래스 */
.port_badge--br { right: -20px; bottom: 40px; animation: floatBadge1 3s ease-in-out infinite; }
.port_badge--bl { left: -20px;  bottom: 40px; animation: floatBadge1 3s ease-in-out infinite; }
.port_badge--tr { right: -20px; top: 40px;    animation: floatBadge2 3.2s ease-in-out infinite; }
.port_badge--tl { left: -20px;  top: 40px;    animation: floatBadge2 3.2s ease-in-out infinite; }

@keyframes floatBadge1 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes floatBadge2 {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(10px); }
}
.port_badge .badge_label { font-size: 15px; font-family: 'Pretendard',sans-serif; opacity: 0.9; }
.port_badge .badge_num { font-size: 22px; font-weight: 700; font-family: 'SCoreDream','Pretendard'; line-height: 1; }
.port_badge .badge_num font { font-size: 28px; color: #fff; }

/* 커서 */
.port_cursor {
    position: absolute;
    left: -20px;
    bottom: 40px;
    width: 64px;
    z-index: 10;
    will-change: transform;
}
.port_cursor img { width: 100%; display: block; }

/* 반응형 */
@media (max-width: 768px) {
    .port_tab_nav { gap: 24px; }
    .port_tab_item { font-size: 13px; }
    .port_img img { height: 220px; }
    .port_badge { right: 10px; bottom: 20px; padding: 10px 18px; }
    .port_badge .badge_num { font-size: 16px; }
    .port_badge .badge_num font { font-size: 20px; }
    .port_cursor { left: 10px; width: 48px; }
}

/* ─── SERVICE ─── */
.service {
.service { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.service.is-visible { opacity: 1; transform: translateY(0); } padding: 0; position: relative; overflow: hidden; }
.service_inner {
    display: flex;
    width: 100%;
    min-height: 540px;
    position: relative;
}
/* 모바일 카드는 PC에서 숨김 */
.service_mo_wrap { display: none; }
.service_card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 배경 이미지 */
.service_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1c2333;
    z-index: 0;
}

/* 기본 오버레이 */
.service_overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 28, 48, 0.55);
    transition: background 0.4s ease;
    z-index: 1;
}
/* hover시 오버레이 진하게 */
.service_card:hover .service_overlay {
    background: rgba(10, 16, 32, 0.78);
}

/* 카드 구분선 */
.service_card + .service_card {
    border-left: 1px solid rgba(255,255,255,0.1);
}

/* 텍스트 영역 - 가운데 정렬 */
.service_txt {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 32px;
    z-index: 2;
    color: #fff;
    transition: transform 0.4s ease;
}
/* hover시 텍스트 위로 올라가기 */
.service_card:hover .service_txt {
    transform: translateY(-20px);
}

.service_txt > h4 {
    font-size: 30px;
    font-weight: 600;
    font-family: 'SCoreDream','Pretendard';
    color: #fff;
    margin-bottom: 16px;
}
.service_desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    font-family: 'Pretendard', sans-serif;
}

/* hover시 나타나는 영역 */
.service_hover {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
    pointer-events: none;
}
.service_card:hover .service_hover {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.service_sub {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    font-family: 'Pretendard', sans-serif;
}
.service_plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: #e6802c;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    box-shadow: 0 6px 20px rgba(230,128,44,0.45);
}

/* 반응형 */
@media (max-width: 768px) {
    /* PC 구조 숨김 */
    .service_bg { display: none; }
    .service_pc { display: none !important; }

    /* 모바일 카드 래퍼 */
    .service_mo_wrap {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 40px 20px;
    }
    .service_mo_card {
        display: flex;
        flex-direction: column;
        padding: 32px 28px 28px;
        border-radius: 20px;
        text-decoration: none;
        color: #111;
        position: relative;
        gap: 14px;
    }
    .service_mo_card--01 { background: #FFF4EC; }
    .service_mo_card--02 { background: #F5F0EB; }
    .service_mo_card--03 { background: #EFEFEF; }

    .service_mo_body h4 {
        font-size: 20px;
        font-weight: 700;
        font-family: 'SCoreDream','Pretendard';
        color: #111;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .service_mo_body p {
        font-size: 15px;
        line-height: 1.7;
        color: #444;
        font-family: 'Pretendard', sans-serif;
    }
    .service_mo_btn {
        position: absolute;
        right: 24px;
        bottom: 24px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(0,0,0,0.75);
        color: #fff;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 300;
        line-height: 1;
    }
    .service_mo_card--01 .service_mo_btn { background: #e6802c; }
    .service_mo_card--02 .service_mo_btn { background: #c97025; }
    .service_mo_card--03 .service_mo_btn { background: #333; }
}

/* ─── PROJECT ─── */
.project {
.project { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.project.is-visible { opacity: 1; transform: translateY(0); } padding: 100px 0; position: relative; overflow: hidden; }

/* 상단: 타이틀 좌 + 수치 우 */
.project_top {
    margin-bottom: 60px;
}
.project_top > .main_tit {
    margin-bottom: 50px;
    text-align: left;
}

/* 수치 리스트 */
.project_list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 100px;
}
.project_list > li {
    flex: 1;
    padding: 16px 24px;
    border-left: 1px solid #eee;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: left;
}
.project_list > li:first-child { border-left: none; padding-left: 0; }
.project_list > li > p {
    font-size: 20px;
    color: rgba(0,0,0,0.3);
    margin-bottom: 12px;
    font-family: 'Pretendard', sans-serif;
    transition: color 0.4s ease;
    white-space: nowrap;
}
.project_list > li > h4 {
    font-size: clamp(20px, 2vw, 28px);
    font-family: 'SCoreDream','Pretendard';
    color: rgba(230,128,44,0.3);
    transition: color 0.4s ease, transform 0.4s ease;
    display: inline-block;
    transform-origin: left center;
}
.project_list > li > h4 > font {
    font-size: clamp(26px, 2.8vw, 50px);
}

/* hover + on 상태 */
.project_list > li:hover > p,
.project_list > li.on > p { color: #444; }
.project_list > li:hover > h4,
.project_list > li.on > h4 { color: #e6802c; transform: scale(1.06); }

/* 태그 슬라이드 */
.project > div > .project_txt_slide {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}
.project > div > .project_txt_slide > .project_txt_slide_info {
    width: 120px;
    flex-shrink: 0;
    padding-top: 8px;
}
.project > div > .project_txt_slide > .project_txt_slide_info > p { margin-bottom: 8px; font-size: 20px; color: #999; }
.project > div > .project_txt_slide > .project_txt_slide_info > h4 { font-size: 45px; font-family: 'SCoreDream','Pretendard'; }

.project_slide_rows {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* CSS 마퀴 */
.project_marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}
.project_marquee::before,
.project_marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.project_marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.project_marquee::after  { right: 0; background: linear-gradient(90deg, transparent, #fff); }

.project_marquee_track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: marquee-left 40s linear infinite;
}
.project_marquee_track > li {
    padding: 0 30px;
    line-height: 52px;
    font-size: 22px;
    color: #555;
    white-space: nowrap;
    font-weight: 500;
    cursor: default;
    transition: color 0.2s;
}
.project_marquee_track > li:hover { color: #e6802c; }

/* 2행: 반대 방향 */
.project_marquee_reverse {
    animation: marquee-right 40s linear infinite;
}

@keyframes marquee-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
@keyframes marquee-right {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

/* ─── CONTACT ─── */
.contact {
.contact { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.contact.is-visible { opacity: 1; transform: translateY(0); } padding: 100px 0 200px; }
.contact > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; }
.contact > div form div { margin: 10px 0 20px; }
.contact > div form input[type="text"] { background: #f7f7f7; width: 100%; max-width: 700px; height: 70px; margin-bottom: 30px; border-radius: 10px; border: 0; box-shadow: 0 0 0 2px rgba(0,0,0,.1); padding: 0 20px; font-size: 16px; box-sizing: border-box; }
.contact > div form label { font-size: 18px; }
.contact > div form button { margin-top: 40px; background: #e6802c; width: 220px; height: 70px; line-height: 70px; border-radius: 10px; border: 0; font-size: 24px; text-align: center; color: #fff; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.contact > div form button:disabled { background: #ccc; cursor: not-allowed; opacity: 0.6; }
.contact > div .form{width:50%;}

/* ==============================================
   RESPONSIVE
============================================== */

@media (max-width: 1200px) {
    .project > div > .project_list > li { width: calc((100% - 20px)/2); }
    .project > div > .project_list > li.on { top: 0; }
}

@media (max-width: 1024px) {
    .inner { padding: 0 40px !important; }
    .main_tit { margin-bottom: 50px; }
    .main_tit > h3 { font-size: 30px; line-height: 46px; }

    .column > .inner > .column_box { flex-direction: column; }
    .column > .inner > .column_box > .left { display: none; }
    .column > .inner > .column_box > .right { width: 100%; }
    .column > .inner > .column_box > .right > div { padding: 0; }
    .column_bot > li:nth-child(n+5) { display: none; }
    .column_bot > li { width: calc((100% - 20px)/2); margin-bottom: 24px; }
    /* .column_bot img ratio: 4:5 via padding-top */

    .project > div > .project_list > li { width: calc((100% - 20px)/2); }
    .project > div > .project_list > li.on { top: 0; }

    .contact > div .form{width:100%;}
}

@media (max-width: 768px) {
    .inner { padding: 0 20px !important; }
    section { padding: 60px 0; }
    .mo_br { display: block; }

    /* ── 히어로 ── */
    section.main01_intro > .main01_tit > h3 { white-space: normal; text-align: center; padding: 0 20px; }
    section.main01 { width: 100%; border-radius: 0; }
    /* 모바일: 기존 균일 어두운 오버레이 유지 */
    section.main01::after {
        background: rgba(0,0,0,0.35);
    }
    section.main01 > .main01_slide > .main01_img > img { transform: none !important; transition: none !important; }
    .main01_bars { bottom: 16px; gap: 5px; width: 90%; }
    .main01_bar { height: 2px; }
    /* 모바일 텍스트: 왼쪽 정렬 유지, 패딩 줄이기 */
    section.main01 > .main01_tit.main01_tit--left {
        padding: 0 0 80px 24px;
    }
    section.main01 > .main01_tit.main01_tit--left > h3 {
        font-size: 22px;
        line-height: 1.5;
    }

    /* ── 공통 타이틀 ── */
    .main_tit { margin-bottom: 30px; }
    .main_tit > h3 { font-size: 22px; line-height: 34px; }
    .main_tit > h4 { margin-bottom: 12px; font-size: 12px; }
    .main_tit > p { margin-top: 20px; font-size: 14px; line-height: 22px; }

    /* ── 칼럼 ── */
    .column { padding: 60px 0; }
    .column_bot {
        display: flex; flex-wrap: nowrap; overflow-x: auto;
        gap: 12px; padding-bottom: 12px;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
    }
    .column_bot::-webkit-scrollbar { display: none; }
    .column_bot > li { flex: 0 0 160px; width: 160px; margin-bottom: 0; }
    .column_bot > li > a > .img { border-radius: 12px; }
    .column_bot > li > a > .txt { margin-top: 8px; }
    .column_bot > li > a > .txt > h5 { font-size: 13px; margin-bottom: 4px; }
    .column_bot > li > a > .txt > p { font-size: 11px; }

    /* ── 포트폴리오 ── */
    .portfolio { padding: 60px 0 80px; }
    .port_tab_nav { gap: 16px; margin-bottom: 24px; }
    .port_tab_item { font-size: 14px; }
    .port_tab_item.on { font-size: 15px; }
    .port_contents { height: 280px; }

    /* 모바일 뱃지 - 위치 클래스 오버라이드 */
    .port_badge {
        padding: 8px 14px;
        gap: 6px;
        border-radius: 50px;
        animation: none;
    }
    .port_badge .badge_label { font-size: 11px; }
    .port_badge .badge_num { font-size: 13px; }
    .port_badge .badge_num font { font-size: 15px; }

    /* 위치 모바일 재설정 */
    .port_badge--br { right: 8px !important; bottom: 16px !important; top: auto !important; left: auto !important; }
    .port_badge--bl { left: 8px !important; bottom: 16px !important; top: auto !important; right: auto !important; }
    .port_badge--tr { right: 8px !important; top: 16px !important; bottom: auto !important; left: auto !important; }
    .port_badge--tl { left: 8px !important; top: 16px !important; bottom: auto !important; right: auto !important; }
    .port_cursor { left: 6px; bottom: 12px; width: 36px; }

    /* ── 서비스 ── */
    .service_inner { flex-direction: column; min-height: unset; }
    .service_card {
        min-height: 220px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .service_card:first-child { border-top: none; }
    .service_card + .service_card { border-left: none; }
    /* 모바일에서 hover 효과 항상 보이게 */
    .service_card .service_overlay { background: rgba(10,16,32,0.65); }
    .service_card .service_txt { transform: translateY(-10px); }
    .service_card .service_hover { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .service_txt > h4 { font-size: 20px; margin-bottom: 12px; }
    .service_desc { font-size: 14px; }
    .service_sub { font-size: 13px; }
    .service_plus { width: 40px; height: 40px; font-size: 22px; }

    /* ── 수치 ── */
    .project { padding: 60px 0; }

    /* 타이틀 */
    .project .main_tit > h3 { font-size: 22px; line-height: 34px; }

    /* 수치 2x2 그리드 - 깔끔하게 */
    .project_list {
        flex-wrap: wrap;
        border: 1px solid #eee;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 0;
    }
    .project_list > li {
        width: 50%;
        min-width: unset;
        padding: 20px 20px;
        border-left: none;
        border-bottom: 1px solid #eee;
        box-sizing: border-box;
    }
    .project_list > li:nth-child(odd) { border-right: 1px solid #eee; }
    .project_list > li:nth-child(n+3) { border-bottom: none; }
    .project_list > li:first-child { padding-left: 20px; }
    .project_list > li > p { font-size: 13px; color: #999; margin-bottom: 10px; white-space: normal; }
    .project_list > li > h4 { font-size: 22px; transform: none !important; }
    .project_list > li > h4 > font { font-size: 26px; }
    .project_list > li.on > h4 { color: #e6802c; }
    .project_list > li.on > p { color: #444; }

    /* 법률 업종 */
    .project > div > .project_txt_slide { flex-direction: column; gap: 12px; margin-top: 40px; padding-top: 30px; }
    .project > div > .project_txt_slide > .project_txt_slide_info { width: 100%; }
    .project > div > .project_txt_slide > .project_txt_slide_info > p { font-size: 14px; }
    .project > div > .project_txt_slide > .project_txt_slide_info > h4 { font-size: 32px; }
    .project_slide_rows { width: 100%; }
    .project_marquee_track > li { font-size: 15px; line-height: 38px; padding: 0 16px; }

    /* ── 문의 ── */
    .contact { padding: 60px 0 80px; }
    .contact > div { flex-direction: column; gap: 24px; }
    .contact > div > div { width: 100%; }
    .contact > div > div > form ol li { margin-bottom: 0; }
    .contact > div > div > form input[type="text"] { max-width: 100%; height: 52px; font-size: 15px; margin-bottom: 14px; }
    .contact > div > div > form label { font-size: 14px; }
    .contact > div > div > form button { width: 100%; font-size: 18px; height: 58px; line-height: 58px; margin-top: 24px; }
}

@media (max-width: 480px) {
    section.main01 { width: 100%; border-radius: 0; top: 0; }
    section.main01 > .main01_tit.main01_tit--left > h3 { font-size: 18px; line-height: 1.5; }
    section.main01 > .main01_tit.main01_tit--left { padding: 0 0 70px 20px; }

    .main_tit > h3 { font-size: 20px; line-height: 30px; }

    .column_bot > li { flex: 0 0 150px; width: 150px; }
    .column_bot > li > a > .img { border-radius: 10px; }

    .port_contents { height: 220px; }
    .port_tab_item { font-size: 13px; }
    .port_tab_nav { gap: 12px; }

    .project_list > li { width: 50%; }
    .project_list > li > h4 { font-size: 20px; }
    .project_list > li > h4 > font { font-size: 24px; }
}

/* ─── 개인정보처리방침 팝업 ─── */
#privacy-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.privacy-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(3px);
}
.privacy-modal {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 680px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: privacyFadeIn 0.3s ease;
}
@keyframes privacyFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.privacy-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    font-family: 'SCoreDream','Pretendard';
    color: #111;
}
.privacy-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}
.privacy-close:hover { color: #333; }
.privacy-modal-body {
    padding: 28px 36px;
    overflow-y: auto;
    flex: 1;
    font-family: 'Pretendard', sans-serif;
    color: #444;
    font-size: 14px;
    line-height: 1.9;
}
.privacy-modal-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 24px 0 8px;
}
.privacy-modal-body h4:first-child { margin-top: 0; }
.privacy-modal-body p { margin-bottom: 8px; }
.privacy-modal-body ul {
    padding-left: 20px;
    margin-bottom: 8px;
}
.privacy-modal-body ul li { list-style: disc; margin-bottom: 4px; }
.privacy-modal-body strong { color: #e6802c; }
.privacy-date {
    margin-top: 24px;
    font-size: 13px;
    color: #999;
}
.privacy-modal-footer {
    padding: 20px 36px 28px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
    text-align: right;
}
.privacy-modal-footer button {
    background: #e6802c;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 40px;
    font-size: 16px;
    font-family: 'Pretendard', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}
.privacy-modal-footer button:hover { background: #cf711f; }

@media (max-width: 768px) {
    .privacy-modal { width: 94%; max-height: 85vh; border-radius: 16px; }
    .privacy-modal-header { padding: 22px 24px 16px; }
    .privacy-modal-header h3 { font-size: 17px; }
    .privacy-modal-body { padding: 20px 24px; font-size: 13px; }
    .privacy-modal-footer { padding: 16px 24px 22px; }
    .privacy-modal-footer button { width: 100%; padding: 14px; }
}