/* Massellaz contact form (Contact Form 7) */
.mcf {
	--mcf-ink: #1c2b25;
	--mcf-border: #8f8f8f;
	--mcf-field-bg: #ffffff;
	--mcf-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
	color: var(--mcf-ink);
}
.mcf * { box-sizing: border-box; }
.mcf p { margin: 0; }
.mcf br { display: none; }

/* Headings */
.mcf .mcf-eyebrow {
	font-family: var(--mcf-serif);
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0 0 1.25rem;
}
.mcf .mcf-title {
	font-family: var(--mcf-serif);
	font-weight: 400;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.2;
	margin: 0 0 1.5rem;
	color: var(--mcf-ink);
}

/* Fields */
.mcf .mcf-field { margin-bottom: 2rem; }
.mcf .mcf-field label {
	display: block;
	font-weight: 700;
	font-size: 1.15rem;
	margin-bottom: 0.9rem;
}
.mcf .mcf-req {
	font-weight: 400;
	font-size: 0.8em;
}
.mcf .wpcf7-form-control-wrap { display: block; }

.mcf input[type="text"],
.mcf input[type="email"],
.mcf textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	background: var(--mcf-field-bg);
	border: 1px solid var(--mcf-border);
	border-radius: 0;
	padding: 0.85rem 1rem;
	font: inherit;
	color: var(--mcf-ink);
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.mcf input[type="text"],
.mcf input[type="email"] { height: 3.1rem; }
.mcf textarea { height: 10.5rem; min-height: 8rem; resize: vertical; }
.mcf input:focus,
.mcf textarea:focus {
	outline: 2px solid var(--mcf-ink);
	outline-offset: 0;
	border-color: var(--mcf-ink);
}

/* Consent checkbox */
.mcf .mcf-consent { margin: 0.5rem 0 2rem; font-size: 1.05rem; }
.mcf .wpcf7-list-item { margin: 0; }
.mcf .wpcf7-list-item label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
}
.mcf .wpcf7-acceptance input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	width: 1.2rem;
	height: 1.2rem;
	margin: 0.2rem 0 0;
	border: 1.5px solid var(--mcf-ink);
	border-radius: 4px;
	background: var(--mcf-field-bg);
	cursor: pointer;
	position: relative;
}
.mcf .wpcf7-acceptance input[type="checkbox"]:checked { background: var(--mcf-ink); }
.mcf .wpcf7-acceptance input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 0.36rem;
	top: 0.12rem;
	width: 0.3rem;
	height: 0.6rem;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.mcf .wpcf7-acceptance input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--mcf-ink);
	outline-offset: 2px;
}

/* SEND button */
.mcf .mcf-actions { position: relative; }
.mcf input.mcf-submit {
	display: inline-block;
	min-width: 11rem;
	height: auto;
	padding: 1.6rem 2.5rem;
	background: transparent;
	color: var(--mcf-ink);
	border: 1px solid var(--mcf-ink);
	border-radius: 4px;
	font: inherit;
	font-size: 1.1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.mcf input.mcf-submit:hover,
.mcf input.mcf-submit:focus-visible {
	background: var(--mcf-ink);
	color: #fff;
}
.mcf input.mcf-submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* Privacy Notice drop-down */
.mcf .mcf-privacy { margin-top: 2.25rem; }
.mcf .mcf-privacy summary {
	cursor: pointer;
	font-size: 1.15rem;
	list-style: none;
}
.mcf .mcf-privacy summary::-webkit-details-marker { display: none; }
.mcf .mcf-privacy summary::before {
	content: "\25B6";
	display: inline-block;
	font-size: 0.8em;
	margin-right: 0.4rem;
}
.mcf .mcf-privacy[open] summary::before { content: "\25BC"; }

.mcf .mcf-privacy__body {
	margin-top: 1.5rem;
	line-height: 1.7;
	max-width: 62rem;
}
.mcf .mcf-privacy__body p { margin: 0 0 1.1rem; }
.mcf .mcf-privacy__body h3,
.mcf .mcf-privacy__body h4,
.mcf .mcf-privacy__body h5 {
	font-family: var(--mcf-serif);
	color: var(--mcf-ink);
	margin: 2rem 0 1rem;
	line-height: 1.3;
}
.mcf .mcf-privacy__body h3 { font-size: 2rem; font-weight: 700; margin-top: 0.5rem; }
.mcf .mcf-privacy__body h4 { font-size: 1.5rem; font-weight: 400; }
.mcf .mcf-privacy__body h5 { font-size: 1.15rem; font-weight: 400; }
.mcf .mcf-privacy__body ul { padding-left: 3.5rem; margin: 0 0 1.1rem; }
.mcf .mcf-privacy__body li { margin-bottom: 0.4rem; }
.mcf .mcf-privacy__body a { color: inherit; text-decoration: underline; }

/* Validation and response messages */
.mcf .wpcf7-not-valid-tip { margin-top: 0.4rem; font-size: 0.9rem; }
.wpcf7 form .wpcf7-response-output {
	margin: 2rem 0 0;
	padding: 1rem 1.25rem;
	border-width: 1px;
}

@media (max-width: 600px) {
	.mcf .mcf-privacy__body ul { padding-left: 1.5rem; }
	.mcf input.mcf-submit { width: 100%; }
}
