.berti-richiesta-form,
.berti-richiesta-form * {
	box-sizing: border-box;
}

.berti-richiesta-form {
	font-family: "Montserrat", sans-serif;
	width: 100%;
}

.berti-richiesta-form__grid {
	display: grid;
	gap: 20px clamp(36px, 6.7vw, 102px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.berti-richiesta-form__field,
.berti-richiesta-form__message,
.berti-richiesta-form__submit {
	margin: 0;
}

.berti-richiesta-form .wpcf7-form-control-wrap {
	display: block;
	position: relative;
	width: 100%;
}

.berti-richiesta-form input:not([type="submit"]),
.berti-richiesta-form textarea {
	appearance: none;
	background: #fff;
	border: 1px solid #777;
	border-radius: 0;
	box-shadow: none;
	color: #1e1e1e;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(18px, 1.75vw, 26px);
	font-weight: 400;
	line-height: 1.25;
	margin: 0;
	outline: 0;
	padding: 0 24px;
	transition: border-color .2s ease;
	width: 100%;
}

.berti-richiesta-form input:not([type="submit"]) {
	height: 96px;
}

.berti-richiesta-form textarea {
	display: block;
	height: 356px;
	padding-bottom: 28px;
	padding-top: 28px;
	resize: vertical;
}

.berti-richiesta-form input::placeholder,
.berti-richiesta-form textarea::placeholder {
	color: #242424;
	opacity: 1;
}

.berti-richiesta-form input:focus,
.berti-richiesta-form textarea:focus {
	border-color: #111;
}

.berti-richiesta-form__message {
	margin-top: 46px;
}

.berti-richiesta-form__submit {
	margin-top: 0;
}

.berti-richiesta-form input[type="submit"] {
	appearance: none;
	background: #000;
	border: 1px solid #000;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	font-family: "Montserrat", sans-serif;
	font-size: clamp(20px, 1.75vw, 26px);
	font-weight: 400;
	height: 98px;
	letter-spacing: 0;
	margin: 0;
	padding: 0 48px;
	text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
	width: min(100%, 470px);
}

.berti-richiesta-form input[type="submit"]:hover,
.berti-richiesta-form input[type="submit"]:focus-visible {
	background: #fff;
	color: #000;
	outline: 0;
}

.berti-richiesta-form .wpcf7-not-valid-tip {
	color: #b40000;
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	margin-top: 7px;
}

.berti-richiesta-form .wpcf7-response-output {
	border: 1px solid currentColor;
	font-family: "Montserrat", sans-serif;
	margin: 24px 0 0;
	padding: 13px 16px;
}

.berti-richiesta-form .wpcf7-spinner {
	margin: 0 0 0 16px;
}

@media (max-width: 767px) {
	.berti-richiesta-form__grid {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.berti-richiesta-form input:not([type="submit"]) {
		height: 72px;
		padding: 0 18px;
	}

	.berti-richiesta-form textarea {
		height: 230px;
		padding: 20px 18px;
	}

	.berti-richiesta-form__message {
		margin-top: 28px;
	}

	.berti-richiesta-form__submit {
		margin-top: 32px;
	}

	.berti-richiesta-form input[type="submit"] {
		height: 76px;
		width: 100%;
	}
}
