/* Contact page — aligned with commissions (navy / soft / cards) */
.bt2-contact,
body.bt2-contact-view .bt2-ty {
	--navy: #1F2F5C;
	--navy-d: #16223F;
	--navy-l: #2C3F74;
	--ink: #1D2433;
	--grey: #6F7891;
	--line: #E3E6ED;
	--soft: #F3F5F9;
	--bg: #F7F8FB;
	--mint: #7FD1A2;
	--r: 14px;
}

/* Stay in site cartouche (layout-boxed) — do not break out to full bleed */
body.bt2-contact-view #sp-main-body,
body.bt2-contact-view #sp-component,
body.bt2-contact-view .page-content {
	background: var(--bg, #F7F8FB);
}

body.bt2-contact-view #sp-title,
body.bt2-contact-view .sp-page-title {
	display: none !important;
}

.bt2-contact,
.bt2-contact * {
	box-sizing: border-box;
}

.bt2-contact {
	font-family: Arial, Helvetica, sans-serif;
	color: var(--ink);
	background: var(--bg);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.bt2-contact .wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px 8px;
}

/* Hero */
.bt2-contact .hero {
	position: relative;
	background:
		radial-gradient(1000px 420px at 88% -10%, #34497F 0%, rgba(52, 73, 127, 0) 58%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%);
	color: #fff;
	overflow: hidden;
}

.bt2-contact .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 22px 22px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
	pointer-events: none;
}

.bt2-contact .hero-body {
	position: relative;
	padding: 56px 0 48px;
	max-width: 720px;
	animation: bt2c-rise 0.7s ease both;
}

.bt2-contact .kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: bold;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 7px 14px;
	border-radius: 999px;
}

.bt2-contact .kicker i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 0 rgba(127, 209, 162, 0.7);
	animation: bt2c-pulse 2.2s infinite;
}

@keyframes bt2c-pulse {
	0% { box-shadow: 0 0 0 0 rgba(127, 209, 162, 0.6); }
	70% { box-shadow: 0 0 0 10px rgba(127, 209, 162, 0); }
	100% { box-shadow: 0 0 0 0 rgba(127, 209, 162, 0); }
}

@keyframes bt2c-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.bt2-contact .hero h1 {
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.02em;
	margin: 22px 0 16px;
	color: #fff;
}

.bt2-contact .hero h1 span {
	color: #AFC3F2;
}

.bt2-contact .hero .lead {
	font-size: 18px;
	line-height: 1.55;
	opacity: 0.88;
	max-width: 560px;
	margin: 0;
}

/* Shell: form + aside */
.bt2-contact .shell {
	position: relative;
	z-index: 2;
	margin-top: -28px;
	padding-bottom: 72px;
}

.bt2-contact .shell-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.75fr);
	gap: 22px;
	align-items: start;
}

.bt2-contact .card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 28px 28px 24px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 18px 44px -24px rgba(31, 47, 92, 0.35);
	animation: bt2c-rise 0.75s ease 0.08s both;
}

.bt2-contact .card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--navy), var(--navy-l));
}

.bt2-contact .card-head {
	margin-bottom: 22px;
}

.bt2-contact .card-head h2 {
	font-size: 22px;
	color: var(--navy);
	letter-spacing: -0.01em;
	margin: 0 0 6px;
	line-height: 1.2;
}

.bt2-contact .card-head p {
	margin: 0;
	color: var(--grey);
	font-size: 14px;
}

/* Fields — 2 columns where useful */
.bt2-contact .fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.bt2-contact .field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.bt2-contact .field-span {
	grid-column: 1 / -1;
}

.bt2-contact .field label,
.bt2-contact .field .formControlLabel {
	display: block;
	font-size: 13px;
	font-weight: bold;
	color: var(--navy);
	letter-spacing: 0.01em;
	margin: 0;
	float: none !important;
	width: auto !important;
	text-align: left !important;
	padding: 0 !important;
}

.bt2-contact .field .formRequired,
.bt2-contact .formRequired {
	color: #C45B5B;
	font-weight: bold;
	margin-left: 3px;
}

.bt2-contact .field .formControls,
.bt2-contact .field .formBody,
.bt2-contact .field .rsform-block {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

.bt2-contact .field input.rsform-input-box,
.bt2-contact .field textarea.rsform-text-box,
.bt2-contact .field input[type="text"],
.bt2-contact .field textarea {
	width: 100% !important;
	max-width: 100% !important;
	height: 48px;
	border: 1.5px solid var(--line);
	background: #fff;
	border-radius: 12px;
	padding: 0 16px;
	color: var(--ink);
	outline: none;
	font-family: inherit;
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.bt2-contact .field textarea.rsform-text-box,
.bt2-contact .field textarea {
	height: auto;
	min-height: 140px;
	padding: 14px 16px;
	resize: vertical;
	line-height: 1.45;
}

.bt2-contact .field input:focus,
.bt2-contact .field textarea:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 4px rgba(31, 47, 92, 0.1);
}

.bt2-contact .field .formDescription {
	display: none;
}

.bt2-contact .field .formNoError {
	display: none !important;
}

.bt2-contact .field .formError,
.bt2-contact .field .formValidation .formError {
	display: block !important;
	font-size: 12.5px;
	color: #C45B5B;
	margin-top: 4px;
}

/* Hide default RSForm chrome inside our layout */
.bt2-contact .formContainer,
.bt2-contact .formRow,
.bt2-contact .formSpan6,
.bt2-contact .formSpan12,
.bt2-contact .rsform-block {
	display: contents;
}

.bt2-contact fieldset.formContainer {
	border: 0;
	margin: 0;
	padding: 0;
	min-inline-size: 0;
}

.bt2-contact h2.rsform-title,
.bt2-contact form > h2 {
	display: none !important;
}

.bt2-contact #rsform_error_21,
.bt2-contact .formError {
	grid-column: 1 / -1;
	background: #FFF1F1;
	border: 1px solid #F0C4C4;
	color: #8A3030;
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 4px;
	font-size: 14px;
}

.bt2-contact #rsform_error_21 .formRed {
	margin: 0;
	color: inherit;
}

/* Captcha row — larger readable code */
.bt2-contact .captcha-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
}

.bt2-contact .captcha-row img,
.bt2-contact .rsform-captcha-image,
.bt2-contact img[src*="captcha"] {
	border-radius: 10px;
	border: 1.5px solid var(--line);
	height: 64px !important;
	width: auto !important;
	max-width: 100%;
	image-rendering: auto;
}

.bt2-contact .captcha-row input.rsform-input-box {
	max-width: 200px !important;
	width: 200px !important;
	height: 52px;
	font-size: 20px !important;
	letter-spacing: 0.12em;
	font-weight: bold;
}

.bt2-contact .captcha-row a {
	font-size: 13px;
	color: var(--navy-l);
	font-weight: bold;
}

/* Submit */
.bt2-contact .actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 6px;
}

.bt2-contact .btn-send,
.bt2-contact input.rsform-submit-button,
.bt2-contact button.rsform-submit-button {
	appearance: none;
	border: 0;
	cursor: pointer;
	height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--navy-l), var(--navy));
	color: #fff !important;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 0.02em;
	box-shadow: 0 12px 28px -14px rgba(31, 47, 92, 0.75);
	transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.bt2-contact .btn-send:hover,
.bt2-contact input.rsform-submit-button:hover,
.bt2-contact button.rsform-submit-button:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 16px 34px -14px rgba(31, 47, 92, 0.85);
}

.bt2-contact .hint {
	font-size: 13px;
	color: var(--grey);
}

/* Aside */
.bt2-contact .aside {
	display: flex;
	flex-direction: column;
	gap: 14px;
	animation: bt2c-rise 0.8s ease 0.16s both;
}

.bt2-contact .info {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 22px 22px 18px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.bt2-contact .info::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 4px;
	background: var(--mint);
}

.bt2-contact .info h3 {
	margin: 0 0 10px;
	font-size: 16px;
	color: var(--navy);
}

.bt2-contact .info p,
.bt2-contact .info li {
	margin: 0;
	font-size: 14px;
	color: var(--grey);
	line-height: 1.55;
}

.bt2-contact .info ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bt2-contact .info li {
	padding: 8px 0;
	border-bottom: 1px solid var(--line);
}

.bt2-contact .info li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.bt2-contact .info a {
	color: var(--navy);
	font-weight: bold;
	text-decoration: none;
}

.bt2-contact .info a:hover {
	text-decoration: underline;
}

.bt2-contact .info .tag {
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--navy-l);
	margin-bottom: 8px;
}

/* Thank-you page */
.bt2-ty {
	font-family: Arial, Helvetica, sans-serif;
	background: var(--bg);
	color: var(--ink);
	min-height: 60vh;
}

.bt2-ty .hero {
	position: relative;
	background:
		radial-gradient(1000px 420px at 88% -10%, #34497F 0%, rgba(52, 73, 127, 0) 58%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-d) 100%);
	color: #fff;
	overflow: hidden;
	padding: 64px 28px 56px;
	text-align: center;
}

.bt2-ty .hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: 0.9;
	pointer-events: none;
}

.bt2-ty .hero-inner {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	animation: bt2c-rise 0.7s ease both;
}

.bt2-ty .check {
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: rgba(127, 209, 162, 0.18);
	border: 2px solid var(--mint);
	display: grid;
	place-items: center;
	animation: bt2c-pulse 2.4s infinite;
}

.bt2-ty .check svg {
	width: 34px;
	height: 34px;
	stroke: var(--mint);
	fill: none;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bt2-ty h1 {
	font-size: clamp(28px, 4.5vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
	color: #fff;
}

.bt2-ty .lead {
	font-size: 18px;
	opacity: 0.9;
	margin: 0;
	line-height: 1.55;
}

.bt2-ty .panel {
	max-width: 640px;
	margin: -28px auto 72px;
	padding: 0 28px;
	position: relative;
	z-index: 2;
}

.bt2-ty .panel-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 28px;
	box-shadow: 0 18px 44px -24px rgba(31, 47, 92, 0.35);
	text-align: center;
	animation: bt2c-rise 0.75s ease 0.1s both;
}

.bt2-ty .panel-card p {
	margin: 0 0 14px;
	color: var(--grey);
	font-size: 15.5px;
	line-height: 1.55;
}

.bt2-ty .panel-card p:last-child {
	margin-bottom: 0;
}

.bt2-ty .panel-card strong {
	color: var(--navy);
}

.bt2-ty .cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 24px;
	margin-top: 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--navy-l), var(--navy));
	color: #fff !important;
	font-weight: bold;
	text-decoration: none !important;
	box-shadow: 0 12px 28px -14px rgba(31, 47, 92, 0.75);
	transition: transform 0.2s;
}

.bt2-ty .cta:hover {
	transform: translateY(-2px);
	color: #fff !important;
}

@media (max-width: 900px) {
	.bt2-contact .shell-grid {
		grid-template-columns: 1fr;
	}

	.bt2-contact .aside {
		order: 2;
	}
}

@media (max-width: 640px) {
	.bt2-contact .wrap {
		padding: 0 16px;
	}

	.bt2-contact .hero-body {
		padding: 40px 0 36px;
	}

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

	.bt2-contact .card {
		padding: 22px 18px 18px;
	}

	.bt2-contact .captcha-row input.rsform-input-box {
		max-width: 100% !important;
		width: 100% !important;
	}
}
