/**
 * Quote Form Page.
 */

.nexora-quote-page {
	width: 100%;
	padding: clamp(1rem, 3vw, 2rem) 0 6rem;
}

.nexora-quote-page__header {
	width: min(100%, 52rem);
}

.nexora-quote-page__eyebrow,
.nexora-quote-page__guide-label {
	margin: 0 0 0.7rem;
	color: #806329;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.14em;
}

.nexora-quote-page__header h1 {
	margin: 0;
	color: var(--nexora-navy);
	font-size: clamp(2.5rem, 7vw, 4.75rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
	overflow-wrap: anywhere;
}

.nexora-quote-page__intro {
	max-width: 48rem;
	margin: 1.25rem 0 0;
	color: var(--nexora-navy-soft);
	font-size: clamp(1rem, 2.2vw, 1.125rem);
	line-height: 1.75;
}

.nexora-quote-page__intro > :first-child {
	margin-top: 0;
}

.nexora-quote-page__intro > :last-child {
	margin-bottom: 0;
}

.nexora-quote-page__notice {
	margin-top: clamp(2rem, 5vw, 3rem);
	padding: 1rem 1.125rem;
	border: 1px solid;
	border-radius: 0.5rem;
	line-height: 1.6;
}

.nexora-quote-page__notice p {
	margin: 0;
}

.nexora-quote-page__notice p + p {
	margin-top: 0.35rem;
}

.nexora-quote-page__notice--success {
	border-color: #8aac98;
	color: #173f29;
	background: #eef7f1;
}

.nexora-quote-page__notice--error {
	border-color: #ca8d86;
	color: #6e241e;
	background: #fff2f0;
}

.nexora-quote-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.25rem, 4vw, 2rem);
	margin-top: clamp(2.5rem, 7vw, 4.5rem);
	align-items: start;
}

.nexora-quote-page__guide,
.nexora-quote-page__form-panel {
	min-width: 0;
	border-radius: 0.75rem;
}

.nexora-quote-page__guide {
	padding: clamp(1.5rem, 5vw, 2.25rem);
	color: #e8edf3;
	background:
		radial-gradient(circle at 100% 0%, rgb(198 167 107 / 18%), transparent 16rem),
		linear-gradient(145deg, var(--nexora-navy), #102f50);
	box-shadow: 0 1rem 2.75rem rgb(8 26 51 / 13%);
}

.nexora-quote-page__guide-label {
	color: #dec99d;
}

.nexora-quote-page__guide h2,
.nexora-quote-page__form-panel h2 {
	margin: 0;
	font-size: clamp(1.5rem, 4vw, 2.15rem);
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.nexora-quote-page__guide h2 {
	color: var(--nexora-white);
}

.nexora-quote-page__guide ul {
	display: grid;
	gap: 0;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.nexora-quote-page__guide li {
	position: relative;
	padding: 1rem 0 1rem 2rem;
	border-top: 1px solid rgb(255 255 255 / 15%);
	color: #f1f4f7;
	line-height: 1.65;
}

.nexora-quote-page__guide li::before {
	position: absolute;
	top: 1.1rem;
	left: 0;
	display: inline-flex;
	width: 1.25rem;
	height: 1.25rem;
	align-items: center;
	justify-content: center;
	border: 1px solid rgb(222 201 157 / 65%);
	border-radius: 50%;
	color: #dec99d;
	font-size: 0.75rem;
	font-weight: 700;
	content: "✓";
}

.nexora-quote-page__form-panel {
	padding: clamp(1.5rem, 5vw, 2.5rem);
	border: 1px solid var(--nexora-border);
	background: var(--nexora-white);
	box-shadow: 0 1rem 2.75rem rgb(8 26 51 / 8%);
}

.nexora-quote-page__form-panel h2 {
	color: var(--nexora-navy);
}

.nexora-quote-page__form-intro,
.nexora-quote-page__empty {
	max-width: 42rem;
	margin: 0.85rem 0 0;
	color: var(--nexora-navy-soft);
	line-height: 1.7;
}

.nexora-quote-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.15rem;
	margin-top: 1.75rem;
}

.nexora-quote-form__field {
	min-width: 0;
}

.nexora-quote-form__field label {
	display: inline-block;
	margin-bottom: 0.45rem;
	color: var(--nexora-navy);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
}

.nexora-quote-form__field input,
.nexora-quote-form__field select,
.nexora-quote-form__field textarea {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 3rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid #bcc5cf;
	border-radius: 0.35rem;
	color: var(--nexora-text);
	background: #fff;
	font: inherit;
	line-height: 1.5;
}

.nexora-quote-form__field select {
	cursor: pointer;
}

.nexora-quote-form__field textarea {
	min-height: 7rem;
	resize: vertical;
}

.nexora-quote-form__document-field input[type="file"] {
	height: auto;
	padding: 0.55rem;
	cursor: pointer;
}

.nexora-quote-form__optional {
	display: inline-block;
	margin-left: 0.45rem;
	color: var(--nexora-navy-soft);
	font-size: 0.8125rem;
	font-weight: 500;
}

.nexora-quote-form__help {
	margin: 0.55rem 0 0;
	color: var(--nexora-navy-soft);
	font-size: 0.875rem;
	line-height: 1.55;
}

.nexora-quote-form__file-control.is-enhanced {
	display: flex;
	width: 100%;
	min-height: 3.25rem;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	padding: 0.4rem;
	border: 1px solid var(--nexora-border);
	border-radius: 0.25rem;
	background: var(--nexora-white);
}

.nexora-quote-form__file-control.is-enhanced:focus-within {
	border-color: var(--nexora-navy);
	box-shadow: 0 0 0 3px rgb(8 26 51 / 12%);
}

.nexora-quote-form__file-control.is-enhanced input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.nexora-quote-form__choose-files {
	min-height: 2.4rem;
	flex: 0 0 auto;
	padding: 0.5rem 0.8rem;
	border: 0;
	border-radius: 0.2rem;
	color: var(--nexora-white);
	background: var(--nexora-navy);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	cursor: pointer;
}

.nexora-quote-form__choose-files:hover {
	background: var(--nexora-navy-soft);
}

.nexora-quote-form__choose-files:focus-visible,
.nexora-quote-form__remove-file:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 2px;
}

.nexora-quote-form__file-tokens {
	display: flex;
	min-width: 0;
	flex: 1 1 12rem;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.nexora-quote-form__file-tokens[hidden] {
	display: none;
}

.nexora-quote-form__file-token {
	display: flex;
	min-width: 0;
	max-width: 100%;
	flex: 0 1 auto;
	gap: 0.3rem;
	align-items: center;
	padding: 0.35rem 0.4rem 0.35rem 0.6rem;
	border-radius: 999px;
	color: var(--nexora-navy);
	background: rgb(8 26 51 / 8%);
	font-size: 0.8125rem;
	font-weight: 700;
}

.nexora-quote-form__file-token-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nexora-quote-form__remove-file {
	display: inline-grid;
	min-width: 1.75rem;
	min-height: 1.75rem;
	flex: 0 0 auto;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	color: var(--nexora-navy);
	background: transparent;
	font: inherit;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.nexora-quote-form__remove-file:hover {
	background: rgb(8 26 51 / 10%);
}

.nexora-quote-form__document-status {
	margin: 0.65rem 0 0;
	color: #8a2e25;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.5;
}

.nexora-quote-form__document-status:empty {
	display: none;
}

.nexora-quote-form__field input:focus,
.nexora-quote-form__field select:focus,
.nexora-quote-form__field textarea:focus {
	border-color: var(--nexora-navy);
	box-shadow: 0 0 0 3px rgb(8 26 51 / 12%);
	outline: 0;
}

.nexora-quote-form__consents {
	display: grid;
	gap: 0.9rem;
}

.nexora-quote-form__checkbox {
	display: grid;
	grid-template-columns: 1.25rem minmax(0, 1fr);
	gap: 0.7rem;
	align-items: start;
	color: var(--nexora-navy-soft);
	font-size: 0.9rem;
	line-height: 1.55;
	cursor: pointer;
}

.nexora-quote-form__checkbox input {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.18rem 0 0;
	accent-color: var(--nexora-navy);
}

.nexora-quote-form__actions button {
	display: inline-flex;
	min-height: 3.25rem;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.4rem;
	border: 1px solid var(--nexora-navy);
	border-radius: 0.35rem;
	color: var(--nexora-white);
	background: var(--nexora-navy);
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.nexora-quote-form__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.nexora-quote-page__intro a:focus-visible,
.nexora-quote-form__checkbox input:focus-visible,
.nexora-quote-form__actions button:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

@media (min-width: 40rem) {
	.nexora-quote-page {
		padding-bottom: clamp(1.5rem, 4vw, 3rem);
	}

	.nexora-quote-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nexora-quote-form__field--full {
		grid-column: 1 / -1;
	}
}

@media (min-width: 64rem) {
	.nexora-quote-page__layout {
		grid-template-columns: minmax(18rem, 0.55fr) minmax(0, 1fr);
	}
}

@media (hover: hover) and (pointer: fine) {
	.nexora-quote-form__actions button:hover {
		border-color: var(--nexora-champagne);
		color: var(--nexora-navy);
		background: var(--nexora-champagne);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nexora-quote-form__actions button {
		transition-duration: 0.01ms;
	}
}
