:root {
	--hwq-black: #07090b;
	--hwq-surface: #111418;
	--hwq-surface-2: #171b20;
	--hwq-text: #f5f3ee;
	--hwq-muted: #a1a8ae;
	--hwq-orange: #ff5a1f;
	--hwq-orange-dark: #d94713;
	--hwq-border: rgba(255, 255, 255, 0.12);
	--hwq-border-strong: rgba(255, 255, 255, 0.22);
	--hwq-radius: 16px;
}

[hidden] {
	display: none !important;
}

.hw-offer > .wp-block-shortcode,
.wp-block-shortcode.alignwide:has(.hwq-launcher) {
	width: min(1320px, 100%);
	max-width: 1320px !important;
	margin: 22px auto 0 !important;
}

.hwq-launcher {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	margin-top: 22px;
	padding: clamp(26px, 4vw, 42px);
	border: 1px solid var(--hwq-border);
	border-radius: 18px;
	background:
		radial-gradient(circle at 82% 20%, rgba(255, 90, 31, 0.11), transparent 18rem),
		#0c0f12;
}

.hwq-launcher__copy {
	max-width: 720px;
}

.hwq-launcher__eyebrow {
	margin: 0 0 10px;
	color: var(--hwq-orange);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hwq-launcher h3 {
	margin: 0 0 10px;
	color: var(--hwq-text);
	font-family: "Barlow Condensed", Impact, sans-serif;
	font-size: clamp(2rem, 4vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 0.96;
}

.hwq-launcher__copy > p:last-child {
	margin: 0;
	color: var(--hwq-muted);
	font-size: 0.92rem;
	line-height: 1.6;
}

.hwq-launcher__button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-width: 245px;
	min-height: 54px;
	padding: 15px 20px;
	border: 0;
	border-radius: 14px;
	background: var(--hwq-orange);
	color: #fff;
	cursor: pointer;
	font: 700 0.94rem/1 "Inter", sans-serif;
	transition: transform 160ms ease, background 160ms ease;
}

.hwq-launcher__button:hover {
	background: var(--hwq-orange-dark);
	transform: translateY(-2px);
}

.hwq-modal {
	position: fixed;
	z-index: 10000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	transition: opacity 180ms ease;
}

.hwq-modal.is-open {
	opacity: 1;
}

.hwq-modal__backdrop {
	position: absolute;
	inset: 0;
	background: transparent;
	backdrop-filter: none;
}

.hwq-modal__panel {
	position: relative;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	width: min(1180px, 100%);
	max-height: 90vh;
	overflow: hidden;
	border: 1px solid var(--hwq-border-strong);
	border-radius: 18px;
	background: var(--hwq-black);
	box-shadow: 0 34px 120px rgba(0, 0, 0, 0.65);
	color: var(--hwq-text);
	transform: translateY(18px) scale(0.985);
	transition: transform 220ms ease;
}

.hwq-modal.is-open .hwq-modal__panel {
	transform: none;
}

.hwq-modal,
.hwq-modal *,
.hwq,
.hwq *,
.hwq *::before,
.hwq *::after {
	box-sizing: border-box;
}

.hwq-modal__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	min-height: 88px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--hwq-border);
	background: rgba(17, 20, 24, 0.98);
}

.hwq-modal__header > div {
	min-width: 0;
}

.hwq-modal__header p {
	margin: 0 0 4px;
	color: var(--hwq-orange);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.hwq-modal__header h2 {
	margin: 0;
	color: var(--hwq-text);
	font-family: "Barlow Condensed", Impact, sans-serif;
	font-size: clamp(1.65rem, 3vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.hwq-modal__close {
	position: relative;
	display: grid;
	align-self: center;
	flex: 0 0 46px;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--hwq-border);
	border-radius: 12px;
	background: var(--hwq-surface-2);
	color: var(--hwq-text);
	cursor: pointer;
	font-size: 1.75rem;
	line-height: 1;
	overflow: hidden;
	transition: border-color 160ms ease, background 160ms ease;
	touch-action: manipulation;
}

.hwq-modal__close span {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
	font-size: 0;
	line-height: 0;
}

.hwq-modal__close span::before,
.hwq-modal__close span::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
}

.hwq-modal__close span::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.hwq-modal__close span::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.hwq-modal__close:hover {
	border-color: var(--hwq-border-strong);
	background: #20262c;
}

.hwq-modal__body {
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-color: #3c444c var(--hwq-black);
}

.hwq {
	width: 100%;
	padding: clamp(24px, 4vw, 46px);
	color: var(--hwq-text);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hwq *,
.hwq *::before,
.hwq *::after {
	box-sizing: border-box;
}

.hwq__progress {
	position: relative;
	margin-bottom: clamp(32px, 5vw, 54px);
}

.hwq__progress ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hwq__progress li {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-rows: 30px auto;
	justify-items: start;
	gap: 7px;
	margin: 0;
	color: #707980;
	font-size: 0.72rem;
	font-weight: 600;
}

.hwq__progress li span {
	display: grid;
	flex: 0 0 30px;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid #30363d;
	border-radius: 50%;
	background: var(--hwq-black);
	color: var(--hwq-muted);
	font-size: 0.7rem;
}

.hwq__progress li.is-active,
.hwq__progress li.is-complete {
	color: var(--hwq-text);
}

.hwq__progress li.is-active span,
.hwq__progress li.is-complete span {
	border-color: var(--hwq-orange);
	background: var(--hwq-orange);
	color: #fff;
}

.hwq__progress-line {
	position: absolute;
	z-index: 0;
	top: 15px;
	left: 15px;
	width: calc(100% - 30px);
	height: 1px;
	background: #30363d;
}

.hwq__progress-line span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--hwq-orange);
	transition: width 260ms ease;
}

.hwq__form {
	margin: 0;
}

.hwq__step {
	animation: hwq-fade-in 220ms ease both;
}

@keyframes hwq-fade-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.hwq__step-header {
	max-width: 700px;
	margin-bottom: 28px;
}

.hwq__eyebrow {
	margin: 0 0 8px;
	color: var(--hwq-orange);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.hwq__step-header h3,
.hwq__success h3 {
	margin: 0 0 12px;
	color: var(--hwq-text);
	font-family: "Barlow Condensed", Impact, sans-serif;
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 0.98;
}

.hwq__step-header > p:last-child,
.hwq__success > p:last-child {
	margin: 0;
	color: var(--hwq-muted);
	line-height: 1.65;
}

.hwq__services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
}

.hwq__service-card {
	position: relative;
	display: flex;
	min-height: 148px;
	padding: 18px;
	overflow: hidden;
	border: 1px solid var(--hwq-border);
	border-radius: 14px;
	background: var(--hwq-surface);
	cursor: pointer;
	flex-direction: column;
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.hwq__service-card:hover {
	border-color: var(--hwq-border-strong);
	background: var(--hwq-surface-2);
	transform: translateY(-2px);
}

.hwq__service-card.is-selected {
	border-color: var(--hwq-orange);
	background: rgba(255, 90, 31, 0.08);
}

.hwq__service-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hwq__service-card:has(input:focus-visible) {
	outline: 3px solid var(--hwq-orange);
	outline-offset: 3px;
}

.hwq__service-index {
	margin-bottom: auto;
	color: var(--hwq-orange);
	font: 800 0.72rem/1 "Barlow Condensed", sans-serif;
	letter-spacing: 0.08em;
}

.hwq__service-card strong {
	margin-top: 24px;
	color: var(--hwq-text);
	font-size: 0.9rem;
	line-height: 1.25;
}

.hwq__service-card small {
	margin-top: 5px;
	color: var(--hwq-muted);
	font-size: 0.7rem;
	line-height: 1.35;
}

.hwq__service-card--other {
	grid-column: auto;
}

.hwq__fields {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.hwq__fields--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hwq__field {
	display: flex;
	gap: 8px;
	margin: 0;
	color: var(--hwq-text);
	font-size: 0.78rem;
	font-weight: 600;
	flex-direction: column;
}

.hwq__field--full {
	grid-column: 1 / -1;
}

.hwq__field em,
.hwq__consent em {
	color: var(--hwq-orange);
	font-style: normal;
}

.hwq__field input,
.hwq__field select,
.hwq__field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--hwq-border);
	border-radius: 11px;
	background: var(--hwq-surface);
	color: var(--hwq-text);
	font: 400 0.9rem/1.4 "Inter", sans-serif;
	transition: border-color 160ms ease, background 160ms ease;
}

.hwq__field textarea {
	min-height: 110px;
	resize: vertical;
}

.hwq__field select {
	color-scheme: dark;
}

.hwq__field input::placeholder,
.hwq__field textarea::placeholder {
	color: #717981;
}

.hwq__field input:focus,
.hwq__field select:focus,
.hwq__field textarea:focus {
	border-color: var(--hwq-orange);
	background: #15191e;
	outline: 0;
}

.hwq__field .is-invalid,
.hwq__field input:invalid:not(:placeholder-shown) {
	border-color: #ff7c68;
}

.hwq__upload {
	position: relative;
	margin-top: 18px;
}

.hwq__upload input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.hwq__upload > label {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 104px;
	padding: 18px;
	border: 1px dashed var(--hwq-border-strong);
	border-radius: 14px;
	background: var(--hwq-surface);
	cursor: pointer;
	text-align: center;
	flex-direction: column;
	transition: border-color 160ms ease, background 160ms ease;
}

.hwq__upload input:focus-visible + label,
.hwq__upload label:hover {
	border-color: var(--hwq-orange);
	background: var(--hwq-surface-2);
}

.hwq__upload label strong {
	color: var(--hwq-text);
	font-size: 0.9rem;
}

.hwq__upload label span {
	margin-top: 5px;
	color: var(--hwq-muted);
	font-size: 0.7rem;
}

.hwq__file-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
}

.hwq__file-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 9px 11px;
	border: 1px solid var(--hwq-border);
	border-radius: 9px;
	background: var(--hwq-surface);
	font-size: 0.72rem;
}

.hwq__file-list span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hwq__file-list small {
	color: var(--hwq-muted);
	white-space: nowrap;
}

.hwq__review {
	margin-bottom: 22px;
	padding: 18px;
	border: 1px solid var(--hwq-border);
	border-radius: 14px;
	background: var(--hwq-surface);
}

.hwq__review-title {
	margin: 0 0 12px;
	font-weight: 700;
}

.hwq__review dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 9px 22px;
	margin: 0;
}

.hwq__review dl div {
	display: grid;
	grid-template-columns: minmax(90px, 0.6fr) 1.4fr;
	gap: 10px;
}

.hwq__review dt,
.hwq__review dd {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.4;
}

.hwq__review dt {
	color: var(--hwq-muted);
}

.hwq__consent {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin-top: 20px;
	color: var(--hwq-muted);
	font-size: 0.74rem;
	line-height: 1.5;
}

.hwq__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	accent-color: var(--hwq-orange);
}

.hwq__consent a {
	color: var(--hwq-text);
}

.hwq__actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--hwq-border);
}

.hwq__button {
	min-width: 140px;
	min-height: 48px;
	padding: 12px 19px;
	border: 1px solid transparent;
	border-radius: 12px;
	cursor: pointer;
	font: 700 0.86rem/1 "Inter", sans-serif;
}

.hwq__button--next,
.hwq__button--submit {
	background: var(--hwq-orange);
	color: #fff;
}

.hwq__button--next:hover,
.hwq__button--submit:hover {
	background: var(--hwq-orange-dark);
}

.hwq__button--back {
	border-color: var(--hwq-border);
	background: transparent;
	color: var(--hwq-text);
}

.hwq__button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.hwq__status,
.hwq__field-error {
	min-height: 1.25em;
	margin: 10px 0 0;
	font-size: 0.76rem;
}

.hwq__field-error,
.hwq__status.is-error {
	color: #ff9a8a;
}

.hwq__status.is-pending {
	color: var(--hwq-muted);
}

.hwq__success {
	max-width: 700px;
	margin: clamp(24px, 6vw, 80px) auto;
	padding: 36px;
	border: 1px solid var(--hwq-border);
	border-radius: 18px;
	background: var(--hwq-surface);
	text-align: center;
}

.hwq__success-mark {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: var(--hwq-orange);
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
}

.hwq__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 900px) {
	.hwq__fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.hwq-launcher {
		align-items: stretch;
		padding: 24px;
		gap: 18px;
		flex-direction: column;
	}

	.hwq-launcher__copy > p:last-child {
		font-size: 0.84rem;
	}

	.hwq-launcher__button {
		width: 100%;
		min-width: 0;
	}

	.hwq-modal {
		padding: 0;
	}

	.hwq-modal__backdrop {
		backdrop-filter: none;
	}

	.hwq-modal__panel {
		width: 100%;
		height: 100%;
		max-height: none;
		border: 0;
		border-radius: 0;
	}

	.hwq-modal__header {
		min-height: 74px;
		padding: 14px 18px;
	}

	.hwq-modal__header h2 {
		font-size: 1.65rem;
	}

	.hwq-modal__close {
		flex-basis: 44px;
		width: 44px;
		height: 44px;
	}

	.hwq {
		padding: 24px 18px 32px;
	}

	.hwq__progress li {
		gap: 0;
		font-size: 0;
	}

	.hwq__progress li span {
		font-size: 0.68rem;
	}

	.hwq__progress-line {
		width: calc(100% - 30px);
	}

	.hwq__services {
		grid-template-columns: 1fr;
	}

	.hwq__service-card {
		min-height: 132px;
	}
}

@media (max-width: 520px) {
	.hwq-launcher {
		padding: 24px;
	}

	.hwq__fields,
	.hwq__fields--two,
	.hwq__file-list,
	.hwq__review dl {
		grid-template-columns: 1fr;
	}

	.hwq__service-card {
		padding: 15px;
	}

	.hwq__actions {
		flex-wrap: wrap;
	}

	.hwq__button {
		flex: 1 1 125px;
	}

	.hwq__review dl div {
		grid-template-columns: minmax(80px, 0.6fr) 1.4fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hwq-modal,
	.hwq-modal__panel,
	.hwq__step,
	.hwq__progress-line span,
	.hwq-launcher__button,
	.hwq__service-card {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
