/* Paperlogy 폰트 정의 */
@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-1Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-2ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-3Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-4Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-5Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-6SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-7Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-8ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Paperlogy';
    src: url('../fonts/Paperlogy-9Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --color-primary: #0f172a;
    --color-secondary: #38bdf8;
    --color-bg: #ffffff;
    --color-muted: #6b7280;
    --color-border: #e5e7eb;
    --font-base: 'Paperlogy', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --radius-lg: 1rem;
    --radius-md: 0.75rem;
    --radius-sm: 0.5rem;
    --space-section: 5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-primary);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 170px;
    height: 32px;
    position: relative;
    top: -7px;
}
    .brand-logo.logo-w {
        background-image: url(/images/logo/logo-w2.png);

    }
    .brand-logo.logo-b {
        background-image: url(/images/logo/logo-b.png);
        width: 178px;
        height: 40px;
    }

.container {
    width: min(100% - 2rem, 1180px);
    margin-inline: auto;
}

header .navbar {
    padding: 20px 0;
}

ul.navbar-nav.flex-grow-1 {
    color: #FFF;
    font-family: Paperlogy;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
}
/* All Sections - Common Styles */
.section_1,
.section_2,
.section_3,
.section_4,
.section_5,
.section_6 {
    position: relative;
    min-height: 100vh;  /* 최소 높이를 100vh로, 내용에 따라 확장 가능 */
    overflow-x: hidden !important; /* 가로 스크롤 차단 */
    overflow-y: visible !important; /* 세로는 내용에 따라 보이도록 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;  /* 상하좌우 여백 추가 */
}

/* 데스크탑에서는 정확히 100vh */
@media (min-width: 1025px) {
    .section_1,
    .section_2,
    .section_3,
    .section_4,
    .section_5,
    .section_6 {
        height: 100vh;
        overflow-y: hidden !important;
        padding: 0 2rem;
    }

    /* section_1, section_6은 padding 제거 (전체 화면 차지) */
    .section_1,
    .section_6 {
        padding: 0;
    }
}

/* Section 7 (Footer) - auto height */
.section_7 {
    position: relative;
    height: auto;  /* footer는 내용에 따라 높이 조절 */
    min-height: auto;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.section_2__center {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.section_1__center,
.section_3__center,
.section_4__center,
.section_5__center,
.section_6__center {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


.section_1__center h1,
.section_2__center h1,
.section_3__center h1,
.section_4__center h1,
.section_5__center h1,
.section_6__center h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: .1rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.section_1__center p,
.section_2__center p,
.section_3__center p,
.section_4__center p,
.section_5__center p,
.section_6__center p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: #475569;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

.section_1__bottom-left {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    max-width: 400px;
    z-index: 10;
}

.section_1__bottom-text {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: #475569;
    text-align: left;
    line-height: 1.5;
    margin: 0;
    position: relative;
    left: 96px;
}

/* Section 2 - Category Images */
/* 배경 텍스트 (전광판 효과) */
.section_2__background {
    position: absolute;
    top: -8rem;  /* 위로 확장하여 잘리지 않게 */
    left: 50%;  /* 중앙 정렬을 위해 */
    transform: translateX(-50%);  /* 중앙 정렬 */
    width: 100%;
    height: calc(100% + 16rem);  /* 위아래로 충분한 공간 확보 */
    overflow: hidden;  /* 마퀴가 컨테이너 밖으로 넘치지 않도록 */
    z-index: 0;
    pointer-events: none;
}

.section_2__marquee {
    position: absolute;
    top: 2em;  /* 사용자 설정 유지 */
    left: 0;
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.section_2__marquee-text {
    color: rgba(0, 0, 0, 0.05);
    text-align: center;
    font-family: Paperlogy;
    font-size: 120px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.05em;
    padding-right: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Step 1: 그리드 컨테이너 - 6개를 가로로 배치 */
.section_2__grid {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-start;  /* 왼쪽 정렬 */
    align-items: center;
    gap: 1rem;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: hidden;  /* 가로 스크롤 차단 */
    overflow-y: visible;  /* hover 시 이미지가 위아래로 보이도록 */
    max-width: 1600px;  /* section_3__grid와 동일한 width */
    margin: 0 auto;
}

/* Step 2: 각 아이템 - 6개가 한 줄에 들어가도록 크기 설정 */
.section_2__item {
    flex: 1 1 auto;  /* flex로 자동 조정 */
    min-width: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);  /* 더 부드러운 애니메이션 */
}

/* hover 시 아이템이 확대, 다른 아이템은 축소 */
.section_2__item:hover {
    flex-grow: 1.75;  /* hover된 아이템 확대 (30% 축소: 2.5 → 1.75) */
}

/* hover되지 않은 아이템 축소 */
.section_2__grid:hover .section_2__item:not(:hover) {
    flex-grow: 0.85;  /* 다른 아이템들 약간 축소 */
}

/* Step 3: 이미지 래퍼 - position relative로 타이틀의 기준점 */
.section_2__image-wrapper {
    position: relative;
    width: 100%;
    height: 50vh;  /* 섹션 높이의 50% */
    overflow: hidden;
    border-radius: 0;  /* border-radius 제거 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);  /* 더 부드러운 애니메이션 */
}

/* 이미지 위에 밝은 회색 오버레이 */
.section_2__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(220, 220, 220, 0.3);  /* 밝은 회색, 투명도 0.3 */
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section_2__item:hover .section_2__image-wrapper {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* hover 시 오버레이 제거 */
.section_2__item:hover .section_2__image-wrapper::after {
    opacity: 0;
}

/* Step 4: 타이틀 - position absolute로 이미지 안 상단에 배치 */
.section_2__title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    color: #000;
    font-family: Paperlogy;
    font-size: 22px; /* 22px의 95% */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: left;
    margin: 0;
    padding: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateX(0); /* 기본 위치 */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), text-align 0.8s cubic-bezier(0.4, 0, 0.2, 1), padding 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* 이미지와 동일한 속도 */
}

/* hover 시 타이틀이 왼쪽으로 이동 */
.section_2__item:hover .section_2__title {
    text-align: left;
    padding-left: 1.5rem;
    padding-right: 0.5rem;
    transform: translateX(-4%);  /* 왼쪽으로 15% 이동 (더 명확하게) */
}

/* Step 5: 이미지 - 컨테이너 꽉 채우기 */
.section_2__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);  /* 기본: 흑백 */
    transition: filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* hover 시 grayscale 제거 */
.section_2__item:hover .section_2__image {
    filter: grayscale(0%);  /* hover: 컬러 */
}

/* 반응형 - 노트북 */
@media (max-width: 1440px) {
    .section_2__grid {
        max-width: 1500px;
    }
}

@media (max-width: 1366px) {
    .section_2__grid {
        max-width: 1400px;
    }
}

/* 반응형 - 태블릿/모바일 */
@media (max-width: 1024px) {
    .section_2__marquee-text {
        font-size: 90px;  /* 태블릿: 120px → 90px */
    }

    .section_2__grid {
        max-width: 100%;
        padding: 0 1.5rem;
    }

    .section_2__item {
        width: calc((100% - 4rem) / 5);  /* 5개로 줄임 */
    }

    .section_2__title {
        font-size: 17px;  /* 태블릿: 18px의 95% */
    }
}

@media (max-width: 768px) {
    .section_2__marquee-text {
        font-size: 60px;  /* 모바일: 120px → 60px */
    }

    .section_2__grid {
        gap: 0.5rem;
        padding: 0 1rem;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .section_2__item {
        width: 154px;  /* 고정 크기 */
        flex-shrink: 0;
    }

    /* 작은 화면에서 hover 효과 제거 */
    .section_2__item:hover {
        width: 154px !important;  /* hover 시에도 크기 유지 */
        max-width: 154px !important;
    }

    .section_2__image-wrapper {
        height: 40vh;
    }

    .section_2__item:hover .section_2__image-wrapper {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;  /* hover 시에도 기본 그림자 유지 */
    }

    .section_2__title {
        font-size: 13px;  /* 모바일: 14px의 95% */
        padding: 0.75rem 0.4rem;
        text-align: left;  /* 작은 화면에서 왼쪽 정렬 */
        padding-left: 1rem;
    }

    /* hover 시에도 타이틀 위치 유지 */
    .section_2__item:hover .section_2__title {
        text-align: left !important;
        padding-left: 1rem !important;
        padding-right: 0.4rem !important;
        transform: translateX(0) !important;  /* 이동 없음 */
    }

    /* 작은 화면에서는 모든 이미지 활성화 (오버레이 제거 및 컬러) */
    .section_2__image-wrapper::after {
        opacity: 0 !important;
    }

    .section_2__image {
        filter: grayscale(0%) !important;
    }
}

/* Section 3 - OUR STORY */
.section_3__center h1 {
    color: #000;
    font-family: Paperlogy;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 3rem;
    text-align: left;  /* 왼쪽 정렬 */
    padding-left: 0;  /* 패딩 제거하고 grid와 정렬 맞춤 */
}

.section_3__grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;  /* 상단 정렬로 변경 */
    gap: 2rem;
    padding: 0;
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: wrap;  /* 화면 크기에 따라 줄바꿈 허용 */
}

.section_3__item {
    flex: 0 0 calc((100% - 4rem) / 3);  /* 3개 아이템이 한 줄에 */
    max-width: 500px;
    text-align: left;
    transition: transform 0.3s ease;
}

.section_3__item:hover {
    transform: translateY(-10px);
}

.section_3__image-wrapper {
    position: relative;
    width: 100%;  /* 부모 크기에 맞춤 */
    height: auto;
    aspect-ratio: 1 / 1;  /* 정사각형 비율 유지 */
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.section_3__item:hover .section_3__image-wrapper {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.section_3__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.section_3__item:hover .section_3__image {
    transform: scale(1.05);
}

.section_3__title {
    color: #000;
    font-family: Paperlogy;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section_3__subtitle {
    color: #828282;
    font-family: Paperlogy;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

/* 반응형 - 중간 크기 (1200px 이하) - 2개씩 배치 */
@media (max-width: 1200px) {
    .section_3__grid {
        justify-content: flex-start;
        gap: 1.5rem;
    }

    .section_3__item {
        flex: 0 0 calc((100% - 1.5rem) / 2);  /* 2개 아이템이 한 줄에 */
        max-width: none;
    }

    .section_3__title {
        font-size: 26px;
    }

    .section_3__subtitle {
        font-size: 22px;
    }
}

/* 반응형 - 태블릿 (900px 이하) - 1개씩 배치 */
@media (max-width: 900px) {
    .section_3__center h1 {
        font-size: 36px;
        margin-bottom: 2rem;
        padding-left: 0;
    }

    .section_3__grid {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 0;
    }

    .section_3__item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
    }

    .section_3__title {
        font-size: 24px;
    }

    .section_3__subtitle {
        font-size: 20px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .section_3__center h1 {
        font-size: 28px;
        margin-bottom: 1.5rem;
        padding-left: 0;
    }

    .section_3__grid {
        gap: 2rem;
        padding: 0;
    }

    .section_3__item {
        max-width: 100%;
    }

    .section_3__image-wrapper {
        margin-bottom: 1rem;
    }

    .section_3__title {
        font-size: 22px;
    }

    .section_3__subtitle {
        font-size: 18px;
    }
}

/* Section 4 - WHAT WE DO */
.section_4__container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    gap: 2rem;  /* 3rem → 2rem으로 축소 */
    align-items: flex-start;
    width: 100%;
}

.section_4__left {
    flex: 1 1 40%;  /* 45% → 40%로 축소, flex-grow 허용 */
    padding-right: 1.5rem;  /* 2rem → 1.5rem */
    text-align: left;
    min-width: 0;  /* flex 축소 허용 */
}

.section_4__title {
    color: #000;
    font-family: Paperlogy;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    text-align: left;  /* 왼쪽 정렬 */
}

.section_4__content {
    color: rgba(0, 0, 0, 0.75);
    font-family: Paperlogy;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px; /* 146.154% */
    letter-spacing: -0.52px;
    margin: 0 0 2rem 0;
    text-align: left; /* 왼쪽 정렬 */
    word-break: keep-all;
}

.section_4__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 178px;
    height: 49px;
    flex-shrink: 0;
    border-radius: 25px;
    background: #070707;
    color: #fff;
    font-family: Paperlogy;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
}

.section_4__button:hover {
    background-color: #000;
    transform: translateX(5px);
}

.section_4__button svg {
    transition: transform 0.3s ease;
}

.section_4__button:hover svg {
    transform: translateX(5px);
}

.section_4__right {
    flex: 1 1 60%;  /* 55% → 60%로 확대, flex-grow 허용 */
    display: flex;
    gap: 3rem;  /* 1.5rem → 1rem */
    min-width: 0;  /* flex 축소 허용 */
}

.section_4__image-wrapper {
    flex: 1 1 0;  /* 동일한 비율로 분배 */
    min-width: 0;  /* 축소 허용 */
    max-width: 100%;  /* 부모에 맞춤 */
    height: auto;
    aspect-ratio: 2 / 3;  /* 400 / 627 → 2 / 3으로 더 짧게 (약 1.5배) */
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section_4__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section_4__image-wrapper:hover .section_4__image {
    transform: scale(1.05);
}

/* 반응형 - 큰 노트북 (1400px 이하) */
@media (max-width: 1400px) {
    .section_4__container {
        gap: 1.5rem;
    }

    .section_4__left {
        padding-right: 1rem;
    }

    .section_4__right {
        gap: 0.75rem;
    }
}

/* 반응형 - 중간 노트북 (1200px 이하) */
@media (max-width: 1200px) {
    .section_4__container {
        gap: 1.5rem;
    }

    .section_4__left {
        flex: 1 1 45%;
    }

    .section_4__right {
        flex: 1 1 55%;
    }

    .section_4__title {
        font-size: 38px;
    }

    .section_4__content {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 1.5rem;
    }
}

/* 반응형 - 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    /* Section 4 전체 컨테이너 - 모바일에서 스크롤 가능하게 */
    .section_4 {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
        padding: 3rem 1.5rem !important;
    }

    .section_4__container {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .section_4__left {
        flex: 1 1 auto;
        padding-right: 0;
        width: 100%;
        text-align: center;
    }

    .section_4__title {
        font-size: 36px;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section_4__content {
        font-size: 18px;
        line-height: 26px;
        letter-spacing: -0.36px;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .section_4__button {
        width: 160px;
        height: 45px;
        font-size: 15px;
    }

    .section_4__right {
        display: flex !important; /* 반드시 표시 */
        flex: 1 1 auto;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        justify-content: center;
        gap: 1rem;
        visibility: visible !important; /* 가시성 보장 */
    }

    .section_4__image-wrapper {
        flex: 1 1 0;
        max-width: none;
        aspect-ratio: 3 / 4; /* 태블릿에서는 3:4 비율 */
        min-height: 300px;
    }

    .section_4__image {
        display: block !important;
        visibility: visible !important;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    /* Section 4 전체 컨테이너 - 모바일에서 스크롤 가능하게 */
    .section_4 {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
        padding: 2rem 1rem !important;
    }

    .section_4__container {
        gap: 1.5rem;
    }

    .section_4__title {
        font-size: 28px;
        margin-bottom: 1rem;
    }

    .section_4__content {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: -0.32px;
        margin-bottom: 1rem;
    }

    .section_4__button {
        width: 150px;
        height: 42px;
        font-size: 14px;
    }

    .section_4__right {
        display: flex !important; /* 반드시 표시 */
        flex-direction: row; /* 가로로 배치 */
        gap: 1rem;
        max-width: 100%;
        visibility: visible !important; /* 가시성 보장 */
    }

    .section_4__image-wrapper {
        display: block !important; /* 이미지 래퍼도 반드시 표시 */
        flex: 1 1 calc(50% - 0.5rem); /* 한 줄에 두 개 */
        max-width: calc(50% - 0.5rem);
        aspect-ratio: 3 / 4; /* 세로로 긴 비율 */
        min-height: 250px;
        visibility: visible !important; /* 가시성 보장 */
    }

    .section_4__image {
        display: block !important;
        visibility: visible !important;
    }
}

/* 반응형 - 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
    /* Section 4 전체 컨테이너 - 작은 모바일에서도 스크롤 가능하게 */
    .section_4,.section_5 { 
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
        padding: 1.5rem 1rem !important;
    }
    .section_5__button{
        margin-left:0 !important;
    }
    .section_5__subtitle{
        margin-bottom:5px !important;
    }
    .section_5__title {
        width: 100% !important;
    }

    .section_4__container {
        gap: 1.25rem;
    }

    .section_4__title {
        font-size: 24px;
    }

    .section_4__content {
        font-size: 15px;
        line-height: 22px;
    }

    .section_4__button {
        width: 140px;
        height: 40px;
        font-size: 13px;
    }

    .section_4__right {
        display: flex !important; /* 반드시 표시 */
        flex-direction: row; /* 가로로 배치 */
        gap: 0.75rem;
        visibility: visible !important; /* 가시성 보장 */
    }

    .section_4__image-wrapper {
        display: block !important; /* 이미지 래퍼도 반드시 표시 */
        flex: 1 1 calc(50% - 0.375rem); /* 한 줄에 두 개 */
        max-width: calc(50% - 0.375rem);
        aspect-ratio: 3 / 4; /* 세로로 긴 비율 */
        min-height: 200px;
        visibility: visible !important; /* 가시성 보장 */
    }

    .section_4__image {
        display: block !important;
        visibility: visible !important;
    }
}

/* Section 5 - NEWS */
.section_5__container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;  /* 가로 스크롤 차단 */
    overflow-y: hidden;  /* 세로 스크롤 차단 */
}

.section_5__header {
    display: flex;
    justify-content: flex-start;  /* 왼쪽 정렬로 변경 */
    align-items: center;
    gap: 1.5rem;  /* title과 button 간격 */
    margin-bottom: 1.5rem;
}

.section_5__title {
    color: #000;
    font-family: Paperlogy;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin: 0;
    text-transform: uppercase;
}

.section_5__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 178px;
    height: 49px;
    flex-shrink: 0;
    border-radius: 25px;
    background: #070707;
    color: #fff;
    font-family: Paperlogy;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    margin-left:20px;
}

.section_5__button:hover {
    background-color: #000;
    transform: translateX(5px);
}

.section_5__button svg {
    transition: transform 0.3s ease;
}

.section_5__button:hover svg {
    transform: translateX(5px);
}

.section_5__subtitle {
    color: rgba(0, 0, 0, 0.75);
    font-family: Paperlogy;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    letter-spacing: -0.52px;
    margin: 0 0 2.5rem 0;
    text-align: left;
}

.section_5__news-wrapper {
    position: relative;
}

.section_5__news-list {
    position: relative;
    padding-bottom: 0;
}

/* Owl Carousel 네비게이션 버튼 숨김 */
.section_5__news-list .owl-nav {
    display: none;
}

/* Owl Carousel dots 숨김 */
.section_5__news-list .owl-dots {
    display: none;
}

/* 커스텀 스크롤바 */
.section_5__scrollbar {
    position: relative;
    width: 100%;
    height: 1px;
    background: #888;
    border-radius: 1px;
    margin-top: 1.5rem;
    cursor: pointer;
}

.section_5__scrollbar-thumb {
    position: absolute;
    top: -2px;
    left: 0;
    height: 4px;
    background: #111;
    border-radius: 2px;
    transition: left 0.3s ease, width 0.3s ease;
}

.section_5__scrollbar:hover .section_5__scrollbar-thumb {
    background: #555;
}

.section_5__news-item {
    background: #fff;
    padding: 2rem 3.5rem 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 260px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.section_5__news-title {
    color: #000;
    font-family: Paperlogy;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    min-height: calc(22px * 1.4 * 2); /* 두 줄 높이 고정 (61.6px) */
}

.section_5__news-content {
    color: rgba(0, 0, 0, 0.7);
    font-family: Paperlogy;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

.section_5__news-date {
    color: rgba(0, 0, 0, 0.5);
    font-family: Paperlogy;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    margin-top: auto;
}

/* 반응형 - 노트북 */
@media (max-width: 1440px) {
    .section_5__container {
        max-width: 1500px;
    }
}

@media (max-width: 1366px) {
    .section_5__container {
        max-width: 1400px;
    }
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .section_5__container {
        max-width: 100%;
        padding: 0 2rem;
    }

    .section_5__title {
        font-size: 36px;
    }

    .section_5__subtitle {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: -0.4px;
    }

    .section_5__button {
        width: 128px;  /* 160px의 80% */
        height: 36px;  /* 45px의 80% */
        font-size: 12px;  /* 15px의 80% */
    }

    .section_5__news-item {
        height: 260px;
        width: 65%;  /* 태블릿에서는 조금 더 크게 */
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .section_5__container {
        padding: 0 1rem;
    }

    .section_5__header {
        flex-direction: row;  /* 모바일에서도 가로 배치 유지 */
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;  /* 필요시 줄바꿈 */
    }

    .section_5__title {
        font-size: 28px;
    }

    .section_5__subtitle {
        font-size: 18px;
        line-height: 26px;
        letter-spacing: -0.36px;
        margin-bottom: 1.5rem;
    }

    .section_5__button {
        width: 120px;  /* 150px의 80% */
        height: 34px;  /* 42px의 80% */
        font-size: 11px;  /* 14px의 80% */
    }

    .section_5__news-item {
        padding: 1.5rem;
        height: auto;
        min-height: 240px;
        width: 85%;  /* 모바일에서는 더 크게 */
    }

    .section_5__news-title {
        font-size: 20px;
    }

    .section_5__news-content {
        font-size: 15px;
    }
}

/* Section 6 - Video Background */
.section_6 {
    position: relative;
    overflow: hidden !important;  /* 비디오가 넘치지 않도록 강제 */
    padding: 0 !important;  /* 전체 화면을 위해 padding 제거 */
}

.section_6__video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.section_6__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;  /* 클릭 이벤트 통과 */
}

.section_6__content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.section_6__title {
    color: #fff;
    font-family: Paperlogy;
    font-size: clamp(40px, 6vw, 80px);  /* 반응형 폰트 크기 */
    font-style: normal;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    word-break: keep-all;  /* 단어 유지 */
}

.section_6__subtitle {
    color: #fff;
    font-family: Paperlogy;
    font-size: clamp(18px, 2.5vw, 32px);  /* 반응형 폰트 크기 */
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    word-break: keep-all;
}

/* 반응형 - 큰 노트북 (1400px 이하) */
@media (max-width: 1400px) {
    .section_6__title {
        font-size: 70px;
        margin-bottom: 1.25rem;
    }

    .section_6__subtitle {
        font-size: 28px;
    }
}

/* 반응형 - 중간 노트북 (1200px 이하) */
@media (max-width: 1200px) {
    .section_6__content {
        padding: 1.5rem;
    }

    .section_6__title {
        font-size: 60px;
    }

    .section_6__subtitle {
        font-size: 26px;
    }
}

/* 반응형 - 태블릿 (1024px 이하) */
@media (max-width: 1024px) {
    .section_6__content {
        padding: 1.5rem;
    }

    .section_6__title {
        font-size: 52px;
        margin-bottom: 1rem;
    }

    .section_6__subtitle {
        font-size: 22px;
    }
}

/* 반응형 - 작은 태블릿 (900px 이하) */
@media (max-width: 900px) {
    .section_6__title {
        font-size: 48px;
    }

    .section_6__subtitle {
        font-size: 20px;
    }
}

/* 반응형 - 모바일 (768px 이하) */
@media (max-width: 768px) {
    .section_6__content {
        padding: 1rem;
    }

    .section_6__title {
        font-size: 40px;
        margin-bottom: 0.75rem;
        letter-spacing: 0.05em;
    }

    .section_6__subtitle {
        font-size: 18px;
    }
}

/* 반응형 - 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
    .section_6__title {
        font-size: 32px;
        margin-bottom: 0.5rem;
    }

    .section_6__subtitle {
        font-size: 16px;
    }
}

.section_7{
    padding:0 !important;
}

/* ===== Unified Hero Sections ===== */
/* Base hero structure */
.about-hero,
.inquiry-hero,
.location-hero,
.contact-hero,
.news-hero,
.works-hero,
.pm-hero,
.cm-hero,
.urban-hero,
.remodel-hero,
.engineering-hero,
.rnd-hero,
.employment-hero {
    position: relative;
    width: 100%;
    height: 92vh;
    overflow: hidden;
}

/* Hero image background */
.about-hero__image,
.inquiry-hero__image,
.location-hero__image,
.contact-hero__image,
.news-hero__image,
.works-hero__image,
.pm-hero__image,
.cm-hero__image,
.urban-hero__image,
.remodel-hero__image,
.engineering-hero__image,
.rnd-hero__image,
.employment-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Hero overlay */
.about-hero__overlay,
.inquiry-hero__overlay,
.location-hero__overlay,
.contact-hero__overlay,
.news-hero__overlay,
.works-hero__overlay,
.pm-hero__overlay,
.cm-hero__overlay,
.urban-hero__overlay,
.remodel-hero__overlay,
.engineering-hero__overlay,
.rnd-hero__overlay,
.employment-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
    z-index: 2;
}

/* Hero content container - Unified positioning */
.about-hero__content,
.inquiry-hero__content,
.location-hero__content,
.contact-hero__content,
.news-hero__content,
.works-hero__content,
.benefits-hero__content,
.pm-hero__content,
.cm-hero__content,
.urban-hero__content,
.remodel-hero__content,
.engineering-hero__content,
.rnd-hero__content,
.employment-hero__content {
    position: absolute;
    top: 20%;
    left: 10%;
    z-index: 3;
    max-width: 1200px;
    text-align: left;
}
.about-hero__content {
    max-width: 900px;
    top: 36%;
}

/* Hero title - Unified styling */
.about-hero__title,
.inquiry-hero__title,
.location-hero__title,
.contact-hero__title,
.news-hero__title,
.works-hero__title,
.benefits-hero__title,
.pm-hero__title,
.cm-hero__title,
.urban-hero__title,
.remodel-hero__title,
.engineering-hero__title,
.rnd-hero__title,
.employment-hero__title {
    color: #111;
    font-family: Paperlogy;
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    opacity: 0;
    letter-spacing:2px;
    animation: heroFadeIn 1s ease-out 0.2s forwards;
}

p.about-hero__text {
    color: #fff;
    font-size: clamp(18px, 3vw, 45px);
}

/* Hero subtitle/description - Unified styling */
.about-hero__text,
.contact-hero__subtitle,
.news-hero__subtitle,
.works-hero__description,
.pm-hero__subtitle,
.cm-hero__subtitle,
.urban-hero__subtitle,
.remodel-hero__subtitle,
.engineering-hero__subtitle,
.rnd-hero__subtitle,
.employment-hero__subtitle {
    color: #111;
    font-family: Paperlogy;
    font-size: clamp(18px, 2vw, 35px); 
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.02em;
    margin: 0;
    word-break: keep-all;
    word-wrap: break-word;
}

.about-hero__text span,
.contact-hero__subtitle span,
.news-hero__subtitle span,
.works-hero__description span,
.pm-hero__subtitle span,
.cm-hero__subtitle span,
.urban-hero__subtitle span,
.remodel-hero__subtitle span,
.engineering-hero__subtitle span,
.rnd-hero__subtitle span,
.employment-hero__subtitle span {
    display: block;
    opacity: 0;
}

.about-hero__text span:nth-child(1),
.contact-hero__subtitle span:nth-child(1),
.news-hero__subtitle span:nth-child(1),
.works-hero__description span:nth-child(1),
.pm-hero__subtitle span:nth-child(1),
.cm-hero__subtitle span:nth-child(1),
.urban-hero__subtitle span:nth-child(1),
.remodel-hero__subtitle span:nth-child(1),
.engineering-hero__subtitle span:nth-child(1),
.rnd-hero__subtitle span:nth-child(1),
.employment-hero__subtitle span:nth-child(1) {
    animation: heroFadeIn 1s ease-out 0.4s forwards;
}

.about-hero__text span:nth-child(2),
.contact-hero__subtitle span:nth-child(2),
.news-hero__subtitle span:nth-child(2),
.works-hero__description span:nth-child(2),
.pm-hero__subtitle span:nth-child(2),
.cm-hero__subtitle span:nth-child(2),
.urban-hero__subtitle span:nth-child(2),
.remodel-hero__subtitle span:nth-child(2),
.engineering-hero__subtitle span:nth-child(2),
.rnd-hero__subtitle span:nth-child(2),
.employment-hero__subtitle span:nth-child(2) {
    animation: heroFadeIn 1s ease-out 0.6s forwards;
    margin-bottom: 1.5rem;
}

.works-hero__description span:nth-child(3) {
    animation: heroFadeIn 1s ease-out 0.8s forwards;
}

.about-hero__text span:nth-child(4) {
    animation: heroFadeIn 1s ease-out 0.8s forwards;
}

.about-hero__text span:nth-child(5) {
    animation: heroFadeIn 1s ease-out 1s forwards;
}

/* Unified hero animation */
@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Tablet (1024px and below) */
@media (max-width: 1024px) {
    .about-hero__content,
    .inquiry-hero__content,
    .location-hero__content,
    .contact-hero__content,
    .news-hero__content,
    .works-hero__content,
    .pm-hero__content,
    .cm-hero__content,
    .urban-hero__content,
    .remodel-hero__content,
    .engineering-hero__content,
    .rnd-hero__content,
    .employment-hero__content {
        left: 8%;
        max-width: 80%;
    }

    .about-hero__title,
    .inquiry-hero__title,
    .location-hero__title,
    .contact-hero__title,
    .news-hero__title,
    .works-hero__title,
    .pm-hero__title,
    .cm-hero__title,
    .urban-hero__title,
    .remodel-hero__title,
    .engineering-hero__title,
    .rnd-hero__title,
    .employment-hero__title {
        font-size: clamp(36px, 5.5vw, 60px);
    }

    .about-hero__text,
    .contact-hero__subtitle,
    .news-hero__subtitle,
    .works-hero__description,
    .pm-hero__subtitle,
    .cm-hero__subtitle,
    .urban-hero__subtitle,
    .remodel-hero__subtitle,
    .engineering-hero__subtitle,
    .rnd-hero__subtitle,
    .employment-hero__subtitle {
        font-size: clamp(16px, 1.8vw, 24px);
    }
}

/* Responsive - Mobile (768px and below) */
@media (max-width: 768px) {
    .about-hero,
    .inquiry-hero,
    .location-hero,
    .contact-hero,
    .news-hero,
    .works-hero,
    .pm-hero,
    .cm-hero,
    .urban-hero,
    .remodel-hero,
    .engineering-hero,
    .rnd-hero,
    .employment-hero {
        height: 60vh;
    }

    .about-hero__content,
    .inquiry-hero__content,
    .location-hero__content,
    .contact-hero__content,
    .news-hero__content,
    .works-hero__content,
    .pm-hero__content,
    .cm-hero__content,
    .urban-hero__content,
    .remodel-hero__content,
    .engineering-hero__content,
    .rnd-hero__content,
    .employment-hero__content {
        left: 6%;
        max-width: 88%;
    }

    .about-hero__title,
    .inquiry-hero__title,
    .location-hero__title,
    .contact-hero__title,
    .news-hero__title,
    .works-hero__title,
    .pm-hero__title,
    .cm-hero__title,
    .urban-hero__title,
    .remodel-hero__title,
    .engineering-hero__title,
    .rnd-hero__title,
    .employment-hero__title {
        font-size: clamp(32px, 5vw, 48px);
        margin-bottom: 1rem;
    }

    .about-hero__text,
    .contact-hero__subtitle,
    .news-hero__subtitle,
    .works-hero__description,
    .pm-hero__subtitle,
    .cm-hero__subtitle,
    .urban-hero__subtitle,
    .remodel-hero__subtitle,
    .engineering-hero__subtitle,
    .rnd-hero__subtitle,
    .employment-hero__subtitle {
        font-size: clamp(15px, 1.6vw, 20px);
    }
}

/* Responsive - Small Mobile (480px and below) */
@media (max-width: 480px) {
    .about-hero__content,
    .inquiry-hero__content,
    .location-hero__content,
    .contact-hero__content,
    .news-hero__content,
    .works-hero__content,
    .pm-hero__content,
    .cm-hero__content,
    .urban-hero__content,
    .remodel-hero__content,
    .engineering-hero__content,
    .rnd-hero__content,
    .employment-hero__content {
        left: 5%;
        max-width: 90%;
    }

    .about-hero__title,
    .inquiry-hero__title,
    .location-hero__title,
    .contact-hero__title,
    .news-hero__title,
    .works-hero__title,
    .pm-hero__title,
    .cm-hero__title,
    .urban-hero__title,
    .remodel-hero__title,
    .engineering-hero__title,
    .rnd-hero__title,
    .employment-hero__title {
        font-size: clamp(28px, 4.5vw, 40px);
    }

    .about-hero__text,
    .contact-hero__subtitle,
    .news-hero__subtitle,
    .works-hero__description,
    .pm-hero__subtitle,
    .cm-hero__subtitle,
    .urban-hero__subtitle,
    .remodel-hero__subtitle,
    .engineering-hero__subtitle,
    .rnd-hero__subtitle,
    .employment-hero__subtitle {
        font-size: clamp(14px, 1.4vw, 18px);
    }
}

/* Service Intro Section */
.service-intro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    padding: 60px 0;
}

.service-intro__banner {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 313px;
    height: 406px;
    flex-shrink: 0;
    aspect-ratio: 313/406;
    z-index: 0;
}

.service-intro__banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-intro__container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.service-intro__content {
    text-align: left;
}

.service-intro__title {
    font-size: clamp(36px, 4vw, 55px);
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    color: #000;
    margin: 0 0 30px 0;
    width: 60%;
    word-break: keep-all;
}

.service-intro__text {
    font-size: clamp(16px, 1.5vw, 35px);
    color: #333;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    word-break: keep-all;
    width:75%;
}

/* Responsive - Tablet (1024px and below) */
@media (max-width: 1024px) {
    .service-intro {
        padding: 60px 0;
    }

    .service-intro__container {
        padding: 0 40px;
    }

    .service-intro__title {
        font-size: clamp(32px, 3.5vw, 48px);
        margin-bottom: 24px;
    }

    .service-intro__text {
        font-size: clamp(15px, 1.4vw, 18px);
    }

    .service-intro__banner {
        width: 280px;
        height: 363px;
    }
}

/* Responsive - Mobile (768px and below) */
@media (max-width: 768px) {
    .service-intro {
        padding: 40px 0;
    }

    .service-intro__container {
        padding: 0 30px;
    }

    .service-intro__title {
        font-size: clamp(28px, 3vw, 40px);
        margin-bottom: 20px;
        width: 70%;
    }

    .service-intro__text {
        font-size: clamp(14px, 1.3vw, 16px);
        max-width: 65%;
    }

    .service-intro__banner {
        width: 250px;
        height: 324px;
    }
}

/* Responsive - Small Mobile (480px and below) */
@media (max-width: 480px) {
    .service-intro {
        padding: 30px 0;
    }

    .service-intro__container {
        padding: 0 20px;
    }

    .service-intro__title {
        font-size: clamp(24px, 2.5vw, 32px);
        margin-bottom: 16px;
        width: 65%;
    }

    .service-intro__text {
        font-size: 14px;
        max-width: 60%;
    }

    .service-intro__banner {
        width: 180px;
        height: 233px;
    }
}

/* ============================================
   Scroll Animation - Fade In Up Effect
   ============================================ */

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state - hidden */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state - visible */
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for multiple items */
.scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate:nth-child(5) { transition-delay: 0.5s; }
.scroll-animate:nth-child(6) { transition-delay: 0.6s; }
.scroll-animate:nth-child(7) { transition-delay: 0.7s; }
.scroll-animate:nth-child(8) { transition-delay: 0.8s; }
.scroll-animate:nth-child(9) { transition-delay: 0.9s; }
.scroll-animate:nth-child(10) { transition-delay: 1s; }

/* For faster animations on mobile */
@media (max-width: 768px) {
    .scroll-animate {
        transform: translateY(30px);
        transition-duration: 0.6s;
    }

        .scroll-animate:nth-child(n) {
            transition-delay: 0.05s;
            text-align: left;
        }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   5-TIER BREAKPOINTS FOR ALL SECTIONS
   ============================================ */

/* ===========================
   SECTION 2 - RESPONSIVE
   =========================== */

/* LARGE DESKTOP: 1441px+ */
@media (min-width: 1441px) {
    .section_2__marquee-text {
        font-size: 140px;
    }

    .section_2__grid {
        max-width: 1600px;
        gap: 1.5rem;
    }

    .section_2__image-wrapper {
        height: 55vh;
    }

    .section_2__title {
        font-size: 26px;
        padding: 1.5rem;
    }
}

/* DESKTOP: 1025px ~ 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    .section_2__marquee-text {
        font-size: 120px;
    }

    .section_2__grid {
        max-width: 1600px;
        gap: 1rem;
    }

    .section_2__image-wrapper {
        height: 50vh;
    }

    .section_2__title {
        font-size: 22px;
        padding: 1rem;
    }
}

/* LAPTOP: 769px ~ 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .section_2__marquee-text {
        font-size: 90px;
    }

    .section_2__grid {
        gap: 0.75rem;
        max-width: 100%;
    }

    .section_2__image-wrapper {
        height: 45vh;
    }

    .section_2__title {
        font-size: 18px;
        padding: 0.875rem;
    }

    /* Reduce hover expansion on laptop */
    .section_2__item:hover {
        flex-grow: 1.5;
    }
}

/* TABLET: 481px ~ 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .section_2__background {
        top: -4rem;
        height: calc(100% + 8rem);
    }

    .section_2__marquee-text {
        font-size: 60px;
        padding-right: 1rem;
    }

    .section_2__grid {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .section_2__item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }

    .section_2__image-wrapper {
        height: 35vh;
    }

    .section_2__title {
        font-size: 16px;
        padding: 0.75rem;
    }

    /* Simplify hover on tablet */
    .section_2__item:hover {
        flex-grow: 1;
        transform: scale(1.02);
    }

    .section_2__grid:hover .section_2__item:not(:hover) {
        flex-grow: 1;
    }
}

/* MOBILE: 480px or less */
@media (max-width: 480px) {
    .section_2__background {
        display: none; /* Hide marquee on mobile for performance */
    }

    .section_2__grid {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .section_2__item {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .section_2__image-wrapper {
        height: 30vh;
        min-height: 200px;
    }

    .section_2__title {
        font-size: 14px;
        padding: 0.625rem;
    }

    /* Disable hover effects on mobile */
    .section_2__item:hover {
        flex-grow: 1;
        transform: none;
    }

    .section_2__grid:hover .section_2__item:not(:hover) {
        flex-grow: 1;
    }
}

/* ===========================
   SECTION 3 - RESPONSIVE
   =========================== */

/* LARGE DESKTOP: 1441px+ */
@media (min-width: 1441px) {
    .section_3__center h1 {
        font-size: 4.5rem;
        margin-bottom: 3rem;
    }

    .section_3__grid {
        gap: 2rem;
        max-width: 1600px;
    }

    .section_3__title {
        font-size: 2rem;
    }

    .section_3__subtitle {
        font-size: 1.25rem;
    }
}

/* DESKTOP: 1025px ~ 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    .section_3__center h1 {
        font-size: 3.75rem;
        margin-bottom: 2.5rem;
    }

    .section_3__grid {
        gap: 2.5rem;
        max-width: 1400px;
    }

    .section_3__title {
        font-size: 1.75rem;
    }

    .section_3__subtitle {
        font-size: 1.125rem;
    }
}

/* LAPTOP: 769px ~ 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .section_3__center h1 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .section_3__grid {
        gap: 2rem;
        max-width: 95%;
    }

    .section_3__title {
        font-size: 1.5rem;
    }

    .section_3__subtitle {
        font-size: 1rem;
    }
}

/* TABLET: 481px ~ 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .section_3__center h1 {
        font-size: 2.5rem;
        margin-bottom: 1.75rem;
    }

    .section_3__grid {
        flex-direction: column;
        gap: 2rem;
        max-width: 90%;
    }

    .section_3__item {
        max-width: 400px;
        margin: 0 auto;
    }

    .section_3__image-wrapper {
        height: 40vh;
        max-height: 300px;
    }

    .section_3__title {
        font-size: 1.5rem;
        margin-top: 1rem;
    }

    .section_3__subtitle {
        font-size: 1rem;
    }
}

/* MOBILE: 480px or less */
@media (max-width: 480px) {
    .section_3__center h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .section_3__grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section_3__item {
        width: 100%;
        max-width: 100%;
    }

    .section_3__image-wrapper {
        height: 35vh;
        max-height: 250px;
    }

    .section_3__title {
        font-size: 1.25rem;
        margin-top: 0.875rem;
    }

    .section_3__subtitle {
        font-size: 0.875rem;
    }
}

/* ===========================
   SECTION 5 - NEWS RESPONSIVE
   =========================== */

/* LARGE DESKTOP: 1441px+ */
@media (min-width: 1441px) {
    .section_5__container {
        max-width: 1600px;
    }

    .section_5__title {
        font-size: 3.5rem;
    }

    .section_5__subtitle {
        font-size: 1.5rem;
    }

    .section_5__news-item {
        padding: 0.5rem;
    }

    .section_5__news-title {
        font-size: 1.5rem;
    }

    .section_5__news-content {
        font-size: 1.125rem;
    }
}

/* DESKTOP: 1025px ~ 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    .section_5__container {
        max-width: 1600px;
    }

    .section_5__title {
        font-size: 3rem;
    }

    .section_5__subtitle {
        font-size: 1.25rem;
    }

    .section_5__news-item {
        padding: 2rem;
    }

    .section_5__news-title {
        font-size: 1.25rem;
    }

    .section_5__news-content {
        font-size: 1rem;
    }
}

/* LAPTOP: 769px ~ 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .section_5__title {
        font-size: 2.5rem;
    }

    .section_5__subtitle {
        font-size: 1.125rem;
    }

    .section_5__news-item {
        padding: 1.75rem;
    }

    .section_5__news-title {
        font-size: 1.125rem;
    }

    .section_5__news-content {
        font-size: 0.95rem;
    }

    /* Adjust Owl Carousel responsive settings via JavaScript override */
    .section_5__news-list.owl-carousel .owl-item {
        padding: 0 0.5rem;
    }

    /* 모바일에서 owl-dots 완전히 숨김 */
    .section_5__news-list .owl-dots {
        display: none !important;
    }

    /* 모바일에서 owl-carousel 제대로 보이게 */
    .section_5__news-list.owl-carousel {
        width: 100%;
        overflow: visible;
    }

    .section_5__news-list .owl-stage-outer {
        overflow: hidden;
    }
}

/* TABLET: 481px ~ 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .section_5__container {
        overflow-y: hidden !important;
    }

    .section_5__header {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        justify-content: space-between;
    }

    .section_5__title {
        font-size: 2rem;
    }

    .section_5__subtitle {
        font-size: 1rem;
    }

    .section_5__news-item {
        padding: 1.5rem;
        min-height: 200px;
    }

    .section_5__news-title {
        font-size: 1rem;
    }

    .section_5__news-content {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .section_5__news-date {
        font-size: 0.75rem;
    }

    .section_5__button {
        width: auto;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .section_5__scrollbar {
        height: 2px;
    }

    .section_5__scrollbar-thumb {
        height: 4px;
        top: -1px;
    }

    /* 태블릿에서 owl-dots 완전히 숨김 */
    .section_5__news-list .owl-dots {
        display: none !important;
    }

    /* 태블릿에서 owl-carousel 제대로 보이게 */
    .section_5__news-list.owl-carousel {
        width: 100%;
        overflow: visible;
    }

    .section_5__news-list .owl-stage-outer {
        overflow: hidden;
    }
}

/* MOBILE: 480px or less */
@media (max-width: 480px) {
    .section_5__container {
        padding: 0 0.5rem;
        overflow-y: hidden !important;
    }

    .section_5__header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        justify-content: space-between;
    }

    .section_5__title {
        font-size: 1.75rem;
    }

    .section_5__subtitle {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .section_5__news-item {
        padding: 1.25rem;
        min-height: 180px;
    }

    .section_5__news-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .section_5__news-content {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .section_5__news-date {
        font-size: 0.7rem;
    }

    .section_5__button {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 44px; /* Touch-friendly */
        min-height: 44px;
    }

    .section_5__scrollbar {
        height: 2px;
        margin-top: 1rem;
    }

    .section_5__scrollbar-thumb {
        height: 3px;
        top: -0.5px;
    }

    /* Simplify carousel on mobile */
    .section_5__news-wrapper {
        overflow: hidden; /* Owl Carousel이 스크롤 관리, 네이티브 스크롤 불필요 */
    }

    /* 모바일에서 owl-dots 완전히 숨김 */
    .section_5__news-list .owl-dots {
        display: none !important;
    }

    /* 모바일에서 owl-carousel 제대로 보이게 */
    .section_5__news-list.owl-carousel {
        width: 100%;
        overflow: visible;
    }

    .section_5__news-list .owl-stage-outer {
        overflow: hidden;
    }
}

/* ===========================
   SECTION 6 - VIDEO RESPONSIVE
   =========================== */

/* LARGE DESKTOP: 1441px+ */
@media (min-width: 1441px) {
    .section_6__title {
        font-size: 5rem;
    }

    .section_6__subtitle {
        font-size: 2rem;
    }
}

/* DESKTOP: 1025px ~ 1440px */
@media (min-width: 1025px) and (max-width: 1440px) {
    .section_6__title {
        font-size: 4rem;
    }

    .section_6__subtitle {
        font-size: 1.75rem;
    }
}

/* LAPTOP: 769px ~ 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .section_6__title {
        font-size: 3.5rem;
    }

    .section_6__subtitle {
        font-size: 1.5rem;
    }

    .section_6__video {
        object-fit: cover;
    }
}

/* TABLET: 481px ~ 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .section_6__title {
        font-size: 3rem;
        letter-spacing: 0.05em;
    }

    .section_6__subtitle {
        font-size: 1.25rem;
    }

    .section_6__video {
        object-fit: cover;
    }

    .section_6__overlay {
        background: rgba(0, 0, 0, 0.5);
    }
}

/* MOBILE: 480px or less */
@media (max-width: 480px) {
    .section_6__title {
        font-size: 2.25rem;
        letter-spacing: 0.03em;
    }

    .section_6__subtitle {
        font-size: 1rem;
        margin-top: 0.75rem;
    }

    .section_6__video {
        object-fit: cover;
    }

    .section_6__overlay {
        background: rgba(0, 0, 0, 0.55);
    }

    .section_6__content {
        padding: 1rem;
    }
}

/* ===========================
   GENERAL RESPONSIVE UTILITIES
   =========================== */

/* Touch-friendly button sizes for all breakpoints */
@media (max-width: 768px) {
    button,
    a.button,
    .btn,
    [role="button"] {
        min-width: 44px;
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }

    /* Ensure interactive elements have adequate spacing */
    a,
    button {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}

/* Prevent horizontal overflow on all devices */
@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }

    section,
    .section {
        overflow-x: hidden;
    }
}

/* Optimize fonts for mobile readability */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    h1, h2, h3, h4, h5, h6 {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* ===========================
   TOUCH DEVICE ENHANCEMENTS
   =========================== */

/* Touch-friendly styles */
.touch-device button,
.touch-device a,
.touch-device [role="button"] {
    cursor: pointer;
}

/* Remove hover effects on touch devices */
@media (hover: none) {
    .section_2__item:hover,
    .section_3__item:hover,
    .section_4__image-wrapper:hover {
        transform: none;
    }
}

/* Improve tap targets on touch devices */
@media (pointer: coarse) {
    button,
    a,
    input,
    select,
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===========================
   PRINT STYLES
   =========================== */

@media print {
    /* Hide non-essential elements */
    header,
    nav,
    .swiper-pagination,
    .swiper-button-prev,
    .swiper-button-next,
    .section_5__scrollbar,
    .section_6__video {
        display: none !important;
    }

    /* Optimize content for printing */
    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .section {
        page-break-inside: avoid;
        height: auto !important;
        min-height: auto !important;
    }

    /* Show all images */
    .section_2__item,
    .section_3__item {
        page-break-inside: avoid;
    }
}

/* ===========================
   ACCESSIBILITY ENHANCEMENTS
   =========================== */

/* High contrast mode support */
@media (prefers-contrast: high) {
    button,
    a {
        border: 2px solid currentColor;
    }

    .section_2__image-wrapper::after {
        opacity: 0.5;
    }
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .section-1-swiper {
        animation: none !important;
    }

    .scroll-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid #4A90E2;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* ===========================
   PERFORMANCE OPTIMIZATIONS
   =========================== */

/* GPU acceleration for animations */
.section_2__item,
.section_3__item,
.section_4__image,
.swiper-slide {
    will-change: transform;
}

/* Contain layout shifts */
.section_2__image-wrapper,
.section_3__image-wrapper,
.section_4__image-wrapper {
    contain: layout style paint;
}

/* Optimize images */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@supports (content-visibility: auto) {
    .section {
        content-visibility: auto;
        contain-intrinsic-size: auto 100vh;
    }
}
