:root {
	--stalwart-navy: #0b1e2f;
	--stalwart-deep: #06090c;
	--stalwart-panel: #101c26;
	--stalwart-gold: #d9b44a;
	--stalwart-gold-light: #f0cf70;
	--stalwart-line: rgba(217, 180, 74, 0.38);
	--stalwart-text: #f5f5f2;
	--stalwart-muted: #c7d0d8;
}

.stalwart-contact-page {
	background: var(--stalwart-navy);
	color: var(--stalwart-text);
}

.stalwart-contact-shell {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.stalwart-contact-hero {
	position: relative;
	min-height: 470px;
	display: flex;
	align-items: center;
	background-color: var(--stalwart-deep);
	background-image:
		linear-gradient(90deg, rgba(4, 8, 12, 0.98) 0%, rgba(4, 8, 12, 0.88) 40%, rgba(4, 8, 12, 0.18) 76%),
		url("contact-consultation-hero.png");
	background-position: center;
	background-size: cover;
	border-bottom: 1px solid var(--stalwart-line);
}

.stalwart-contact-hero__content {
	max-width: 720px;
	padding: 90px 0;
}

.stalwart-contact-eyebrow {
	margin: 0 0 18px;
	color: var(--stalwart-gold-light);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.stalwart-contact-hero h1 {
	margin: 0 0 22px;
	max-width: 700px;
	color: #fff;
	font-size: clamp(3.2rem, 7vw, 6.4rem);
	line-height: 0.93;
	letter-spacing: -0.035em;
	text-transform: uppercase;
}

.stalwart-contact-hero__content > p:last-child {
	max-width: 660px;
	margin: 0;
	color: var(--stalwart-muted);
	font-size: clamp(1.12rem, 2vw, 1.42rem);
	line-height: 1.6;
}

.stalwart-contact-main {
	padding: 80px 0 100px;
}

.stalwart-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
	gap: 34px;
	align-items: start;
}

.stalwart-contact-form-card,
.stalwart-contact-aside-card {
	background: rgba(7, 14, 20, 0.72);
	border: 1px solid var(--stalwart-line);
	border-radius: 10px;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.stalwart-contact-form-card {
	position: relative;
	padding: clamp(28px, 5vw, 54px);
	background:
		linear-gradient(145deg, rgba(5, 14, 22, 0.97) 0%, rgba(12, 35, 52, 0.95) 52%, rgba(37, 31, 15, 0.94) 100%);
}

.stalwart-contact-form-card::before {
	position: absolute;
	top: -86px;
	left: -82px;
	width: 250px;
	height: 250px;
	background: url("stalwart-logo.png") center / contain no-repeat;
	content: "";
	opacity: 0.1;
	pointer-events: none;
}

.stalwart-contact-form-card::after {
	position: absolute;
	right: -18px;
	bottom: -24px;
	color: rgba(240, 207, 112, 0.075);
	content: "STALWART";
	font-size: clamp(4rem, 10vw, 8.5rem);
	font-weight: 900;
	letter-spacing: 0.07em;
	line-height: 1;
	pointer-events: none;
	text-transform: uppercase;
}

.stalwart-contact-form-card > * {
	position: relative;
	z-index: 1;
}

.stalwart-contact-form-card h2,
.stalwart-contact-aside-card h2 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(1.8rem, 3.4vw, 2.7rem);
	line-height: 1.05;
	text-transform: uppercase;
}

.stalwart-contact-intro,
.stalwart-contact-aside-card p,
.stalwart-contact-aside-card li {
	color: var(--stalwart-muted);
	line-height: 1.7;
}

.stalwart-contact-intro {
	max-width: 720px;
	margin: 0 0 34px;
}

.stalwart-contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.stalwart-contact-field--full {
	grid-column: 1 / -1;
}

.stalwart-contact-field label {
	display: block;
	margin-bottom: 8px;
	color: #fff;
	font-weight: 700;
}

.stalwart-contact-field label span {
	color: var(--stalwart-gold-light);
}

.stalwart-contact-field input,
.stalwart-contact-field select,
.stalwart-contact-field textarea {
	width: 100%;
	min-height: 50px;
	box-sizing: border-box;
	border: 1px solid #486071;
	border-radius: 2px;
	background: #07121a;
	color: #fff;
	font: inherit;
	padding: 12px 14px;
}

.stalwart-contact-field-note,
.stalwart-contact-method-note {
	margin: 8px 0 0;
	color: var(--stalwart-muted);
	font-size: 0.86rem;
	line-height: 1.5;
}

.stalwart-contact-po[hidden] {
	display: none;
}

.stalwart-contact-field textarea {
	min-height: 165px;
	resize: vertical;
}

.stalwart-contact-field input:focus,
.stalwart-contact-field select:focus,
.stalwart-contact-field textarea:focus {
	outline: 3px solid rgba(240, 207, 112, 0.38);
	border-color: var(--stalwart-gold-light);
}

.stalwart-contact-required {
	margin: 18px 0;
	color: var(--stalwart-muted);
	font-size: 0.88rem;
}

.stalwart-contact-submit {
	min-height: 52px;
	border: 1px solid #f2d477;
	border-radius: 4px;
	background: linear-gradient(135deg, #9d7a2f, #efd06f 62%, #ad8735);
	color: #080b0e;
	cursor: pointer;
	font-weight: 900;
	letter-spacing: 0.1em;
	padding: 14px 24px;
	text-transform: uppercase;
}

.stalwart-contact-submit:hover,
.stalwart-contact-submit:focus {
	filter: brightness(1.09);
	transform: translateY(-1px);
}

.stalwart-contact-aside {
	display: grid;
	gap: 26px;
}

.stalwart-contact-aside-card {
	border-top: 3px solid var(--stalwart-gold);
	padding: 30px;
}

.stalwart-contact-aside-card h2 {
	font-size: 1.3rem;
}

.stalwart-contact-method {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--stalwart-line);
}

.stalwart-contact-method span {
	display: block;
	margin-bottom: 6px;
	color: var(--stalwart-muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.stalwart-contact-method a {
	color: var(--stalwart-gold-light);
	font-weight: 700;
	overflow-wrap: anywhere;
}

.stalwart-contact-value {
	display: block;
	color: var(--stalwart-gold-light);
	font-weight: 700;
}

.stalwart-contact-aside-card ol {
	margin: 20px 0 0;
	padding-left: 22px;
}

.stalwart-contact-aside-card li + li {
	margin-top: 13px;
}

.stalwart-contact-alert {
	margin: 0 0 28px;
	border-left: 4px solid;
	padding: 16px 18px;
	line-height: 1.55;
}

.stalwart-contact-alert--success {
	border-color: #68b35c;
	background: rgba(74, 135, 65, 0.2);
}

.stalwart-contact-alert--error {
	border-color: #e76c5d;
	background: rgba(174, 50, 37, 0.2);
}

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

@media (max-width: 850px) {
	.stalwart-contact-grid {
		grid-template-columns: 1fr;
	}

	.stalwart-contact-hero {
		min-height: 410px;
		background-position: 64% center;
	}
}

@media (max-width: 600px) {
	.stalwart-contact-shell {
		width: min(100% - 28px, 1180px);
	}

	.stalwart-contact-hero__content {
		padding: 70px 0;
	}

	.stalwart-contact-hero h1 {
		font-size: clamp(2.65rem, 14vw, 4rem);
	}

	.stalwart-contact-main {
		padding: 48px 0 70px;
	}

	.stalwart-contact-fields {
		grid-template-columns: 1fr;
	}

	.stalwart-contact-field--full {
		grid-column: auto;
	}

	.stalwart-contact-submit {
		width: 100%;
	}
}
