.wsc-inquiry-form {
	--wsc-inquiry-gap: 1rem;
	--wsc-inquiry-label-gap: .375rem;
	--wsc-inquiry-control-border: var(--wsc-line-strong);
	--wsc-inquiry-error: #a51d28;
	display: grid;
	gap: var(--wsc-inquiry-gap);
	min-inline-size: 0;
	color: var(--wsc-body);
	font-family: var(--wsc-font);
}

.wsc-inquiry-form .wsc-inquiry-form__field {
	display: grid;
	gap: var(--wsc-inquiry-label-gap);
	min-inline-size: 0;
}

.wsc-inquiry-form .wsc-inquiry-form__field label {
	color: var(--wsc-ink);
	font-weight: 700;
}

.wsc-inquiry-form .wsc-inquiry-form__field :is(input, textarea) {
	box-sizing: border-box;
	inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 44px;
	padding: .625rem .75rem;
	border: 1px solid var(--wsc-inquiry-control-border);
	border-radius: var(--wsc-radius);
	background: var(--wsc-white);
	color: var(--wsc-ink);
	font: inherit;
}

.wsc-inquiry-form .wsc-inquiry-form__field textarea {
	resize: vertical;
}

.wsc-inquiry-form :is(input, textarea, button):focus-visible {
	outline: 2px solid var(--wsc-green);
	outline-offset: 2px;
}

.wsc-inquiry-form .wsc-inquiry-form__field [aria-invalid="true"] {
	border-color: var(--wsc-inquiry-error);
}

.wsc-inquiry-form .wsc-inquiry-form__hint,
.wsc-inquiry-form .wsc-inquiry-form__status {
	margin: 0;
	font-size: .875rem;
	overflow-wrap: anywhere;
}

.wsc-inquiry-form .wsc-inquiry-form__submit,
.wsc-inquiry-form input[type="file"]::file-selector-button {
	min-block-size: 44px;
	padding: .625rem 1rem;
	border: 1px solid var(--wsc-green);
	border-radius: var(--wsc-radius);
	background: var(--wsc-green);
	color: var(--wsc-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.wsc-inquiry-form .wsc-inquiry-form__submit {
	justify-self: start;
	max-inline-size: 100%;
	overflow-wrap: anywhere;
}

.wsc-inquiry-form .wsc-inquiry-form__submit:hover:not(:disabled) {
	background: var(--wsc-hover);
}

.wsc-inquiry-form .wsc-inquiry-form__submit:disabled {
	cursor: wait;
	opacity: .7;
}

.wsc-inquiry-form .wsc-inquiry-form__progress {
	inline-size: 100%;
	accent-color: var(--wsc-green);
}

.wsc-inquiry-form .wsc-inquiry-form__progress[hidden] {
	display: none;
}

.wsc-inquiry-form .wsc-inquiry-form__status:empty {
	margin-block-start: calc(-1 * var(--wsc-inquiry-gap));
}

.wsc-inquiry-form:is([data-state="error"], [data-state="invalid"]) .wsc-inquiry-form__status {
	color: var(--wsc-inquiry-error);
}

.wsc-inquiry-form[data-state="success"] .wsc-inquiry-form__status {
	color: var(--wsc-green);
}

.wsc-palletizer-inquiry {
	max-inline-size: 48rem;
	margin: var(--space-section) auto 0;
	padding: clamp(16px, 4vw, 32px);
	background: var(--wsc-soft);
	border: 1px solid var(--wsc-line);
	border-radius: var(--wsc-radius);
	scroll-margin-block-start: 96px;
}

.wsc-palletizer-inquiry > h2 { margin: 0 0 1rem; }

/*
 * Palletizer inquiry: the client mock pairs the first four fields in two
 * columns, then runs the select, the requirements, the attachment row and the
 * call to action full width. The rules above keep serving the contact form, so
 * every product change is scoped to the --product modifier.
 */
.wsc-palletizer-inquiry {
	background: var(--wsc-white);
}

.wsc-palletizer-inquiry__eyebrow {
	margin: 0 0 .5rem;
	color: var(--wsc-green);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .09em;
	line-height: 1.4;
	text-transform: uppercase;
}

.wsc-inquiry-form--product {
	gap: 1.125rem;
}

.wsc-inquiry-form--product .wsc-inquiry-form__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.125rem;
}

.wsc-inquiry-form--product .wsc-inquiry-form__field :is(input:not([type="file"]), textarea, select) {
	box-sizing: border-box;
	inline-size: 100%;
	min-inline-size: 0;
	min-block-size: 52px;
	padding: .75rem .875rem;
	border: 1px solid var(--wsc-line);
	border-radius: var(--wsc-radius);
	background: var(--wsc-white);
	color: var(--wsc-ink);
	font: inherit;
}

.wsc-inquiry-form--product .wsc-inquiry-form__field :is(input, textarea, select)::placeholder {
	color: var(--wsc-body);
	opacity: .65;
}

.wsc-inquiry-form--product .wsc-inquiry-form__field textarea {
	min-block-size: 9rem;
	line-height: 1.5;
	resize: vertical;
}

/* A select has to read as the same control as a text input, so the native
   chrome goes and a chevron drawn as inline SVG (data URI, no image file)
   takes its place. */
.wsc-inquiry-form--product .wsc-inquiry-form__field select {
	-webkit-appearance: none;
	appearance: none;
	padding-inline-end: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334424a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right .875rem center;
	background-size: 1.125rem 1.125rem;
	cursor: pointer;
}

.wsc-inquiry-form--product .wsc-inquiry-form__field :is(input, textarea, select):focus-visible {
	border-color: var(--wsc-green);
	outline: 2px solid var(--wsc-green);
	outline-offset: 2px;
}

/* The attachment row is the visible control; the native file input stays in the
   DOM and focusable, hidden without display:none so a picker still opens and the
   row can show the focus ring. The selector carries the field classes so this
   beats the label rule the contact form relies on. */
.wsc-inquiry-form--product .wsc-inquiry-form__field label.wsc-inquiry-form__attach {
	position: relative;
	display: flex;
	align-items: center;
	gap: .625rem;
	box-sizing: border-box;
	min-block-size: 52px;
	padding: .75rem .875rem;
	border: 1px solid var(--wsc-line);
	border-radius: var(--wsc-radius);
	background: var(--wsc-white);
	color: var(--wsc-ink);
	font-weight: 400;
	cursor: pointer;
}

.wsc-inquiry-form--product .wsc-inquiry-form__field label.wsc-inquiry-form__attach:hover {
	border-color: var(--wsc-line-strong);
}

.wsc-inquiry-form--product .wsc-inquiry-form__field label.wsc-inquiry-form__attach:focus-within {
	outline: 2px solid var(--wsc-green);
	outline-offset: 2px;
}

.wsc-inquiry-form--product .wsc-inquiry-form__attach-icon {
	flex: none;
	color: var(--wsc-ink);
}

.wsc-inquiry-form--product .wsc-inquiry-form__attach-text {
	overflow-wrap: anywhere;
}

.wsc-inquiry-form--product .wsc-inquiry-form__attach input[type="file"] {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	min-block-size: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	overflow: hidden;
	clip-path: inset(50%);
}

.wsc-inquiry-form__sr-only {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.wsc-inquiry-form--product .wsc-inquiry-form__submit {
	justify-self: stretch;
	inline-size: 100%;
	min-block-size: 52px;
	padding: .75rem 1rem;
	border-color: var(--wsc-green);
	background: var(--wsc-green);
	color: var(--wsc-white);
	font-weight: 700;
}

.wsc-inquiry-form--product .wsc-inquiry-form__submit:hover:not(:disabled) {
	background: var(--wsc-hover);
	border-color: var(--wsc-hover);
}

.wsc-inquiry-form--product .wsc-inquiry-form__submit:disabled {
	cursor: wait;
	opacity: .6;
}

@media (max-width: 640px) {
	.wsc-inquiry-form--product .wsc-inquiry-form__pair {
		grid-template-columns: minmax(0, 1fr);
	}
}

/*
 * Palletizer page (native build): the module is a full-width soft band, one continuous
 * column of value copy on the left and the real engine form in a white card on the
 * right. Only the --pillar modifier is restyled, so the contact form and the card the
 * systems page draws keep the rules above untouched. The band bleeds to the viewport
 * edges with the same shadow-and-clip trick the soft sections of this site use; no
 * shadow, gradient or new colour is added, only the tokens this site already owns.
 */
.wsc-palletizer-inquiry--pillar {
	max-inline-size: none;
	margin: 0;
	padding: 64px 0;
	background: var(--wsc-soft);
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 0 100vmax var(--wsc-soft);
	clip-path: inset(0 -100vmax);
	scroll-margin-block-start: 96px;
}

/* Two columns centred against each other. Each column is sized by its own content,
   so the band is as tall as the taller one and nothing is stretched to match. */
.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__layout {
	display: grid;
	grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
	column-gap: clamp(48px, 4vw, 64px);
	row-gap: 32px;
	align-items: center;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-inline-size: 0;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__panel {
	min-inline-size: 0;
	padding: 28px;
	background: var(--wsc-white);
	border: 1px solid var(--wsc-line);
	border-radius: 6px;
}

/* Left column: eyebrow, heading, description, what you'll receive, the three
   benefits and the contact block read as one continuous group. */
.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__eyebrow {
	margin: 0 0 10px;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__copy h2 {
	margin: 0 0 12px;
	color: var(--wsc-ink);
	letter-spacing: -.02em;
	line-height: 1.16;
	text-wrap: balance;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__lead {
	margin: 0;
	max-inline-size: 48ch;
	color: var(--wsc-body);
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__subhead {
	align-self: stretch;
	margin: 24px 0 0;
	padding-block-start: 20px;
	border-block-start: 1px solid var(--wsc-line);
	color: var(--wsc-ink);
	font-family: var(--wsc-title);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.3;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__benefits {
	align-self: stretch;
	display: grid;
	gap: 18px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__benefits li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__icon {
	flex: none;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__benefits .wsc-palletizer-inquiry__icon {
	margin-block-start: 2px;
	color: var(--wsc-green);
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__benefit-title {
	margin: 0;
	color: var(--wsc-ink);
	font-weight: 700;
	line-height: 1.35;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__benefit-text {
	margin: 2px 0 0;
	color: var(--wsc-body);
	font-size: .9375rem;
	line-height: 1.5;
}

/* Contact block: 32px below the last benefit, behind a hairline rule. */
.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__contact {
	align-self: stretch;
	display: grid;
	gap: 12px;
	margin-block-start: 32px;
	padding-block-start: 24px;
	border-block-start: 1px solid var(--wsc-line);
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__contact-title {
	margin: 0;
	color: var(--wsc-ink);
	font-size: .9375rem;
	font-weight: 700;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__contact-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 0;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__wa {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-block-size: 40px;
	padding: 0 16px;
	border: 1px solid var(--wsc-green);
	border-radius: var(--wsc-radius);
	background: transparent;
	color: var(--wsc-green);
	font-size: .875rem;
	font-weight: 700;
	text-decoration: none;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__wa:hover {
	background: var(--wsc-green);
	border-color: var(--wsc-green);
	color: var(--wsc-white);
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__phone {
	color: var(--wsc-ink);
	font-size: .9375rem;
	font-weight: 700;
	line-height: 1.4;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__mail {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--wsc-ink);
	font-size: .9375rem;
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__mail:hover {
	color: var(--wsc-green);
}

.wsc-palletizer-inquiry--pillar :is(.wsc-palletizer-inquiry__wa, .wsc-palletizer-inquiry__mail):focus-visible {
	outline: 2px solid var(--wsc-green);
	outline-offset: 3px;
}

/* Right column: the card is compressed so the form stops towering over the copy. */
.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__form-title {
	margin: 0 0 16px;
	color: var(--wsc-ink);
	font-family: var(--wsc-title);
	font-size: 1.3125rem;
	font-weight: 800;
	letter-spacing: -.01em;
	line-height: 1.25;
}

/* 16px between rows, 8px between a label and its control. */
.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product {
	gap: 16px;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form .wsc-inquiry-form__field {
	gap: 8px;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__pair {
	gap: 16px;
	align-items: start;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form .wsc-inquiry-form__field label {
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.35;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__field :is(input:not([type="file"]), textarea, select) {
	min-block-size: 46px;
	padding: .5rem .75rem;
	font-size: .9375rem;
}

/* The chevron keeps its room at the smaller padding, so the arrow stays visible. */
.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__panel .wsc-inquiry-form--product .wsc-inquiry-form__field select {
	padding-inline-end: 2.5rem;
	background-position: right .75rem center;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__field textarea {
	block-size: 116px;
	min-block-size: 116px;
	padding-block: .625rem;
	line-height: 1.5;
	resize: vertical;
}

/* The attachment row stays the visible control, at the height of one input. */
.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__field label.wsc-inquiry-form__attach {
	min-block-size: 44px;
	padding: .375rem .75rem;
	font-size: .9375rem;
	font-weight: 400;
}

/* The formats and the size limit are a real constraint, so they read instead of
   being announced only to a screen reader. */
.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__field .wsc-inquiry-form__attach + .wsc-inquiry-form__hint {
	position: static;
	inline-size: auto;
	block-size: auto;
	margin: 0;
	padding: 0;
	overflow: visible;
	clip-path: none;
	white-space: normal;
	color: #5b6a66;
	font-size: .75rem;
	line-height: 1.45;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__submit {
	min-block-size: 48px;
	padding: .625rem 1rem;
	font-size: .9375rem;
}

.wsc-palletizer-inquiry--pillar .wsc-inquiry-form__submit::after {
	content: "→";
	margin-inline-start: .5rem;
}

.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__privacy {
	margin: 12px 0 0;
	color: var(--wsc-body);
	font-size: .75rem;
	line-height: 1.5;
}

/* Stacked: the copy, then the form, then nothing else forced beside it. */
@media (max-width: 900px) {
	.wsc-palletizer-inquiry--pillar {
		padding-block: 48px;
	}

	.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__layout {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}

	.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__panel {
		padding: 24px;
	}

	.wsc-palletizer-inquiry--pillar .wsc-palletizer-inquiry__lead {
		max-inline-size: none;
	}

	.wsc-palletizer-inquiry--pillar .wsc-inquiry-form--product .wsc-inquiry-form__pair {
		grid-template-columns: minmax(0, 1fr);
	}
}
