.contact-page {
	background: #fff;
}

.contact-hero {
	min-height: 430px;
	display: flex;
	position: relative;
	align-items: center;
	overflow: hidden;
	padding: 140px 0 80px;
	background:
		linear-gradient(112deg, rgba(3, 33, 33, .97), rgba(6, 50, 50, .87)),
		url("https://dev.orbitwebx.com/wp-content/uploads/2026/04/FHA-Mortgage-Loans-in-Dallas-TX-for-Affordable-Home-Financing.webp") center/cover;
	color: #fff;
}

.contact-hero::before,
.contact-hero::after {
	position: absolute;
	border-radius: 50%;
	content: "";
}

.contact-hero::before {
	width: 470px;
	height: 470px;
	right: -140px;
	bottom: -280px;
	border: 1px solid rgba(216, 239, 182, .2);
}

.contact-hero::after {
	width: 285px;
	height: 285px;
	right: 120px;
	bottom: -170px;
	border: 55px solid rgba(251, 177, 47, .1);
}

.contact-hero-content {
	max-width: 920px;
	position: relative;
	z-index: 1;
}

.contact-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 15px;
	color: #ffc456;
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.contact-hero-kicker::before {
	width: 30px;
	height: 2px;
	background: #fbb12f;
	content: "";
}

.contact-hero h1 {
	margin: 0 0 23px;
	color: #fff;
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -.035em;
}

.contact-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	color: rgba(255, 255, 255, .7);
	font-size: .92rem;
}

.contact-breadcrumb a {
	color: #fff;
	font-weight: 700;
}

.contact-main-section {
	padding: 100px 0 110px;
	background:
		radial-gradient(circle at 92% 8%, rgba(216, 239, 182, .35), transparent 25%),
		linear-gradient(180deg, #fff 0, #f5f9f8 100%);
}

.contact-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
	align-items: stretch;
	gap: 36px;
}

.contact-profile-column {
	display: contents;
}

.contact-profile-card {
	grid-column: 1;
	grid-row: 1;
	display: grid;
	grid-template-columns: 1fr;
	overflow: hidden;
	border: 1px solid rgba(6, 50, 50, .08);
	border-radius: 24px;
	background: #063232;
	color: #fff;
	box-shadow: 0 22px 52px rgba(3, 33, 33, .15);
}

.contact-profile-image {
	min-height: 440px;
	position: relative;
	overflow: hidden;
	background: #d8efb6;
}

.contact-profile-image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgba(3, 33, 33, .68));
	content: "";
}

.contact-profile-image img {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	object-fit: cover;
	object-position: center top;
}

.contact-availability {
	display: inline-flex;
	position: absolute;
	bottom: 20px;
	left: 20px;
	z-index: 1;
	align-items: center;
	gap: 8px;
	padding: 8px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: #063232;
	font-size: .7rem;
	font-weight: 800;
}

.contact-availability i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #55a630;
	box-shadow: 0 0 0 4px rgba(85, 166, 48, .16);
}

.contact-profile-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 38px 36px 42px;
}

.contact-profile-content .section-kicker {
	color: #ffc456;
}

.contact-profile-content h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 2.35rem;
	font-weight: 700;
}

.contact-role {
	margin: 0 0 30px;
	color: #d8efb6;
	font-size: .85rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.contact-methods {
	display: grid;
	gap: 11px;
}

.contact-methods a {
	display: grid;
	grid-template-columns: 42px 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 12px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	background: rgba(255, 255, 255, .05);
}

.contact-methods a:hover {
	border-color: rgba(251, 177, 47, .7);
	background: rgba(251, 177, 47, .1);
}

.contact-methods a > span {
	width: 42px;
	height: 42px;
	display: grid;
	grid-row: 1 / 3;
	place-items: center;
	border-radius: 10px;
	background: #fbb12f;
	color: #063232;
}

.contact-methods small {
	align-self: end;
	color: rgba(255, 255, 255, .58);
	font-size: .65rem;
	font-weight: 700;
	text-transform: uppercase;
}

.contact-methods strong {
	align-self: start;
	color: #fff;
	font-size: .9rem;
	line-height: 1.35;
}

.contact-email-method strong {
	overflow-wrap: anywhere;
}

.contact-biography {
	grid-column: 1 / -1;
	grid-row: 2;
	column-count: 2;
	column-gap: 54px;
	margin-top: 8px;
	padding: 42px 46px;
	border: 1px solid rgba(6, 50, 50, .09);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(3, 33, 33, .075);
}

.contact-biography p {
	break-inside: avoid;
	margin-bottom: 17px;
	font-size: .98rem;
	line-height: 1.8;
}

.contact-biography p:last-child {
	margin-bottom: 0;
}

.contact-biography a {
	color: #d98800;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.contact-biography strong {
	color: #063232;
}

.contact-form-card {
	grid-column: 2;
	grid-row: 1;
	position: relative;
	padding: clamp(34px, 3.2vw, 48px);
	border: 1px solid rgba(6, 50, 50, .1);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 22px 52px rgba(3, 33, 33, .105);
}

.contact-form-heading {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 16px;
}

.contact-form-icon {
	display: none;
}

.contact-form-heading .section-kicker {
	margin-bottom: 5px;
}

.contact-form-heading h2 {
	margin: 0;
	font-size: clamp(2rem, 3vw, 2.55rem);
	font-weight: 650;
	line-height: 1.12;
}

.contact-form-intro {
	max-width: 570px;
	margin-bottom: 30px;
	line-height: 1.7;
}

.contact-form-placeholder {
	display: grid;
	min-height: 310px;
	place-items: center;
	align-content: center;
	padding: 36px;
	border: 2px dashed #dceaea;
	border-radius: 16px;
	background: #f5f7f7;
	color: #789194;
	text-align: center;
}

.contact-form-placeholder > i {
	margin-bottom: 15px;
	color: #f59e0b;
	font-size: 2rem;
}

.contact-form-placeholder strong {
	margin-bottom: 6px;
	color: #063232;
	font-size: 1.05rem;
}

.contact-form-placeholder p {
	max-width: 300px;
	margin: 0;
	font-size: .86rem;
	line-height: 1.6;
}

.contact-form-card .wpcf7-form {
	display: block;
}

.contact-form-card .wpcf7-form p {
	margin: 0;
}

.contact-cf7-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.contact-cf7-field {
	display: block;
	position: relative;
}

.contact-form-card .wpcf7-form-control-wrap {
	display: block;
}

.contact-form-card input:not([type="submit"], [type="checkbox"], [type="radio"]),
.contact-form-card select,
.contact-form-card textarea {
	width: 100%;
	min-height: 58px;
	padding: 13px 20px;
	border: 1px solid #d2dfdd;
	border-radius: 999px;
	outline: 0;
	background: #fff;
	color: #063232;
	font-family: var(--font-primary);
	font-size: 15px;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-cf7-field.has-icon input {
	padding-left: 52px;
}

.contact-cf7-icon {
	width: 18px;
	height: 18px;
	display: grid;
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 2;
	place-items: center;
	color: #f3a51f;
	font-size: 15px;
	pointer-events: none;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
	color: #9aadaf;
	opacity: 1;
}

.contact-form-card select {
	appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #547173 50%),
		linear-gradient(135deg, #547173 50%, transparent 50%);
	background-position:
		calc(100% - 20px) 26px,
		calc(100% - 15px) 26px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.contact-form-card textarea {
	height: 180px;
	min-height: 170px;
	padding: 18px 20px;
	border-radius: 26px;
	resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
	border-color: #fbb12f;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(251, 177, 47, .13);
}

.contact-cf7-message,
.contact-cf7-consent,
.contact-cf7-submit {
	grid-column: 1 / -1;
}

.contact-cf7-consent {
	margin-top: 2px;
}

.contact-cf7-consent .wpcf7-list-item {
	margin: 0;
}

.contact-cf7-consent label {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	color: #587476;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
}

.contact-cf7-consent input[type="checkbox"] {
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
	margin: 2px 0 0;
	accent-color: #063232;
}

.contact-cf7-submit {
	position: relative;
	width: max-content;
	margin-top: 4px;
}

.contact-form-card input[type="submit"] {
	min-width: 245px;
	min-height: 56px;
	padding: 14px 55px 14px 28px;
	border: 0;
	border-radius: 999px;
	background: #063232;
	color: #fff;
	font-family: var(--font-primary);
	font-size: 15px;
	font-weight: 800;
	box-shadow: 0 12px 26px rgba(6, 50, 50, .18);
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-cf7-submit::after {
	position: absolute;
	top: 50%;
	right: 25px;
	color: #fff;
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	transform: translateY(-50%);
	pointer-events: none;
	transition: transform .2s ease;
}

.contact-form-card input[type="submit"]:hover {
	background: #0b4948;
	box-shadow: 0 15px 30px rgba(6, 50, 50, .23);
	transform: translateY(-1px);
}

.contact-cf7-submit:hover::after {
	transform: translate(3px, -50%);
}

.contact-form-card .wpcf7-not-valid-tip {
	margin-top: 5px;
	font-size: .75rem;
}

.contact-form-card .wpcf7-response-output {
	margin: 8px 0 0 !important;
	padding: 10px 13px !important;
	border-radius: 8px;
	font-size: .82rem;
}

.contact-privacy-note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #dceaea;
	color: #789194;
	font-size: .75rem;
	line-height: 1.5;
}

.contact-privacy-note i {
	margin-top: 3px;
	color: #f59e0b;
}

.contact-map-section {
	background: #063232;
}

.contact-map-heading {
	padding: 70px 0 45px;
	text-align: center;
}

.contact-map-heading .section-kicker {
	color: #ffc456;
}

.contact-map-heading h2 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(2.1rem, 4vw, 3.35rem);
	font-weight: 700;
}

.contact-map-heading > .container > p:last-child {
	margin: 0;
	color: #d8efb6;
}

.contact-map-frame {
	width: 100%;
	height: 500px;
	overflow: hidden;
	border-top: 5px solid #fbb12f;
}

.contact-map-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: saturate(.75) contrast(1.05);
}

.contact-page .fade-up {
	opacity: 1;
	transform: none;
	transition: box-shadow .25s ease, border-color .25s ease;
}

.contact-page .fade-up.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1100px) {
	.contact-main-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.contact-profile-card,
	.contact-form-card,
	.contact-biography {
		grid-column: 1;
	}

	.contact-profile-card {
		grid-row: 1;
	}

	.contact-form-card {
		grid-row: 2;
		position: static;
	}

	.contact-biography {
		grid-row: 3;
	}
}

@media (max-width: 767px) {
	.contact-hero {
		min-height: 350px;
		padding: 120px 0 62px;
	}

	.contact-hero h1 {
		font-size: 2.7rem;
	}

	.contact-main-section {
		padding: 70px 0 80px;
	}

	.contact-profile-card {
		grid-template-columns: 1fr;
	}

	.contact-profile-image {
		min-height: 430px;
	}

	.contact-profile-content {
		padding: 30px 24px;
	}

	.contact-profile-content h2 {
		font-size: 2rem;
	}

	.contact-biography,
	.contact-form-card {
		padding: 28px 24px;
	}

	.contact-biography {
		column-count: 1;
		margin-top: 0;
	}

	.contact-cf7-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.contact-cf7-message,
	.contact-cf7-consent,
	.contact-cf7-submit {
		grid-column: auto;
	}

	.contact-cf7-submit,
	.contact-form-card input[type="submit"] {
		width: 100%;
	}

	.contact-form-heading {
		align-items: flex-start;
	}

	.contact-form-heading h2 {
		font-size: 1.7rem;
	}

	.contact-map-heading {
		padding: 55px 0 36px;
	}

	.contact-map-frame {
		height: 390px;
	}
}

@media (max-width: 420px) {
	.contact-hero h1 {
		font-size: 2.35rem;
	}

	.contact-profile-image {
		min-height: 370px;
	}

	.contact-email-method strong {
		font-size: .78rem;
	}

	.contact-form-icon {
		width: 50px;
		height: 50px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-page .fade-up {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
