/**
 * ETA Kontakt (page 2634) — split: copy left / form right.
 * Path B. Shell boxed jak reszta strony (header/footer/trust).
 * v1.4.0 — copy wyrównane do dołu formularza, 120px od dołu sekcji, checkbox RODO.
 */

body.page-id-2634 {
	--eta-kontakt-navy: #001f3f;
	--eta-kontakt-text: #001f3f;
	--eta-kontakt-muted: #575757;
	--eta-kontakt-link: #2f80ed;
	--eta-kontakt-border: rgba(0, 31, 63, 0.14);
	--eta-kontakt-panel: #f4f7fb;
	--eta-kontakt-card: #ffffff;
}

/* Soft panel tylko na treści — nie na body (biały pasek pod stopką) */
body.page-id-2634 .page_content_wrap,
body.page-id-2634 .content_wrap,
body.page-id-2634 .content,
body.page-id-2634 .elementor-2634 {
	background-color: var(--eta-kontakt-panel);
}

/* Force-visible entrance anim */
body.page-id-2634 .elementor-2634 .elementor-invisible,
body.page-id-2634 .elementor-2634 .trx_addons_invisible,
body.page-id-2634 .elementor-2634 [class*="animation_type_"] {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

/*
 * Soft section bg + rytm jak MASTER (desktop ~150–200px od góry).
 * UWAGA: padding na .e-con.e-parent NIE wstawia dzieci Elementora (l=0 mimo pl).
 * Gutter poziomy = ten sam wzorzec co header/footer/trust na .e-con-inner.
 */
body.page-id-2634 .elementor-2634 .e-con.e-parent {
	background-color: var(--eta-kontakt-panel) !important;
	--padding-left: 0px !important;
	--padding-right: 0px !important;
	--padding-top: 0px !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-split.e-con-boxed,
body.page-id-2634 .elementor-2634 .e-con-boxed.eta-kontakt-split,
body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed {
	--container-max-width: 100%;
	--width: 100%;
	--content-width: 100%;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	align-self: stretch !important;
	box-sizing: border-box !important;
}

body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-end !important;
	justify-content: flex-start !important;
	gap: clamp(28px, 3.5vw, 48px) !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	/* ~200px od góry jak prośba usera; boxed L/P jak shell */
	padding-top: 200px !important;
	padding-bottom: 120px !important;
	padding-left: max(
		var(--eta-shell-content-gutter, 24px),
		calc((100% - var(--eta-shell-max, 1280px)) / 2)
	) !important;
	padding-right: max(
		var(--eta-shell-content-gutter, 24px),
		calc((100% - var(--eta-shell-max, 1280px)) / 2)
	) !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy,
body.page-id-2634 .elementor-2634 .eta-kontakt-form-col {
	align-items: flex-start !important;
	text-align: left !important;
	flex: 1 1 auto !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy,
body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner > .e-con:first-child {
	width: 42% !important;
	max-width: 42% !important;
	padding-right: 0 !important;
	align-items: flex-start !important;
	text-align: left !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-form-col,
body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner > .e-con:last-child {
	width: 58% !important;
	max-width: 58% !important;
	align-items: flex-start !important;
	text-align: left !important;
}

body.page-id-2634 .elementor-2634 .elementor-heading-title {
	color: var(--eta-kontakt-navy) !important;
	text-align: left !important;
}

body.page-id-2634 .elementor-2634 .elementor-widget-heading h6.elementor-heading-title {
	font-size: 14px !important;
	font-weight: 500 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eta-kontakt-muted) !important;
	margin: 0 0 12px !important;
}

body.page-id-2634 .elementor-2634 .elementor-widget-heading h1.elementor-heading-title {
	font-family: "Instrument Sans", sans-serif !important;
	font-size: clamp(40px, 4.2vw, 57px) !important;
	font-weight: 600 !important;
	line-height: 1.12 !important;
	color: var(--eta-kontakt-navy) !important;
	margin: 0 0 16px !important;
}

body.page-id-2634 .elementor-2634 .elementor-widget-heading h3.elementor-heading-title {
	font-family: "Instrument Sans", sans-serif !important;
	font-size: clamp(22px, 2.2vw, 28px) !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	color: var(--eta-kontakt-navy) !important;
	margin: 0 0 20px !important;
}

/* Intro pod H1 */
body.page-id-2634 .elementor-2634 .eta-kontakt-copy > .elementor-widget-text-editor:first-of-type,
body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0003 {
	margin-bottom: 28px !important;
}

body.page-id-2634 .elementor-2634 .elementor-widget-text-editor,
body.page-id-2634 .elementor-2634 .elementor-widget-text-editor p {
	color: var(--eta-kontakt-muted) !important;
	font-size: 16px;
	line-height: 1.625;
	text-align: left !important;
	max-width: 42ch;
}

body.page-id-2634 .elementor-2634 .elementor-widget-text-editor strong {
	color: var(--eta-kontakt-navy) !important;
	font-weight: 600;
}

body.page-id-2634 .elementor-2634 .elementor-widget-text-editor a {
	color: var(--eta-kontakt-link) !important;
	text-decoration: none;
}

body.page-id-2634 .elementor-2634 .elementor-widget-text-editor a:hover,
body.page-id-2634 .elementor-2634 .elementor-widget-text-editor a:focus-visible {
	color: #1f5fbf !important;
	text-decoration: underline;
}

/* ── Dane firmy: rytm, nie ściana tekstu ───────────────────────────── */
body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0004 {
	margin-top: 8px !important;
	margin-bottom: 12px !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container {
	padding: 20px 22px;
	border: 1px solid var(--eta-kontakt-border);
	border-radius: 6px;
	background: var(--eta-kontakt-card);
	box-shadow: 0 8px 24px -10px rgba(0, 31, 63, 0.1);
	max-width: 28rem;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container > p {
	max-width: none;
	margin: 0 0 18px !important;
	padding: 0;
	font-size: 15px;
	line-height: 1.55;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container > p:last-child {
	margin-bottom: 0 !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container > p:first-child {
	margin-bottom: 16px !important;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--eta-kontakt-border);
}

body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container > p:first-child strong {
	display: block;
	font-size: 15px;
	line-height: 1.45;
	font-weight: 600;
}

/* NIP / KRS / REGON — czytelniejsze odstępy między liniami */
body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container > p:nth-child(2) {
	font-family: "DM Sans", sans-serif;
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: 0.01em;
	color: var(--eta-kontakt-text) !important;
}

/* ── Formularz: LEWA krawędź jak H3 (bez margin:auto z popup CSS) ─── */
body.page-id-2634 .elementor-2634 .eta-kontakt-form-col .elementor-element-w0007 {
	width: 100% !important;
	margin-bottom: 8px !important;
}

body.page-id-2634 .elementor-2634 .eta-kontakt-form-col .elementor-element-w0008,
body.page-id-2634 .elementor-2634 .eta-kontakt-form-col .elementor-widget-metform,
body.page-id-2634 .elementor-2634 .eta-kontakt-form-col .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
}

body.page-id-2634 .eta-contact-native-form {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	text-align: left;
}

body.page-id-2634 .eta-contact-native-form__grid {
	margin-top: 4px;
}

body.page-id-2634 .elementor-2634 .elementor-widget-metform,
body.page-id-2634 .elementor-2634 .elementor-widget-metform .mf-form-wrapper,
body.page-id-2634 .elementor-2634 .metform-form-content,
body.page-id-2634 .elementor-2634 .elementor-widget-metform > .elementor-widget-container {
	width: 100% !important;
	max-width: 100% !important;
}

body.page-id-2634 .elementor-2634 .elementor-widget-metform {
	--container-widget-width: 100% !important;
}

@media (min-width: 768px) {
	body.page-id-2634 .metform-form-content .mf-col-lg-6,
	body.page-id-2634 .metform-form-content .mf-col-md-6,
	body.page-id-2634 .metform-form-content [class*="mf-col-"][class*="-6"] {
		width: 50% !important;
		float: left;
		padding-right: 8px;
		box-sizing: border-box;
	}

	body.page-id-2634 .metform-form-content .mf-col-lg-6 + .mf-col-lg-6,
	body.page-id-2634 .metform-form-content .mf-col-md-6 + .mf-col-md-6 {
		padding-right: 0;
		padding-left: 8px;
	}
}

body.page-id-2634 .mf-input,
body.page-id-2634 .mf-input-wrapper input,
body.page-id-2634 .mf-input-wrapper textarea,
body.page-id-2634 .metform-form-content input[type="text"],
body.page-id-2634 .metform-form-content input[type="email"],
body.page-id-2634 .metform-form-content input[type="tel"],
body.page-id-2634 .metform-form-content textarea,
body.page-id-2634 .eta-contact-native-form input:not([type="checkbox"]),
body.page-id-2634 .eta-contact-native-form textarea {
	border: 1px solid var(--eta-kontakt-border) !important;
	border-radius: 6px !important;
	background: #ffffff !important;
	color: var(--eta-kontakt-navy) !important;
	min-height: 48px;
	box-shadow: none !important;
}

body.page-id-2634 .metform-form-content textarea,
body.page-id-2634 .eta-contact-native-form textarea {
	min-height: 140px;
}

body.page-id-2634 .mf-input::placeholder,
body.page-id-2634 .metform-form-content input::placeholder,
body.page-id-2634 .metform-form-content textarea::placeholder,
body.page-id-2634 .eta-contact-native-form input:not([type="checkbox"])::placeholder,
body.page-id-2634 .eta-contact-native-form textarea::placeholder {
	color: rgba(0, 31, 63, 0.45) !important;
}

body.page-id-2634 .mf-input:focus,
body.page-id-2634 .metform-form-content input:focus,
body.page-id-2634 .metform-form-content textarea:focus,
body.page-id-2634 .eta-contact-native-form input:not([type="checkbox"]):focus,
body.page-id-2634 .eta-contact-native-form textarea:focus {
	outline: none !important;
	border-color: rgba(47, 128, 237, 0.55) !important;
	box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.15) !important;
}

body.page-id-2634 .metform-btn,
body.page-id-2634 .mf-btn,
body.page-id-2634 .metform-form-content button[type="submit"],
body.page-id-2634 .metform-form-content input[type="submit"],
body.page-id-2634 .eta-contact-native-form__submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	max-width: 100%;
	min-height: 48px !important;
	padding: 12px 20px !important;
	border: 1px solid var(--eta-kontakt-navy) !important;
	border-radius: 6px !important;
	background: var(--eta-kontakt-navy) !important;
	color: #ffffff !important;
	font-family: "Instrument Sans", sans-serif !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: 0 8px 24px -6px rgba(24, 78, 140, 0.18) !important;
	cursor: pointer;
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

body.page-id-2634 .metform-btn:hover,
body.page-id-2634 .mf-btn:hover,
body.page-id-2634 .metform-form-content button[type="submit"]:hover,
body.page-id-2634 .eta-contact-native-form__submit:hover:not(:disabled) {
	background: #0b2c52 !important;
	color: #ffffff !important;
	box-shadow: 0 14px 36px -2px rgba(24, 78, 140, 0.22) !important;
	transform: translateY(-1px);
}

body.page-id-2634 .metform-btn:focus-visible,
body.page-id-2634 .mf-btn:focus-visible,
body.page-id-2634 .metform-form-content button[type="submit"]:focus-visible,
body.page-id-2634 .eta-contact-native-form__submit:focus-visible:not(:disabled) {
	outline: 2px solid #2f80ed;
	outline-offset: 2px;
}

body.page-id-2634 .metform-form-content .mf-input-label,
body.page-id-2634 .metform-form-content label,
body.page-id-2634 .metform-form-content .mf-checkbox-wrapper {
	color: var(--eta-kontakt-text) !important;
}

body.page-id-2634 .metform-form-content a {
	color: var(--eta-kontakt-link) !important;
}

body.page-id-2634 .eta-contact-native-form__consent-label input[type="checkbox"] {
	width: 1.125rem !important;
	height: 1.125rem !important;
	min-width: 1.125rem !important;
	min-height: 0 !important;
	margin: 0.2em 0 0 !important;
	padding: 0 !important;
	flex: 0 0 1.125rem !important;
	border-radius: 0.25rem !important;
	accent-color: var(--eta-kontakt-navy) !important;
	box-shadow: none !important;
}

@media (max-width: 1024px) and (min-width: 768px) {
	body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner {
		gap: 32px !important;
		padding-top: 120px !important;
	}

	body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner > .e-con:first-child,
	body.page-id-2634 .elementor-2634 .eta-kontakt-copy {
		width: 40% !important;
		max-width: 40% !important;
	}

	body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner > .e-con:last-child,
	body.page-id-2634 .elementor-2634 .eta-kontakt-form-col {
		width: 60% !important;
		max-width: 60% !important;
	}
}

@media (max-width: 767px) {
	body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner {
		flex-direction: column !important;
		flex-wrap: wrap !important;
		align-items: flex-start !important;
		gap: 36px !important;
		padding-top: 72px !important;
		padding-bottom: 80px !important;
	}

	body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner > .e-con:first-child,
	body.page-id-2634 .elementor-2634 .e-con.e-parent > .e-con-boxed > .e-con-inner > .e-con:last-child,
	body.page-id-2634 .elementor-2634 .eta-kontakt-copy,
	body.page-id-2634 .elementor-2634 .eta-kontakt-form-col {
		width: 100% !important;
		max-width: 100% !important;
		padding-right: 0 !important;
	}

	body.page-id-2634 .elementor-2634 .elementor-widget-text-editor,
	body.page-id-2634 .elementor-2634 .elementor-widget-text-editor p {
		max-width: 100%;
	}

	body.page-id-2634 .elementor-2634 .eta-kontakt-copy .elementor-element-w0005 .elementor-widget-container {
		max-width: 100%;
	}

	body.page-id-2634 .metform-form-content .mf-col-lg-6,
	body.page-id-2634 .metform-form-content .mf-col-md-6,
	body.page-id-2634 .metform-form-content [class*="mf-col-"][class*="-6"] {
		width: 100% !important;
		float: none;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
