@charset "utf-8";

/* ============================================================
 * 대성테크윈 - 사업분야 (ok4) Renewal CSS
 * - 원본: 리뉴얼/sub06.php 의 <style> 영역
 * - 글로벌 헤더/푸터/모바일메뉴/skip-link/scroll-progress CSS 는 제거 (head.php/tail.php 가 담당)
 * - 모든 셀렉터는 .biz-page 래퍼로 격리하여 다른 페이지에 영향 없음
 * ============================================================ */

/* ============================================================
 * ★ Heading Reset (bootstrap 의 h1~h6 margin 무력화)
 * ============================================================ */
.biz-page h1, .biz-page .h1,
.biz-page h2, .biz-page .h2,
.biz-page h3, .biz-page .h3,
.biz-page h4, .biz-page .h4,
.biz-page h5, .biz-page .h5,
.biz-page h6, .biz-page .h6 {
	margin-top: 0;
	margin-bottom: 0;
}

/* ==========================================
   1. Common — Container / Utility
========================================== */
.biz-page { color: var(--on-surface, #0F172A); }

/* ★ 풀폭 wrapper 트릭 — 아미나 .at-container { max-width:1700px } 의 너비 제한에서 벗어나
   sub-page-header / hero-pin-sec / sticky-tab / content-section 이 viewport 전폭으로 펼쳐지게.
   (주의: 자식 요소인 .biz-section 에는 이중 적용을 피하기 위해 제거했습니다.) */
.biz-page .sub-page-header,
.biz-page .hero-pin-sec,
.biz-page .sticky-tab-wrap,
.biz-page .content-section {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.biz-page .container {
	max-width: var(--site-width, 1760px) !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 0 1.25rem !important;
	box-sizing: border-box !important;
}
@media (min-width: 768px)  { .biz-page .container { padding: 0 2.5rem !important; } }
@media (min-width: 1024px) { .biz-page .container { padding: 0 5rem !important; } }
@media (min-width: 1440px) { .biz-page .container { padding: 0 7rem !important; } }
@media (min-width: 1760px) { .biz-page .container { padding: 0 5rem !important; } }

.biz-page .tracking-kr-tight { letter-spacing: -0.05em; }
.biz-page .focus-ring:focus-visible { outline: 2px solid var(--primary, #004B8D); outline-offset: 4px; border-radius: 4px; }
.biz-page .sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0;
	margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.biz-page .sub-header { display: none; }

.biz-page .section-eyebrow {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-weight: 800; font-size: 0.9375rem; color: var(--primary, #004B8D);
	margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .biz-page .section-eyebrow { font-size: 1.125rem; margin-bottom: 1rem; } }
.biz-page .section-eyebrow::before {
	content: ''; width: 6px; height: 6px; border-radius: 50%;
	background: currentColor; display: inline-block;
}
.biz-page .eyebrow-white { color: var(--on-primary, #FFFFFF); }
.biz-page .eyebrow-white::before { background: var(--on-primary, #FFFFFF); }

.biz-page .sub-sec-title { display: block; font-size: 2rem; font-weight: 900; color: var(--on-surface, #0F172A); }
.biz-page .main-heading { font-size: 2.25rem; font-weight: 900; line-height: 1.3; margin-bottom: 1.5rem; color: var(--on-surface, #0F172A); }
.biz-page .desc-text { font-size: 1.0625rem; font-weight: 500; color: var(--on-surface-alt, #475569); line-height: 1.6; margin-bottom: 3rem; }
@media (min-width: 768px) {
	.biz-page .sub-sec-title { font-size: 2.5rem; }
	.biz-page .main-heading  { font-size: 3rem; }
	.biz-page .desc-text     { font-size: 1.125rem; }
}

/* ==========================================
   2. Sub Page Header + Breadcrumb (공통 패치)
========================================== */
.biz-page .sub-page-header {
	/* 기존 패딩을 더 줄여서 상단 여백을 더욱 타이트하게 다이어트합니다 */
	padding: 1.75rem 0 1rem;
	background: var(--surface, #FFFFFF);
	position: relative; z-index: 30;
	border-bottom: 1px solid rgba(0,0,0,0.04);
}
@media (min-width: 768px)  { .biz-page .sub-page-header { padding: 2.25rem 0 1.25rem; } }
@media (min-width: 1024px) { .biz-page .sub-page-header { padding: 2.75rem 0 1.5rem; } }

.biz-page .sub-crumb-list {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
	list-style: none; margin: 0 0 1rem; padding: 0;
	font-size: 0.875rem; font-weight: 700;
	color: var(--on-surface-alt, #475569); letter-spacing: -0.02em;
}
.biz-page .sub-crumb-item { display: inline-flex; align-items: center; }
.biz-page .sub-crumb-link {
	color: var(--on-surface-alt, #475569); transition: color 0.3s ease;
	display: inline-flex; align-items: center; gap: 0.25rem; line-height: 1;
	text-decoration: none;
}
.biz-page .sub-crumb-link i { font-size: 1rem; }
.biz-page a.sub-crumb-link:hover { color: var(--primary, #004B8D); }
.biz-page .sub-crumb-current { color: var(--primary, #004B8D); font-weight: 800; }
.biz-page .sub-crumb-sep {
	color: var(--on-surface-alt, #475569); opacity: 0.5; font-size: 0.75rem;
	display: inline-flex; align-items: center;
}

.biz-page .sub-page-headline {
	font-size: 2rem; font-weight: 900; line-height: 1.15;
	letter-spacing: -0.05em; color: var(--on-surface, #0F172A); margin: 0 0 1.5rem;
	word-break: keep-all;
}
@media (min-width: 768px)  { .biz-page .sub-page-headline { font-size: 3rem;   margin-bottom: 2rem; } }
@media (min-width: 1024px) { .biz-page .sub-page-headline { font-size: 3.5rem; margin-bottom: 2rem; } }
@media (min-width: 1440px) { .biz-page .sub-page-headline { font-size: 4rem; } }

/* ==========================================
   3. Hero Section (Pin 애니메이션 - sub06 줌인)
========================================== */
.biz-page .hero-pin-sec { background: var(--surface, #FFFFFF); }
.biz-page .hero-content-wrap {
	/* 모바일은 핀 애니메이션이 안 돌기 때문에 너무 큰 100vh 대신 적절한 여백 지정 */
	height: calc(60vh + 6rem);
	display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden;
}
@media (min-width: 768px) {
	.biz-page .hero-content-wrap {
		/* PC는 GSAP 핀 애니메이션을 위해 100vh 꽉찬 높이 유지 */
		height: 100vh;
	}
}
.biz-page .hero-box { position: relative; width: 90%; height: 60vh; border-radius: var(--radius-lg, 32px); overflow: hidden; box-shadow: var(--shadow-float); background: var(--surface); transform-origin: center; }
@media (min-width: 768px) { .biz-page .hero-box { height: 70vh; } }

.biz-page .hero-box-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.biz-page .hero-box-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }

.biz-page .hero-box-text {
	position: absolute; inset: 0; z-index: 15;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; opacity: 1; transform: none; padding: 0 1.5rem;
}
.biz-page .hero-box-text::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%); border-radius: inherit; }
.biz-page .hero-box-text h2 { color: var(--on-primary, #FFFFFF); font-size: 2rem; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.2; text-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.biz-page .hero-box-text p { color: var(--on-primary, #FFFFFF); font-size: 1rem; font-weight: 500; max-width: 56rem; line-height: 1.6; text-shadow: 0 4px 6px rgba(0,0,0,0.5); opacity: 0.9; margin: 0;}
@media (min-width: 768px) { .biz-page .hero-box-text h2 { font-size: 3.5rem; } .biz-page .hero-box-text p { font-size: 1.125rem; } }
@media (min-width: 1024px) { .biz-page .hero-box-text h2 { font-size: 4rem; } }

/* Hero 텍스트 상시 노출 보강 */
.biz-page .hero-box-text,
.biz-page #hero-text {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
	z-index: 15 !important;
	pointer-events: auto;
}
.biz-page .hero-box-text > * { opacity: 1 !important; transform: none !important; }

/* ==========================================
   4. Sticky Tab Navigation
========================================== */
.biz-page .sticky-tab-wrap {
	position: sticky;
	top: var(--sub-header-h, 44px);
	z-index: 90;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid #E5E7EB;
	transition: top 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 1024px) {
	.biz-page .sticky-tab-wrap { top: var(--sub-header-h, 80px); }
}
/* 글로벌 body.header-hidden 토글 시 상단 딱붙음 */
body.header-hidden .biz-page .sticky-tab-wrap {
	top: 0 !important;
	/* box-shadow: 0 4px 20px rgba(0,0,0,0.05); 삭제 완료 */
}

.biz-page .sub-tabs {
	display: flex; align-items: center; gap: 2rem; padding: 1.25rem 0;
	overflow-x: auto; white-space: nowrap;
}
.biz-page .sub-tabs::-webkit-scrollbar { display: none; }
.biz-page .sub-tabs button {
	font-size: 1.125rem; font-weight: 800; color: var(--on-surface-alt, #475569);
	transition: color 0.3s; position: relative; letter-spacing: -0.02em;
	border: none; background: none; cursor: pointer; font-family: inherit;
}
.biz-page .sub-tabs button:hover { color: var(--on-surface, #0F172A); }
.biz-page .sub-tabs button.active { color: var(--primary, #004B8D); }
.biz-page .sub-tabs button.active::after {
	content: ''; position: absolute; bottom: -1.25rem; left: 0;
	width: 100%; height: 3px; background: var(--primary, #004B8D); border-radius: 2px;
}
@media (min-width: 768px) {
	.biz-page .sub-tabs { gap: 3rem; justify-content: center; }
	.biz-page .sub-tabs button { font-size: 1.25rem; }
}

/* 탭 전환 콘텐츠 영역 */
.biz-page .content-section {
	display: none; background: var(--surface, #FFFFFF); position: relative; z-index: 10; min-height: 50vh;
}
.biz-page .content-section.active {
	display: block;
	animation: fadeInTab 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeInTab {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   5. Business Layout & Components
========================================== */
.biz-page .biz-section {
	padding: 6rem 0;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}
.biz-page .biz-section:last-of-type { border-bottom: none; }
@media (min-width: 768px) { .biz-page .biz-section { padding: 8rem 0; } }

.biz-page .biz-layout { 
	display: flex; 
	flex-direction: column; 
	gap: 2rem; 
	width: 100% !important; /* 아미나 컨테이너 폭 간섭 차단 */
}
.biz-page .biz-sidebar {
	display: block !important;
	float: none !important; /* 아미나 aside 플로팅 간섭 완벽 차단 */
	width: auto !important;
	margin: 0 !important;
}
.biz-page .biz-sidebar h2 { font-size: 2.5rem; font-weight: 900; color: var(--on-surface, #0F172A); margin-bottom: 0.5rem;}

.biz-page .biz-content { 
	display: flex; 
	flex-direction: column; 
	gap: 3rem; 
	min-width: 0 !important; 
	width: 100% !important; 
	float: none !important; /* 플로팅 간섭 차단 */
}

@media (min-width: 1024px) {
	.biz-page .biz-layout { 
		display: grid !important; /* 모바일 flex를 데스크탑에서 확실히 grid로 덮어씌움 */
		grid-template-columns: 2fr 7fr !important; 
		gap: 6rem !important; 
		align-items: start !important; 
	}
	.biz-page .biz-sidebar { 
		position: sticky !important; 
		top: 180px !important; 
	}
	.biz-page .biz-content { 
		gap: 4rem !important; 
	}
}

.biz-page .intro-heading { font-size: 1.75rem; font-weight: 900; line-height: 1.3; color: var(--on-surface, #0F172A); margin-bottom: 1rem; }
@media (min-width: 768px) { .biz-page .intro-heading { font-size: 2.5rem; } }

/* 특장점 (Features) 리스트 */
.biz-page .feature-list-wrap { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media(min-width: 768px) { .biz-page .feature-list-wrap { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
.biz-page .feature-card {
	background: var(--surface-alt, #F8FAFC); padding: 1.5rem; border-radius: var(--radius-md, 16px);
	display: flex; align-items: flex-start; gap: 1rem;
	border: 1px solid #E5E7EB; transition: transform 0.3s, border-color 0.3s;
}
.biz-page .feature-card:hover { transform: translateY(-3px); border-color: var(--primary, #004B8D); }
.biz-page .feature-card i { font-size: 1.5rem; color: var(--primary, #004B8D); margin-top: 0.1rem; }
.biz-page .feature-card p { font-size: 1.0625rem; font-weight: 700; color: var(--on-surface, #0F172A); line-height: 1.5; margin: 0; word-break: keep-all; }

/* 적용분야 (Application Areas) 그리드 */
.biz-page .app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media(min-width: 768px) { .biz-page .app-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.biz-page .app-card {
	background: var(--surface, #FFFFFF); border: 1px solid #E5E7EB; border-radius: var(--radius-md, 16px);
	padding: 2rem 1rem; text-align: center; display: flex; flex-direction: column;
	align-items: center; gap: 1rem; transition: all 0.3s;
}
.biz-page .app-card:hover {
	background: var(--primary, #004B8D); border-color: var(--primary, #004B8D);
	transform: translateY(-5px); box-shadow: var(--shadow-float);
}
.biz-page .app-card i { font-size: 2.5rem; color: var(--primary, #004B8D); transition: color 0.3s; }
.biz-page .app-card span { font-size: 1.125rem; font-weight: 800; color: var(--on-surface, #0F172A); transition: color 0.3s; }
.biz-page .app-card:hover i, .biz-page .app-card:hover span { color: #fff; }


/* ==========================================
   6. Gallery Slider (Swiper)
========================================== */
.biz-page .swiper-custom-nav {
	width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
	background: var(--surface, #FFFFFF); color: var(--on-surface, #0F172A);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; transition: all 0.3s; position: absolute; z-index: 10;
}
.biz-page .swiper-custom-nav:hover { background-color: var(--primary, #004B8D); color: #fff; border-color: var(--primary, #004B8D); }
.biz-page .swiper-custom-nav i { font-size: 1.25rem; font-weight: bold; }
.biz-page .swiper-button-disabled { opacity: 0 !important; pointer-events: none; }

.biz-page .gallery-swiper-wrap { position: relative; width: 100%; border-radius: var(--radius-lg, 32px); overflow: hidden; box-shadow: var(--shadow-float); }
.biz-page .gallery-swiper { width: 100%; height: 100%; aspect-ratio: 16/9; }
.biz-page .gallery-slide-inner { width: 100%; height: 100%; position: relative; }
.biz-page .gallery-slide-inner img { width: 100%; height: 100%; object-fit: cover; }

.biz-page .gallery-caption-box {
	position: absolute; bottom: 0; left: 0; width: 100%;
	padding: 8rem 2rem 2rem;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
	display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
	pointer-events: none;
}
.biz-page .gallery-caption { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 2rem; }
@media(min-width: 768px){ .biz-page .gallery-caption { font-size: 1.75rem; margin-bottom: 2.5rem; } }

.biz-page .gallery-prev, .biz-page .gallery-next {
	position: absolute; bottom: 2rem; top: auto; transform: none;
	background: transparent; color: #fff; border-color: rgba(255,255,255,0.4);
	pointer-events: auto;
}
.biz-page .gallery-prev:hover, .biz-page .gallery-next:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.biz-page .gallery-prev { left: 1rem; } .biz-page .gallery-next { right: 1rem; }
@media(min-width: 768px){ .biz-page .gallery-prev { left: 2rem; } .biz-page .gallery-next { right: 2rem; } }

.biz-page .gallery-pagination {
	position: absolute; bottom: 1.5rem; left: 0; width: 100%; text-align: center; z-index: 10; pointer-events: auto;
}
.biz-page .gallery-pagination .swiper-pagination-bullet {
	background: #fff; opacity: 0.4; width: 6px; height: 6px; margin: 0 5px !important; border-radius: 50%; transition: 0.3s;
}
.biz-page .gallery-pagination .swiper-pagination-bullet-active { opacity: 1; transform: scale(1.3); }

/* ==========================================
   7. GSAP 초기 상태 (애니메이션 시작 전)
========================================== */
.biz-page .gsap-fade-up,
.biz-page .gsap-stagger-item,
.biz-page .gsap-reveal {
	will-change: transform, opacity;
}

/* ==========================================
   8. 아미나 빌더 at-body padding-top 무력화 가능 시 적용
========================================== */
.is-index .at-body { padding-top: 0 !important; }