@charset "UTF-8";

/* Contact Us Page */
.contact-us {
	position: relative;
	min-height: 100vh;
	padding: 180px 0 120px;
	overflow: hidden;
}

/* Background Gradient */
.contact-us .bg-gradient {
	position: absolute;
	top: -812px;
	left: 0;
	width: 100%;
	height: 2492px;
	background: radial-gradient(31.69% 92.97% at 130.76% 44.48%, #DF1B2A 0%, #171717 100%);
	z-index: -1;
}

/* Section Header */
.contact-us .section-header {
	display: flex;
	flex-direction: column;
	gap: 32px;
	margin-bottom: 120px;
}

.contact-us .section-title {
	font-size: 64px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.contact-us .section-desc {
	font-size: 28px;
	font-weight: 400;
	color: #ABABAB;
	line-height: 1.5;
}

/* Contact Form */
.contact-us .contact-form {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.contact-us .form-row {
	display: flex;
	gap: 24px;
}

.contact-us .form-row.full .form-group {
	width: 100%;
}

.contact-us .form-row.half .form-group {
	flex: 1;
}

.contact-us .form-group {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 24px;
}

.contact-us .form-group > label {
	width: 140px;
	flex-shrink: 0;
	padding-top: 30px;
	font-size: 24px;
	font-weight: 700;
	color: #fff;
}

.contact-us .form-group .form-input,
.contact-us .form-group .form-select,
.contact-us .form-group .form-textarea {
	flex: 1;
}

.contact-us .form-group > label .required {
	color: #ED1C2B;
	margin-left: 4px;
}

/* 문의 유형 select width */
.contact-us .form-row.half .form-group .form-select {
	max-width: 672px;
}

/* Input Fields */
.contact-us .form-input,
.contact-us .form-select,
.contact-us .form-textarea {
	width: 100%;
	padding: 30px;
	background: linear-gradient(91deg, rgba(51, 47, 47, 0.8) 58.65%, rgba(29, 29, 29, 0.50) 100%);
	border: none;
	border-radius: 15px;
	font-family: 'Pretendard', sans-serif;
	font-size: 24px;
	color: #fff;
	outline: none;
	transition: all 0.3s;
}

.contact-us .form-input::placeholder,
.contact-us .form-textarea::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.contact-us .form-input:focus,
.contact-us .form-select:focus,
.contact-us .form-textarea:focus {
	background: linear-gradient(91deg, rgba(51, 47, 47, 1) 58.65%, rgba(29, 29, 29, 0.70) 100%);
	box-shadow: 0 0 0 2px rgba(237, 28, 43, 0.3);
}

/* Select */
.contact-us .form-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(91deg, rgba(51, 47, 47, 0.8) 58.65%, rgba(29, 29, 29, 0.50) 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: right 30px center, 0 0;
	background-size: 12px 8px, 100% 100%;
	padding-right: 60px;
}

.contact-us .form-select:focus {
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), linear-gradient(91deg, rgba(51, 47, 47, 1) 58.65%, rgba(29, 29, 29, 0.70) 100%);
	background-repeat: no-repeat, no-repeat;
	background-position: right 30px center, 0 0;
	background-size: 12px 8px, 100% 100%;
}

.contact-us .form-select option {
	background: #171717;
	color: #fff;
}

/* Textarea */
.contact-us .form-textarea {
	resize: vertical;
	min-height: 200px;
	line-height: 1.6;
}

/* Checkbox */
.contact-us .form-checkbox {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

.contact-us .form-checkbox input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 24px;
	height: 24px;
	border: 2px solid rgba(255, 255, 255, 0.8);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
}

.contact-us .form-checkbox input[type="checkbox"]:checked {
	background: #ED1C2B;
	border-color: #ED1C2B;
}

.contact-us .form-checkbox input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L4.5 7.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.contact-us .form-checkbox label {
	font-size: 20px;
	color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
}

.contact-us .form-checkbox label .required {
	color: #ED1C2B;
	margin-left: 4px;
}

/* Privacy Section */
.contact-us .privacy-group {
	flex-direction: column;
	align-items: flex-start;
}

.contact-us .privacy-group > label {
	width: 100%;
	padding-top: 0;
	margin-bottom: 16px;
	margin-left: 164px; /* 라벨 가로폭(140px) + gap(24px) */
}

.contact-us .privacy-section {
	width: calc(100% - 164px);
	margin-left: 164px; /* 라벨 가로폭(140px) + gap(24px) */
}

.contact-us .privacy-content {
	padding: 30px;
	background: linear-gradient(91deg, rgba(51, 47, 47, 0.5) 58.65%, rgba(29, 29, 29, 0.30) 100%);
	border-radius: 15px;
	margin-bottom: 20px;
	max-height: 200px;
	overflow-y: auto;
}

.contact-us .privacy-content p {
	font-size: 18px;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	margin-bottom: 16px;
}

.contact-us .privacy-content p:last-child {
	margin-bottom: 0;
}

.contact-us .privacy-content ul {
	margin: 16px 0;
	padding-left: 20px;
}

.contact-us .privacy-content ul li {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.8;
	list-style: disc;
}

/* Privacy Scrollbar */
.contact-us .privacy-content::-webkit-scrollbar {
	width: 6px;
}

.contact-us .privacy-content::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
}

.contact-us .privacy-content::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3px;
}

/* Type Buttons */
.contact-us .type-buttons {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	padding-top: 8px;
	flex: 1;
}

.contact-us .sub-type-btn {
	padding: 28px 20px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 15px;
	background: linear-gradient(91deg, rgba(51, 47, 47, 0.8) 58.65%, rgba(29, 29, 29, 0.50) 100%);
	font-family: 'Pretendard', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
}

.contact-us .sub-type-btn:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: linear-gradient(91deg, rgba(51, 47, 47, 1) 58.65%, rgba(29, 29, 29, 0.70) 100%);
}

.contact-us .sub-type-btn.active {
	background: linear-gradient(91deg, rgba(80, 70, 70, 1) 58.65%, rgba(50, 40, 40, 0.90) 100%);
	border-color: rgba(255, 255, 255, 0.6);
	box-shadow: 0 0 0 2px rgba(237, 28, 43, 0.3);
}

/* Submit Button */
.contact-us .btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 420px;
	height: 80px;
	margin-top: 24px;
	margin-left: 164px; /* 라벨 가로폭(140px) + gap(24px) */
	background: linear-gradient(126deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.06) 100%);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 15px;
	font-family: 'Pretendard', sans-serif;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s;
}

.contact-us .btn-submit:hover {
	background: linear-gradient(126deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.10) 100%);
	border-color: rgba(255, 255, 255, 0.5);
}

.contact-us .btn-submit:active {
	transform: scale(0.98);
}

/* ==================== */
/* Responsive Styles    */
/* ==================== */
@media (max-width: 1024px) {
	.contact-us {
		padding: 140px 0 80px;
	}

	.contact-us .section-header {
		gap: 24px;
		margin-bottom: 60px;
	}

	.contact-us .section-title {
		font-size: 48px;
	}

	.contact-us .section-desc {
		font-size: 20px;
	}

	.contact-us .form-row.half {
		flex-direction: column;
	}

	.contact-us .form-group {
		flex-direction: column;
	}

	.contact-us .form-group > label {
		width: 100%;
		padding-top: 0;
		font-size: 20px;
	}

	.contact-us .form-row.half .form-group .form-select {
		max-width: none;
	}

	.contact-us .form-input,
	.contact-us .form-select,
	.contact-us .form-textarea {
		padding: 24px;
		font-size: 18px;
	}

	.contact-us .type-buttons {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-us .sub-type-btn {
		padding: 22px 16px;
		font-size: 16px;
	}

	.contact-us .form-checkbox label {
		font-size: 16px;
	}

	.contact-us .btn-submit {
		width: 100%;
		max-width: 320px;
		height: 64px;
		font-size: 20px;
		margin-left: 0;
	}

	.contact-us .privacy-group > label {
		margin-left: 0;
	}

	.contact-us .privacy-section {
		width: 100%;
		margin-left: 0;
	}

	.contact-us .privacy-content {
		padding: 24px;
	}

	.contact-us .privacy-content p {
		font-size: 16px;
	}

	.contact-us .privacy-content ul li {
		font-size: 14px;
	}
}

@media (max-width: 767px) {
	.contact-us {
		padding: 120px 0 60px;
	}

	.contact-us .section-header {
		gap: 16px;
		margin-bottom: 40px;
	}

	.contact-us .section-title {
		font-size: 32px;
	}

	.contact-us .section-desc {
		font-size: 16px;
	}

	.contact-us .contact-form {
		gap: 20px;
	}

	.contact-us .form-group {
		flex-direction: column;
		gap: 12px;
	}

	.contact-us .form-group > label {
		width: 100%;
		padding-top: 0;
		font-size: 16px;
	}

	.contact-us .form-input,
	.contact-us .form-select,
	.contact-us .form-textarea {
		padding: 18px 20px;
		font-size: 16px;
		border-radius: 10px;
	}

	.contact-us .form-select {
		background-position: right 20px center;
		padding-right: 50px;
	}

	.contact-us .form-textarea {
		min-height: 160px;
	}

	.contact-us .form-checkbox {
		gap: 10px;
		margin-top: 8px;
	}

	.contact-us .form-checkbox input[type="checkbox"] {
		width: 20px;
		height: 20px;
	}

	.contact-us .form-checkbox label {
		font-size: 14px;
	}

	.contact-us .btn-submit {
		width: 100%;
		max-width: none;
		height: 56px;
		font-size: 18px;
		border-radius: 10px;
	}

	.contact-us .privacy-content {
		padding: 20px;
		border-radius: 10px;
	}

	.contact-us .privacy-content p {
		font-size: 14px;
		margin-bottom: 12px;
	}

	.contact-us .privacy-content ul {
		margin: 12px 0;
	}

	.contact-us .privacy-content ul li {
		font-size: 13px;
	}
}
