/* Kontakt (page-kontakt.php) */
.page-template-page-kontakt-php .site-header,
.page-template-page-kontakt .site-header {
	border-bottom: 0;
}

/* Global: fix hairline seam caused by .site-footer::before clip-path anti-aliasing */
.site-footer::before {
	top: -1px;
	height: calc(var(--footer-cut) + 2px);
}

/* Kontakt: hero ma wyglądać jak globalny hero (.hero--morelo), tylko ~2x niższy.
 * Nie opieramy się na klasach body (czasem nie łapią przez cache/page builder),
 * tylko na klasie sekcji dodanej w szablonie: .hero--contact
 */
.hero.hero--morelo.hero--contact {
	height: auto !important;
	--hero-cut: 170px;
}

.hero.hero--morelo.hero--contact .hero-inner {
	align-items: flex-start;
	padding-top: 70px !important;
	padding-bottom: var(--hero-cut) !important;
}

/* Kontakt: bardziej kompaktowa typografia w hero */
.hero.hero--morelo.hero--contact .hero-kicker {
	margin-bottom: 8px;
	font-size: clamp(0.95rem, 1.4vw, 1.2rem);
}

.hero.hero--morelo.hero--contact .hero-title {
	font-size: clamp(1.6rem, 3.0vw, 2.6rem);
}

.hero.hero--morelo.hero--contact .hero-text {
	margin-top: 10px;
}

/* Kontakt: usuń "wycięcie"/trójkąt na początku stopki (powodował białą przerwę + cienką kreskę) */
.page-template-page-kontakt-php .site-footer,
.page-template-page-kontakt .site-footer {
	--footer-cut: 0px;
	padding-top: 80px;
}

.page-template-page-kontakt-php .site-footer::before,
.page-template-page-kontakt .site-footer::before {
	content: none;
}

.contact-section {
	padding: 34px 0 70px;
	background: #fff;
	color: #0b0f19;
}

/* Kontakt: bez dolnego odstępu pod sekcją */
.contact-section {
	padding-bottom: 0;
}

.contact-container {
	max-width: 1092px;
}

/* Contact sheet block (reusable, no form) */
.morelo-contact-sheet .contact-sheet-head {
	padding: 32px 0 18px;
}

.morelo-contact-sheet .contact-sheet-kicker {
	margin: 0;
	font-size: clamp(2.1rem, 3.4vw, 3.3rem);
	font-weight: 300;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.morelo-contact-sheet .contact-sheet-title {
	margin: 10px 0 0;
	font-size: clamp(2.2rem, 3.6vw, 3.6rem);
	font-weight: 900;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	line-height: 0.92;
}

.morelo-contact-sheet .contact-sheet-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	padding: 34px 0 48px;
	align-items: start;
}

@media (max-width: 980px) {
	.morelo-contact-sheet .contact-sheet-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.morelo-contact-sheet .contact-block {
	margin-bottom: 22px;
}

.morelo-contact-sheet .contact-block-title {
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	margin: 0 0 10px;
}

.morelo-contact-sheet .contact-block-text {
	line-height: 1.75;
	color: rgba(0, 0, 0, 0.85);
	font-weight: 500;
}

.morelo-contact-sheet .contact-block-text strong,
.morelo-contact-sheet .contact-block-text b {
	font-weight: inherit;
}

.morelo-contact-sheet .contact-block-text a {
	color: inherit;
	text-decoration: none;
}

.morelo-contact-sheet .contact-link {
	display: inline-block;
	font-weight: 800;
	letter-spacing: 0.2px;
}

.contact-alert {
	border-radius: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	box-shadow: none;
	margin: 0 0 18px;
}

.contact-alert strong {
	font-weight: 900;
	margin-right: 6px;
}

.contact-alert--success {
	border-color: rgba(22, 163, 74, 0.35);
	background: rgba(22, 163, 74, 0.06);
}

.contact-alert--error {
	border-color: rgba(225, 29, 72, 0.35);
	background: rgba(225, 29, 72, 0.06);
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.95fr 1.25fr;
	gap: 22px;
	align-items: start;
}

@media (max-width: 980px) {
	.contact-hero {
		--contact-cut: 100px;
	}
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

.contact-card {
	border-radius: 18px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	padding: 22px 22px 24px;
}

.contact-card-title {
	margin: 0 0 16px;
	font-size: 1.1rem;
	font-weight: 900;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.contact-item {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 12px;
	align-items: start;
}

.contact-icon {
	color: rgba(0, 0, 0, 0.8);
	margin-top: 2px;
}

.contact-item-title {
	font-weight: 900;
	letter-spacing: 0.4px;
}

.contact-item-text {
	margin-top: 2px;
	color: rgba(0, 0, 0, 0.75);
}

.contact-meta {
	color: rgba(0, 0, 0, 0.55);
	font-size: 0.95em;
}

.contact-form {
	margin-top: 4px;
}

.contact-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (max-width: 720px) {
	.contact-fields {
		grid-template-columns: 1fr;
	}
}

.contact-field label {
	display: block;
	font-weight: 800;
	letter-spacing: 0.3px;
	margin: 0 0 6px;
}

.contact-field--full {
	grid-column: 1 / -1;
}

.contact-required {
	color: #e11d48;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	background: #fff;
	color: #0b0f19;
	outline: none;
	font-family: var(--morelo-font-body, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif);
}

.contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
	color: rgba(0, 0, 0, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
	border-color: rgba(249, 115, 22, 0.55);
	box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.contact-consent {
	margin-top: 2px;
}

.contact-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	line-height: 1.35;
	color: rgba(0, 0, 0, 0.75);
}

.contact-checkbox input[type="checkbox"] {
	margin-top: 3px;
	width: 18px;
	height: 18px;
}

.contact-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 18px;
	background: transparent;
	color: #0b0f19;
	border: 0;
	cursor: pointer;
	font-weight: 800;
	letter-spacing: 0.3px;
	position: relative;
	isolation: isolate;
}

/* Match the "skewed outline" style used in hero/model CTAs */
.contact-submit::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid rgba(0, 0, 0, 0.85);
	transform: skewX(-16deg);
	transform-origin: center;
	z-index: -1;
	background: #000;
	opacity: 1;
}

.contact-submit {
	color: #fff;
}

.contact-submit:hover {
	filter: none;
	text-decoration: none;
}

.contact-submit:hover::before {
	border-color: rgba(0, 0, 0, 0.95);
}

.contact-submit:focus-visible {
	outline: 2px solid rgba(0, 0, 0, 0.35);
	outline-offset: 4px;
}

.contact-note {
	margin: 0;
	color: rgba(0, 0, 0, 0.55);
	font-size: 0.95rem;
}

.contact-extra {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 0;
	padding-top: 0;
	color: rgba(0, 0, 0, 0.78);
}

