@charset 'utf-8';

/* Webfonts: load once here only — feature CSS (main/sub) must not duplicate @import */
/* SUIT Variable (CDN @font-face name is literally "SUIT Variable", not "SUIT") */
@import url('https://cdn.jsdelivr.net/gh/sun-typeface/SUIT/fonts/variable/woff2/SUIT-Variable.css');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

:root {
	--baseFont: 'SUIT Variable', 'Noto Sans KR', sans-serif;
	/* Display / Latin-heavy UI: Lexend first, then same stack as --baseFont */
	--engFont: 'Lexend', var(--baseFont);
	--color-white: #fff;
	--color-text-muted: #666;
	--color-text-strong: #000;
	--color-privacy-accent: #3680b9;
	--color-sTxt-heading: #333;
	--color-gnb-sub-bg: #DA291C;
	--color-gnb-sub-link: rgba(255, 255, 255, 0.6);
	--color-red: #F44336;
	--main-inner-max: 1680px;
	--color-black:#000;
	--color-gray:#888;
	--color-text-dark: #222222;
	--color-bg-light: #F8F8F8;
	--color-gray-pale: #AAAAAA;
}

*{box-sizing: border-box; word-break: keep-all;}

.br-mo { display: block; }
@media (max-width: 768px) { .br-mo { display: none; } }

/* ===== Inner Max (공통 폭 제어) ===== */
.inner-max {
	max-width: var(--main-inner-max);
	width: 100%;
	margin: 0 auto;
}
@media screen and (max-width: 1680px) { .inner-max { width: 93.75%; } }
@media screen and (max-width: 768px)  { .inner-max { width: 91.67%; } }

body,
table,
input,
textarea {
	font-family: var(--baseFont);
}

/* ===== Header ===== */
header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0) 100%);
	transition: background 0.3s ease, color 0.3s ease;
}

/* ===== Header Light Mode (from section 2 / subpages) ===== */
header.header--light {
	background: var(--color-white);
}

header.header--light .gnb__link {
	color: #111 !important;
}

header.header--light .header__search {
	color: #111;
}

/* Logo swap: specificity must beat .header__* img { display: block } */
.header__logo .logo--dark,
.header__partner .logo--dark { display: none; }
header.header--light .header__logo .logo--dark,
header.header--light .header__partner .logo--dark { display: block; }
header.header--light .header__logo .logo--white,
header.header--light .header__partner .logo--white { display: none; }

.header__inner {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 60px;
	transition: padding 0.3s ease;
}

.header__logo {
	flex-shrink: 0;
}

.header__logo img {
	display: block;
	width: auto;
	transition: height 0.3s ease;
}

/* ===== GNB ===== */
.gnb {
	display: flex;
	flex: 1;
	justify-content: center;
	padding: 0 20px;
}

.gnb__list {
	display: flex;
	align-items: center;
}

.gnb__item {
	position: relative;
}

/* Top indicator bar on hover */
.gnb__item--has-sub::before {
	content: '';
	position: absolute;
	top: 28px;
	left: 50%;
	transform: translateX(-50%);
	width: 62px;
	height: 2px;
	background: #F44336;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.gnb__item--has-sub:hover::before {
	opacity: 1;
}

.gnb__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 140px;
	height: 100px;
	color: var(--color-white) !important;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	transition: width 0.3s ease, font-size 0.3s ease;
}

/* GNB dropdown */
.gnb__sub {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: absolute;
	top: calc(100% - 11px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 100px;
	padding: 28px 32px;
	background: var(--color-gnb-sub-bg);
	border-radius: 20px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.gnb__item--has-sub:hover .gnb__sub {
	opacity: 1;
	pointer-events: auto;
}

.gnb__sub a {
	display: block;
	color: var(--color-gnb-sub-link);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.gnb__sub a:hover {
	color: var(--color-white);
}

/* ===== Header Right ===== */
.header__right {
	display: flex;
	align-items: center;
	gap: 30px;
	flex-shrink: 0;
	transition: gap 0.3s ease;
}

.header__partner img {
	display: block;
	width: auto;
	transition: height 0.3s ease;
}

/* ===== Intermediate PC Responsive ===== */
@media (max-width: 1600px) {
	.header__inner { padding: 0 40px; }
	.gnb__link { width: 120px; font-size: 17px; }
	.header__right { gap: 20px; }
}

@media (max-width: 1300px) {
	.header__inner { padding: 0 30px; }
	.gnb__link { width: 110px; font-size: 16px; }
	.header__logo img { height: 32px; }
	.header__partner img { height: 30px; }
	.header__right { gap: 15px; }
}

@media (max-width: 1150px) {
	.header__inner { padding: 0 20px; }
	.gnb__link { width: 100px; font-size: 15px; }
	.header__right { gap: 10px; }
}

.header__search {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	background: none;
	border: none;
	color: var(--color-white);
	font-size: 18px;
	cursor: pointer;
}

.header__search:focus-visible {
	outline: 2px solid var(--color-white);
	outline-offset: 4px;
	border-radius: 2px;
}

/* ===== Mobile Toggle ===== */
.header__mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.header__mobile-toggle span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--color-white);
	transition: background-color 0.3s ease;
}

header.header--light .header__mobile-toggle span {
	background-color: #111;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2000;
	visibility: hidden;
	transition: visibility 0.4s;
}

.mobile-menu.is-open {
	visibility: visible;
}

.mobile-menu__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.4s;
}

.mobile-menu.is-open .mobile-menu__overlay {
	opacity: 1;
}

.mobile-menu__inner {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	right: -100%;
	width: 300px;
	max-width: 80%;
	height: 100%;
	background: var(--color-white);
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
	transition: right 0.4s ease;
}

.mobile-menu.is-open .mobile-menu__inner {
	right: 0;
}

.mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	border-bottom: 1px solid #eee;
}

.mobile-menu__close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: #111;
}

.mobile-menu__content {
	flex: 1;
	overflow-y: auto;
	padding: 20px 0;
}

/* Mobile GNB List */
.m-gnb__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.m-gnb__item {
	border-bottom: 1px solid #f5f5f5;
}

.m-gnb__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #111;
	text-decoration: none;
}

.m-gnb__item.gnb__item--has-sub > .m-gnb__link::after {
	content: '\e941';
	font-family: 'xeicon';
	font-size: 14px;
	transition: transform 0.3s;
}

.m-gnb__item.is-active > .m-gnb__link::after {
	transform: rotate(180deg);
}

.m-gnb__sub {
	display: none;
	background: #f9f9f9;
	padding: 10px 0;
	list-style: none;
}

.m-gnb__sub li a {
	display: block;
	padding: 10px 40px;
	font-size: 14px;
	color: #666;
	text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	header {
		height: 60px;
	}

	.header__inner {
		padding: 0 20px;
		justify-content: space-between;
	}

	.header__logo img {
		height: 28px;
	}

	.gnb {
		display: none;
	}

	.header__partner {
		display: none;
	}

	.header__mobile-toggle {
		display: flex;
	}

	.header__right {
		gap: 15px;
	}
}

/* ===== Search Overlay ===== */
.search-overlay {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 288px;
	background: var(--color-white);
	box-shadow: 0 4px 40px 0 rgba(0, 0, 0, 0.10);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.search-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.search-overlay__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100px;
	padding: 0 60px;
	border-bottom: 1px solid var(--color-red);
	flex-shrink: 0;
	opacity: 0;
	transition: opacity 0.5s ease 0.1s;
}

.is-open .search-overlay__top {
	opacity: 1;
}

.search-overlay__logo img {
	display: block;
}

.search-overlay__close {
	position: relative;
	width: 24px;
	height: 24px;
	background: none;
	border: none;
	cursor: pointer;
	color: #111;
	padding: 0;
}

.search-overlay__close span {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform 0.4s ease;
}

/* Base state: Backslash \ (both spans overlapping) */
.search-overlay__close span:nth-child(1),
.search-overlay__close span:nth-child(2) {
	transform: translateY(-50%) rotate(-45deg);
}

/* Open state: X */
.is-open .search-overlay__close span:nth-child(2) {
	transform: translateY(-50%) rotate(45deg);
}

.search-overlay__close:focus-visible {
	outline: 2px solid var(--color-red);
	outline-offset: 4px;
	border-radius: 2px;
}

.search-overlay__body {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	opacity: 0;
	transform: translateY(-30px);
	transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.is-open .search-overlay__body {
	opacity: 1;
	transform: translateY(0);
}

.search-overlay__form {
	display: flex;
	align-items: center;
	width: 1000px;
	max-width: 93.75%;
	height: 80px;
	border: 2px solid var(--color-red);
	border-radius: 999px;
	padding: 0 28px 0 40px;
	gap: 12px;
}

.search-overlay__input {
	flex: 1;
	border: none;
	outline: none;
	background: none;
	font-family: var(--baseFont);
	font-size: 20px;
	font-weight: 500;
	color: #111;
	line-height: 1.3;
	-webkit-appearance: none;
	appearance: none;
}

.search-overlay__input::placeholder {
	color: #a3a3a3;
}

.search-overlay__input::-webkit-search-cancel-button {
	-webkit-appearance: none;
	appearance: none;
}

.search-overlay__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-red);
	padding: 0;
	flex-shrink: 0;
}

.search-overlay__submit:focus-visible {
	outline: 2px solid var(--color-red);
	outline-offset: 4px;
	border-radius: 2px;
}

@media (max-width: 768px) {
	.search-overlay {
		height: auto;
		min-height: 200px;
	}

	.search-overlay__top {
		height: 70px;
		padding: 0 20px;
	}

	.search-overlay__body {
		padding: 24px 0 32px;
	}

	.search-overlay__form {
		height: 56px;
		padding: 0 20px 0 24px;
	}

	.search-overlay__input {
		font-size: 16px;
	}
}

.sTxt h3 {
	font-size: 16px;
	color: var(--color-sTxt-heading);
	font-weight: 700;
	margin: 20px 0 10px;
}

.sTxt p {
	margin-top: 10px;
}

.sTxt dt {
	margin-top: 10px;
}

.sTxt dd {
	margin: 0 8px;
}

/* ===== Site Footer ===== */
.site-footer {
	background: #0A0A0A;
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1920px;
	width: 100%;
	margin: 0 auto;
	padding: 60px;
}

.site-footer__left {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.site-footer__logo {
	opacity: 0.5;
}

.site-footer__logo img {
	display: block;
}

.site-footer__info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-footer__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ≥1281px: markup grouped only; flex matches previous single-row layout */
@media (min-width: 1281px) {
	.site-footer__group--info,
	.site-footer__group--contact {
		display: contents;
	}

	.site-footer__pair {
		display: inline-flex;
		align-items: center;
		gap: 4px;
	}
}

.site-footer__label {
	color: rgba(255, 255, 255, 0.50);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.7;
}

.site-footer__value {
	color: rgba(255, 255, 255, 0.75);
	font-size: 18px;
	font-weight: 200;
	line-height: 1.7;
}

.site-footer__divider {
	display: block;
	width: 1px;
	height: 16px;
	background: rgba(255, 255, 255, 0.25);
	flex-shrink: 0;
}

.site-footer__copy {
	color: rgba(255, 255, 255, 0.50);
	font-family: var(--engFont);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
}

.site-footer__privacy {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 40px;
	padding: 10px 20px;
	background: #222222;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.75) !important;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}

@media (max-width: 1280px) {
	.site-footer__group--info {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
		min-width: 0;
		flex: 0 1 auto;
	}

	.site-footer__pair {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 4px;
		min-width: 0;
	}

	.site-footer__pair .site-footer__value {
		min-width: 0;
	}

	.site-footer__group--contact {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 12px;
		flex-shrink: 0;
		flex-basis: 100%;
		width: 100%;
	}

	.site-footer__row {
		flex-wrap: wrap;
		align-items: flex-start;
		row-gap: 10px;
	}

	.site-footer__divider--before-contact {
		display: none;
	}
}

@media (max-width: 1024px) {
	.site-footer__inner {
		flex-direction: column;
		gap: 24px;
		padding: 40px;
	}
}

@media (max-width: 480px) {
	.site-footer__row {
		flex-direction: column;
		align-items: flex-start;
		row-gap: 6px;
	}

	.site-footer__group--info,
	.site-footer__group--contact {
		flex-direction: column;
		align-items: flex-start;
		flex: 1 1 100%;
		width: 100%;
		gap: 6px;
	}

	.site-footer__divider--info-gap {
		display: none;
	}

	.site-footer__pair {
		width: 100%;
		gap: 4px;
	}
}

@media (max-width: 768px) {
	.site-footer__inner {
		padding: 32px 20px;
	}

	.site-footer__label,
	.site-footer__value {
		font-size: 14px;
	}

	.site-footer__copy {
		font-size: 13px;
	}
}
