/* ==========================================================================
   Zaagmachines.eu — Contact / machineadvies
   High-intent conversion page, aligned with the approved Service direction.
   ========================================================================== */

.contact-page {
	overflow: hidden;
	background: #fff;
}


/* Hero
   ========================================================================== */

.contact-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(96px, 10vw, 150px) 0;
	background: #202020;
	color: #fff;
}

.contact-hero::after {
	position: absolute;
	top: -35%;
	right: 8%;
	width: 150px;
	height: 180%;
	background: rgb(245 166 35 / 8%);
	content: "";
	transform: skewX(-12deg);
}

.contact-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.58fr);
	align-items: end;
	gap: clamp(70px, 10vw, 150px);
}

.contact-hero__content {
	max-width: 820px;
}

.contact-hero h1 {
	max-width: 10.5ch;
	margin: 0;
	color: #fff;
	font-size: clamp(56px, 6.6vw, 94px);
	line-height: 0.91;
	letter-spacing: -0.06em;
}

.contact-hero__lead {
	max-width: 680px;
	margin: 28px 0 0;
	color: rgb(255 255 255 / 69%);
	font-size: 18px;
	line-height: 1.72;
}

.contact-hero__machine {
	display: grid;
	gap: 5px;
	max-width: 570px;
	margin-top: 28px;
	padding: 18px 20px;
	border-left: 3px solid var(--color-orange);
	background: rgb(255 255 255 / 5%);
}

.contact-hero__machine span,
.contact-hero__direct span {
	color: rgb(255 255 255 / 45%);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-hero__machine strong {
	font-size: 17px;
}

.contact-hero__machine a {
	color: #fff;
	font-weight: 800;
	text-decoration-color: var(--color-orange);
	text-underline-offset: 5px;
}

.contact-hero__direct {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.contact-hero__direct > a {
	display: grid;
	gap: 5px;
	min-width: 205px;
	padding: 14px 18px;
	border: 1px solid rgb(255 255 255 / 14%);
	background: rgb(255 255 255 / 3%);
	color: #fff;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		border-color 180ms ease;
}

.contact-hero__direct strong {
	font-size: 14px;
}

.contact-hero__guide {
	padding: 30px;
	border-top: 3px solid var(--color-orange);
	background: #fff;
	box-shadow: 0 30px 75px rgb(0 0 0 / 28%);
	color: #202020;
}

.contact-hero__guide > p {
	margin: 0 0 18px;
	color: var(--color-text-muted);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.contact-hero__guide ol {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--color-border);
	list-style: none;
}

.contact-hero__guide li {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: 12px;
	align-items: center;
	min-height: 80px;
	border-bottom: 1px solid var(--color-border);
}

.contact-hero__guide li > span {
	color: var(--color-orange-dark);
	font-size: 10px;
	font-weight: 850;
}

.contact-hero__guide li > div {
	display: grid;
	gap: 2px;
}

.contact-hero__guide strong {
	font-size: 15px;
}

.contact-hero__guide small {
	color: var(--color-text-muted);
	font-size: 11px;
}


/* Form composition
   ========================================================================== */

.contact-conversion {
	padding: clamp(96px, 10vw, 158px) 0;
	background: #f2f2f1;
}

.contact-conversion__grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.08fr);
	align-items: start;
	gap: clamp(70px, 9vw, 130px);
}

.contact-conversion__intro {
	position: sticky;
	top: 118px;
}

.contact-conversion__intro h2 {
	max-width: 540px;
	margin: 0;
	font-size: clamp(44px, 5vw, 70px);
	line-height: 0.97;
	letter-spacing: -0.054em;
}

.contact-conversion__intro > p:not(.eyebrow):not(.contact-conversion__note) {
	max-width: 520px;
	margin: 22px 0 0;
	color: var(--color-text-muted);
	font-size: 16px;
	line-height: 1.75;
}

.contact-conversion__brief {
	margin-top: 38px;
	border-top: 1px solid var(--color-border-strong);
}

.contact-conversion__brief > div {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: center;
	min-height: 62px;
	border-bottom: 1px solid var(--color-border-strong);
}

.contact-conversion__brief span {
	color: var(--color-orange-dark);
	font-size: 9px;
	font-weight: 850;
}

.contact-conversion__brief strong {
	font-size: 13px;
}

.contact-conversion__note {
	max-width: 500px;
	margin: 26px 0 0;
	padding-left: 18px;
	border-left: 3px solid var(--color-orange);
	color: var(--color-text-muted);
	font-size: 13px;
	line-height: 1.65;
}

.contact-form-panel {
	position: relative;
	padding: clamp(34px, 4vw, 54px);
	border-top: 4px solid var(--color-orange);
	background: #fff;
	box-shadow: 0 28px 70px rgb(0 0 0 / 11%);
}

.contact-form-panel__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
}

.contact-form-panel__head > div {
	display: grid;
	gap: 5px;
}

.contact-form-panel__head span {
	color: var(--color-orange-dark);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-form-panel__head strong {
	max-width: 460px;
	font-size: 24px;
	line-height: 1.1;
}

.contact-form-panel__head small {
	color: var(--color-text-muted);
	font-size: 10px;
}

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

.form-field {
	margin-bottom: 22px;
}

.form-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 800;
}

.form-field label span {
	color: var(--color-orange-dark);
}

.form-field input,
.form-field textarea {
	width: 100%;
	border: 1px solid var(--color-border-strong);
	border-radius: 0;
	background: #fff;
	color: var(--color-text);
	transition:
		border-color 160ms ease,
		box-shadow 160ms ease;
}

.form-field input {
	min-height: 54px;
	padding: 0 16px;
}

.form-field textarea {
	display: block;
	min-height: 126px;
	padding: 15px 16px;
	line-height: 1.55;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--color-orange);
	outline: 0;
	box-shadow: 0 0 0 3px rgb(245 166 35 / 14%);
}

.contact-form__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 8px;
}

.contact-form__footer p {
	max-width: 300px;
	margin: 0;
	color: var(--color-text-muted);
	font-size: 11px;
	line-height: 1.5;
}

.contact-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.form-message {
	margin-bottom: 28px;
	padding: 18px 20px;
	border-left: 4px solid;
}

.form-message strong {
	display: block;
	margin-bottom: 4px;
}

.form-message p {
	margin: 0;
}

.form-message--success {
	border-color: #27823b;
	background: #f0f8f2;
}

.form-message--error {
	border-color: #b63a35;
	background: #fff3f2;
}


/* What happens next
   ========================================================================== */

.contact-process {
	padding: clamp(92px, 9vw, 138px) 0;
	background: #202020;
	color: #fff;
}

.contact-process__header {
	display: grid;
	grid-template-columns: 0.52fr 1.48fr;
	align-items: end;
	gap: 50px;
	margin-bottom: 44px;
}

.contact-process__header h2 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 0.98;
	letter-spacing: -0.052em;
}

.contact-process__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgb(255 255 255 / 12%);
	border-left: 1px solid rgb(255 255 255 / 12%);
}

.contact-process__steps article {
	position: relative;
	min-height: 235px;
	padding: 30px;
	border-right: 1px solid rgb(255 255 255 / 12%);
	border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.contact-process__steps article::before {
	position: absolute;
	top: 0;
	left: 30px;
	width: 30px;
	height: 3px;
	background: var(--color-orange);
	content: "";
}

.contact-process__steps span {
	display: block;
	margin: 8px 0 50px;
	color: var(--color-orange);
	font-size: 10px;
	font-weight: 850;
}

.contact-process__steps h3 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 23px;
}

.contact-process__steps p {
	margin: 0;
	color: rgb(255 255 255 / 56%);
	font-size: 13px;
	line-height: 1.65;
}

.contact-process__direct {
	display: grid;
	grid-template-columns: minmax(240px, 1fr) auto auto;
	align-items: center;
	gap: 28px;
	margin-top: 40px;
	padding: 26px 30px;
	border-left: 3px solid var(--color-orange);
	background: rgb(255 255 255 / 4%);
}

.contact-process__direct > div {
	display: grid;
	gap: 4px;
}

.contact-process__direct span {
	color: rgb(255 255 255 / 43%);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-process__direct strong {
	color: #fff;
	font-size: 16px;
}

.contact-process__direct > a {
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration-color: var(--color-orange);
	text-underline-offset: 5px;
}


/* Responsive
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
	.contact-hero__direct > a:hover {
		border-color: rgb(245 166 35 / 55%);
		background: rgb(255 255 255 / 6%);
	}
}

@media (max-width: 64rem) {
	.contact-hero__grid,
	.contact-conversion__grid,
	.contact-process__header {
		grid-template-columns: 1fr;
	}

	.contact-hero__guide {
		max-width: 520px;
	}

	.contact-conversion__intro {
		position: static;
	}

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

	.contact-process__direct {
		grid-template-columns: 1fr;
		justify-items: start;
	}
}

@media (max-width: 48rem) {
	.contact-hero {
		padding: 68px 0;
	}

	.contact-hero h1 {
		font-size: clamp(43px, 12.6vw, 60px);
	}

	.contact-hero__lead {
		font-size: 15px;
	}

	.contact-hero__direct {
		flex-direction: column;
	}

	.contact-hero__direct > a {
		width: 100%;
	}

	.contact-hero__guide {
		padding: 24px 20px;
	}

	.contact-conversion,
	.contact-process {
		padding: 64px 0;
	}

	.contact-conversion__grid {
		gap: 36px;
	}

	.contact-conversion__intro h2,
	.contact-process__header h2 {
		font-size: 35px;
	}

	.contact-form-panel {
		padding: 26px 20px;
	}

	.contact-form-panel__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.contact-form__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.contact-form__footer {
		align-items: stretch;
		flex-direction: column;
	}

	.contact-form__footer .button {
		width: 100%;
	}

	.contact-process__header {
		gap: 18px;
		margin-bottom: 30px;
	}

	.contact-process__steps article {
		min-height: 0;
		padding: 24px 20px;
	}

	.contact-process__steps article::before {
		left: 20px;
	}

	.contact-process__steps span {
		margin-bottom: 28px;
	}

	.contact-process__direct {
		padding: 22px 20px;
	}
}


/* ==========================================================================
   Final NL UX — machine request + showroom Bocholt
   ========================================================================== */

.contact-machine-intro {
	padding: clamp(54px, 6vw, 84px) 0 clamp(42px, 5vw, 66px);
	background: #202020;
	color: #fff;
}

.contact-machine-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
	align-items: center;
	gap: clamp(50px, 9vw, 120px);
}

.contact-machine-intro h1 {
	max-width: 850px;
	margin: 0;
	color: #fff;
	font-size: clamp(46px, 5.7vw, 78px);
	line-height: 0.94;
	letter-spacing: -0.055em;
}

.contact-machine-intro p:not(.eyebrow) {
	max-width: 640px;
	margin: 20px 0 0;
	color: rgb(255 255 255 / 64%);
	font-size: 16px;
	line-height: 1.7;
}

.contact-machine-intro__context {
	display: grid;
	gap: 7px;
	padding: 24px 26px;
	border-left: 3px solid var(--color-orange);
	background: rgb(255 255 255 / 5%);
}

.contact-machine-intro__context > span {
	color: rgb(255 255 255 / 43%);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-machine-intro__context strong {
	color: #fff;
	font-size: 18px;
	line-height: 1.25;
}

.contact-machine-intro__context a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 5px;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration-color: var(--color-orange);
	text-underline-offset: 5px;
}

.contact-machine-intro + .contact-conversion {
	padding-top: clamp(64px, 7vw, 96px);
}

.contact-showroom {
	padding: clamp(96px, 10vw, 150px) 0;
	background: #fff;
}

.contact-showroom__header {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.58fr);
	align-items: end;
	gap: clamp(50px, 9vw, 128px);
	margin-bottom: clamp(40px, 5vw, 64px);
}

.contact-showroom__header h2 {
	max-width: 820px;
	margin: 0;
	font-size: clamp(44px, 5.2vw, 72px);
	line-height: 0.96;
	letter-spacing: -0.055em;
}

.contact-showroom__header > p {
	margin: 0;
	padding-top: 24px;
	border-top: 1px solid var(--color-border-strong);
	color: var(--color-text-muted);
	font-size: 15px;
	line-height: 1.72;
}

.contact-showroom__grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
	min-height: 590px;
	border: 1px solid var(--color-border);
	background: #f2f2f1;
	box-shadow: 0 26px 70px rgb(0 0 0 / 9%);
}

.contact-showroom__details {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	padding: clamp(34px, 5vw, 68px);
	border-top: 4px solid var(--color-orange);
	background: #202020;
	color: #fff;
}

.contact-showroom__location-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 34px;
}

.contact-showroom__location-label span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	background: var(--color-orange);
	color: #202020;
	font-size: 9px;
	font-weight: 900;
}

.contact-showroom__location-label strong {
	color: rgb(255 255 255 / 56%);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.contact-showroom__details address {
	margin: 0;
	color: rgb(255 255 255 / 72%);
	font-size: 17px;
	font-style: normal;
	line-height: 1.65;
}

.contact-showroom__details address strong {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-size: clamp(30px, 3vw, 42px);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.contact-showroom__contact {
	display: grid;
	gap: 6px;
	margin: 28px 0;
}

.contact-showroom__contact a {
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-decoration-color: var(--color-orange);
	text-underline-offset: 5px;
}

.contact-showroom__office-note {
	max-width: 380px;
	margin: 26px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgb(255 255 255 / 12%);
	color: rgb(255 255 255 / 42%);
	font-size: 11px;
	line-height: 1.6;
}

.contact-map {
	position: relative;
	min-width: 0;
	min-height: 590px;
	overflow: hidden;
	background: #e6e4e0;
}

.contact-map__preview {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background:
		linear-gradient(130deg, transparent 0 31%, rgb(255 255 255 / 78%) 31% 32.2%, transparent 32.2% 100%),
		linear-gradient(37deg, transparent 0 58%, rgb(255 255 255 / 86%) 58% 59.1%, transparent 59.1% 100%),
		linear-gradient(90deg, #e8e5df, #ddd9d2);
}

.contact-map__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgb(32 32 32 / 5%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(32 32 32 / 5%) 1px, transparent 1px);
	background-size: 64px 64px;
	transform: rotate(-7deg) scale(1.12);
}

.contact-map__pin {
	position: absolute;
	top: 38%;
	left: 57%;
	width: 52px;
	height: 52px;
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	background: var(--color-orange);
	box-shadow: 0 16px 36px rgb(0 0 0 / 20%);
	transform: rotate(-45deg);
}

.contact-map__pin span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #202020;
	transform: translate(-50%, -50%);
}

.contact-map__content {
	position: absolute;
	right: 32px;
	bottom: 32px;
	left: 32px;
	max-width: 510px;
	padding: 26px;
	border-top: 3px solid var(--color-orange);
	background: rgb(255 255 255 / 94%);
	box-shadow: 0 22px 55px rgb(0 0 0 / 14%);
	backdrop-filter: blur(8px);
}

.contact-map__content > span {
	display: block;
	margin-bottom: 6px;
	color: var(--color-orange-dark);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.contact-map__content strong {
	display: block;
	font-size: 22px;
	line-height: 1.1;
}

.contact-map__content p {
	margin: 10px 0 18px;
	color: var(--color-text-muted);
	font-size: 12px;
	line-height: 1.55;
}

.contact-map__load {
	min-height: 44px;
	padding: 0 17px;
	border: 1px solid var(--color-charcoal);
	background: var(--color-charcoal);
	color: #fff;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

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

.contact-map.is-loaded .contact-map__preview {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.contact-map__load:hover {
		border-color: var(--color-orange);
		background: var(--color-orange);
		color: #202020;
	}
}

@media (max-width: 64rem) {
	.contact-machine-intro__grid,
	.contact-showroom__header,
	.contact-showroom__grid {
		grid-template-columns: 1fr;
	}

	.contact-showroom__grid {
		min-height: 0;
	}

	.contact-map {
		min-height: 480px;
	}
}

@media (max-width: 48rem) {
	.contact-machine-intro {
		padding: 42px 0 34px;
	}

	.contact-machine-intro__grid {
		gap: 28px;
	}

	.contact-machine-intro h1 {
		font-size: 42px;
	}

	.contact-showroom {
		padding: 64px 0;
	}

	.contact-showroom__header {
		gap: 18px;
		margin-bottom: 30px;
	}

	.contact-showroom__header h2 {
		font-size: 35px;
	}

	.contact-showroom__details {
		padding: 32px 24px;
	}

	.contact-map {
		min-height: 430px;
	}

	.contact-map__content {
		right: 18px;
		bottom: 18px;
		left: 18px;
		padding: 20px;
	}
}


.contact-form__footer p a {
	display: inline;
	color: var(--color-orange-dark);
	font-weight: 750;
}


/* V1.3.0 mobile final */
@media (max-width: 48rem) {
    .contact-hero__grid,
    .contact-hero__content,
    .contact-hero__guide,
    .contact-conversion__grid,
    .contact-form-panel,
    .contact-form,
    .form-field {
        min-width: 0;
    }

    .contact-hero h1 {
        max-width: 100%;
        font-size: clamp(34px, 9.4vw, 44px);
        line-height: 0.98;
        letter-spacing: -0.045em;
        hyphens: auto;
        overflow-wrap: break-word;
    }

    .contact-conversion__intro h2,
    .contact-process__header h2,
    .contact-showroom__header h2 {
        max-width: 100%;
        font-size: clamp(29px, 8vw, 35px);
        hyphens: auto;
        overflow-wrap: break-word;
    }

    .contact-form-panel {
        padding: 26px 20px 34px;
    }

    .form-field input {
        min-height: 52px;
    }

    .form-field textarea {
        min-height: 118px;
    }
}
