﻿@charset "utf-8";

/* ============================================================
	msub06 — 풀페이지 스냅 스크롤
	sub.js / Lenis 미사용 — 네이티브 scroll-snap
	============================================================ */

/* 스냅 래퍼 — 뷰포트 고정 스크롤 컨테이너 */
.snap-wrapper {
	position: fixed;
	inset: 0;
	overflow-y: scroll;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	overscroll-behavior: none;

	/* 스크롤바 숨김 */
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.snap-wrapper::-webkit-scrollbar {
	display: none;
}

/* 각 섹션 */
.snap-sec {
	position: relative;
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	scroll-snap-align: start;
}

/* ── 배경 이미지 ── */
.snap-sec .sec-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	z-index: 0;
	will-change: transform;
}

.snap-sec .sec-dim {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.snap-sec .sec-inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

/* ============================================================
	섹션 01 — 히어로
	============================================================ */
.sec01 .sec-dim {
	background: rgba(0, 0, 0, 0.52);
}

.sec01 .sec-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 0 24px;
}

.sec01 .sec-cate {
	font-size: 16px;
	text-transform: uppercase;
	opacity: 0.7;
	margin-bottom: 22px;
}

.sec01 .sec-tit {
	font-size: clamp(44px, 6.5vw, 96px);
	font-weight: 700;
	font-family: "GMarketSans", sans-serif;
	margin-bottom: 22px;
}

.sec01 .sec-sub {
	font-size: clamp(15px, 1.4vw, 20px);
	font-weight: 300;
	opacity: 0.82;
	max-width: 500px;
}

/* 스크롤 힌트 */
.sec-hint {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	text-transform: uppercase;
	animation: hint_bob 2.2s ease infinite;
}

.sec-hint::after {
	content: "";
	display: block;
	width: 1px;
	height: 36px;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
}

@keyframes hint_bob {
	0%,
	100% {
		transform: translateX(-50%) translateY(0);
		opacity: 0.55;
	}
	50% {
		transform: translateX(-50%) translateY(7px);
		opacity: 0.9;
	}
}

/* ============================================================
	섹션 02 — Swiper(이미지) + 텍스트
	============================================================ */
.sec02 {
	background: var(--color-bg-main, #fff);
}

.sec02 .sec-inner {
	display: flex;
	align-items: center;
	gap: 80px;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 60px;
	height: 100%;
	width: 100%;
}

.sec02 .sec-swiper-wrap {
	flex-shrink: 0;
	width: 44%;
	aspect-ratio: 3 / 4;
	/* overflow는 Swiper에서 처리 */
}

.sec02 .sec02-swiper {
	width: 100%;
	height: 100%;
	overflow: hidden; /* 이미지 클리핑 */
}

.sec02 .sec02-swiper .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sec02 .sec-txt {
	flex: 1;
	transition: opacity 0.25s ease;
}

.sec02 .sec02-txt.is-changing {
	opacity: 0;
}

.sec02 .sec-num {
	font-size: clamp(64px, 8vw, 100px);
	font-weight: 700;
	font-family: "GMarketSans", sans-serif;
	color: var(--color-border, #ebebeb);
	margin-bottom: 20px;
}

.sec02 .sec-tit {
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 700;
	margin-bottom: 22px;
}

.sec02 .sec-desc {
	font-size: clamp(16px, 1.1vw, 18px);
	color: var(--color-text-sub, #666);
}

/* 페이지네이션 */
.sec02 .sec02-pagination {
	bottom: 16px;
}

.sec02 .sec02-pagination .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #ccc;
	opacity: 1;
	transition:
		background 0.2s,
		transform 0.2s;
}

.sec02 .sec02-pagination .swiper-pagination-bullet-active {
	background: #fff;
	transform: scale(1.3);
}

/* prev / next 버튼 — 이미지 양옆 */

.sec02-prev,
.sec02-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1.5px solid var(--color-border-strong, #d1d5db);
	border-radius: 50%;
	background: var(--color-bg-main, #fff);
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	transition:
		border-color 0.2s,
		background 0.2s,
		box-shadow 0.2s;
}

.sec02-prev {
	left: -24px;
}
.sec02-next {
	right: -24px;
}

.sec02-prev:hover,
.sec02-next:hover {
	border-color: var(--color-text-main, #111);
	background: var(--color-text-main, #111);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.sec02-prev svg,
.sec02-next svg {
	width: 18px;
	height: 18px;
	stroke: var(--color-text-main, #111);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.2s;
}

.sec02-prev:hover svg,
.sec02-next:hover svg {
	stroke: #fff;
}

.sec02-prev.swiper-button-disabled,
.sec02-next.swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* ============================================================
	섹션 03 — 풀 이미지 + 인용구
	============================================================ */
.sec03 .sec-dim {
	background: rgba(0, 0, 0, 0.58);
}

.sec03 .sec-inner {
	text-align: center;
	color: #fff;
	padding: 0 40px;
	max-width: 860px;
}

.sec03 .sec-quote {
	font-size: clamp(20px, 2.8vw, 42px);
	font-weight: 300;
	font-style: italic;
	margin-bottom: 36px;
}

.sec03 .sec-quote::before {
	content: "\201C";
	display: block;
	font-size: 1.6em;
	opacity: 0.45;
	margin-bottom: 12px;
}

.sec03 .sec-author {
	font-size: 16px;
	text-transform: uppercase;
	opacity: 0.65;
}

/* ============================================================
	섹션 04 — 숫자 / 통계 (다크)
	============================================================ */
.sec04 {
	background: #0d0d0d;
}

.sec04 .sec-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	padding: 0 40px;
	gap: 56px;
	width: 100%;
}

.sec04 .sec-label {
	font-size: 16px;
	text-transform: uppercase;
	color: var(--color-primary, #3b82f6);
}

.sec04 .sec-stats {
	display: flex;
	justify-content: center;
	gap: 80px;
	flex-wrap: wrap;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.stat-num {
	font-size: clamp(52px, 7.5vw, 100px);
	font-weight: 700;
	font-family: "GMarketSans", sans-serif;
	color: #fff;
}

.stat-unit {
	font-size: 0.38em;
	font-weight: 400;
	opacity: 0.55;
}

.stat-desc {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
	섹션 05 — 마무리 (라이트)
	============================================================ */
.sec05 {
	background: var(--color-bg-main, #fff);
	padding-bottom: 160px;
}

.sec05 .sec-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 24px;
	gap: 44px;
}

.sec05 .sec-end-label {
	font-size: 16px;
	text-transform: uppercase;
	color: var(--color-text-muted, #bbb);
}

.sec05 .sec-end-tit {
	font-size: clamp(28px, 4vw, 54px);
	font-weight: 700;
	font-family: "GMarketSans", sans-serif;
}

.sec05 .sec-end-links {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: center;
}

.sec-end-link {
	display: flex;
	flex-direction: column;
	width: 200px;
	gap: 10px;
	text-align: left;
	transition: opacity 0.2s;
}

.sec-end-link:hover {
	opacity: 0.72;
}

.sec-end-link .img-box {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.sec-end-link img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.sec-end-link:hover img {
	transform: scale(1.06);
}

.sec-end-link .link-cate {
	font-size: 16px;
	text-transform: uppercase;
	color: var(--color-text-muted, #bbb);
}

.sec-end-link .link-tit {
	font-size: 16px;
	font-weight: 500;
}

/* ============================================================
	우측 섹션 내비게이션
	============================================================ */
.snap-nav {
	position: fixed;
	right: 32px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 200;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	pointer-events: all;
}

.snap-dot {
	display: block;
	width: 2px;
	height: 20px;
	background: rgba(255, 255, 255, 0.35);
	border: none;
	border-radius: 2px;
	cursor: pointer;
	padding: 0;
	transition:
		height 0.3s ease,
		background 0.3s ease;
}

.snap-dot.is-active {
	height: 40px;
	background: #fff;
}

.snap-nav.on-light .snap-dot {
	background: rgba(0, 0, 0, 0.18);
}

.snap-nav.on-light .snap-dot.is-active {
	background: var(--color-text-main, #111);
}

/* ============================================================
	섹션 진입 애니메이션
	============================================================ */
.anim-up {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.65s ease,
		transform 0.65s ease;
}

.anim-up.delay-1 {
	transition-delay: 0.12s;
}
.anim-up.delay-2 {
	transition-delay: 0.24s;
}
.anim-up.delay-3 {
	transition-delay: 0.36s;
}

.snap-sec.is-active .anim-up {
	opacity: 1;
	transform: translateY(0);
}

/* ============================================================
	반응형
	============================================================ */
@media all and (max-width: 999px) {
	.sec02 .sec-inner {
		flex-direction: column;
		padding: 90px 24px 80px;
		gap: 32px;
	}

	.sec02 .sec-swiper-wrap {
		width: 100%;
		height: min(45vw, 240px);
		aspect-ratio: unset;
	}

	.sec02 .sec-num {
		font-size: 64px;
	}

	/* 모바일: overflow 잘림 방지 — 이미지 안쪽 */
	.sec02-prev {
		left: 12px;
	}
	.sec02-next {
		right: 12px;
	}

	.sec02-prev,
	.sec02-next {
		width: 40px;
		height: 40px;
		background: rgba(255, 255, 255, 0.85);
		backdrop-filter: blur(4px);
		border-color: transparent;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	}

	.sec04 .sec-stats {
		gap: 40px;
	}

	.snap-nav {
		right: 16px;
	}
}

/* ============================================================
	Footer — 스냅 스크롤 sticky 고정
	============================================================ */
#footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
	background: #111827;
	color: #e5e7eb;
	transform: translateY(110%);
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

body.show-footer #footer {
	transform: translateY(0);
}

/* 라이트 모드 푸터 링크·테두리 (dark bg 위 흰 계열) */
#footer .fsite-box > a,
#footer .fsite-box > * {
	color: #e5e7eb;
	border-color: #4b5563;
}

#footer .fsite-box > a:before {
	background-color: #374151;
}

#footer .fsite-box > a:hover {
	color: #fff;
}

#footer .footer-box .copyright {
	color: rgba(229, 231, 235, 0.65);
}

/* ============================================================
	반응형 — 768px 이하
	============================================================ */
@media all and (max-width: 768px) {
	.sec05 .sec-end-links {
		gap: 16px;
	}
	.sec-end-link {
		width: 140px;
	}
}

/* ============================================================
	반응형 — 480px 이하 (소형 폰)
	============================================================ */
@media all and (max-width: 480px) {
	.sec05 {
		padding-bottom: 250px;
	}
	.sec05 .sec-inner {
		gap: 28px;
	}
	.sec05 .sec-end-links {
		gap: 10px;
		width: 100%;
		justify-content: center;
	}
	.sec-end-link {
		width: calc(33.333% - 8px);
		min-width: 88px;
	}
}

/* ============================================================
	반응형 — 모바일 sec05 footer 공간
	============================================================ */
@media all and (max-width: 999px) {
	.sec05 {
		padding-bottom: 220px;
	}
}
