/* Contact page */
.contact-page .section-contact {
	padding-top: 36px;
	padding-bottom: 28px;
}

.contact-form-section {
	max-width: 860px;
}

.contact-intro {
	margin: 0 0 22px;
	max-width: none;
	color: var(--hh-subtext);
	font-size: 15px;
	line-height: 1.7;
	white-space: nowrap;
}

.contact-form-wrap {
	background: #fff;
	border: 1px solid var(--hh-border);
	box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
	padding: 28px 28px 22px;
	--hh-cf7-stack-gap: 14px;
}

.contact-form-wrap .hh-cf7-fields > .hh-cf7-form-footer {
	margin-top: 0;
}

.contact-form-wrap .hh-cf7-fields > p:empty {
	display: none;
	margin: 0 !important;
	padding: 0 !important;
}

.form-placeholder {
	background: white;
	border: 1px dashed rgba(15, 23, 42, 0.25);
	border-radius: var(--hh-radius);
	padding: 18px;
}

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

.contact-form-wrap .hh-cf7-field {
	margin: 0 0 18px;
}

.contact-form-wrap .hh-cf7-field:not(.hh-cf7-checkbox) > label {
	display: block;
	font-weight: 700;
	color: var(--hh-text);
	font-size: 14px;
	line-height: 1.5;
}

.contact-form-wrap .required {
	color: #c2410c;
	font-size: 12px;
	font-weight: 700;
}

.contact-form-wrap .optional {
	color: var(--hh-subtext);
	font-size: 12px;
	font-weight: 600;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
	width: 100%;
	margin-top: 8px;
	border: 1px solid rgba(15, 23, 42, 0.18);
	border-radius: 0;
	padding: 11px 12px;
	font: inherit;
	color: var(--hh-text);
	background: #fff;
	box-sizing: border-box;
}

.contact-form-wrap textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
	color: rgba(15, 23, 42, 0.42);
}

.contact-form-wrap .hh-cf7-field.hh-cf7-field--message {
	margin: 0 !important;
}

.contact-form-wrap .hh-cf7-field.hh-cf7-field--message > label {
	margin: 0;
}

.contact-form-wrap .hh-cf7-field.hh-cf7-field--message textarea {
	margin-bottom: 0;
}

.contact-form-wrap .hh-cf7-form-footer {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: var(--hh-cf7-stack-gap);
	margin: 0;
	padding: 0;
}

.contact-form-wrap .hh-cf7-form-footer > p {
	margin: 0 !important;
	padding: 0 !important;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-field,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-submit {
	margin: 0 !important;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox {
	display: flex;
	align-items: center;
	min-height: 22px;
	margin: 0 !important;
	padding: 0;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-form-control-wrap,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-form-control,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	margin: 0 !important;
	padding: 0;
	gap: 8px;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item {
	flex: 0 0 auto;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item-label {
	display: inline;
	margin: 0;
	padding: 0;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item-label::before,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item-label::after {
	content: none !important;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item-label,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item-label a,
.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .hh-cf7-required-tag {
	font-family: inherit;
	font-size: 14px !important;
	font-weight: 400 !important;
	font-style: normal;
	line-height: 22px !important;
	letter-spacing: 0;
	color: var(--hh-text) !important;
	-webkit-font-smoothing: antialiased;
	font-synthesis: none;
	vertical-align: baseline;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .wpcf7-list-item-label a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox .hh-cf7-required-tag {
	color: #c2410c !important;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	min-height: 16px !important;
	margin: 0 !important;
	padding: 0;
	border: 1.5px solid #64748b;
	border-radius: 2px;
	background: #fff;
	flex: 0 0 16px;
	cursor: pointer;
}

.contact-form-wrap .hh-cf7-form-footer .hh-cf7-checkbox input[type="checkbox"]:checked {
	background-color: #0b7fb2;
	border-color: #0b7fb2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 9px;
}

.contact-form-wrap .hh-cf7-form-footer .wpcf7-acceptance.optional {
	opacity: 1;
}

.contact-form-wrap .hh-cf7-submit {
	margin: 0;
	padding: 0;
}

.contact-form-wrap input[type="submit"] {
	background: #0b7fb2;
	border: 0;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	padding: 12px 28px;
	cursor: pointer;
	border-radius: 0;
	transition: background 0.2s ease;
}

.contact-form-wrap input[type="submit"]:hover {
	background: #086a94;
}

.contact-form-wrap .wpcf7-not-valid-tip {
	color: #b91c1c;
	font-size: 12px;
	margin-top: 6px;
}

.contact-form-wrap .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 14px 16px;
	border-radius: 0;
	font-size: 14px;
	line-height: 1.6;
}

.contact-form-wrap .wpcf7 form.sent .wpcf7-response-output {
	border-color: #0b7fb2;
	background: rgba(11, 127, 178, 0.08);
	color: var(--hh-text);
}

.contact-form-wrap .hh-cf7-success-title {
	display: block;
	font-size: 18px;
	margin-bottom: 6px;
	color: var(--hh-text);
}

.contact-form-wrap .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-wrap .wpcf7 form.failed .wpcf7-response-output {
	border-color: #b91c1c;
	background: rgba(185, 28, 28, 0.06);
}

.section-contact-office {
	padding-top: 10px;
	padding-bottom: 48px;
}

.contact-office-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 24px;
	align-items: stretch;
}

.contact-office-info {
	padding: 8px 0;
}

.contact-office-address-label {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--hh-text);
}

.contact-office-address-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-office-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	color: #e11d48;
}

.contact-office-pin svg {
	width: 32px;
	height: 32px;
}

.contact-office-address-link {
	flex: 1;
	min-width: 0;
	display: block;
	color: var(--hh-text);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.65;
	text-decoration: none;
}

.contact-office-address-link-line {
	display: block;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.contact-office-address-link-line + .contact-office-address-link-line {
	margin-top: 6px;
}

.contact-office-address-link:hover,
.contact-office-address-link:hover .contact-office-address-link-line {
	color: #0b7fb2;
}

.contact-office-map {
	min-height: 360px;
	background: #e2e8f0;
	border: 1px solid var(--hh-border);
	overflow: hidden;
}

.contact-office-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	border: 0;
}

@media (max-width: 768px) {
	.contact-intro {
		white-space: normal;
	}

	.contact-form-wrap {
		padding: 20px 16px 16px;
	}

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

	.contact-office-map,
	.contact-office-map iframe {
		min-height: 280px;
	}
}
