/**
 * Kontakt — Figma 222:10061 / 232:12643.
 */

body.page-template-page-kontakt,
body.page-kontakt {
	background: var(--surface-white);
}

.contact-main {
	background: var(--surface-white);
	padding: 24px 0 64px;
}

.contact-container {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.contact-crumb {
	font-size: 13px;
	line-height: 20px;
	color: var(--ink-500);
}

.contact-crumb a:hover {
	text-decoration: underline;
	color: var(--ink-900);
}

.contact-intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact-title {
	margin: 0;
	font-size: 28px;
	font-weight: 600;
	line-height: 36px;
	color: var(--ink-900);
}

.contact-lead {
	margin: 0;
	max-width: 720px;
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: var(--ink-500);
}

.contact-channels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.contact-channel {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 24px;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-24);
	background: var(--surface-white);
	color: inherit;
	text-decoration: none;
}

.contact-channel__label {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--brand-rose);
}

.contact-channel__value {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: var(--ink-900);
}

.contact-channel__meta {
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	line-height: 20px;
	color: var(--ink-500);
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 500px;
	gap: 32px;
	align-items: start;
}

.contact-form-card,
.contact-showroom {
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-24);
	background: var(--surface-white);
}

.contact-form-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
}

.contact-h2,
.contact-showroom__body h2 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 28px;
	color: var(--ink-900);
}

.contact-form__notice {
	margin: 0;
	padding: 12px 16px;
	border-radius: var(--radius-12);
	font-size: 14px;
	line-height: 20px;
}

.contact-form__notice.is-ok {
	color: var(--accent-new);
	background: #edf7f2;
}

.contact-form__notice.is-err {
	color: var(--accent-sale);
	background: #fdecee;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.contact-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.contact-field span {
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	color: var(--ink-700);
}

.contact-field input,
.contact-field select {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--border-muted);
	border-radius: var(--radius-8);
	background: var(--surface-white);
	font-family: var(--font);
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: var(--ink-900);
	appearance: none;
}

.contact-field select {
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--ink-900) 50%), linear-gradient(135deg, var(--ink-900) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

.contact-field textarea {
	box-sizing: border-box;
	width: 100%;
	height: 140px;
	min-height: 140px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--border-muted);
	border-radius: var(--radius-12);
	background: var(--surface-white);
	font-family: var(--font);
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: var(--ink-900);
	resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
	color: var(--ink-500);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
	outline: none;
	border-color: var(--brand-rose);
	border-width: 1.5px;
}

.contact-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	margin: 8px 0 0;
	padding: 0 24px;
	border: 0;
	border-radius: var(--radius-8);
	background: var(--ink-900);
	font-family: var(--font);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: 0.8px;
	color: var(--surface-white);
	cursor: pointer;
}

.contact-form__submit:hover {
	background: var(--ink-700);
}

.contact-form__submit:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring);
}

.contact-showroom img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.contact-showroom__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 28px 28px;
}

.contact-showroom__body p {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 24px;
	color: var(--ink-700);
}

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

	.contact-showroom {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.contact-main {
		padding: 16px 0 48px;
	}

	.contact-container {
		gap: 24px;
	}

	.contact-title {
		font-size: 21px;
		line-height: 28px;
	}

	.contact-lead {
		font-size: 14px;
		line-height: 22px;
	}

	.contact-channels {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.contact-channel:last-child {
		grid-column: 1 / -1;
	}

	.contact-channel {
		padding: 16px;
	}

	.contact-channel__label {
		color: var(--ink-500);
	}

	.contact-channel__value {
		font-size: 14px;
		line-height: 22px;
	}

	.contact-form-card {
		padding: 20px;
	}

	.contact-h2,
	.contact-showroom__body h2 {
		font-size: 17px;
		line-height: 24px;
	}

	.contact-showroom img {
		height: 160px;
	}

	.contact-showroom__body {
		padding: 20px;
	}
}
