.gsc-legal-footer {
	background: #111;
	color: #ddd;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.gsc-legal-footer__inner {
	width: min(1290px, calc(100% - 40px));
	margin: 0 auto;
	padding: 28px 0;
}

.gsc-legal-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-bottom: 16px;
}

.gsc-legal-footer a,
.gsc-legal-footer button {
	color: #fff;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
}

.gsc-legal-footer button {
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.gsc-legal-footer__company {
	margin: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #bbb;
}

.gsc-legal-document {
	max-width: 900px;
	margin-inline: auto;
	line-height: 1.7;
}

.gsc-legal-document h2 {
	margin-top: 1.6em;
	font-size: clamp(22px, 3vw, 30px);
}

.gsc-legal-document li + li {
	margin-top: .55em;
}

.gsc-legal-table-wrap {
	overflow-x: auto;
}

.gsc-legal-document table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}

.gsc-legal-document th,
.gsc-legal-document td {
	padding: 12px;
	border: 1px solid #d8d8d8;
	text-align: left;
	vertical-align: top;
}

.gsc-legal-form {
	padding: clamp(18px, 4vw, 34px);
	border: 1px solid #c9c9c9;
	border-radius: 12px;
	background: #fafafa;
}

.gsc-mobile-contact,
.gsc-whatsapp-panel {
	display: none;
}

.gsc-contact-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	margin-top: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	background: #0b763d;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none;
}

.gsc-contact-whatsapp svg {
	width: 21px;
	height: 21px;
}

.gsc-contact-showcase {
	padding: clamp(42px, 6vw, 78px) 0;
	background: #fff;
	color: #151515;
}

.gsc-contact-showcase__inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.gsc-contact-showcase__heading {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
	align-items: start;
	margin-bottom: 30px;
}

.gsc-contact-showcase__heading > h3 {
	padding-top: 8px;
	text-align: center;
}

.gsc-contact-showcase h2,
.gsc-contact-showcase h3,
.gsc-contact-showcase p {
	margin-top: 0;
}

.gsc-contact-showcase__heading h2 {
	margin-bottom: 7px;
	font-size: clamp(25px, 3vw, 38px);
}

.gsc-contact-showcase__heading h3 {
	font-size: clamp(20px, 2.3vw, 30px);
}

.gsc-contact-showcase__people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(22px, 4vw, 42px);
	max-width: none;
}

.gsc-contact-person {
	display: grid;
	grid-template-columns: minmax(150px, 205px) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.gsc-contact-person__body > p:first-of-type {
	max-width: 34ch;
}

.gsc-contact-person figure {
	margin: 0;
}

.gsc-contact-person figure img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
}

.gsc-contact-person__body h3 {
	margin-bottom: 8px;
	font-size: 18px;
}

.gsc-contact-person__body p {
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.55;
}

.gsc-contact-person__city {
	padding-top: 13px;
	border-top: 2px solid #ef3f55;
	font-weight: 700;
}

.gsc-contact-person__links {
	display: grid;
	justify-items: start;
	gap: 3px;
}

.gsc-contact-person__links > a:not(.gsc-contact-whatsapp) {
	color: #b52237;
	text-decoration: none;
}

/* Keep the callback anti-spam field active without exposing it to visitors. */
.gsc-callback-form .gsc-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	white-space: nowrap !important;
	clip-path: inset(50%) !important;
}

/* The desktop contact form used a hero-overlap margin. After the current
 * adviser cards move behind the hero, keep the form in its own content row. */
@media (min-width: 1200px) {
	body.page-id-955 .elementor-element[data-id="3b27ef8"] {
		margin-top: 0 !important;
	}
}

/* The legacy map/embed containers currently render as a large empty block. */
body.page-id-955 .elementor-element[data-id="41b2b16"],
body.page-id-955 .elementor-element[data-id="13394c3"] {
	display: none !important;
}

/* Contact keeps the legacy cards as the verified contact-data source, but only
 * the unified variant rendered by geoscanners-core is visible to visitors. */
body.page-id-955 .elementor-element[data-id="fc5024f"],
body.page-id-955 .elementor-element[data-id="3088008"] {
	display: none !important;
}

/* Kontakt uses one light surface for the form and its surrounding content. */
body.page-id-955 .elementor-element[data-id="3b27ef8"],
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form {
	background: #fff !important;
	color: #1f1f1f !important;
}

body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form label,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form .ff-el-input--label,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form .ff-custom_html,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form .ff-custom_html p,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form .ff-el-form-check-label {
	color: #1f1f1f !important;
}

body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form input:not([type="checkbox"]):not([type="radio"]),
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form select,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form textarea {
	border: 1px solid #c7c7c7 !important;
	background: #fff !important;
	color: #1f1f1f !important;
}

body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form input::placeholder,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form textarea::placeholder {
	color: #6f6f6f !important;
	opacity: 1 !important;
}

body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form input:focus,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form select:focus,
body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form textarea:focus {
	border-color: var(--gsc-accessible-accent, #c52f43) !important;
	box-shadow: 0 0 0 2px rgba(197, 47, 67, .18) !important;
}

body.page-id-955 .elementor-element[data-id="3b27ef8"] .frm-fluent-form .ff-btn-submit {
	border-color: var(--gsc-accessible-accent, #c52f43) !important;
	background: var(--gsc-accessible-accent, #c52f43) !important;
	color: #fff !important;
}

@media (min-width: 690px) {
	.gsc-whatsapp-panel:not([hidden]) {
		position: fixed;
		z-index: 99999;
		inset: 0;
		display: grid;
		place-items: center;
		padding: 24px;
	}

	.gsc-whatsapp-panel__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
	.gsc-whatsapp-panel__dialog { position: relative; width: min(480px, 100%); padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 18px 60px rgba(0, 0, 0, .3); }
	.gsc-whatsapp-panel__close { position: absolute; top: 12px; right: 12px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 1px solid #ccc; border-radius: 50%; background: #fff; font-size: 27px; cursor: pointer; }
	.gsc-whatsapp-panel__choices { display: grid; gap: 10px; }
	.gsc-whatsapp-panel__choices a { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; border-radius: 10px; background: #202124; color: #fff; font-weight: 700; text-decoration: none; }
	.gsc-callback-form { position: relative; display: grid; gap: 10px; }
	.gsc-callback-form input[type="tel"] { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #777; border-radius: 8px; font: inherit; }
	.gsc-callback-privacy,
	.gsc-callback-status { margin: 0; font-size: 13px; line-height: 1.5; }
	.gsc-callback-status { min-height: 1.5em; font-weight: 700; }
}

@media (min-width: 1000px) {
	[data-header*="type-1"] .ct-header [data-row="middle"] .menu > li > a {
		min-height: 50px;
		padding-block: 8px;
		font-weight: 600;
	}
}

@media (min-width: 1000px) and (max-width: 1399px) {
	[data-header*="type-1"] .ct-header [data-id="menu"] {
		--menu-items-spacing: 40px;
	}
}

@media (max-width: 689px) {
	body {
		padding-bottom: calc(66px + env(safe-area-inset-bottom));
	}

	[data-header*="type-1"] .ct-header [data-id="logo"] {
		min-width: 0;
		max-width: calc(100vw - 145px);
	}

	[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container,
	[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container img,
	[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container svg {
		max-width: 100% !important;
	}

	[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container svg {
		display: block;
		width: 100%;
		height: auto;
	}

	[data-header*="type-1"] [data-id="cart"] {
		--margin: 0 8px !important;
	}

	[data-header*="type-1"] [data-id="cart"] .ct-label {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	.gsc-mobile-contact {
		position: fixed;
		z-index: 99990;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding-bottom: env(safe-area-inset-bottom);
		background: #fff;
		border-top: 1px solid #d8d8d8;
		box-shadow: 0 -8px 24px rgba(0, 0, 0, .13);
	}

	.gsc-mobile-contact a,
	.gsc-mobile-contact button {
		display: flex;
		min-width: 0;
		min-height: 64px;
		padding: 7px 3px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		border: 0;
		border-right: 1px solid #eee;
		background: #fff;
		color: #1f1f1f;
		font: inherit;
		font-size: 11px;
		font-weight: 700;
		line-height: 1.1;
		text-decoration: none;
		cursor: pointer;
	}

	.gsc-mobile-contact svg {
		width: 23px;
		height: 23px;
		color: #b52237;
	}

	.gsc-mobile-contact [data-gsc-whatsapp-open] svg {
		color: #128c4a;
	}

	#gsc-consent-open,
	.gsc-consent-open {
		bottom: calc(74px + env(safe-area-inset-bottom)) !important;
	}

	html.gsc-contact-panel-open #gsc-consent-open,
	html.gsc-contact-panel-open .gsc-consent-open {
		display: none !important;
	}

	.gsc-whatsapp-panel:not([hidden]) {
		position: fixed;
		z-index: 99999;
		inset: 0;
		display: grid;
		align-items: end;
	}

	.gsc-whatsapp-panel__backdrop {
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, .55);
	}

	.gsc-whatsapp-panel__dialog {
		position: relative;
		width: 100%;
		padding: 26px 20px calc(20px + env(safe-area-inset-bottom));
		border-radius: 18px 18px 0 0;
		background: #fff;
		box-shadow: 0 -12px 36px rgba(0, 0, 0, .25);
	}

	.gsc-whatsapp-panel__dialog h2 {
		margin: 0 45px 4px 0;
		font-size: 23px;
	}

	.gsc-whatsapp-panel__dialog p {
		margin: 0 0 16px;
	}

	.gsc-whatsapp-panel__close {
		position: absolute;
		top: 12px;
		right: 14px;
		display: grid;
		width: 44px;
		height: 44px;
		padding: 0;
		place-items: center;
		border: 1px solid #ccc;
		border-radius: 50%;
		background: #fff;
		font-size: 27px;
		cursor: pointer;
	}

	.gsc-whatsapp-panel__choices {
		display: grid;
		gap: 10px;
	}

	.gsc-whatsapp-panel__choices a {
		display: flex;
		align-items: center;
		gap: 12px;
		min-height: 54px;
		padding: 12px 16px;
		border-radius: 10px;
		background: #0b763d;
		color: #fff;
		font-weight: 700;
		text-decoration: none;
	}

	.gsc-contact-choice__label {
		display: grid;
		gap: 2px;
		min-width: 0;
	}

	.gsc-contact-choice__label strong,
	.gsc-contact-choice__label small {
		display: block;
	}

	.gsc-contact-choice__label small {
		font-size: 12px;
		font-weight: 600;
		opacity: .9;
	}

	.gsc-callback-form {
		position: relative;
		display: grid;
		gap: 10px;
	}

	.gsc-callback-form label {
		font-weight: 700;
	}

	.gsc-callback-form input[type="tel"] {
		width: 100%;
		min-height: 48px;
		padding: 10px 12px;
		border: 1px solid #777;
		border-radius: 8px;
		font: inherit;
	}

	.gsc-callback-form .button {
		min-height: 48px;
	}

	.gsc-callback-privacy,
	.gsc-callback-status {
		margin: 0 !important;
		font-size: 13px;
		line-height: 1.5;
	}

	.gsc-callback-status {
		min-height: 1.5em;
		font-weight: 700;
	}

	.gsc-mobile-affiliation {
		order: 999;
		margin: auto 24px 22px;
		padding-top: 18px;
		border-top: 1px solid rgba(255, 255, 255, .18);
		font-size: 13px;
		opacity: .8;
	}

	.gsc-whatsapp-panel__choices a.gsc-contact-choice--phone,
	.gsc-whatsapp-panel__choices a.gsc-contact-choice--email {
		background: #202124;
	}

	.gsc-whatsapp-panel__choices svg {
		width: 24px;
		height: 24px;
	}

	html.gsc-contact-panel-open,
	body.gsc-contact-panel-open {
		overflow: hidden;
	}

	/* On Kontakt, present the two current people before company/form/location data. */
	body.page-id-955 .elementor[data-elementor-id="955"] {
		display: flex;
		flex-direction: column;
	}

	body.page-id-955 .elementor-element[data-id="6b83116"] { order: 0; }
	body.page-id-955 .elementor-element[data-id="fc5024f"] { order: 1; }
	body.page-id-955 .elementor-element[data-id="3088008"] { order: 2; }
	body.page-id-955 .elementor-element[data-id="448c48e"] { order: 3; }
	body.page-id-955 .elementor-element[data-id="995a928"] { order: 4; }
	body.page-id-955 .elementor-element[data-id="41b2b16"] { order: 5; }
	body.page-id-955 .elementor-element[data-id="13394c3"] { order: 6; }

	body.page-id-955 form#fluentform_1,
	body.page-id-955 form[data-form_id="1"] {
		scroll-margin-top: 100px;
	}

	/* O firmie: mobile reading order is heading, image, introduction. */
	body.page-id-953 .elementor-element[data-id="4c43771"] {
		flex-direction: column;
	}

	body.page-id-953 .elementor-element[data-id="c2d92fd"] {
		order: 0;
		width: 100%;
	}

	body.page-id-953 .elementor-element[data-id="ff80ef0"] {
		order: 1;
		width: 100%;
	}

	.gsc-contact-showcase__inner {
		width: min(100% - 30px, 560px);
	}

	.gsc-contact-showcase__heading,
	.gsc-contact-showcase__people,
	.gsc-contact-person {
		grid-template-columns: 1fr;
	}

	.gsc-contact-showcase__heading {
		gap: 10px;
	}

	.gsc-contact-showcase__heading h3 {
		font-size: 20px;
		text-align: left;
	}

	.gsc-contact-person {
		gap: 15px;
	}

	.gsc-contact-person figure img {
		aspect-ratio: 4 / 4.35;
		object-position: center 18%;
	}
}

@media (max-width: 339px) {
	[data-header*="type-1"] .ct-header [data-id="logo"] {
		max-width: 112px;
	}
}

@media print {
	.gsc-mobile-contact,
	.gsc-whatsapp-panel,
	.gsc-cookie-settings {
		display: none !important;
	}
}
