/* Contact page from the contactus download, hosted in #ContactUsPop. Values match contactus.css. Image URLs are set in contactPop.tsx. */
#ContactUsPop {
	--contact-width: 1360px;
	--blue-hover: #0057d9;
	--navy: #0b1f3a;
	--text-sub: #667085;
	--text-placeholder: #637086;
	--danger: #ef2b2d;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #ffffff;
	color: #0b1f3a;
	word-break: keep-all;
	overflow-wrap: break-word;
	font-family:
		"Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
}

#ContactUsPop.isOpen {
	display: block;
}

#ContactUsPop .Pop {
	display: grid;
	padding: 0;
}

#ContactUsPop .PopClose,
#ContactUsPop .contactPage {
	grid-area: 1 / 1;
}

#ContactUsPop .PopClose {
	position: sticky;
	top: 0;
	z-index: 5;
	justify-self: end;
	align-self: start;
	width: auto;
	height: auto;
	margin: 16px 16px 0 0;
	padding: 0;
	display: flex;
	flex-flow: row;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
}

#ContactUsPop .PopClose .GnbToggleClose {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: #0b1f3a;
}

#ContactUsPop .PopClose:focus-visible {
	outline: 2px solid #000094;
	outline-offset: 2px;
}

#ContactUsPop button,
#ContactUsPop input,
#ContactUsPop textarea,
#ContactUsPop select {
	font: inherit;
}

#ContactUsPop h1,
#ContactUsPop h2,
#ContactUsPop h3,
#ContactUsPop p {
	margin: 0;
}

#ContactUsPop .contactContainer {
	width: min(calc(100% - 80px), var(--contact-width));
	margin: 0 auto;
}

#ContactUsPop .contactHero {
	position: relative;
	height: 510px;
	overflow: hidden;
	background: #f6faff;
}

#ContactUsPop .contactHeroBg {
	position: absolute;
	top: 0;
	right: 0;
	width: 67%;
	height: 100%;
	overflow: hidden;
}

#ContactUsPop .contactHeroBg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

#ContactUsPop .contactHeroFade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		#f8fbff 0%,
		rgba(248, 251, 255, 0.99) 24%,
		rgba(248, 251, 255, 0.93) 38%,
		rgba(248, 251, 255, 0.9) 48%,
		rgba(248, 251, 255, 0.2) 61%,
		rgba(248, 251, 255, 0) 72%
	);
}

#ContactUsPop .contactHeroInner {
	position: relative;
	z-index: 2;
	height: 100%;
}

#ContactUsPop .contactHeroContent {
	width: 660px;
	padding-top: 62px;
}

#ContactUsPop .sectionEyebrow {
	display: block;
	margin-bottom: 11px;
	color: #000094;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.28em;
}

#ContactUsPop .contactHeroTitle {
	color: var(--navy);
	font-size: 68px;
	font-weight: 850;
	line-height: 1.05;
	letter-spacing: -0.045em;
}

#ContactUsPop .contactHeroEn {
	margin-top: 6px;
	color: var(--navy);
	font-size: 29px;
	font-weight: 700;
	line-height: 1.2;
}

#ContactUsPop .contactHeroDescription {
	margin-top: 27px;
	color: #26364d;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.8;
	letter-spacing: -0.015em;
}

#ContactUsPop .contactHeroFeatures {
	margin-top: 40px;
	display: flex;
	align-items: center;
	gap: 20px;
}

#ContactUsPop .heroFeature {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 14px;
}
#ContactUsPop .heroFeatureText {
	min-width: 0;
}

#ContactUsPop .heroFeatureIcon,
#ContactUsPop .benefitIcon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex-shrink: 0;
	border-radius: 50%;
}

#ContactUsPop .heroFeatureIcon {
	border: 1.5px solid #bdd6fa;
	background: rgba(255, 255, 255, 0.78);
}

#ContactUsPop .heroFeatureIcon img {
	width: 26px;
	height: 26px;
}

#ContactUsPop .heroFeatureText strong {
	display: block;
	margin-bottom: 4px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 750;
}

#ContactUsPop .heroFeatureText span {
	display: block;
	color: #536174;
	font-size: 13px;
	line-height: 1.45;
}

#ContactUsPop .contactFormSection {
	padding: 42px 0 28px;
	background: #ffffff;
}

#ContactUsPop .contactFormPanel {
	padding: 40px 32px 34px;
	border-radius: 8px;
	background: linear-gradient(135deg, #f8fbff 0%, #f3f8fd 100%);
}

#ContactUsPop .contactFormHeader {
	padding: 0 6px 28px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
}

#ContactUsPop .contactFormHeader h2 {
	color: var(--navy);
	font-size: 31px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.035em;
}
#ContactUsPop .contactFormHeader > div {
	min-width: 0;
	max-width: 100%;
}

#ContactUsPop .contactFormHeader p {
	margin-top: 8px;
	color: var(--text-sub);
	font-size: 15px;
	line-height: 1.6;
}

#ContactUsPop .contactFormHeader .requiredGuide {
	margin-top: 4px;
	color: #4a5568;
	font-size: 12px;
	white-space: nowrap;
}

#ContactUsPop .requiredGuide span {
	color: var(--danger);
	font-weight: 800;
}

#ContactUsPop .contactFormBox {
	padding: 26px 28px 34px;
	border-radius: 8px;
	background: #ffffff;
}

#ContactUsPop .formSectionTitle {
	margin-bottom: 23px;
	color: var(--navy);
	font-size: 22px;
	font-weight: 800;
}

#ContactUsPop .formColumns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
	column-gap: 34px;
}

#ContactUsPop .formDivider {
	width: 1px;
	height: 100%;
	min-height: 568px;
	background: #e1e6ed;
}

#ContactUsPop .formGroup {
	margin-bottom: 20px;
}

#ContactUsPop .formGroup label {
	display: block;
	margin-bottom: 9px;
	color: var(--navy);
	font-size: 14px;
	font-weight: 750;
}

#ContactUsPop .formGroup label span {
	margin-left: 3px;
	color: var(--danger);
}

#ContactUsPop .formGroup input,
#ContactUsPop .formGroup select,
#ContactUsPop .formGroup textarea {
	width: 100%;
	border: 1px solid #d5dce5;
	border-radius: 6px;
	outline: none;
	background: #ffffff;
	color: var(--navy);
	transition:
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

#ContactUsPop .formGroup input,
#ContactUsPop .formGroup select {
	height: 54px;
	padding: 0 17px;
}

#ContactUsPop .formGroup textarea {
	height: 476px;
	padding: 16px 17px;
	resize: vertical;
	line-height: 1.7;
}

#ContactUsPop .formGroup input::placeholder,
#ContactUsPop .formGroup textarea::placeholder {
	color: var(--text-placeholder);
}

#ContactUsPop .formGroup input:focus,
#ContactUsPop .formGroup select:focus,
#ContactUsPop .formGroup textarea:focus {
	border-color: #000094;
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.08);
}

#ContactUsPop .selectWrap {
	position: relative;
}

#ContactUsPop .selectWrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #8f9aac;
	border-bottom: 2px solid #8f9aac;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

#ContactUsPop .selectWrap select {
	appearance: none;
	cursor: pointer;
}

#ContactUsPop .privacyRow {
	margin-top: 2px;
	display: flex;
	align-items: center;
	gap: 10px;
}

#ContactUsPop .customCheckbox {
	position: relative;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	cursor: pointer;
}

#ContactUsPop .customCheckbox input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

#ContactUsPop .checkboxUi {
	display: block;
	width: 24px;
	height: 24px;
	border: 2px solid #aab4c2;
	border-radius: 5px;
	background: #ffffff;
}

#ContactUsPop .customCheckbox input:checked + .checkboxUi {
	border-color: #000094;
	background: #000094;
}

#ContactUsPop .customCheckbox input:checked + .checkboxUi::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 8px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg);
}

#ContactUsPop .privacyRow p {
	color: #596579;
	font-size: 13px;
}

#ContactUsPop .privacyRow a {
	margin-left: 4px;
	color: #000094;
	font-weight: 700;
	text-decoration: underline;
}

#ContactUsPop .formMessageGroup {
	position: relative;
	margin-bottom: 0;
}

#ContactUsPop .characterCount {
	position: absolute;
	right: 0;
	bottom: -27px;
	color: #778397;
	font-size: 12px;
}

#ContactUsPop .formSubmit {
	margin-top: 44px;
	display: flex;
	justify-content: center;
}

#ContactUsPop .submitButton {
	width: 440px;
	height: 64px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 0;
	border-radius: 6px;
	background: #000094;
	color: #ffffff;
	font-size: 17px;
	font-weight: 750;
	cursor: pointer;
	transition: background 0.18s ease;
}

#ContactUsPop .submitButton:hover {
	background: var(--blue-hover);
}

#ContactUsPop .submitArrow {
	margin-left: 14px;
	font-size: 22px;
	font-weight: 400;
}

#ContactUsPop .contactBenefitsSection {
	padding: 4px 0 42px;
	background: #ffffff;
}

#ContactUsPop .contactBenefits {
	min-height: 150px;
	padding: 25px 28px;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-radius: 8px;
	background: linear-gradient(90deg, #f5faff, #edf7ff);
}

#ContactUsPop .contactBenefit {
	position: relative;
	min-width: 0;
	padding: 6px 30px;
	display: flex;
	align-items: center;
	gap: 17px;
}
#ContactUsPop .contactBenefit > div {
	min-width: 0;
}

#ContactUsPop .contactBenefit:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 0;
	width: 1px;
	height: calc(100% - 20px);
	background: #dce5ef;
}

#ContactUsPop .benefitIcon {
	background: #ffffff;
	border: 1px solid #d8e7fb;
}

#ContactUsPop .benefitIcon img {
	width: 28px;
	height: 28px;
}

#ContactUsPop .contactBenefit strong {
	display: block;
	margin-bottom: 7px;
	color: var(--navy);
	font-size: 16px;
	font-weight: 800;
}

#ContactUsPop .contactBenefit p {
	color: #68758a;
	font-size: 13px;
	line-height: 1.6;
}

@media (max-width: 1100px) {
	#ContactUsPop .contactContainer {
		width: calc(100% - 48px);
	}
	#ContactUsPop .contactHero {
		height: auto;
		min-height: 620px;
	}
	#ContactUsPop .contactHeroBg {
		width: 100%;
	}
	#ContactUsPop .contactHeroFade {
		background: linear-gradient(
			90deg,
			rgba(248, 251, 255, 1) 0%,
			rgba(248, 251, 255, 0.97) 40%,
			rgba(248, 251, 255, 0.6) 100%
		);
	}
	#ContactUsPop .contactHeroInner {
		min-height: 620px;
	}
	#ContactUsPop .contactHeroContent {
		padding: 56px 0;
		width: 610px;
		max-width: 100%;
	}
	#ContactUsPop .contactHeroFeatures {
		flex-wrap: wrap;
	}
	#ContactUsPop .formColumns {
		grid-template-columns: 1fr;
	}
	#ContactUsPop .formDivider {
		display: none;
	}
	#ContactUsPop .formRight {
		margin-top: 28px;
	}
	#ContactUsPop .contactBenefits {
		grid-template-columns: repeat(2, 1fr);
	}
	#ContactUsPop .contactBenefit:nth-child(2)::after {
		display: none;
	}
}

@media (max-width: 700px) {
	#ContactUsPop .contactContainer {
		width: calc(100% - 32px);
	}
	#ContactUsPop .contactHeroTitle {
		font-size: 52px;
	}
	#ContactUsPop .contactHeroEn {
		font-size: 24px;
	}
	#ContactUsPop .contactHeroDescription {
		font-size: 16px;
	}
	#ContactUsPop .contactHeroFeatures {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	#ContactUsPop .contactFormSection {
		padding-top: 24px;
	}
	#ContactUsPop .contactFormPanel {
		padding: 26px 14px;
	}
	#ContactUsPop .contactFormHeader {
		padding: 0 0 22px;
		flex-direction: column;
	}
	#ContactUsPop .contactFormBox {
		padding: 22px 18px 30px;
	}
	#ContactUsPop .formGroup textarea {
		height: 360px;
	}
	#ContactUsPop .submitButton {
		width: 100%;
	}
	#ContactUsPop .contactBenefits {
		grid-template-columns: 1fr;
	}
	#ContactUsPop .contactBenefit {
		padding: 20px 12px;
	}
	#ContactUsPop .contactBenefit:not(:last-child)::after {
		top: auto;
		left: 12px;
		right: 12px;
		bottom: 0;
		width: auto;
		height: 1px;
	}
}
/* The same contact form is also served as a normal linked page. */
#ContactUsPop.contactStandalone {
	display: block;
	position: relative;
	inset: auto;
	z-index: auto;
	width: 100%;
	height: auto;
	max-height: none;
	padding: 0;
	background: #fff;
	color: #142541;
	overflow: visible;
}
#ContactUsPop.contactStandalone .Pop {
	padding: 0;
	max-height: none;
	overflow: visible;
}
#ContactUsPop.contactStandalone .PopClose {
	display: none;
}
#ContactUsPop.contactStandalone ~ .PopBackdrop {
	display: none;
}
#ContactUsPop .contactPage {
	width: 100%;
	min-width: 0;
}
#ContactUsPop.contactStandalone .Pop {
	display: block;
}
@media (max-width: 767.98px) {
	#ContactUsPop .Pop {
		grid-template-columns: minmax(0, 1fr);
	}
	#ContactUsPop .formLeft,
	#ContactUsPop .formRight,
	#ContactUsPop .contactHeroContent {
		min-width: 0;
		max-width: 100%;
	}
}
