/*
 * Jager Contact / Request final presentation.
 *
 * The page stays navy while the working form is a calm light industrial panel.
 * All rules are scoped to Contact/Request so CF7, WPML and WordPress-managed
 * content remain the source of truth.
 */

body.jager-phase2-page.jager-p2-type-contact,
body.jager-phase2-page.jager-p2-type-request,
body.jager-phase2-page.jager-p2-type-contact .jp2-page,
body.jager-phase2-page.jager-p2-type-request .jp2-page {
	background: var(--jhr-navy-deep) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact,
body.jager-phase2-page.jager-p2-type-request .jp2-request {
	min-height: 100svh;
	padding-top: 120px !important;
	padding-bottom: 80px !important;
	background: var(--jhr-navy-deep) !important;
	color: #fff;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact__grid {
	grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
	gap: 74px !important;
	align-items: start !important;
}

body.jager-phase2-page.jager-p2-type-request .jp2-request > .jp2-container {
	display: grid !important;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) !important;
	align-items: start !important;
	gap: 74px !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact__intro h1,
body.jager-phase2-page.jager-p2-type-request .jp2-request__intro h1,
body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list strong {
	color: #fff !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-eyebrow,
body.jager-phase2-page.jager-p2-type-request .jp2-eyebrow {
	color: var(--jhr-orange) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact__intro > p:not(.jp2-eyebrow):not(.jp2-hours),
body.jager-phase2-page.jager-p2-type-request .jp2-request__intro > p:not(.jp2-eyebrow),
body.jager-phase2-page.jager-p2-type-contact .jp2-hours {
	color: rgba(255, 255, 255, 0.68) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list a {
	border-bottom-color: rgba(255, 255, 255, 0.14) !important;
	color: #fff !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list small {
	color: rgba(255, 255, 255, 0.55) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list a::before {
	filter: brightness(0) saturate(100%) invert(68%) sepia(97%) saturate(1765%) hue-rotate(345deg) brightness(104%) contrast(102%);
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list a::after {
	color: rgba(255, 255, 255, 0.46) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-contact-list a:hover::after {
	color: var(--jhr-orange) !important;
}

/* -------------------------------------------------------------------------
   Light form panel
   ------------------------------------------------------------------------- */

body.jager-phase2-page.jager-p2-type-contact .jp2-form,
body.jager-phase2-page.jager-p2-type-request .jp2-form {
	padding: 36px !important;
	border: 0 !important;
	border-top: 3px solid var(--jhr-orange) !important;
	border-radius: 0 !important;
	background: #e8edf3 !important;
	box-shadow: none !important;
	color: var(--jhr-text) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form h2,
body.jager-phase2-page.jager-p2-type-request .jp2-form h2 {
	color: var(--jhr-navy) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form > p,
body.jager-phase2-page.jager-p2-type-request .jp2-form > p {
	margin-top: 9px !important;
	color: rgba(23, 35, 61, 0.66) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7 {
	margin-top: 30px !important;
}

/*
 * CF7 output differs slightly between Contact and Request. Do not rely on one
 * parent gap: give every actual row/block its own bottom rhythm instead.
 */
body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form > p,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form > p {
	margin: 0 0 28px !important;
	padding: 0 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form > p:empty,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form > p:empty,
body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form > br,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form > br {
	display: none !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-row,
body.jager-phase2-page.jager-p2-type-request .jp2-form .form-row {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	column-gap: 20px !important;
	row-gap: 24px !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
	align-items: start !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-group,
body.jager-phase2-page.jager-p2-type-request .jp2-form .form-group {
	display: flex !important;
	flex-direction: column !important;
	gap: 9px !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form > .form-group,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form > .form-group {
	margin-bottom: 28px !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-row + .form-group,
body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-row + p,
body.jager-phase2-page.jager-p2-type-request .jp2-form .form-row + .form-group,
body.jager-phase2-page.jager-p2-type-request .jp2-form .form-row + p {
	margin-top: 2px !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form label,
body.jager-phase2-page.jager-p2-type-request .jp2-form label {
	display: block !important;
	position: relative;
	z-index: 1;
	margin: 0 0 9px !important;
	padding: 0 !important;
	color: var(--jhr-navy) !important;
	line-height: 1.25 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-group > label,
body.jager-phase2-page.jager-p2-type-request .jp2-form .form-group > label {
	margin-bottom: 0 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form-control-wrap,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form-control-wrap {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Text-like controls only. Checkbox/file/button types are reset separately. */
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="text"],
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="email"],
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="tel"],
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="url"],
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="number"],
body.jager-phase2-page.jager-p2-type-contact .jp2-form textarea,
body.jager-phase2-page.jager-p2-type-contact .jp2-form select,
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="text"],
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="email"],
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="tel"],
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="url"],
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="number"],
body.jager-phase2-page.jager-p2-type-request .jp2-form textarea,
body.jager-phase2-page.jager-p2-type-request .jp2-form select {
	display: block !important;
	width: 100% !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 13px 14px !important;
	border: 1px solid rgba(6, 37, 111, 0.2) !important;
	border-radius: 0 !important;
	outline: 0 !important;
	background: #f7f9fb !important;
	box-shadow: none !important;
	color: var(--jhr-text) !important;
	font: inherit !important;
	line-height: 1.45 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form textarea,
body.jager-phase2-page.jager-p2-type-request .jp2-form textarea {
	min-height: 150px !important;
	resize: vertical;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form input::placeholder,
body.jager-phase2-page.jager-p2-type-contact .jp2-form textarea::placeholder,
body.jager-phase2-page.jager-p2-type-request .jp2-form input::placeholder,
body.jager-phase2-page.jager-p2-type-request .jp2-form textarea::placeholder {
	color: rgba(23, 35, 61, 0.47) !important;
	opacity: 1;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="text"]:focus,
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="email"]:focus,
body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="tel"]:focus,
body.jager-phase2-page.jager-p2-type-contact .jp2-form textarea:focus,
body.jager-phase2-page.jager-p2-type-contact .jp2-form select:focus,
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="text"]:focus,
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="email"]:focus,
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="tel"]:focus,
body.jager-phase2-page.jager-p2-type-request .jp2-form textarea:focus,
body.jager-phase2-page.jager-p2-type-request .jp2-form select:focus {
	border-color: var(--jhr-orange) !important;
	outline: 0 !important;
	background: #fff !important;
	box-shadow: inset 4px 0 0 var(--jhr-orange) !important;
}

/* Request Form special controls. Prevent generic text-input styles from turning
 * checkboxes and upload controls into large empty boxes. */
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="checkbox"],
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="radio"] {
	display: inline-block !important;
	width: 18px !important;
	height: 18px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(6, 37, 111, 0.35) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	vertical-align: middle;
}

body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-list-item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 14px 8px 0 !important;
}

body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="file"] {
	display: block !important;
	width: 100% !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	border: 1px solid rgba(6, 37, 111, 0.2) !important;
	border-radius: 0 !important;
	background: #f7f9fb !important;
	box-shadow: none !important;
	color: var(--jhr-text) !important;
}

body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 11px;
	border: 1px solid rgba(6, 37, 111, 0.24);
	border-radius: 0;
	background: #fff;
	color: var(--jhr-navy);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="button"],
body.jager-phase2-page.jager-p2-type-request .jp2-form button:not([type="submit"]) {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 10px 14px !important;
	border: 1px solid var(--jhr-navy) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--jhr-navy) !important;
	font: inherit !important;
	font-weight: 750 !important;
	cursor: pointer;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-not-valid-tip,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-not-valid-tip {
	margin-top: 7px !important;
	color: #a43b23 !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-response-output,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-response-output {
	margin: 0 !important;
	border-color: rgba(6, 37, 111, 0.25) !important;
	color: var(--jhr-text) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="submit"],
body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-submit,
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="submit"],
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-submit {
	min-height: 48px !important;
	margin: 0 !important;
	padding: 13px 24px !important;
	border: 1px solid var(--jhr-orange) !important;
	border-radius: 0 !important;
	background: var(--jhr-orange) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-weight: 750 !important;
	cursor: pointer;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="submit"]:hover,
body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-submit:hover,
body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="submit"]:hover,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-submit:hover {
	border-color: var(--jhr-navy) !important;
	background: var(--jhr-navy) !important;
}

body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-spinner,
body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-spinner {
	margin: 0 0 0 12px !important;
}

@media (max-width: 900px) {
	body.jager-phase2-page.jager-p2-type-contact .jp2-contact,
	body.jager-phase2-page.jager-p2-type-request .jp2-request {
		padding-top: 100px !important;
		padding-bottom: 66px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-contact__grid,
	body.jager-phase2-page.jager-p2-type-request .jp2-request > .jp2-container {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 48px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-row,
	body.jager-phase2-page.jager-p2-type-request .jp2-form .form-row {
		grid-template-columns: minmax(0, 1fr) !important;
		row-gap: 26px !important;
		margin-bottom: 28px !important;
	}
}

@media (max-width: 640px) {
	body.jager-phase2-page.jager-p2-type-contact .jp2-contact,
	body.jager-phase2-page.jager-p2-type-request .jp2-request {
		padding-top: 88px !important;
		padding-bottom: 54px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-contact__grid,
	body.jager-phase2-page.jager-p2-type-request .jp2-request > .jp2-container {
		gap: 40px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-form,
	body.jager-phase2-page.jager-p2-type-request .jp2-form {
		padding: 24px 18px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-form .form-row,
	body.jager-phase2-page.jager-p2-type-request .jp2-form .form-row {
		row-gap: 26px !important;
		margin-bottom: 30px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form > .form-group,
	body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form > .form-group,
	body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-form > p,
	body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-form > p {
		margin-bottom: 30px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-form textarea,
	body.jager-phase2-page.jager-p2-type-request .jp2-form textarea {
		min-height: 138px !important;
	}

	body.jager-phase2-page.jager-p2-type-contact .jp2-form input[type="submit"],
	body.jager-phase2-page.jager-p2-type-contact .jp2-form .wpcf7-submit,
	body.jager-phase2-page.jager-p2-type-request .jp2-form input[type="submit"],
	body.jager-phase2-page.jager-p2-type-request .jp2-form .wpcf7-submit {
		width: 100% !important;
	}
}
