.contact-page .page-head {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid var(--border);
	box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
	border-radius: var(--radius);
}

.contact-page .cardx {
	border: 1px solid var(--border);
	background: var(--card2);
	box-shadow: var(--shadow2);
	border-radius: var(--radius);
}

/* Labels */
.contact-page .form-label {
	font-weight: 800;
	color: var(--text);
	margin-bottom: 6px;
}

/* Inputs / textarea */
.contact-page .form-control {
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 2px 6px rgba(2, 6, 23, 0.05);
	transition:
		border-color 0.12s ease,
		box-shadow 0.12s ease,
		background 0.12s ease;
}

.contact-page textarea.form-control {
	resize: vertical;
	min-height: 150px;
}

.contact-page .form-control::placeholder {
	color: #94a3b8;
}

.contact-page .form-control:focus {
	border-color: rgba(14, 165, 233, 0.65);
	box-shadow: var(--focus);
	outline: none;
}

.contact-page .cpt-wrap {
	width: 100%;
}

.contact-page .cpt-label {
	font-weight: 800;
	color: var(--text);
	margin-bottom: 6px;
}

.contact-page .cpt-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.contact-page .cpt-q {
	font-weight: 900;
	padding: 0.55rem 0.7rem;
	border-radius: 12px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	background: rgba(15, 23, 42, 0.05);
	color: var(--text);
	letter-spacing: -0.01em;
	line-height: 1;
	white-space: nowrap;
}

.contact-page .cpt-ans {
	max-width: 180px;
}

.contact-page .cpt-refresh {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	border-radius: 12px;
	padding: 0.55rem 0.75rem;

	border: 1px solid rgba(148, 163, 184, 0.45);
	background: rgba(255, 255, 255, 0.7);
	color: var(--text);

	font-weight: 900;
	box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);

	transition:
		border-color 0.12s ease,
		box-shadow 0.12s ease,
		color 0.12s ease,
		background 0.12s ease;
}

.contact-page .cpt-refresh:hover {
	border-color: rgba(14, 165, 233, 0.6);
	color: var(--brand);
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 12px 24px rgba(2, 6, 23, 0.09);
}

.contact-page .cpt-refresh:active {
	box-shadow: 0 8px 18px rgba(2, 6, 23, 0.06);
}

.contact-page .cpt-refresh i {
	font-size: 0.95em;
	opacity: 0.9;
}

.contact-page .sub-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;

	padding: 0.75rem 0.85rem;
	border-radius: 12px;

	border: 1px dashed rgba(148, 163, 184, 0.45);
	background: rgba(248, 250, 252, 0.7);

	color: var(--text);
	font-weight: 300;
	line-height: 1.35;
}

.contact-page .sub-consent input[type='checkbox'] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	accent-color: var(--brand);
}

.contact-page .sub-consent a {
	color: var(--brand);
	font-weight: 450;
	text-decoration: none;
}

.contact-page .sub-consent a:hover {
	opacity: 0.7;
}

.contact-page .btn.btn-primary {
	border: 0;
	border-radius: 12px;
	font-weight: 900;
	letter-spacing: -0.01em;

	background: linear-gradient(135deg, var(--brand), #0284c7);
	box-shadow: 0 12px 26px rgba(14, 165, 233, 0.22);

	transition:
		box-shadow 0.12s ease,
		background 0.12s ease,
		filter 0.12s ease;
}

.contact-page .btn.btn-primary:hover {
	background: linear-gradient(135deg, #0284c7, #0369a1);
	box-shadow: 0 16px 34px rgba(14, 165, 233, 0.26);
	filter: brightness(1.02);
}

.contact-page .btn.btn-primary:active {
	box-shadow: 0 10px 22px rgba(14, 165, 233, 0.22);
}

/* Status message */
.contact-page #contactMsg {
	font-size: 0.95rem;
	color: var(--muted);
	min-height: 1.2em;
}

/* Responsive captcha */
@media (max-width: 576px) {
	.contact-page .cpt-row {
		flex-direction: column;
		align-items: stretch;
	}

	.contact-page .cpt-q {
		width: 100%;
		text-align: center;
	}

	.contact-page .cpt-ans {
		max-width: none;
		width: 100%;
	}

	.contact-page .cpt-refresh {
		width: 100%;
		justify-content: center;
	}
}

.contact-page .cpt-refresh,
.contact-page #contactCaptchaBtn.cpt-refresh {
	border: none !important;
	background: transparent !important;

	padding: 6px 8px !important;
	border-radius: 14px;

	font-weight: 900 !important;
	color: var(--brand) !important;

	box-shadow: none !important;
	line-height: 1;

	display: inline-flex;
	align-items: center;
	gap: 8px;

	transition:
		color 0.12s ease,
		background 0.12s ease;
}

.contact-page .cpt-refresh:hover,
.contact-page #contactCaptchaBtn.cpt-refresh:hover {
}

.contact-page .cpt-refresh:active,
.contact-page #contactCaptchaBtn.cpt-refresh:active {
	background: rgba(14, 165, 233, 0.12) !important;
}

/* icon polish */
.contact-page .cpt-refresh i {
	font-size: 0.95em;
	opacity: 0.9;
}

/* optional: if button is only "↻" text without icon */
.contact-page .cpt-refresh:focus-visible {
	box-shadow: var(--focus);
}

/* Iteration 18: professional captcha block without browser-default button styling */
.contact-captcha-pro{
	background:linear-gradient(135deg,rgba(248,250,252,.92),rgba(240,249,255,.72));
	border:1px solid rgba(14,165,233,.14);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.92);
}
.contact-captcha-pro .cpt-label{
	font-size:.84rem;
	font-weight:430;
	color:#334155;
	margin-bottom:10px;
}
.contact-captcha-pro .cpt-row{
	display:grid;
	grid-template-columns:auto auto minmax(190px,1fr);
	gap:10px;
	align-items:center;
}
.contact-captcha-pro .cpt-q{
	min-height:44px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:0 14px;
	border-radius:14px;
	border:1px solid rgba(14,165,233,.18);
	background:#fff;
	color:#0f172a;
	font-size:.98rem;
	font-weight:500;
	box-shadow:0 8px 18px rgba(15,23,42,.045);
}
.contact-captcha-pro .cpt-refresh,
.contact-captcha-pro #contactCaptchaBtn.cpt-refresh{
	appearance:none!important;
	-webkit-appearance:none!important;
	min-height:44px!important;
	border:1px solid rgba(14,165,233,.22)!important;
	background:rgba(255,255,255,.92)!important;
	color:#0369a1!important;
	border-radius:14px!important;
	padding:0 14px!important;
	font-weight:420!important;
	font-size:.9rem!important;
	line-height:1!important;
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:8px!important;
	box-shadow:0 8px 18px rgba(15,23,42,.045)!important;
	cursor:pointer!important;
	text-decoration:none!important;
}
.contact-captcha-pro .cpt-refresh:hover,
.contact-captcha-pro #contactCaptchaBtn.cpt-refresh:hover{
	border-color:rgba(14,165,233,.42)!important;
	background:rgba(240,249,255,.98)!important;
	transform:translateY(-1px);
}
.contact-captcha-pro .cpt-refresh:focus-visible,
.contact-captcha-pro #contactCaptchaBtn.cpt-refresh:focus-visible{
	outline:none!important;
	box-shadow:0 0 0 .25rem rgba(14,165,233,.13)!important;
}
.contact-captcha-pro .cpt-ans{
	max-width:none!important;
	min-height:44px;
}
@media (max-width:700px){
	.contact-captcha-pro .cpt-row{grid-template-columns:1fr;}
	.contact-captcha-pro .cpt-refresh,
	.contact-captcha-pro #contactCaptchaBtn.cpt-refresh,
	.contact-captcha-pro .cpt-q{width:100%;}
}
