/* =========================================================
   MIRAworks CONTACT FORM PAGE
   /contact-form/
========================================================= */

body.mw-contact-form-page {
	background: #fff;
	color: var(--mw-text);
}

.mw-contact-form-main {
	overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.mw-contact-form-hero {
	position: relative;
	background: #f7f5ef;
}

.mw-contact-form-hero__inner {
	min-height: 360px;
	padding-top: 70px;
	padding-bottom: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.mw-contact-form-hero .mw-eyebrow {
	margin-bottom: 15px !important;
}

.mw-contact-form-hero h1 {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--mw-serif);
	font-size: clamp(56px, 4.25vw, 80px);
	font-weight: 500;
	line-height: 1.22;
	letter-spacing: .02em;
	color: #312903;
}

.mw-contact-form-hero__lead {
	max-width: 680px;
	margin: 28px auto 0 !important;
	font-size: 15px;
	line-height: 2;
	letter-spacing: .02em;
	color: #505050;
}


/* =========================================================
   FORM SECTION
========================================================= */

.mw-contact-form-section {
	padding: 95px 0 115px;
	background: #fff;
}

.mw-contact-form-grid {
	display: block;
}

.mw-contact-form-intro {
	position: static;
	max-width: 900px;
	margin: 0 auto 55px;
	text-align: left;
}

.mw-contact-form-intro .mw-eyebrow {
	margin-bottom: 15px !important;
}

.mw-contact-form-intro .mw-section-title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 42px;
	line-height: 1.45;
}

.mw-contact-form-intro__text {
	max-width: 680px;
	margin-top: 24px;
	color: #5d5d5d;
	font-size: 14px;
	line-height: 2;
}

.mw-contact-form-intro__text p {
	margin: 0 0 14px !important;
}

.mw-contact-form-note {
	max-width: 680px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #ddd8ca;
	display: flex;
	gap: 8px;
	align-items: flex-start;
	color: #6a6253;
	font-size: 12px;
	line-height: 1.8;
}

.mw-contact-form-note p {
	margin: 0 !important;
}

.mw-contact-form-note__mark {
	color: var(--mw-gold);
}


/* =========================================================
   CF7 WRAPPER
========================================================= */

.contact-page {
	width: 100%;
	max-width: 900px !important;
	margin: 0 auto !important;
}

.contact-form-section {
	margin: 0;
}

.contact-form-section .wpcf7 {
	width: 100%;
	margin: 0;
}

.contact-form-section .wpcf7-form {
	margin: 0;
}

.contact-form-section .wpcf7-form > p {
	margin: 0 0 32px !important;
}

.contact-form-section label {
	display: block;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	color: #272727;
}

.contact-form-section .wpcf7-form-control-wrap {
	display: block;
	margin-top: 10px;
}


/* =========================================================
   INPUT / TEXTAREA
========================================================= */

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #ddd9cf;
	border-radius: 0;
	outline: none;
	background: #faf9f6;
	box-shadow: none;
	color: #222;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.7;
	transition:
		border-color .2s ease,
		background-color .2s ease;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"] {
	height: 58px;
	padding: 0 18px;
}

.contact-form-section textarea {
	min-height: 220px;
	padding: 16px 18px;
	resize: vertical;
}

.contact-form-section input[type="text"]:focus,
.contact-form-section input[type="email"]:focus,
.contact-form-section input[type="tel"]:focus,
.contact-form-section textarea:focus {
	border-color: var(--mw-gold);
	background: #fff;
}


/* =========================================================
   REQUIRED
========================================================= */

.contact-form-section .required,
.required {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 7px;
	background: var(--mw-gold);
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .05em;
	vertical-align: 1px;
}


/* =========================================================
   RADIO
========================================================= */

.contact-form-section .wpcf7-radio {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
}

.contact-form-section .wpcf7-list-item {
	margin: 0 !important;
}

.contact-form-section .wpcf7-radio .wpcf7-list-item label {
	min-height: 52px;
	padding: 13px 15px;
	border: 1px solid #e2ded4;
	display: flex;
	align-items: center;
	gap: 9px;
	background: #fff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	cursor: pointer;
	transition:
		border-color .2s ease,
		background-color .2s ease;
}

.contact-form-section .wpcf7-radio .wpcf7-list-item label:hover {
	border-color: #c7b27d;
	background: #fdfbf6;
}

.contact-form-section input[type="radio"] {
	width: 16px;
	height: 16px;
	margin: 0;
	flex: 0 0 16px;
	accent-color: var(--mw-gold);
}


/* =========================================================
   ACCEPTANCE
========================================================= */

.contact-form-section .wpcf7-acceptance {
	display: block;
	text-align: center;
}

.contact-form-section .wpcf7-acceptance .wpcf7-list-item {
	display: block;
}

.contact-form-section .wpcf7-acceptance label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	cursor: pointer;
}

.contact-form-section input[type="checkbox"] {
	width: 17px;
	height: 17px;
	margin: 0;
	flex: 0 0 17px;
	accent-color: var(--mw-gold);
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-form-section input[type="submit"],
.contact-form-section .wpcf7-submit {
	display: block;
	width: 100%;
	max-width: 360px;
	height: 64px;
	margin: 48px auto 0 !important;
	padding: 0 36px;
	border: 1px solid var(--mw-gold);
	border-radius: 0;
	background: var(--mw-gold);
	box-shadow: none;
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .12em;
	cursor: pointer;
	transition:
		background-color .25s ease,
		color .25s ease,
		transform .25s ease;
}

.contact-form-section input[type="submit"]:hover,
.contact-form-section .wpcf7-submit:hover {
	background: #fff;
	color: var(--mw-gold);
	transform: translateY(-1px);
}

.contact-form-section .wpcf7-submit:disabled {
	opacity: .55;
	cursor: not-allowed;
	transform: none;
}


/* =========================================================
   CF7 MESSAGES
========================================================= */

.contact-form-section .wpcf7-not-valid-tip {
	margin-top: 7px;
	color: #b24336;
	font-size: 12px;
	line-height: 1.6;
}

.contact-form-section .wpcf7-response-output {
	margin: 30px 0 0 !important;
	padding: 15px 18px !important;
	border-width: 1px !important;
	font-size: 13px;
	line-height: 1.8;
}

.contact-form-section form.invalid .wpcf7-response-output,
.contact-form-section form.unaccepted .wpcf7-response-output,
.contact-form-section form.payment-required .wpcf7-response-output {
	border-color: #c9a44a !important;
}

.contact-form-section form.sent .wpcf7-response-output {
	border-color: #76906e !important;
}


/* =========================================================
   SPINNER
========================================================= */

.contact-form-section .wpcf7-spinner {
	display: block;
	margin: 14px auto 0;
}


/* =========================================================
   THEME RESET
========================================================= */

body.mw-contact-form-page .mw-contact-form-main h1,
body.mw-contact-form-page .mw-contact-form-main h2,
body.mw-contact-form-page .mw-contact-form-main h3,
body.mw-contact-form-page .mw-contact-form-main h4,
body.mw-contact-form-page .mw-contact-form-main h5,
body.mw-contact-form-page .mw-contact-form-main h6 {
	clear: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 780px) {

	.mw-contact-form-hero__inner {
		min-height: 330px;
		padding-top: 54px;
		padding-bottom: 46px;
	}

	.mw-contact-form-hero h1 {
		font-size: 38px !important;
		line-height: 1.3;
	}

	.mw-contact-form-hero__lead {
		margin-top: 20px !important;
		font-size: 13px;
		line-height: 1.9;
	}

	.mw-contact-form-section {
		padding: 70px 0 84px;
	}

	.mw-contact-form-intro {
		max-width: none;
		margin-bottom: 42px;
	}

	.mw-contact-form-intro .mw-section-title {
		font-size: 20px !important;
		line-height: 1.5;
	}

	.mw-contact-form-intro__text {
		max-width: none;
		margin-top: 20px;
		font-size: 13px;
		line-height: 1.9;
	}

	.mw-contact-form-note {
		max-width: none;
		margin-top: 24px;
		padding-top: 16px;
	}

	.contact-page {
		max-width: none !important;
	}

	.contact-form-section .wpcf7-form > p {
		margin-bottom: 27px !important;
	}

	.contact-form-section label {
		font-size: 13px;
	}

	.contact-form-section input[type="text"],
	.contact-form-section input[type="email"],
	.contact-form-section input[type="tel"] {
		height: 54px;
		padding: 0 15px;
	}

	.contact-form-section textarea {
		min-height: 190px;
		padding: 14px 15px;
	}

	.contact-form-section .wpcf7-radio {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.contact-form-section .wpcf7-radio .wpcf7-list-item label {
		min-height: 48px;
		padding: 12px 13px;
	}

	.contact-form-section .wpcf7-acceptance {
		text-align: center;
	}

	.contact-form-section .wpcf7-acceptance .wpcf7-list-item {
		display: inline-block;
	}

	.contact-form-section .wpcf7-acceptance label {
		align-items: center;
		justify-content: center;
		text-align: center;
		font-size: 12px;
	}

	.contact-form-section input[type="submit"],
	.contact-form-section .wpcf7-submit {
		max-width: none;
		height: 58px;
		margin-top: 0 !important;
	}
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

	.mw-contact-form-hero h1 {
		font-size: 34px !important;
	}

	.mw-contact-form-hero__lead {
		font-size: 12px;
	}
}