/**
 * Contactpagina: formulier links, gegevens rechts.
 * Zelfde kaartstijl als het blogoverzicht en de productpagina.
 */

.ml-contact {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
	gap: 24px;
	align-items: start;
	margin: 8px 0 40px;
}

/* Elke kolom stapelt de kaart met het promoblok eronder. */
.ml-contact__col {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.ml-contact__card {
	padding: 34px 36px;
	border-radius: 16px;
	background: #fff;
}

.ml-contact__form-card {
	border: 1px solid rgba(29, 29, 27, 0.09);
	box-shadow: 0 1px 2px rgba(29, 29, 27, 0.04);
}

/* Niet sticky: er staat nu een promoblok onder, dat zou eroverheen schuiven. */
.ml-contact__info-card {
	border: 0;
	background: rgba(0, 0, 0, 0.04);
}

.ml-contact__title {
	margin: 0 0 10px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--ml-ink);
}

.ml-contact__intro {
	margin: 0 0 26px;
	font-size: 15.5px;
	line-height: 1.65;
	color: rgba(29, 29, 27, 0.7);
}

/* =========================================================================
   Formulier (Contact Form 7)
   ========================================================================= */
.ml-contact .wpcf7 form {
	margin: 0;
}

.ml-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.ml-form__field {
	margin-bottom: 16px;
}

.ml-form__field label {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ml-ink);
}

.ml-form__req {
	color: var(--ml-orange);
}

.ml-contact .wpcf7 .wpcf7-form-control-wrap {
	display: block;
}

.ml-contact .wpcf7 input[type="text"],
.ml-contact .wpcf7 input[type="email"],
.ml-contact .wpcf7 input[type="tel"],
.ml-contact .wpcf7 select,
.ml-contact .wpcf7 textarea {
	width: 100%;
	padding: 0 15px;
	height: 48px;
	border: 1px solid rgba(29, 29, 27, 0.14);
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: 15px;
	color: var(--ml-ink);
	transition: border-color 0.15s ease;
}

.ml-contact .wpcf7 textarea {
	height: auto;
	padding: 13px 15px;
	line-height: 1.6;
	resize: vertical;
}

.ml-contact .wpcf7 select {
	appearance: none;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px;
	padding-right: 40px;
}

.ml-contact .wpcf7 input::placeholder,
.ml-contact .wpcf7 textarea::placeholder {
	color: rgba(29, 29, 27, 0.4);
}

.ml-contact .wpcf7 input:focus,
.ml-contact .wpcf7 select:focus,
.ml-contact .wpcf7 textarea:focus {
	outline: 1px solid var(--ml-ink);
	border-color: var(--ml-ink);
	box-shadow: none;
}

.ml-form__note {
	margin: 4px 0 18px;
	font-size: 13.5px;
	color: rgba(29, 29, 27, 0.5);
}

/* Verstuurknop in merkstijl */
.ml-contact .wpcf7 input.ml-form__submit,
.ml-contact .wpcf7 input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	width: auto;
	padding: 0 28px;
	border: 0;
	border-radius: 6px;
	background: var(--ml-orange);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.05s ease;
}

.ml-contact .wpcf7 input[type="submit"]:hover {
	background: var(--ml-orange);
	filter: brightness(0.93);
}

.ml-contact .wpcf7 input[type="submit"]:active {
	transform: translateY(1px);
}

/* Meldingen */
.ml-contact .wpcf7 .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 16px;
	border: 1px solid rgba(29, 29, 27, 0.14);
	border-radius: 8px;
	font-size: 14.5px;
}

.ml-contact .wpcf7 form.sent .wpcf7-response-output {
	border-color: rgba(39, 174, 96, 0.4);
	background: rgba(39, 174, 96, 0.08);
	color: #1e7a45;
}

.ml-contact .wpcf7 form.invalid .wpcf7-response-output,
.ml-contact .wpcf7 form.failed .wpcf7-response-output {
	border-color: rgba(192, 57, 43, 0.35);
	background: rgba(192, 57, 43, 0.07);
	color: #9c2f22;
}

.ml-contact .wpcf7 .wpcf7-not-valid-tip {
	margin-top: 10px;
	padding-top: 2px;
	font-size: 13px;
	color: #c0392b;
}

.ml-contact .wpcf7 .wpcf7-not-valid {
	border-color: #d6584a;
}

.ml-contact .wpcf7 .wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* =========================================================================
   Contactgegevens
   ========================================================================= */
.ml-contact__primary {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	padding: 16px 18px;
	border-radius: 12px;
	background: #fff;
	text-decoration: none;
	transition: box-shadow 0.18s ease;
}

.ml-contact__primary:hover {
	box-shadow: 0 8px 20px rgba(29, 29, 27, 0.08);
}

.ml-contact__primary-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ml-orange);
	color: #fff;
}

.ml-contact__primary-icon svg {
	width: 20px;
	height: 20px;
}

.ml-contact__primary-label {
	display: block;
	font-size: 12.5px;
	color: rgba(29, 29, 27, 0.5);
}

.ml-contact__primary-value {
	display: block;
	font-size: 17px;
	font-weight: 700;
	color: var(--ml-ink);
}

.ml-contact__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ml-contact__item {
	display: flex;
	gap: 14px;
	padding: 11px 0;
	border-top: 0 !important;
}

.ml-contact__item:first-child {
	padding-top: 0;
}

.ml-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #fff;
	color: var(--ml-ink);
}

.ml-contact__icon svg {
	width: 18px;
	height: 18px;
}

.ml-contact__body {
	min-width: 0;
}

.ml-contact__label {
	display: block;
	margin-bottom: 3px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: rgba(29, 29, 27, 0.5);
}

.ml-contact__value {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--ml-ink);
	text-decoration: none;
	word-break: break-word;
}

a.ml-contact__value:hover {
	color: var(--ml-orange);
}

/* Link naar Google Maps onder het adres */
.ml-contact__map {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 7px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ml-orange);
	text-decoration: none;
}

.ml-contact__map:hover {
	color: var(--ml-orange);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ml-contact__map-arrow {
	width: 6px;
	height: 6px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

.ml-contact__map:hover .ml-contact__map-arrow {
	transform: rotate(45deg) translate(2px, -2px);
}

.ml-contact__hours {
	margin: 18px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(29, 29, 27, 0.09);
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(29, 29, 27, 0.7);
}

.ml-contact__status {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 10px 0 0;
	font-size: 14px;
	color: rgba(29, 29, 27, 0.7);
}

.ml-contact__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #27ae60;
	flex: 0 0 auto;
}

.ml-contact__socials {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(29, 29, 27, 0.09);
}

.ml-contact__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

/* De platformglyphs zijn witte SVG's, dus donkere knoppen zoals in de
   footer; anders vallen ze weg tegen de lichte kaart. */
.ml-contact__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ml-ink);
	color: #fff;
	transition: background-color 0.18s ease;
}

.ml-contact__social svg,
.ml-contact__social img {
	width: 19px;
	height: 19px;
	display: block;
}

.ml-contact__social:hover {
	background: var(--ml-orange);
}

/* =========================================================================
   Promoblokken onder de kaarten (keuzehulp links, zakelijk rechts)
   ========================================================================= */
.ml-contact__promo {
	padding: 30px 32px;
	border-radius: 16px;
}

.ml-contact__promo--dark {
	background: linear-gradient(135deg, #1d1d1b 0%, #2e2e29 100%);
	color: #fff;
}

.ml-contact__promo--light {
	background: var(--ml-panel);
	border: 1px solid var(--ml-line);
}

.ml-contact__promo-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--ml-ink);
}

.ml-contact__promo--dark .ml-contact__promo-title {
	color: #fff;
}

.ml-contact__promo-text {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(29, 29, 27, 0.7);
}

.ml-contact__promo--dark .ml-contact__promo-text {
	color: rgba(255, 255, 255, 0.65);
}

a.ml-contact__promo-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	height: 46px;
	padding: 0 22px;
	border-radius: 6px;
	background: var(--ml-orange);
	color: #fff !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background-color 0.18s ease;
}

a.ml-contact__promo-cta:hover {
	background: var(--ml-orange-dark);
	color: #fff !important;
}

.ml-contact__promo-cta svg {
	width: 17px;
	height: 17px;
	flex: 0 0 auto;
}

@media (max-width: 900px) {
	.ml-contact {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.ml-contact__card,
	.ml-contact__promo {
		padding: 24px 22px;
	}
	.ml-form__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
}

/* =========================================================================
   Veelgestelde vragen onder de kolommen
   ========================================================================= */
.ml-faq--contact {
	margin: 100px 0 50px;
}

.ml-faq--contact .ml-faq__title {
	margin-bottom: 20px;
	font-size: clamp(22px, 2.4vw, 28px);
}
