/* Page styles: kontakt */
#opt-contact-page {
	--opt-grafit: #1a1c20;
	--opt-miedz: #d27a1f;
	--opt-miedz-light: #e89b4a;
	--opt-turquoise: #2fa4a9;
	--opt-white: #ffffff;
	--opt-gray-bg: #fafafa;
	--opt-border: #e0e0e0;

	width: 100%;
	padding: 12px 0;
	font-family: "Segoe UI", Roboto, sans-serif;
	background-color: #fff;
}

body.page-kontakt#body-wrapper {
	margin: 0 !important;
	padding: 0 !important;
}

body.page-kontakt #page,
body.page-kontakt #primary,
body.page-kontakt main.site-main {
	margin: 0 !important;
	padding: 0 !important;
}

.opt-contact-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	align-items: center;
}

.opt-contact-title {
	font-size: 32px;
	color: var(--opt-grafit);
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 15px;
	letter-spacing: -1px;
}

.opt-contact-subtitle {
	color: #888;
	font-size: 15px;
	margin-bottom: 35px;
	line-height: 1.6;
	max-width: 480px;
}

.opt-info-group {
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.opt-info-group label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #aaa;
	font-weight: 700;
	margin-bottom: 6px;
}

.opt-info-group p,
.opt-info-group a {
	font-size: 15px;
	color: var(--opt-grafit);
	text-decoration: none;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}

.opt-social-links {
	display: flex;
	gap: 12px;
	margin-top: 30px;
}

.opt-social-links a {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--opt-grafit);
	font-size: 19px;
	transition: 0.3s ease;
	text-decoration: none;
}

.opt-social-links a:hover {
	background: var(--opt-miedz);
	color: #fff;
	transform: translateY(-3px);
}

.opt-form-card {
	background: var(--opt-white);
	padding: 50px;
	border-radius: 12px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
	border: 1px solid #f0f0f0;
}

.opt-form-group {
	position: relative;
	margin-bottom: 22px;
}

.opt-input {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--opt-border);
	border-radius: 6px;
	font-size: 16px;
	background: var(--opt-gray-bg);
	box-sizing: border-box;
	outline: none;
	transition: 0.3s;
	line-height: 1.2;
}

.opt-label {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-55%);
	color: #999;
	font-size: 16px;
	pointer-events: none;
	transition: 0.3s;
	padding: 0 4px;
	line-height: 1;
}

.opt-form-group textarea.opt-input ~ .opt-label {
	top: 16px;
	transform: translateY(0);
}

.opt-input:focus ~ .opt-label,
.opt-input:not(:placeholder-shown) ~ .opt-label {
	top: -10px;
	left: 12px;
	transform: translateY(0);
	font-size: 12px;
	font-weight: 700;
	color: var(--opt-miedz);
	background: var(--opt-white);
}

.opt-form-group textarea.opt-input:focus ~ .opt-label,
.opt-form-group textarea.opt-input:not(:placeholder-shown) ~ .opt-label {
	top: -10px;
	left: 12px;
	transform: translateY(0);
}

.opt-input:focus {
	border-color: var(--opt-miedz);
	background: #fff;
}

textarea.opt-input {
	min-height: 120px;
	resize: none;
}

.opt-hp-style {
	display: none;
	visibility: hidden;
}

.opt-check-wrapper {
	margin: 20px 0;
}

.opt-check-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 13px;
	color: #666;
	margin-bottom: 15px;
	line-height: 1.5;
	cursor: pointer;
}

.opt-check-item input {
	margin-top: 3px;
	accent-color: var(--opt-miedz);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.opt-legal-link {
	color: #000;
	text-decoration: underline;
	font-weight: 600;
}

.opt-contact-submit {
	width: 100%;
	background: var(--opt-miedz);
	color: #fff;
	border: none;
	padding: 14px;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 10px rgba(210, 122, 31, 0.2);
	letter-spacing: 0.5px;
	display: block;
	outline: none;
}

.opt-contact-submit:hover:not(:disabled) {
	background: var(--opt-miedz-light);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(210, 122, 31, 0.35);
}

.opt-contact-submit:disabled {
	opacity: 0.9;
	cursor: default;
}

.opt-form-status {
	margin-top: 14px;
	font-size: 13px;
	font-weight: 700;
	display: none;
}

.opt-form-status.ok {
	color: var(--opt-turquoise);
}

.opt-form-status.err {
	color: #e74c3c;
}

@media (max-width: 992px) {
	.opt-contact-container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.opt-form-card {
		padding: 0;
		background: transparent;
		box-shadow: none;
		border: none;
	}

	.opt-input {
		background: #fff;
	}
}
