.ae-contact-shell {
	--ae-cyan: #20B2AA;
	--ae-cyan-dark: #0F766E;
	--ae-dark: #111318;
	--ae-dark-2: #171a20;
	--ae-card: #1b1f26;
	--ae-text: #f4f6f8;
	--ae-muted: #b8bec7;
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
	width: min(100%, 1280px);
	margin: 0 auto;
	padding: clamp(2rem, 5vw, 5rem);
	background: linear-gradient(145deg, #15181e 0%, #0d0f13 100%);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 24px;
	box-sizing: border-box;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.ae-contact-shell * {
	box-sizing: border-box;
}

.ae-contact-intro {
	position: sticky;
	top: 120px;
	color: var(--ae-text);
}

.ae-eyebrow {
	display: inline-block;
	margin-bottom: 1rem;
	color: var(--ae-cyan);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.ae-contact-intro h2 {
	max-width: 12ch;
	margin: 0 0 1.25rem;
	color: #fff;
	font-size: clamp(2.2rem, 4vw, 4.5rem);
	line-height: .98;
	letter-spacing: -.045em;
	word-break: normal;
	overflow-wrap: normal;
}

.ae-contact-intro p {
	max-width: 34rem;
	margin: 0;
	color: var(--ae-muted);
	font-size: 1.08rem;
	line-height: 1.75;
}

.ae-contact-direct {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	margin-top: 2rem;
}

.ae-contact-direct a {
	width: fit-content;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid rgba(32,178,170, .65);
	transition: color .2s ease, border-color .2s ease;
}

.ae-contact-direct a:hover,
.ae-contact-direct a:focus-visible {
	color: var(--ae-cyan) !important;
	border-bottom-color: var(--ae-cyan);
}

.ae-contact-card {
	padding: clamp(1.35rem, 3vw, 2.75rem);
	background: #fff;
	color: #12151a;
	border-radius: 18px;
	box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.ae-contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.ae-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.ae-field label {
	display: block;
	margin-bottom: .5rem;
	color: #171a20;
	font-size: .88rem;
	font-weight: 800;
}

.ae-field label span {
	color: var(--ae-cyan-dark);
}

.ae-field input,
.ae-field textarea {
	width: 100%;
	margin: 0;
	padding: .95rem 1rem;
	border: 1px solid #7d8792;
	border-radius: 9px;
	background: #f7f8fa;
	color: #171a20;
	font: inherit;
	line-height: 1.45;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ae-field input::placeholder,
.ae-field textarea::placeholder {
	color: #626b76;
	opacity: 1;
}

.ae-field textarea {
	min-height: 150px;
	resize: vertical;
}

.ae-field input:hover,
.ae-field textarea:hover {
	border-color: #555f6b;
}

.ae-field input:focus,
.ae-field textarea:focus,
.ae-field input:focus-visible,
.ae-field textarea:focus-visible {
	border-color: var(--ae-cyan-dark);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(15,118,110, .18);
}

.ae-form-footer {
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	padding-top: .25rem;
}

.ae-form-footer p {
	max-width: 22rem;
	margin: 0;
	color: #59616c;
	font-size: .78rem;
	line-height: 1.5;
}

.ae-form-footer button {
	display: inline-flex;
	gap: .8rem;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: .85rem 1.3rem;
	border: 2px solid var(--ae-cyan);
	border-radius: 7px;
	background: var(--ae-dark);
	color: #fff;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
	transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.ae-form-footer button:hover {
	background: var(--ae-cyan);
	color: var(--ae-dark);
	transform: translateY(-2px);
}

.ae-form-footer button:focus-visible,
.ae-contact-direct a:focus-visible {
	outline: 3px solid var(--ae-cyan);
	outline-offset: 4px;
}

.ae-form-footer button:focus-visible {
	background: var(--ae-cyan);
	color: var(--ae-dark);
	box-shadow: 0 0 0 2px var(--ae-dark);
}

.ae-form-success {
	text-align: center;
	padding: 2rem .5rem;
}

.ae-success-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: 0 auto 1.25rem;
	border-radius: 50%;
	background: var(--ae-cyan);
	color: var(--ae-dark);
	font-size: 1.6rem;
	font-weight: 900;
}

.ae-form-success h3 {
	margin: 0 0 .75rem;
	color: var(--ae-dark);
	font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.ae-form-success p {
	margin: 0;
	color: #59616c;
}

.ae-form-error {
	margin-bottom: 1.2rem;
	padding: 1rem;
	border-left: 4px solid #b42318;
	background: #fff0ef;
	color: #7d1710;
	font-weight: 700;
}

.ae-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Compact integration inside the Actioneers contact page template. */
.ae-contact-shell--embedded {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.ae-contact-shell--embedded .ae-contact-card--embedded {
	padding: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}

.ae-contact-shell--embedded .ae-contact-form {
	gap: 1.15rem;
}

.ae-contact-shell--embedded .ae-form-footer {
	padding-top: .6rem;
}

/* In de lichte, ingebedde variant gebruiken we donker teal voor leesbare accenten. */
.ae-contact-shell--embedded .ae-form-footer button {
	border-color: var(--ae-cyan-dark);
}

.ae-contact-shell--embedded .ae-form-footer button:hover,
.ae-contact-shell--embedded .ae-form-footer button:focus-visible {
	border-color: var(--ae-cyan);
	background: var(--ae-cyan);
	color: var(--ae-dark);
}

/* Houd de bevestiging zichtbaar onder een sticky header na verzending. */
#actioneers-contact-form {
	scroll-margin-top: clamp(90px, 12vw, 150px);
}

@media (max-width: 900px) {
	.ae-contact-shell {
		grid-template-columns: 1fr;
	}
	.ae-contact-intro {
		position: static;
	}
	.ae-contact-intro h2 {
		max-width: 18ch;
	}
	.ae-form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.ae-contact-shell {
		padding: 1.15rem;
		border-radius: 14px;
	}
	.ae-contact-card {
		padding: 1.15rem;
	}
	.ae-form-footer {
		align-items: stretch;
		flex-direction: column;
	}
	.ae-form-footer button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ae-contact-shell *,
	.ae-contact-shell *::before,
	.ae-contact-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
	.ae-form-footer button:hover {
		transform: none;
	}
}
