/**
 * Yusung Footer Styles
 *
 * @package Yusung
 */

/* --------------------------------------------------------------------------
   Variables
   -------------------------------------------------------------------------- */
:root {
	--yusung-footer-bg: #0a0f18;
	--yusung-footer-text: #e2e8f0;
	--yusung-footer-text-muted: #94a3b8;
	--yusung-footer-icon: #004187;
	--yusung-footer-tagline: #00c3fb;
	--yusung-footer-border: rgba(255, 255, 255, 0.08);
	--yusung-footer-container: 1320px;
}

/* --------------------------------------------------------------------------
   Footer Base
   -------------------------------------------------------------------------- */
.yusung-site-footer {
	background: var(--yusung-footer-bg);
	color: var(--yusung-footer-text);
	margin-top: 0;
}

.yusung-site-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}

.yusung-site-footer a:hover {
	color: var(--yusung-footer-text);
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   Main Footer — 4 Columns
   -------------------------------------------------------------------------- */
.yusung-footer-main {
	padding: 3.5rem 0 2.5rem;
}

.yusung-footer-main .yusung-container {
	max-width: var(--yusung-footer-container);
}

.yusung-footer-main__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 2.5rem;
	align-items: start;
}

.yusung-footer-col__title {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}

/* Brand column */
.yusung-footer-brand__logo-link {
	display: inline-block;
	line-height: 0;
	margin-bottom: 0.625rem;
	max-width: 200px;
}

.yusung-footer-brand__logo {
	display: block;
	width: auto !important;
	height: 48px !important;
	max-width: 200px !important;
	max-height: 48px !important;
	object-fit: contain;
}

.yusung-footer-brand__tagline {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--yusung-footer-tagline);
}

.yusung-footer-brand__desc {
	margin: 0 0 1.5rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--yusung-footer-text-muted);
	max-width: 320px;
}

/* Social icons */
.yusung-footer-social {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.yusung-footer-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(0, 149, 255, 0.15);
	color: #fff;
	transition: background 0.2s, transform 0.2s;
}

.yusung-footer-social__link:hover {
	background: var(--yusung-footer-icon);
	color: #fff;
	transform: translateY(-2px);
}

.yusung-footer-social__link svg {
	display: block;
}

/* Footer nav menus */
.yusung-footer-nav ul,
.yusung-footer-legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yusung-footer-nav ul li {
	margin-bottom: 0.625rem;
}

.yusung-footer-nav ul li:last-child {
	margin-bottom: 0;
}

.yusung-footer-nav ul a {
	font-size: 0.875rem;
	color: var(--yusung-footer-text-muted);
	line-height: 1.5;
}

.yusung-footer-nav ul a:hover {
	color: var(--yusung-footer-icon);
}

/* Contact list */
.yusung-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yusung-footer-contact__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--yusung-footer-text-muted);
}

.yusung-footer-contact__item:last-child {
	margin-bottom: 0;
}

.yusung-footer-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: auto;
	height: auto;
	color: #ffffff;
}

.yusung-footer-contact__icon svg {
	display: block;
}

.yusung-footer-contact__text a {
	color: var(--yusung-footer-text-muted);
}

.yusung-footer-contact__text a:hover {
	color: var(--yusung-footer-icon);
}

/* --------------------------------------------------------------------------
   Footer Bottom Bar
   -------------------------------------------------------------------------- */
.yusung-footer-bottom {
	border-top: 1px solid var(--yusung-footer-border);
	padding: 1.25rem 0;
}

.yusung-footer-bottom .yusung-container {
	max-width: var(--yusung-footer-container);
}

.yusung-footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.yusung-footer-bottom__copyright {
	font-size: 0.8125rem;
	color: var(--yusung-footer-text-muted);
}

.yusung-footer-legal ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
}

.yusung-footer-legal ul li {
	display: inline-flex;
	align-items: center;
	font-size: 0.8125rem;
}

.yusung-footer-legal ul li + li::before {
	content: "|";
	margin: 0 0.75rem;
	color: rgba(255, 255, 255, 0.25);
}

.yusung-footer-legal ul a {
	color: var(--yusung-footer-text-muted);
}

.yusung-footer-legal ul a:hover {
	color: var(--yusung-footer-icon);
}

/* --------------------------------------------------------------------------
   Tablet (≤1024px) — 2x2 grid
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.yusung-footer-main {
		padding: 3rem 0 2rem;
	}

	.yusung-footer-main__inner {
		grid-template-columns: 1fr 1fr;
		gap: 2rem 1.5rem;
	}

	.yusung-footer-col--brand {
		grid-column: 1 / -1;
	}

	.yusung-footer-brand__desc {
		max-width: none;
	}

	.yusung-footer-brand__logo-link {
		max-width: 200px;
	}

	.yusung-footer-brand__logo {
		height: 48px !important;
		max-width: 200px !important;
		max-height: 48px !important;
		width: auto !important;
	}
}

/* --------------------------------------------------------------------------
   Mobile (≤640px) — single column
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	.yusung-footer-main {
		padding: 2.5rem 0 1.5rem;
	}

	.yusung-footer-main__inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.yusung-footer-col--brand {
		grid-column: auto;
	}

	.yusung-footer-bottom__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.yusung-footer-legal ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.375rem;
	}

	.yusung-footer-legal ul li + li::before {
		display: none;
	}

	.yusung-footer-brand__logo-link {
		max-width: 180px;
	}

	.yusung-footer-brand__logo {
		height: 42px !important;
		max-width: 180px !important;
		max-height: 42px !important;
		width: auto !important;
	}
}
