/**
 * schedule_a_consultation_section.css — dark green form section.
 *
 * Scoped to so other templates are unaffected.
 */

.ncm-schedule {
	padding: clamp(3.750rem, calc(-0.536rem + 8.929vw), 7.500rem) 0;
	background: var(--clr-bg-dark);
	color: #E9DDCE;
}

.ncm-schedule__inner {
	display: flex;
	flex-direction: column;
	gap: 50px;
	max-width: 920px;
}

.ncm-schedule__title {
	font-family: var(--ff-display);
	font-weight: 400;
	font-size: 48px;
	line-height: 60px;
	letter-spacing: -0.02em;
	color: #EBE3D6;
	text-align: center;
	margin: 0;
}

.ncm-schedule__title span {
	font-family: 'Marcellus', serif;
    font-weight: inherit;
    font-size: 0.92em;
    display: inline-block;
}

.ncm-schedule__form {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ncm-schedule__row {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ncm-schedule__row--two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.ncm-schedule__row--submit {
	align-items: center;
}

.ncm-schedule__field {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ncm-schedule__label {
	font-family: var(--ff-primary);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #E9DDCE;
}

.ncm-schedule__input,
.ncm-schedule__textarea {
	background: #E9DDCE;
	border: 0;
	border-radius: 5px;
	padding: 17px 22px;
	font-family: var(--ff-primary);
	font-size: 16px;
	line-height: 22px;
	color: var(--clr-text);
	width: 100%;
	box-sizing: border-box;
	outline: none;
}

.ncm-schedule__input {
	height: 56px;
}

.ncm-schedule__textarea {
	min-height: 220px;
	resize: vertical;
	font-family: var(--ff-primary);
}

.ncm-schedule__input:focus,
.ncm-schedule__textarea:focus {
	box-shadow: 0 0 0 2px rgba(233, 221, 206, 0.6);
}

/* Custom checkbox + description row */
.ncm-schedule__check {
	display: flex;
	align-items: flex-start;
	gap: 17px;
	cursor: pointer;
}

.ncm-schedule__check input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ncm-schedule__check-box {
	flex: 0 0 auto;
	width: 25px;
	height: 25px;
	margin-top: 2px;
	border-radius: 4px;
	background: #E9DDCE;
	display: inline-block;
	position: relative;
}

.ncm-schedule__check input[type="checkbox"]:checked+.ncm-schedule__check-box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 8px;
	height: 14px;
	border: solid var(--clr-bg-dark);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.ncm-schedule__check input[type="checkbox"]:focus-visible+.ncm-schedule__check-box {
	outline: 2px solid #E9DDCE;
	outline-offset: 2px;
}

.ncm-schedule__check-text {
	font-family: var(--ff-primary);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	color: #E9DDCE;
}

.ncm-schedule__check-text p {
	margin: 0;
}

.ncm-schedule__check-text p+p {
	margin-top: 8px;
}

.ncm-schedule__submit {
	background: #E9DDCE;
	color: var(--clr-text);
	border: 0;
	border-radius: 4px;
	padding: 14px 32px;
	font-family: var(--ff-primary);
	font-weight: 700;
	font-size: 18px;
	line-height: 22px;
	cursor: pointer;
	min-width: 200px;
	transition: background-color 0.2s, transform 0.2s;
}

.ncm-schedule__submit:hover,
.ncm-schedule__submit:focus {
	background: var(--clr-bg-warm);
	transform: translateY(-1px);
}


.ncm-section .ncm-schedule__form input,
.ncm-section .ncm-schedule__form textarea {
	background: #E9DDCE !important;
	border-radius: 5px;
}

.ncm-section .ncm-schedule__form input:not([type="checkbox"]),
.ncm-section .ncm-schedule__form textarea {
	height: 50px;
	padding-top: 17px;
	padding-right: 10px;
	padding-bottom: 17px;
	padding-left: 22px;
}

.ncm-section .ncm-schedule__form .gfield_label,
.ncm-section .ncm-schedule__form label.gform-field-label.gform-field-label--type-sub {
	color: #E9DDCE;
	font-family: var(--ff-primary);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 20%;
	text-transform: uppercase;
	gap: 0px;
	margin-bottom: 15px;
}

.ncm-section .ncm-schedule__form label.gform-field-label.gform-field-label--type-inline.gfield_consent_label {
	font-family: var(--ff-primary);
	font-weight: 400;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0%;
	color: #E9DDCE;
}

.ncm-section .ncm-schedule__form span.gfield_required {
	color: #E9DDCE;
	letter-spacing: 10%;
	margin-left: 0px !important;
}

.ncm-section .ncm-schedule__form p.gform_required_legend {
	display: none;
}

.gform-theme--api,
.ncm-section .ncm-schedule__form .gform-theme--foundation,
.ncm-section .ncm-schedule__form .gform-theme--foundation .gform_fields,
.ncm-section .ncm-schedule__form .gform-theme--foundation .gform-grid-row {
	column-gap: 20px;
	row-gap: 30px;
}

.ncm-section .ncm-schedule__form .gform-theme--foundation .gform-grid-row {
	margin: 0px;
}

.ncm-section .ncm-schedule__form .gform-theme--foundation .gform-grid-col {
	padding: 0px;
}

.ncm-schedule .gform_wrapper {
	--gf-ctrl-choice-check-color: #2d4034;
	--gf-ctrl-choice-color: #e6d8c8;
	--gf-ctrl-choice-border-color: #e6d8c8;
	--gf-ctrl-choice-bg-color: #e6d8c8;
	--gf-local-border-color: #e6c2b3;
	--gf-ctrl-focus-color: #e6c2b3;
	--gf-local-outline-color: #e6c2b3;
	--gf-ctrl-focus-shadow: 0 0 0 2px rgba(230, 194, 179, 0.35);
}

.ncm-schedule .gform_wrapper input[type="checkbox"]:focus,
.ncm-schedule .gform_wrapper input[type="radio"]:focus {
	outline: 2px solid #e6c2b3 !important;
	border-color: #e6c2b3;
}

.ncm-schedule .gform_wrapper input[type="checkbox"]:focus-visible,
.ncm-schedule .gform_wrapper input[type="radio"]:focus-visible {
	outline: 2px solid #e6c2b3 !important;
	outline-offset: 3px !important;
	box-shadow: 0 0 0 4px rgba(230, 194, 179, 0.25) !important;
}

.ncm-schedule .gform_wrapper input[type="checkbox"]:focus,
.ncm-schedule .gform_wrapper input[type="radio"]:focus {
	outline: 2px solid #e6c2b3 !important;
	border-color: #e6c2b3;
}

.ncm-section .ncm-schedule__form .gform_wrapper .validation_message,
.ncm-section .ncm-schedule__form .gform-theme--framework .gform_validation_errors .gform_submission_error,
.ncm-section .ncm-schedule__form .gform-theme--framework .gform_validation_errors .gform-icon {
	color: #D8B4A0;
	border-color: #D8B4A0;
}

.ncm-section .ncm-schedule__form .gform-footer input#gform_submit_button_1:focus {
	outline-color: #E9DDCE;
}

.ncm-section .ncm-schedule__form .gform-theme--framework .gform-loader {
	border-inline-start-color: #E9DDCE;
	border-block-end-color: #E9DDCE;
}

.ncm-section .ncm-schedule__form .gform_validation_errors {
	border-color: #D8B4A0;
}

.ncm-section .ncm-schedule__form .gform-footer input#gform_submit_button_1 {
	background: #E9DDCE;
	border-radius: 4px;
	padding-top: 14px;
	padding-right: 22px;
	padding-bottom: 14px;
	padding-left: 22px;
	font-family: var(--ff-primary);
	font-weight: 700;
	font-size: 18px;
	line-height: 22px;
	letter-spacing: 0%;
	text-align: center;
	color: #2F3E34 !important;
	display: block;
	margin: 0 auto;
	width: 34%;
    transition: all 0.3s;
}

.ncm-section .ncm-schedule__form .gform-footer input#gform_submit_button_1:hover {
	opacity: 0.8 !important;
}

@media (max-width: 1024px) {
	.ncm-schedule__inner {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.ncm-schedule__title {
		font-size: 32px;
		line-height: 40px;
	}

	.ncm-schedule__row--two {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ncm-schedule__textarea {
		min-height: 160px;
	}

	.ncm-schedule__submit {
		width: 100%;
	}
}