/* ── Contact Us page ── */
.site-page-contact {
	background: #fff;
}

.contact-page {
	width: 100%;
	max-width: 1920px;
	margin: 0 auto;
	background: #fff;
	padding: 72px 0 100px;
	box-sizing: border-box;
}

.contact-page__inner {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0 20px;
	box-sizing: border-box;
}

.page-section-head {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 56px;
	text-align: center;
}

.page-section-head__title-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.page-section-head__bg {
	display: block;
	font-family: var(--font-bold);
	font-size: 100px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	opacity: .06;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

.page-section-head__title {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	margin: 0;
	font-family: var(--font-bold);
	font-size: 50px;
	font-weight: 700;
	line-height: 1.1;
	color: #000;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
}

.page-section-head__line {
	display: block;
	width: 44px;
	height: 5px;
	margin-top: 0;
	background: #111d5c;
	flex-shrink: 0;
}

.contact-page__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 35px;
}

.contact-page__media {
	width: 555px;
	max-width: 100%;
	flex-shrink: 0;
}

.contact-page__media--empty {
	height: 420px;
	border-radius: 18px;
	background: linear-gradient(135deg, #ececec, #d8d8d8);
}

.contact-page__img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
	border-radius: 18px;
}

.contact-page__form {
	width: 810px;
	max-width: 100%;
	flex: 1 1 auto;
	min-width: 0;
}

.contact-page__content {
	margin-top: 50px;
	max-width: 1400px;
	font-family: var(--font-light);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.7;
	color: #111;
}

.contact-page__content > *:first-child {
	margin-top: 0;
}

.contact-page__content > *:last-child {
	margin-bottom: 0;
}

/* CF7 form */
.contact-page__form .wpcf7 {
	width: 100%;
}

.contact-page__form .wpcf7 form {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-page__form .wpcf7 form > p {
	margin: 0;
}

.contact-page__form .contact-field {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #f2f2f2;
	border-radius: 14px;
	overflow: hidden;
}

.contact-page__form .contact-field > p {
	margin: 0;
}

.contact-page__form .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.contact-page__form input.wpcf7-form-control:not([type="submit"]),
.contact-page__form textarea.wpcf7-form-control {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 28px;
	border: none;
	border-radius: 14px;
	background: transparent;
	box-shadow: none;
	font-family: var(--font-medium);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: #111;
	outline: none;
	box-sizing: border-box;
	resize: none;
}

.contact-page__form input.wpcf7-form-control:not([type="submit"]) {
	height: 60px;
	line-height: 60px;
	padding-top: 0;
	padding-bottom: 0;
}

.contact-page__form textarea.wpcf7-form-control {
	height: 100px;
	min-height: 100px;
	padding-top: 18px;
	padding-bottom: 18px;
	line-height: 1.4;
}

.contact-page__form input.wpcf7-form-control:not([type="submit"]):focus,
.contact-page__form textarea.wpcf7-form-control:focus {
	outline: none;
	box-shadow: none;
}

.contact-page__form input.wpcf7-form-control::placeholder,
.contact-page__form textarea.wpcf7-form-control::placeholder {
	color: #666;
	opacity: 1;
}

.contact-page__form .contact-field:focus-within {
	box-shadow: 0 0 0 2px rgba(38, 133, 249, .35);
}

.contact-page__form .wpcf7-submit,
.contact-page__form input.wpcf7-submit {
	display: block;
	width: 100%;
	height: 66px;
	margin: 8px 0 0;
	padding: 0 24px;
	border: none;
	border-radius: 999px;
	background: #111d5c;
	color: #fff;
	font-family: var(--font-bold);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .25s ease, transform .2s ease;
}

.contact-page__form .wpcf7-submit:hover,
.contact-page__form input.wpcf7-submit:hover {
	background: #0c1650;
}

.contact-page__form .wpcf7-submit:active,
.contact-page__form input.wpcf7-submit:active {
	transform: translateY(1px);
}

.contact-page__form .wpcf7-spinner {
	position: absolute;
}

.contact-page__form .wpcf7-response-output {
	margin: 8px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-family: var(--font-medium);
	font-size: 14px;
}

.contact-page__form .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: #c0392b;
}

.contact-page__form .wpcf7-not-valid {
	outline: none;
}

@media (max-width: 1200px) {
	.contact-page__main {
		gap: 28px;
	}

	.contact-page__media {
		width: 42%;
	}

	.contact-page__form {
		width: 58%;
	}
}

@media (max-width: 1100px) {
	.contact-page {
		padding: 56px 0 72px;
	}

	.page-section-head {
		margin-bottom: 40px;
	}

	.page-section-head__bg {
		font-size: 64px;
	}

	.page-section-head__title {
		font-size: 36px;
	}

	.contact-page__main {
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
	}

	.contact-page__media,
	.contact-page__form {
		width: 100%;
	}

	.contact-page__img {
		width: 100%;
		height: auto;
		aspect-ratio: auto;
	}

	.contact-page__form input.wpcf7-form-control:not([type="submit"]),
	.contact-page__form textarea.wpcf7-form-control {
		font-size: 16px;
	}

	.contact-page__form .wpcf7-submit,
	.contact-page__form input.wpcf7-submit {
		font-size: 18px;
		height: 66px;
	}
}

@media (max-width: 640px) {
	.contact-page {
		padding: 40px 0 56px;
	}

	.page-section-head__bg {
		font-size: 42px;
	}

	.page-section-head__title {
		font-size: 26px;
		white-space: normal;
		width: max-content;
		max-width: 90vw;
	}

	.page-section-head__line {
		width: 36px;
		height: 4px;
	}

	.contact-page__form .contact-field {
		border-radius: 12px;
	}

	.contact-page__form input.wpcf7-form-control:not([type="submit"]) {
		height: 60px;
		line-height: 60px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.contact-page__form textarea.wpcf7-form-control {
		height: 100px;
		min-height: 100px;
		padding: 16px 18px;
		font-size: 15px;
	}

	.contact-page__content {
		margin-top: 50px;
		font-size: 15px;
	}
}
