@charset "UTF-8";

/* ==========================================================================
   Contact 섹션 - 오시는 길 (마더기업 AtoZ System 패턴 차용)
   - 상단: 라벨 + 회사명/주소/Tel/Fax (좌측 정렬 컴팩트 카드)
   - 하단: 카카오맵 (full width)
   - 다크 톤 고정 + 시안 액센트
   ========================================================================== */

#contact {
	background: var(--dark);
	color: white;
	position: relative;
	overflow: hidden;
}

/* 배경 글로우 (우측 중앙) */
#contact::before {
	content: '';
	position: absolute;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(0, 102, 204, 0.12) 0%, transparent 60%);
	top: 50%;
	right: -150px;
	transform: translateY(-50%);
	border-radius: 50%;
	pointer-events: none;
}

/* 상단 정보 영역 컨테이너 */
.contact-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 70px var(--page-padding-x) 50px;
	position: relative;
	z-index: 1;
}

/* ─── 섹션 라벨 (가운데) ─── */
.contact-label-wrap {
	text-align: center;
	margin-bottom: 36px;
}

.contact-label {
	color: var(--accent);
	font-size: 13px;
	letter-spacing: 4px;
	font-weight: 700;
	/* dash 장식은 common.css 의 공통 패턴이 자동 적용됨 */
}

/* ─── 정보 카드 (좌측 정렬, max-width 제한) ─── */
.contact-info {
	max-width: 800px;
	margin: 0 auto;
}

.contact-company {
	color: white;
	font-size: clamp(20px, 2vw, 24px);
	font-weight: 700;
	letter-spacing: -0.5px;
	margin: 0 0 12px;
}

.contact-address {
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--fs-md);
	line-height: 1.7;
	margin: 0 0 24px;
	word-break: keep-all;
}

/* ─── 얇은 가로 구분선 (AtoZ 패턴) ─── */
.contact-divider {
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
	margin: 0 0 22px;
}

/* ─── Tel / Fax (dl 구조로 시멘틱하게) ─── */
.contact-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.contact-meta-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: var(--fs-md);
}

.contact-meta-row dt {
	color: var(--accent);
	font-weight: 700;
	min-width: 36px;
	letter-spacing: 0.3px;
}

.contact-meta-row dd {
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	font-weight: 500;
	letter-spacing: 0.3px;
}

/* ─── 카카오맵 (full width) ─── */
.contact-map {
	width: 100%;
	height: 480px;
	background: #2d3a5e;
	background-image:
		linear-gradient(rgba(0, 217, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 217, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	position: relative;
	/* 푸터가 fixed 라 마지막 콘텐츠인 카카오맵 하단이 가려질 수 있음
	   body padding-bottom 으로 보완하지만, 시각 위계상 맵 자체에도 여유 추가 */
	margin-bottom: 0;
}

/* 지도 로딩 실패 시 안내 메시지 (SDK 미로드 등) */
.contact-map::before {
	content: '지도를 불러오는 중...';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: rgba(255, 255, 255, 0.4);
	font-size: 14px;
	z-index: 0;
	pointer-events: none;
}

/* ─── 카카오맵 커스텀 인포윈도우 ─── */
.kakao-infowindow {
	padding: 12px 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #0a0e27;
	font-weight: 600;
	white-space: nowrap;
}

.kakao-infowindow strong {
	color: #00a8c7;
	font-size: 14px;
	display: block;
	margin-bottom: 4px;
}

/* ==========================================================================
   반응형
   ========================================================================== */

/* 태블릿 (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
	.contact-container {
		padding: 56px var(--page-padding-x) 42px;
	}

	.contact-label-wrap {
		margin-bottom: 28px;
	}

	.contact-map {
		height: 400px;
	}
}

/* 모바일 (~767px) */
@media (max-width: 767px) {
	.contact-container {
		padding: 44px 20px 32px;
	}

	.contact-label-wrap {
		margin-bottom: 22px;
	}

	.contact-company {
		font-size: 18px;
	}

	.contact-address {
		font-size: 13.5px;
	}

	.contact-meta-row {
		font-size: 13px;
	}

	.contact-map {
		height: 320px;
	}
}
