﻿:root {
	--ct-bg: #eef3f9;
	--ct-surface: #ffffff;
	--ct-surface-soft: #f8fafd;
	--ct-text: #0f1a2d;
	--ct-muted: #4d5e75;
	--ct-line: #d9e3ef;
	--ct-accent: #eab216;
	--ct-accent-strong: #c8920f;
	--ct-shadow-sm: 0 10px 26px rgba(10, 20, 36, 0.08);
	--ct-shadow-md: 0 24px 54px rgba(10, 20, 36, 0.14);
}

.contact-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(88px, 11vw, 150px) clamp(14px, 3vw, 42px) clamp(58px, 8vw, 110px);
	background:
		linear-gradient(120deg, rgba(7, 16, 31, 0.86), rgba(17, 38, 69, 0.72)),
		url("../images/fabrika.webp") center/cover no-repeat;
}

.contact-hero::before {
	content: "";
	position: absolute;
	right: -90px;
	top: -90px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(234, 178, 22, 0.45), rgba(234, 178, 22, 0));
}

.contact-hero-inner {
	width: min(100%, 1260px);
	margin-inline: auto;
	text-align: center;
	color: #eef5ff;
}

.contact-kicker {
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.82rem;
	font-weight: 800;
	color: #f4cc67;
}

.contact-hero h1 {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.8rem);
	line-height: 1.05;
}

.contact-hero p {
	margin: 14px auto 0;
	max-width: 78ch;
	font-size: clamp(1rem, 1.5vw, 1.14rem);
	line-height: 1.8;
	color: rgba(240, 247, 255, 0.93);
}

.contact-highlights,
.contact-main-section,
.contact-faq {
	padding: clamp(44px, 7vw, 84px) clamp(14px, 3vw, 42px);
	background: var(--ct-bg);
}

.contact-highlights .wrap,
.contact-main-section .wrap,
.contact-faq .wrap {
	width: min(100%, 1260px);
	margin-inline: auto;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.contact-mini-card {
	background: var(--ct-surface);
	border: 1px solid var(--ct-line);
	border-radius: 16px;
	padding: 18px;
	box-shadow: var(--ct-shadow-sm);
	text-align: center;
}

.contact-mini-card i {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.25rem;
	color: #13233f;
	background: linear-gradient(120deg, #f2cd63, var(--ct-accent));
	margin-bottom: 12px;
}

.contact-mini-card h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.contact-mini-card p {
	margin: 0;
	line-height: 1.65;
	color: var(--ct-muted);
}

.contact-main-grid {
	display: grid;
	grid-template-columns: minmax(320px, 1.3fr) minmax(280px, 0.9fr);
	gap: clamp(16px, 3vw, 24px);
}

.contact-form-wrap,
.contact-map-card,
.contact-fast-links {
	background: var(--ct-surface);
	border: 1px solid var(--ct-line);
	border-radius: 18px;
	box-shadow: var(--ct-shadow-sm);
}

.contact-form-wrap {
	padding: clamp(18px, 2.4vw, 30px);
}

.contact-form-wrap h2,
.contact-faq h2 {
	margin: 0 0 10px;
	color: var(--ct-text);
	font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.contact-form-wrap > p {
	margin: 0 0 18px;
	color: var(--ct-muted);
	line-height: 1.7;
}

.contact-form {
	display: grid;
	gap: 14px;
}

.contact-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.contact-field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.contact-form label {
	display: grid;
	gap: 7px;
	font-size: 0.92rem;
	font-weight: 700;
	color: #20324e;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	border: 1px solid #cdd9e9;
	background: var(--ct-surface-soft);
	border-radius: 12px;
	padding: 12px 13px;
	font: inherit;
	color: var(--ct-text);
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: #b8cae3;
	box-shadow: 0 0 0 4px rgba(86, 127, 177, 0.12);
}

.contact-message {
	grid-column: 1 / -1;
}

.contact-submit {
	justify-self: start;
	border: 1px solid #d2a334;
	border-radius: 999px;
	background: linear-gradient(110deg, #f3ce68, var(--ct-accent));
	color: #16223b;
	font-weight: 800;
	font-size: 0.94rem;
	letter-spacing: 0.02em;
	padding: 12px 24px;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(234, 178, 22, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(234, 178, 22, 0.4);
}

.contact-submit:disabled {
	opacity: 0.92;
	cursor: wait;
	transform: none;
}

.contact-submit.is-loading {
	background: linear-gradient(110deg, #d8e3f2, #bfd0e6);
	border-color: #adc2de;
	box-shadow: 0 10px 24px rgba(105, 129, 162, 0.24);
	color: #17304d;
}

.contact-submit.is-success {
	background: linear-gradient(110deg, #b9efc8, #7fd09b);
	border-color: #73c793;
	box-shadow: 0 10px 24px rgba(66, 143, 94, 0.24);
	color: #10311c;
}

.contact-form-status {
	min-height: 24px;
	margin: 4px 0 0;
	padding: 0;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--ct-muted);
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, padding 0.2s ease;
}

.contact-form-status:not(:empty) {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid transparent;
	background: #f6f9fd;
}

.contact-form-status.is-info {
	color: #24456d;
	background: #edf5ff;
	border-color: #cfe0f5;
}

.contact-form-status.is-success {
	color: #17502a;
	background: #edf9f1;
	border-color: #c7e8d0;
}

.contact-form-status.is-error {
	color: #7a1f2b;
	background: #fff1f3;
	border-color: #f0c5cc;
}

.contact-side-wrap {
	display: grid;
	gap: 14px;
}

.contact-map-card,
.contact-fast-links {
	padding: 18px;
}

.contact-map-card h3,
.contact-fast-links h3 {
	margin: 0 0 8px;
}

.contact-map-card p {
	margin: 0 0 12px;
	color: var(--ct-muted);
	line-height: 1.65;
}

.contact-map-card iframe {
	width: 100%;
	min-height: 260px;
	border: 0;
	border-radius: 12px;
}

.contact-fast-links {
	display: grid;
	gap: 10px;
}

.contact-fast-links a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 12px;
	border: 1px solid #d7e2ee;
	border-radius: 12px;
	color: #1d2d48;
	text-decoration: none;
	background: var(--ct-surface-soft);
	font-weight: 700;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-fast-links a:hover {
	transform: translateY(-1px);
	border-color: #c3d5ea;
}

.contact-fast-links i {
	font-size: 1rem;
}

.contact-faq {
	background: linear-gradient(180deg, #f8fbff 0%, #edf3fa 100%);
}

.contact-faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.contact-faq-grid article {
	background: var(--ct-surface);
	border: 1px solid var(--ct-line);
	border-radius: 14px;
	padding: 16px;
	box-shadow: var(--ct-shadow-sm);
}

.contact-faq-grid h3 {
	margin: 0 0 8px;
	font-size: 1.04rem;
}

.contact-faq-grid p {
	margin: 0;
	color: var(--ct-muted);
	line-height: 1.7;
}

@media (max-width: 960px) {
	.contact-main-grid {
		grid-template-columns: 1fr;
	}

	.contact-submit {
		width: 100%;
		justify-self: stretch;
	}
}

@media (max-width: 640px) {
	.contact-field-grid {
		grid-template-columns: 1fr;
	}

	.contact-hero {
		padding: 82px 12px 52px;
	}

	.contact-highlights,
	.contact-main-section,
	.contact-faq {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-mini-card,
	.contact-submit,
	.contact-fast-links a {
		transition: none;
	}
}
