/* ============================================================
 * footer.css — 푸터 바(다크 시안)
 * camel_v10
 * ============================================================ */

.site-footer {
	background: var(--footer-bg, #1a1a1a);
	color: var(--footer-text, #ffffff);
	border-radius: var(--footer-border-radius, 0);
	overflow: hidden;
	margin: var(--footer-margin-top, 0) var(--footer-margin-right, 0) var(--footer-margin-bottom, 0) var(--footer-margin-left, 0);
	padding: var(--footer-padding-top, 0) var(--footer-padding-right, 0) var(--footer-padding-bottom, 0) var(--footer-padding-left, 0);
}

.site-footer__bar {
	background: var(--footer-bg, #1a1a1a);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.site-footer__bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 2rem 3rem;
	max-width: var(--container-max, 1680px);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--container-padding, 0 24px);
}

.site-footer__bar-inner--solo {
	justify-content: flex-end;
}

.site-footer__bar-inner--solo .site-footer__right {
	width: 100%;
	max-width: 100%;
}

/* ── 왼쪽: 로고 + 주소 + 메타 ── */

.site-footer__left {
	flex: 1 1 50%;
	min-width: 0;
}

.site-footer__logo {
	margin-bottom: 1.25rem;
}

.site-footer__logo img {
	display: block;
	max-width: var(--footer-logo-max-width, 200px);
	max-height: var(--footer-logo-max-height, 40px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.site-footer__address-primary {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--footer-text, #ffffff);
	font-weight: 400;
}

.site-footer__address-secondary {
	margin: 0 0 1.25rem;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--footer-text-muted, #888888);
}

.site-footer__meta {
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--footer-text, #ffffff);
}

.site-footer__meta-item {
	display: inline;
}

.site-footer__meta-label.is-strong {
	font-weight: 700;
}

.site-footer__meta-sep {
	white-space: pre;
	color: rgba(255, 255, 255, 0.35);
}

/* ── 오른쪽: SNS + 연락처 + 저작권 ── */

.site-footer__right {
	flex: 0 0 auto;
	text-align: right;
	min-width: 0;
}

.site-footer__sns {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.375rem 0.75rem;
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
}

.site-footer__sns a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--footer-text, #ffffff);
	font-size: 0.875rem;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-footer__sns a:hover,
.site-footer__sns a:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.35);
	color: var(--footer-accent, #6ec5d8);
}

.site-footer__contact {
	margin-bottom: 1rem;
}

.site-footer__phone,
.site-footer__email {
	margin: 0 0 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.site-footer__label {
	color: var(--footer-accent, #6ec5d8);
	font-weight: 500;
	margin-right: 0.35rem;
}

.site-footer__phone strong,
.site-footer__email strong {
	color: #ffffff;
	font-weight: 700;
	font-size: 1rem;
}

.site-footer__email a {
	color: inherit;
	text-decoration: none;
}

.site-footer__email a:hover,
.site-footer__email a:focus {
	text-decoration: underline;
}

.site-footer__copy-small {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--footer-text-muted, #888888);
}

/* ── 하단: 푸터 메뉴 (선택) ── */

.site-footer__nav-row {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 1rem 0;
}

.site-footer__nav-row .container {
	max-width: var(--container-max, 1680px);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--container-padding, 0 24px);
}

.site-footer__nav-row .site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
}

.site-footer__nav-row .footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__nav-row .footer-nav a {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
	text-decoration: none;
}

.site-footer__nav-row .footer-nav a:hover,
.site-footer__nav-row .footer-nav a:focus {
	color: var(--footer-accent, #6ec5d8);
}

/* 위젯 영역 (기존) — 다크 톤에 맞춤 */
.site-footer .site-footer__widgets {
	background: var(--footer-bg, #1a1a1a);
	color: rgba(255, 255, 255, 0.85);
}

.site-footer .widget-title {
	color: #ffffff;
	border-bottom-color: rgba(255, 255, 255, 0.15);
}

.site-footer .widget a {
	color: rgba(255, 255, 255, 0.75);
}

.site-footer .widget a:hover {
	color: var(--footer-accent, #6ec5d8);
}

/* ── 반응형 최적화 ──────────────────────────────────────── */
@media (max-width: 1023px) {
	.site-footer__bar {
		padding: 2rem 0;
	}

	.site-footer__bar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}

	.site-footer__left,
	.site-footer__right {
		flex: 1 1 auto;
		width: 100%;
		max-width: 100%;
	}

	.site-footer__right {
		text-align: left;
	}

	.site-footer__sns {
		justify-content: flex-start;
	}

	.site-footer__meta {
		font-size: 0.78rem;
		line-height: 1.8;
	}
}

@media (max-width: 767px) {
	.site-footer__bar {
		padding: 1.5rem 0;
	}

	.site-footer__bar-inner {
		gap: 1.25rem;
		padding-left: 0;
		padding-right: 0;
	}

	.site-footer__logo img {
		max-width: min(var(--footer-logo-max-width, 200px), 70vw);
	}

	.site-footer__address-primary {
		font-size: 0.875rem;
	}

	.site-footer__address-secondary,
	.site-footer__meta,
	.site-footer__copy-small {
		font-size: 0.75rem;
	}

	.site-footer__meta-item {
		display: inline;
	}

	.site-footer__phone,
	.site-footer__email {
		font-size: 0.875rem;
	}

	.site-footer__phone strong,
	.site-footer__email strong {
		font-size: 0.9375rem;
	}

	.site-footer__sns a {
		width: 2rem;
		height: 2rem;
	}

	.site-footer__nav-row .footer-nav {
		gap: 0.35rem 0.9rem;
	}
}
