.contact-bg-layer img {
	pointer-events: none;
}

.contact-content-section {
	position: relative;
	z-index: 1;
	margin-top: 160px;
	padding: 0 0 72px;
}

.contact-shell {
	min-width: 0;
	height: 100%;
}

.contact-left-intro {
	flex: 0 0 auto;
	margin-bottom: 22px;
}

.contact-section-title {
	margin: 0 0 12px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #1f2a37;
}

.contact-section-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.75;
	color: #5f6b7a;
}

.contact-form-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 0;
	padding: clamp(22px, 1.6vw, 28px);
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.contact-form-fields {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.contact-form-fields > .row {
	flex: 1 1 auto;
	align-content: flex-start;
	min-height: 0;
}

.contact-form-fields > .row > .col-12:last-child {
	display: flex;
	min-height: 0;
}

.contact-form-fields > .row > .col-12:last-child .contact-form-group {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.contact-form-group {
	margin-bottom: 0;
}

.contact-label {
	display: block;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 600;
	color: #1f2a37;
}

.contact-label span {
	color: #f28c28;
}

.contact-label.is-hidden {
	display: none;
}

.contact-form-card .contact-form-group,
.contact-form-card .custom-input-box,
.contact-form-card .contact-textarea-box {
	display: block;
	width: 100%;
	max-width: none;
}

.contact-form-card .custom-input-box {
	position: relative;
}

.contact-form-card .custom-input-box .icons {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 15px;
	z-index: 2;
}

.contact-form-card .custom-input-box .form-control,
.contact-form-card textarea.form-control {
	display: block;
	width: 100%;
	max-width: none;
	border: 1px solid #d6dde5;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	font-size: 15px;
	color: #1f2a37;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-card .custom-input-box .form-control {
	height: clamp(50px, 2.8vw, 54px);
	padding-left: 44px;
}

.contact-form-card .contact-textarea-box {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
}

.contact-form-card .contact-textarea-box .icons {
	position: absolute;
	left: 15px;
	top: 18px;
	transform: none;
	z-index: 2;
}

.contact-form-card .contact-textarea-box .form-control {
	flex: 1 1 auto;
	height: auto;
	min-height: clamp(140px, 12vw, 200px);
	padding-top: 14px;
	padding-left: 44px;
	resize: vertical;
}

.contact-form-card .form-control:focus {
	border-color: #f28c28;
	box-shadow: 0 0 0 0.14rem rgba(242, 140, 40, 0.12);
}

.contact-submit-wrap {
	text-align: center;
	margin-top: 16px;
	padding-top: 0;
	flex: 0 0 auto;
}

.contact-submit-btn {
	min-width: 220px;
	height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	font-size: 13px;
	letter-spacing: 0.08em;
	box-shadow: 0 8px 20px rgba(242, 140, 40, 0.18);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.contact-right-block {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
}

.contact-right-block .contact-section-title {
	margin-bottom: 16px;
}

.contact-info-stack {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 16px;
	min-height: 0;
}

.office-info-card,
.service-contact-card {
	background: #fff;
	border: 1px solid #dde3ea;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.office-info-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-height: 0;
}

.office-info-image {
	position: relative;
	overflow: hidden;
	background: #dfe5eb;
}

.office-info-image-compact {
	aspect-ratio: auto;
	flex: 1 1 auto;
	min-height: clamp(185px, 15vw, 250px);
}

.office-info-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.office-info-body {
	padding: 15px 18px 16px;
	flex: 0 0 auto;
	display: block;
}

.office-info-tag {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.office-info-tag-overlay {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: rgba(21, 29, 37, 0.84);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.office-info-address {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #5f6b7a;
}

.service-contact-card {
	padding: 18px;
	margin-top: 0;
	flex: 0 0 auto;
}

.service-contact-card-compact .service-contact-title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: #1f2a37;
}

.service-contact-item.compact {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid #e7edf3;
	border-radius: 8px;
	background: #f8fafc;
	height: 100%;
}

.service-contact-item.compact .service-contact-label {
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #7b8794;
}

.service-contact-link {
	font-size: 15px;
	font-weight: 600;
	color: #f28c28;
	text-decoration: none;
	word-break: break-word;
}

.service-contact-link:hover {
	color: #d97815;
	text-decoration: none;
}

@media (min-width: 992px) {
	.contact-content-section .row.align-items-stretch > [class*="col-"] {
		display: flex;
	}

	.contact-shell,
	.contact-form-card,
	.contact-form-fields,
	.contact-right-block,
	.contact-info-stack {
		height: 100%;
	}
}

@media (max-width: 1399px) {
	.contact-left-intro {
		margin-bottom: 18px;
	}

	.contact-section-title {
		font-size: 28px;
	}

	.contact-section-text {
		font-size: 15px;
		line-height: 1.7;
	}

	.contact-submit-wrap {
		margin-top: 14px;
	}

	.office-info-image-compact {
		min-height: clamp(170px, 14vw, 220px);
	}
}

@media (max-width: 1199px) {
	.contact-content-section {
		padding-bottom: 64px;
	}

	.contact-form-card {
		padding: 22px;
	}

	.contact-form-card .custom-input-box .form-control,
	.contact-submit-btn {
		height: 50px;
	}

	.contact-form-card .custom-input-box .form-control,
	.contact-form-card textarea.form-control,
	.service-contact-link {
		font-size: 14px;
	}

	.contact-form-card .contact-textarea-box .form-control {
		min-height: 136px;
	}

	.office-info-image-compact {
		min-height: 160px;
	}

	.office-info-body {
		padding: 14px 16px 15px;
	}
}

@media (max-width: 991px) {
	.contact-content-section {
		padding-bottom: 56px;
	}

	.contact-shell,
	.contact-form-card,
	.contact-form-fields,
	.contact-right-block,
	.contact-info-stack {
		height: auto;
	}

	.contact-right-block {
		margin-top: 4px;
	}

	.contact-section-title {
		font-size: 28px;
	}

	.contact-form-fields > .row,
	.contact-form-fields > .row > .col-12:last-child,
	.contact-form-fields > .row > .col-12:last-child .contact-form-group,
	.contact-form-card .contact-textarea-box {
		min-height: auto;
	}

	.office-info-card {
		flex: 0 0 auto;
	}

	.office-info-image-compact {
		flex: 0 0 auto;
		min-height: 0;
		height: 220px;
	}

	.contact-form-card .contact-textarea-box .form-control {
		min-height: 180px;
	}
}

@media (max-width: 767px) {
	.contact-content-section {
		margin-top: 160px;
		padding-bottom: 48px;
	}

	.contact-left-intro {
		margin-bottom: 18px;
	}

	.contact-section-title {
		font-size: 25px;
	}

	.contact-section-text {
		font-size: 15px;
		line-height: 1.75;
	}

	.contact-form-card,
	.office-info-card,
	.service-contact-card {
		border-radius: 10px;
	}

	.contact-form-card {
		padding: 18px;
	}

	.contact-form-card .custom-input-box .form-control {
		height: 50px;
		font-size: 14px;
		padding-left: 42px;
	}

	.contact-form-card .contact-textarea-box .form-control {
		min-height: 180px;
		padding-top: 13px;
	}

	.contact-submit-wrap {
		margin-top: 12px;
	}

	.contact-submit-btn {
		width: 100%;
		min-width: 0;
		height: 50px;
	}

	.office-info-image-compact {
		height: 190px;
		min-height: 0;
	}

	.office-info-body,
	.service-contact-card {
		padding: 14px;
	}

	.office-info-tag-overlay {
		top: 10px;
		left: 10px;
		font-size: 10px;
		padding: 5px 8px;
	}

	.office-info-address {
		font-size: 14px;
		line-height: 1.65;
	}

	.service-contact-card-compact .service-contact-title {
		font-size: 20px;
		margin-bottom: 10px;
	}

	.service-contact-item.compact {
		padding: 12px 14px;
	}
}

@media (max-width: 575px) {
	.contact-content-section {
		margin-top: 160px;
		padding-bottom: 42px;
	}

	.office-info-image-compact {
		height: 170px;
		min-height: 0;
	}
}
