/* Contact page */

.contact-page .site-main {
	background: var(--background);
	padding-bottom: var(--footer-gap);
}

/* Hero */

.contact-page .contact-hero {
	padding: 40px 0 24px;
	background: var(--background);
	overflow-x: clip;
}

.contact-page .contact-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px 36px;
	align-items: stretch;
}

.contact-page .contact-hero__badge {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: #EDF2F7;
	color: var(--primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact-page .contact-hero__title {
	margin-top: 18px;
	font-size: clamp(2rem, 3.2vw, 2.625rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -1px;
	color: var(--text);
}

.contact-page .contact-hero__title-accent {
	color: #6C7A89;
	font-weight: 800;
}

.contact-page .contact-hero__description {
	margin-top: 16px;
	max-width: 380px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--text-light);
}

.contact-page .contact-hero__highlights {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.contact-page .contact-hero__highlight {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.contact-page .contact-hero__highlight-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #EDF2F7;
	color: var(--primary);
}

.contact-page .contact-hero__highlight-icon svg {
	width: 22px;
	height: 22px;
}

.contact-page .contact-hero__highlight-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-light);
}

.contact-page .contact-hero__highlight-text strong {
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
}

.contact-page .contact-hero__illustration {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 100%;
}

.contact-page .contact-hero__illustration img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

/* Form card */

.contact-page .contact-form-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	padding: 32px 32px 28px;
}

.contact-page .contact-form-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 22px;
}

.contact-page .contact-form-card__plane {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--primary);
}

.contact-page .contact-form-card__notice {
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 16px;
}

.contact-page .contact-form-card__notice--success {
	background: rgba(46, 204, 113, 0.12);
	color: #1e8449;
	border: 1px solid rgba(46, 204, 113, 0.25);
}

.contact-page .contact-form-card__notice--error {
	background: rgba(231, 76, 60, 0.1);
	color: #c0392b;
	border: 1px solid rgba(231, 76, 60, 0.25);
}

.contact-page .contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.contact-page .contact-form__field {
	margin-bottom: 14px;
}

.contact-page .contact-form input,
.contact-page .contact-form textarea {
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 15px;
	background: var(--white);
}

.contact-page .contact-form textarea {
	min-height: 120px;
	resize: vertical;
}

.contact-page .contact-form__footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	margin-top: 6px;
}

.contact-page .contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px 24px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 12px;
}

.contact-page .contact-form__submit svg {
	width: 18px;
	height: 18px;
}

.contact-page .contact-form__note {
	font-size: 13px;
	color: var(--text-light);
	margin: 0;
	text-align: center;
}

/* Quick contact bar */

.contact-page .contact-quick {
	padding: 8px 0 40px;
}

.contact-page .contact-quick__bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.contact-page .contact-quick__item {
	padding: 28px 24px;
	text-align: center;
	border-right: 1px solid var(--border);
}

.contact-page .contact-quick__item:last-child {
	border-right: none;
}

.contact-page .contact-quick__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(75, 101, 132, 0.12);
	color: var(--primary-light);
	margin-bottom: 14px;
}

.contact-page .contact-quick__icon svg {
	width: 22px;
	height: 22px;
}

.contact-page .contact-quick__label {
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 6px;
}

.contact-page .contact-quick__value {
	display: block;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text-light);
	transition: color 0.2s;
}

a.contact-quick__value:hover {
	color: var(--primary-light);
}

/* Office & map */

.contact-page .contact-office {
	padding: 0 0 56px;
}

.contact-page .contact-office__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	min-height: 360px;
}

.contact-page .contact-office__details {
	padding: 36px 40px;
}

.contact-page .contact-office__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.contact-page .contact-office__pin {
	display: inline-flex;
	color: var(--primary-light);
}

.contact-page .contact-office__pin svg {
	width: 18px;
	height: 18px;
}

.contact-page .contact-office__eyebrow {
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-light);
}

.contact-page .contact-office__title {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	font-weight: 800;
	color: var(--text);
	line-height: 1.25;
	margin-bottom: 12px;
}

.contact-page .contact-office__description {
	font-size: 15px;
	line-height: 1.65;
	color: var(--text-light);
	margin-bottom: 24px;
	max-width: 420px;
}

.contact-page .contact-office__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.contact-page .contact-office__list-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-light);
}

.contact-page .contact-office__list-item strong {
	display: block;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 2px;
}

.contact-page .contact-office__list-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(75, 101, 132, 0.1);
	color: var(--primary-light);
}

.contact-page .contact-office__list-icon svg {
	width: 18px;
	height: 18px;
}

.contact-page .contact-office__map {
	position: relative;
	min-height: 360px;
	background: var(--secondary);
}

.contact-page .contact-office__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* Trust section */

.contact-page .contact-trust {
	padding: 0;
	background: var(--background);
}

.contact-page .contact-trust__card {
	display: flex;
	align-items: stretch;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}

.contact-page .contact-trust__intro {
	flex: 0 0 28%;
	min-width: 220px;
	padding: 36px 32px 36px 36px;
	border-right: 1px solid var(--border);
}

.contact-page .contact-trust__title {
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 800;
	color: var(--text);
	line-height: 1.3;
	margin-bottom: 12px;
}

.contact-page .contact-trust__description {
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-light);
}

.contact-page .contact-trust__features {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: start;
}

.contact-page .contact-trust__feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 36px 20px;
	border-right: 1px solid var(--border);
}

.contact-page .contact-trust__feature:last-child {
	border-right: none;
}

.contact-page .contact-trust__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(75, 101, 132, 0.12);
	color: var(--primary);
	margin-bottom: 14px;
	flex-shrink: 0;
}

.contact-page .contact-trust__feature-icon svg {
	width: 22px;
	height: 22px;
}

.contact-page .contact-trust__feature-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 6px;
}

.contact-page .contact-trust__feature-text {
	font-size: 13px;
	line-height: 1.55;
	color: var(--text-light);
	max-width: 160px;
}

/* Screen reader */

.contact-page .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Responsive */

@media (max-width: 1100px) {
	.contact-page .contact-hero__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	}

	.contact-page .contact-hero__illustration {
		grid-column: 1 / -1;
		order: -1;
		padding-bottom: 4px;
	}

	.contact-page .contact-hero__illustration {
		height: auto;
		min-height: 0;
	}

	.contact-page .contact-hero__illustration img {
		width: 100%;
		height: auto;
		max-width: 480px;
		max-height: 320px;
	}

}

@media (max-width: 900px) {
	.contact-page .contact-quick__bar {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-page .contact-quick__item:nth-child(2) {
		border-right: none;
	}

	.contact-page .contact-quick__item:nth-child(1),
	.contact-page .contact-quick__item:nth-child(2) {
		border-bottom: 1px solid var(--border);
	}

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

	.contact-page .contact-office__map {
		min-height: 280px;
	}

	.contact-page .contact-trust__card {
		flex-direction: column;
	}

	.contact-page .contact-trust__intro {
		flex: none;
		min-width: 0;
		border-right: none;
		border-bottom: 1px solid var(--border);
		padding: 32px 28px;
	}

	.contact-page .contact-trust__features {
		grid-template-columns: repeat(2, 1fr);
	}

	.contact-page .contact-trust__feature:nth-child(2) {
		border-right: none;
	}

	.contact-page .contact-trust__feature:nth-child(1),
	.contact-page .contact-trust__feature:nth-child(2) {
		border-bottom: 1px solid var(--border);
	}
}

@media (max-width: 768px) {
	.contact-page .contact-hero {
		padding: 28px 0 32px;
	}

	.contact-page .contact-hero__grid {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.contact-page .contact-hero__intro {
		display: contents;
	}

	.contact-page .contact-hero__copy {
		order: 1;
	}

	.contact-page .contact-hero__illustration {
		order: 2;
		grid-column: auto;
		height: auto;
		min-height: 0;
		padding: 24px 0 0;
		margin-bottom: -32px;
	}

	.contact-page .contact-hero__illustration img {
		display: block;
		width: 100%;
		max-width: none;
		max-height: none;
		height: auto;
	}

	.contact-page .contact-hero__highlights {
		order: 3;
		gap: 24px;
		margin-top: 0;
		margin-bottom: 32px;
	}

	.contact-page .contact-form-card {
		order: 4;
		padding: 24px 20px;
	}

	.contact-page .contact-hero__badge {
		padding: 6px 14px;
		background: #F2F4F7;
		font-size: 10px;
		letter-spacing: 0.12em;
	}

	.contact-page .contact-hero__title {
		margin-top: 16px;
		font-size: clamp(1.75rem, 8vw, 2.125rem);
		line-height: 1.15;
		letter-spacing: -0.5px;
	}

	.contact-page .contact-hero__title-accent {
		color: var(--text);
	}

	.contact-page .contact-hero__description {
		max-width: none;
		margin-top: 14px;
		font-size: 15px;
		line-height: 1.65;
		color: #667085;
	}

	.contact-page .contact-hero__highlight {
		gap: 14px;
	}

	.contact-page .contact-hero__highlight-icon {
		width: 48px;
		height: 48px;
		background: #F2F4F7;
	}

	.contact-page .contact-hero__highlight-text {
		font-size: 14px;
		gap: 2px;
		color: #667085;
	}

	.contact-page .contact-hero__highlight-text strong {
		font-size: 15px;
		font-weight: 700;
		color: var(--text);
	}

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

	.contact-page .contact-quick {
		padding: 0 0 32px;
	}

	.contact-page .contact-office {
		padding: 0 0 40px;
	}

	.contact-page .contact-office__details {
		padding: 28px 24px;
	}

	.contact-page .contact-trust {
		padding: 0;
	}

	.contact-page .contact-trust__card {
		flex-direction: column;
	}

	.contact-page .contact-trust__intro {
		flex: none;
		min-width: 0;
		border-right: none;
		border-bottom: none;
		padding: 28px 24px 12px;
	}

	.contact-page .contact-trust__title {
		font-size: clamp(1.35rem, 5.5vw, 1.5rem);
		line-height: 1.25;
		margin-bottom: 12px;
	}

	.contact-page .contact-trust__description {
		font-size: 14px;
		line-height: 1.65;
		color: #667085;
	}

	.contact-page .contact-trust__features {
		display: flex;
		flex-direction: column;
	}

	.contact-page .contact-trust__feature {
		display: grid;
		grid-template-columns: 48px 1fr;
		grid-template-rows: auto auto;
		column-gap: 16px;
		row-gap: 2px;
		align-items: center;
		text-align: left;
		padding: 20px 24px;
		border-right: none;
		border-bottom: 1px solid var(--border);
	}

	.contact-page .contact-trust__feature:last-child {
		border-bottom: none;
	}

	.contact-page .contact-trust__feature-icon {
		grid-row: 1 / 3;
		align-self: center;
		width: 48px;
		height: 48px;
		margin-bottom: 0;
		background: #F2F4F7;
		color: var(--primary);
	}

	.contact-page .contact-trust__feature-title {
		font-size: 15px;
		font-weight: 700;
		margin-bottom: 0;
		align-self: end;
	}

	.contact-page .contact-trust__feature-text {
		font-size: 14px;
		line-height: 1.5;
		color: #667085;
		max-width: none;
		margin: 0;
		align-self: start;
	}

	.contact-page .contact-trust__feature:nth-child(2) {
		border-right: none;
	}

	.contact-page .contact-trust__feature:nth-child(1),
	.contact-page .contact-trust__feature:nth-child(2) {
		border-bottom: 1px solid var(--border);
	}
}

@media (max-width: 520px) {
	.contact-page .contact-quick__bar {
		grid-template-columns: 1fr;
	}

	.contact-page .contact-quick__item {
		border-right: none;
		border-bottom: 1px solid var(--border);
	}

	.contact-page .contact-quick__item:last-child {
		border-bottom: none;
	}
}
