/* ── RFQ Page Widget ────────────────────────────────────── */

.rbcc-ew-rfq-page {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	background: var(--rbcc-ew-fallback-page);
	color: var(--rbcc-ew-fallback-text);
	font-family: var(--rbcc-ew-fallback-body-font);
	overflow-x: clip;
}

@supports (width: 100dvw) {
	.rbcc-ew-rfq-page {
		width: 100dvw;
		max-width: 100dvw;
		margin-inline: calc(50% - 50dvw);
	}
}

@supports selector(body:has(a)) {
	body:has(.rbcc-ew-rfq-page) {
		overflow-x: clip;
	}
}

.rbcc-ew-rfq-container {
	width: min(calc(100% - 8rem), 1152px);
	margin-inline: auto;
}

.rbcc-ew-rfq-hero {
	position: relative;
	min-height: clamp(560px, 56vw, 716px);
	display: grid;
	align-items: center;
	overflow: hidden;
	color: var(--rbcc-ew-fallback-white);
}

.rbcc-ew-rfq-hero__media,
.rbcc-ew-rfq-hero__overlay {
	position: absolute;
	inset: 0;
}

.rbcc-ew-rfq-hero__media {
	background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.08)), var(--rbcc-ew-rfq-hero-image, var(--rbcc-ew-fallback-brand-mesh));
	background-size: cover;
	background-position: center;
}

.rbcc-ew-rfq-hero__overlay {
	background: linear-gradient(90deg, rgba(8,17,15,.84) 0%, rgba(8,17,15,.54) 42%, rgba(8,17,15,.12) 74%, rgba(8,17,15,.06) 100%), linear-gradient(180deg, rgba(8,17,15,.26), rgba(8,17,15,.34));
}

.rbcc-ew-rfq-hero .rbcc-ew-rfq-container {
	position: relative;
	z-index: 1;
}

.rbcc-ew-rfq-hero__content {
	max-width: 626px;
}

.rbcc-ew-rfq-eyebrow {
	margin: 0 0 1.5rem;
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--rbcc-ew-fallback-brand-soft-2);
}

.rbcc-ew-rfq-hero__title {
	margin: 0;
	max-width: 9.4em;
	font-family: var(--rbcc-ew-fallback-heading-font);
	font-size: clamp(3.5rem, 7vw, 4.5rem);
	font-weight: 700;
	line-height: .95;
	letter-spacing: -.03em;
	color: var(--rbcc-ew-fallback-white);
}

.rbcc-ew-rfq-hero__copy {
	max-width: 560px;
	margin: 1.5rem 0 0;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.625;
	color: var(--rbcc-ew-fallback-brand-soft-2);
}

.rbcc-ew-rfq-main {
	padding: 6rem 0 8rem;
}

.rbcc-ew-rfq-grid {
	display: grid;
	grid-template-columns: minmax(0, 652px) minmax(360px, 492px);
	gap: 28px;
	align-items: start;
}

.rbcc-ew-rfq-content,
.rbcc-ew-rfq-section,
.rbcc-ew-rfq-sidebar,
.rbcc-ew-rfq-form,
.rbcc-ew-rfq-assets,
.rbcc-ew-rfq-requirements {
	display: grid;
}

.rbcc-ew-rfq-content {
	gap: 6rem;
}

.rbcc-ew-rfq-section {
	gap: 2.5rem;
}

.rbcc-ew-rfq-heading,
.rbcc-ew-rfq-card h2 {
	margin: 0;
	font-family: var(--rbcc-ew-fallback-heading-font);
	font-weight: 400;
	line-height: 1.12;
	color: var(--rbcc-ew-fallback-brand);
}

.rbcc-ew-rfq-heading {
	font-size: 2.25rem;
}

.rbcc-ew-rfq-copy {
	max-width: 652px;
	font-size: 1rem;
	line-height: 1.625;
	color: var(--rbcc-ew-fallback-text);
}

.rbcc-ew-rfq-copy p,
.rbcc-ew-rfq-requirement p,
.rbcc-ew-rfq-form p {
	margin: 0;
}

.rbcc-ew-rfq-phase-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	padding: 2rem;
	background: var(--rbcc-ew-fallback-surface-soft);
}

.rbcc-ew-rfq-phase {
	display: grid;
	gap: .3rem;
}

.rbcc-ew-rfq-phase p,
.rbcc-ew-rfq-milestones span,
.rbcc-ew-rfq-liaison__image + div > p,
.rbcc-ew-rfq-form label {
	margin: 0;
	font-size: .625rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rbcc-ew-rfq-phase p,
.rbcc-ew-rfq-liaison__image + div > p {
	color: var(--rbcc-ew-fallback-brand-soft);
}

.rbcc-ew-rfq-phase h3,
.rbcc-ew-rfq-requirement h3 {
	margin: 0;
	font-family: var(--rbcc-ew-fallback-body-font);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.625;
	color: var(--rbcc-ew-fallback-brand);
}

.rbcc-ew-rfq-phase span {
	font-size: .875rem;
	line-height: 1.45;
	color: var(--rbcc-ew-fallback-text-muted);
}

.rbcc-ew-rfq-requirements,
.rbcc-ew-rfq-form {
	gap: 1.5rem;
}

.rbcc-ew-rfq-requirement {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.5rem;
	align-items: start;
}

.rbcc-ew-rfq-requirement__icon {
	position: relative;
	display: block;
	width: 46px;
	height: 45px;
	background: rgba(45, 75, 67, .1);
}

.rbcc-ew-rfq-requirement__icon::before,
.rbcc-ew-rfq-requirement__icon::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	background: var(--rbcc-ew-fallback-brand);
	transform: translate(-50%, -50%);
}

.rbcc-ew-rfq-requirement__icon::before {
	width: 14px;
	height: 14px;
	border: 1.8px solid var(--rbcc-ew-fallback-brand);
	border-radius: 999px;
	background: transparent;
}

.rbcc-ew-rfq-requirement__icon::after {
	width: 6px;
	height: 6px;
	border-radius: 999px;
}

.rbcc-ew-rfq-requirement .icon-2::before {
	width: 2px;
	height: 18px;
	border: 0;
	border-radius: 0;
	background: var(--rbcc-ew-fallback-brand);
}

.rbcc-ew-rfq-requirement .icon-2::after {
	width: 10px;
	height: 10px;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	border-radius: 0;
	transform: translate(-50%, -75%);
}

.rbcc-ew-rfq-requirement .icon-3::before {
	width: 18px;
	height: 12px;
	border: 0;
	border-radius: 0;
	clip-path: polygon(0 20%, 78% 20%, 78% 0, 100% 50%, 78% 100%, 78% 80%, 0 80%);
}

.rbcc-ew-rfq-requirement .icon-3::after {
	display: none;
}

.rbcc-ew-rfq-requirement div div {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--rbcc-ew-fallback-text);
}

.rbcc-ew-rfq-sidebar {
	gap: 2rem;
}

.rbcc-ew-rfq-card {
	padding: 2.5rem;
}

.rbcc-ew-rfq-card--timeline {
	background: var(--rbcc-ew-fallback-brand);
	color: var(--rbcc-ew-fallback-white);
	box-shadow: var(--rbcc-ew-fallback-shadow-soft);
}

.rbcc-ew-rfq-card--timeline h2 {
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255,255,255,.1);
	font-size: 1.5rem;
	color: var(--rbcc-ew-fallback-white);
}

.rbcc-ew-rfq-milestones {
	position: relative;
	display: grid;
	gap: 2rem;
	margin: 2rem 0 0;
	padding: 0 0 0 2.5rem;
	list-style: none;
}

.rbcc-ew-rfq-milestones::before {
	content: "";
	position: absolute;
	top: .5rem;
	bottom: .5rem;
	left: .75rem;
	width: 1px;
	background: rgba(255,255,255,.2);
}

.rbcc-ew-rfq-milestones li {
	position: relative;
	display: grid;
	gap: .25rem;
}

.rbcc-ew-rfq-milestones li::before {
	content: "";
	position: absolute;
	top: .2rem;
	left: -2.25rem;
	width: 24px;
	height: 24px;
	border: 7px solid var(--rbcc-ew-fallback-brand-soft);
	border-radius: 999px;
	background: var(--rbcc-ew-fallback-white);
}

.rbcc-ew-rfq-milestones span {
	color: var(--rbcc-ew-fallback-brand-soft-2);
}

.rbcc-ew-rfq-milestones strong {
	font-size: 1.25rem;
	line-height: 1.4;
	color: var(--rbcc-ew-fallback-white);
}

.rbcc-ew-rfq-milestones .is-featured strong {
	font-size: 1.5rem;
}

.rbcc-ew-rfq-card--assets,
.rbcc-ew-rfq-card--liaison {
	background: var(--rbcc-ew-fallback-surface-alt);
}

.rbcc-ew-rfq-card--assets h2 {
	font-size: 1.25rem;
	font-weight: 700;
}

.rbcc-ew-rfq-assets {
	gap: 1rem;
	margin-top: 2rem;
}

.rbcc-ew-rfq-assets a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 54px;
	padding: 1rem;
	background: var(--rbcc-ew-fallback-white);
	border: 1px solid rgba(193, 200, 196, .3);
	font-size: .875rem;
	font-weight: 700;
	line-height: 1.4;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--rbcc-ew-fallback-text);
}

.rbcc-ew-rfq-assets a span:last-child {
	font-size: 1rem;
	color: var(--rbcc-ew-fallback-brand-soft);
}

.rbcc-ew-rfq-card--form {
	background: var(--rbcc-ew-fallback-white);
	border-bottom: 4px solid var(--rbcc-ew-fallback-brand);
	box-shadow: 0 8px 10px -6px rgba(2,44,34,.05), 0 20px 25px -5px rgba(2,44,34,.05);
}

.rbcc-ew-rfq-card--form h2 {
	font-size: 1.875rem;
}

.rbcc-ew-rfq-form {
	margin-top: 2rem;
}

.rbcc-ew-rfq-form label {
	display: block;
	margin-bottom: .45rem;
	color: var(--rbcc-ew-fallback-text-muted);
}

.rbcc-ew-rfq-form input,
.rbcc-ew-rfq-form textarea {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 0;
	background: var(--rbcc-ew-fallback-surface-soft);
	padding: .8rem 1rem;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--rbcc-ew-fallback-brand);
}

.rbcc-ew-rfq-form input {
	min-height: 48px;
}

.rbcc-ew-rfq-form textarea {
	min-height: 120px;
	resize: vertical;
}

.rbcc-ew-rfq-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	width: 100%;
	border: 0;
	border-radius: 0;
	background: var(--rbcc-ew-fallback-brand);
	color: var(--rbcc-ew-fallback-white);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
}

.rbcc-ew-rfq-card--liaison {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 1.5rem;
	align-items: center;
	padding: 2rem;
}

.rbcc-ew-rfq-liaison__image {
	width: 80px;
	height: 80px;
	background: #e7e5e4;
	overflow: hidden;
}

.rbcc-ew-rfq-liaison__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rbcc-ew-rfq-liaison__image:empty::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #cbd5dc, #f3f4f5 48%, #9fb2ad);
}

.rbcc-ew-rfq-card--liaison h2 {
	margin: .25rem 0 0;
	font-family: var(--rbcc-ew-fallback-body-font);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
}

.rbcc-ew-rfq-card--liaison span {
	display: block;
	margin-top: .2rem;
	font-size: .75rem;
	font-style: italic;
	color: var(--rbcc-ew-fallback-text-muted);
}

.rbcc-ew-rfq-card--liaison a {
	display: inline-flex;
	margin-top: .7rem;
	font-size: .75rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	color: var(--rbcc-ew-fallback-brand);
}

@media (max-width: 1024px) {
	.rbcc-ew-rfq-container {
		width: min(calc(100% - 3rem), 1152px);
	}

	.rbcc-ew-rfq-grid {
		grid-template-columns: 1fr;
		gap: 4rem;
	}

	.rbcc-ew-rfq-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}

	.rbcc-ew-rfq-card--form,
	.rbcc-ew-rfq-card--liaison {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.rbcc-ew-rfq-container {
		width: min(calc(100% - 2rem), 1152px);
	}

	.rbcc-ew-rfq-hero {
		min-height: 620px;
	}

	.rbcc-ew-rfq-hero__title {
		font-size: clamp(2.8rem, 13vw, 4rem);
	}

	.rbcc-ew-rfq-main {
		padding: 4rem 0 5rem;
	}

	.rbcc-ew-rfq-content {
		gap: 4rem;
	}

	.rbcc-ew-rfq-phase-grid,
	.rbcc-ew-rfq-sidebar {
		grid-template-columns: 1fr;
	}

	.rbcc-ew-rfq-card {
		padding: 1.5rem;
	}

	.rbcc-ew-rfq-card--liaison {
		grid-template-columns: 64px 1fr;
	}

	.rbcc-ew-rfq-liaison__image {
		width: 64px;
		height: 64px;
	}
}
