.os-rfq {
	background: #f4f7f8;
	border-radius: 24px;
	padding: clamp(24px, 4vw, 48px);
}

.os-rfq__heading {
	max-width: 680px;
	margin-bottom: 28px;
}

.os-rfq__heading h2 {
	margin: 8px 0 10px;
	font-size: clamp(29px, 3.2vw, 44px);
	line-height: 1;
}

.os-rfq__heading p {
	font-size: 16px;
	line-height: 1.6;
	color: #4a555b;
}

.os-rfq__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
	user-select: none;
}

.os-rfq__form input,
.os-rfq__form textarea,
.os-rfq__form select {
	user-select: text;
}

.os-field {
	display: grid;
	gap: 7px;
}

.os-field--wide {
	grid-column: 1 / -1;
}

.os-field span {
	font-size: 13px;
	font-weight: 700;
}

.os-field input,
.os-field select,
.os-field textarea {
	width: 100%;
	border: 1px solid #c9d3d7;
	background: #fff;
	border-radius: 12px;
	padding: 13px 14px;
	font: inherit;
	color: #1e2529;
}

.os-field select {
	height: 48px;
	padding: 0 38px 0 14px;
	line-height: 48px;
}

.os-field select option {
	line-height: normal;
}

.os-field input:focus,
.os-field select:focus,
.os-field textarea:focus {
	outline: 2px solid #5ef1f9;
	outline-offset: 1px;
	border-color: #011f40;
}

.os-phone-entry {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	min-height: 48px;
	border: 1px solid #c9d3d7;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.os-phone-entry:focus-within {
	outline: 2px solid #5ef1f9;
	outline-offset: 1px;
	border-color: #011f40;
}

.os-phone-prefix {
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	padding: 0 4px 0 14px;
	background: transparent;
	color: #011f40;
	font-size: 13px;
	font-weight: 800;
	user-select: none;
}

.os-phone-entry input {
	min-width: 0;
	height: 46px;
	padding-left: 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
}

html {
	caret-color: transparent;
}

input,
textarea,
[contenteditable="true"] {
	caret-color: auto;
}

.os-rfq__form input:placeholder-shown,
.os-rfq__form textarea:placeholder-shown {
	caret-color: transparent;
}

.os-rfq__form input:not(:placeholder-shown),
.os-rfq__form textarea:not(:placeholder-shown) {
	caret-color: auto;
}

.os-phone-entry input:focus {
	outline: 0;
}

.os-consent {
	grid-column: 1 / -1;
	display: flex;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #5a656a;
}

.os-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	pointer-events: none;
}

.os-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.os-button--dark {
	background: #011f40;
	color: #fff;
}

.os-button--dark:hover {
	background: #155ecc;
	color: #fff;
}

.os-rfq__status {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

.os-rfq__status.is-success {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: #e8fbf4;
	border: 1px solid #74d6b6;
	color: #0f7b5e;
	border-radius: 14px;
	overflow: hidden;
	animation: os-success-panel 460ms cubic-bezier(0.2, 0.85, 0.3, 1.15) both;
}

.os-rfq__status.is-success::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 42%;
	height: 3px;
	background: #22a77b;
	box-shadow: 0 0 16px rgba(34, 167, 123, 0.7);
}

.os-rfq__success-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 50%;
	background: #0b8f75;
	color: #fff;
	box-shadow: 0 8px 24px rgba(11, 143, 117, 0.24);
	animation: os-success-icon 650ms cubic-bezier(0.2, 0.9, 0.25, 1.35) both;
}

.os-rfq__success-icon svg {
	width: 29px;
	height: 29px;
	stroke-width: 2.5;
}

.os-rfq__success-copy {
	display: grid;
	gap: 2px;
}

.os-rfq__success-copy strong {
	color: #075e50;
	font-size: 16px;
}

.os-rfq__success-copy small {
	color: #3b6f63;
	font-size: 13px;
	font-weight: 500;
}

@keyframes os-success-panel {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes os-success-icon {
	0% {
		opacity: 0;
		transform: scale(0.35) rotate(-18deg);
	}
	70% {
		opacity: 1;
		transform: scale(1.14) rotate(3deg);
	}
	100% {
		opacity: 1;
		transform: scale(1) rotate(0);
	}
}

.os-rfq__status.is-error {
	padding: 14px 16px;
	background: #fff1f2;
	border: 1px solid #f3a7b1;
	color: #b20c24;
	border-radius: 12px;
}

@media (max-width: 720px) {
	.os-rfq__form {
		grid-template-columns: 1fr;
	}

	.os-field--wide,
	.os-consent,
	.os-rfq__status {
		grid-column: auto;
	}
}
