/* GADO — formularz leadowy: zwijana zakładka po prawej (strony ofertowe)
   + wspólne stany formularza. Zwinięta = pionowa zakładka 44px (nie zasłania zdjęć),
   rozwija się na :hover / :focus-within / tap (klasa .is-open). */

/* wrap pól w układzie kontakt (markup z shortcode) */
.gado-kform .gk-formwrap {
	width: 247px;
	margin-left: 32px;
}
.gado-kform .gk-formwrap .gk-form {
	width: 100%;
	margin-left: 0;
}

/* honeypot + komunikaty */
.gk-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}
.gk-error {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	color: #c0392b;
	margin: 0 0 10px;
}
.gado-lead-ok p {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	text-align: center;
	margin: 40px 0;
}

/* --- PANEL: zakładka + karta, wysuwanie translateX --- */
.gado-lead-panel {
	position: fixed;
	top: 50%;
	right: 0;
	transform: translateY(-50%) translateX(300px);  /* schowana karta, widoczna zakładka */
	transition: transform 0.35s ease;
	display: flex;
	align-items: center;
	z-index: 95;
}
.gado-lead-panel:hover,
.gado-lead-panel:focus-within,
.gado-lead-panel.is-open {
	transform: translateY(-50%) translateX(0);
}

.glp-tab {
	writing-mode: vertical-rl;
	background: #000;
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.18);
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	letter-spacing: 3px;
	color: #fff;
	padding: 22px 13px;
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}
/* delikatne „zapukanie" co ~6 s, tylko gdy panel zwinięty */
.gado-lead-panel:not(:hover):not(.is-open):not(:focus-within) .glp-tab {
	animation: glpNudge 6s ease-in-out infinite;
}
@keyframes glpNudge {
	0%, 84%, 100% { transform: none; }
	88%           { transform: translateX(-8px); }
	92%           { transform: translateX(0); }
	96%           { transform: translateX(-4px); }
}
@media (prefers-reduced-motion: reduce) {
	.gado-lead-panel .glp-tab { animation: none !important; }
}

.glp-card {
	width: 300px;
	max-height: 86vh;
	overflow-y: auto;
	background: #fff;
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.10);
	padding: 24px 26px 28px;
	box-sizing: border-box;
}
.glp-card h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 2px;
	text-align: center;
	color: #000;
	margin: 0 0 16px;
}
.glp-card .gk-form {
	display: flex;
	flex-direction: column;
}
.glp-card .gk-form > label {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: #000;
	margin-bottom: 12px;
	display: block;
}
.glp-card .gk-form input[type=text],
.glp-card .gk-form input[type=email],
.glp-card .gk-form input[type=tel],
.glp-card .gk-form textarea {
	display: block;
	width: 100%;
	border: 0;
	border-bottom: 1px solid #000;
	background: transparent;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	padding: 5px 0 3px;
	outline: none;
	resize: none;
	box-sizing: border-box;
}
.glp-card .gk-form textarea { min-height: 56px; }
.glp-card .gk-rodo {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 2px 0 14px;
}
.glp-card .gk-rodo input[type=checkbox] {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	flex: 0 0 16px;
	accent-color: #000;
}
.glp-card .gk-rodo label {
	font-family: 'Montserrat', sans-serif;
	font-size: 8px;
	line-height: 11px;
	color: #4a4a4a;
}
.glp-card .gk-submit {
	align-self: flex-end;
	background: #fff;
	border: 1px solid #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	color: #000;
	padding: 7px 30px;
	cursor: pointer;
}
.glp-card .gk-submit:hover { background: #000; color: #fff; }
.glp-card .gado-lead-ok p { margin: 20px 0; }

/* ikony social na stronach z panelem — wyżej, żeby nie kolidowały z zakładką */
.gado-has-lead .gado-social {
	top: 110px;
}

/* tablet/telefon: zakładka znika — wariant inline + pasek CTA w passie mobilnym */
@media (max-width: 1023px) {
	.gado-lead-panel { display: none; }
}

/* --- BANER COOKIES: subtelniejszy (mniejsza typografia, ciasny, węższy) --- */
.cmplz-cookiebanner {
	padding: 14px 18px !important;
	gap: 10px !important;
}
.cmplz-cookiebanner .cmplz-header {
	font-size: 12px !important;
}
.cmplz-cookiebanner .cmplz-title {
	font-size: 12px !important;
	font-weight: 600 !important;
}
.cmplz-cookiebanner .cmplz-message {
	font-size: 11px !important;
	line-height: 15px !important;
	color: #4a4a4a !important;
}
.cmplz-cookiebanner .cmplz-btn {
	font-size: 12px !important;
	padding: 7px 18px !important;
	min-height: 0 !important;
}
.cmplz-cookiebanner .cmplz-links a,
.cmplz-cookiebanner .cmplz-link {
	font-size: 10px !important;
}
.cmplz-cookiebanner .cmplz-categories .cmplz-category {
	font-size: 11px !important;
}
body .cmplz-cookiebanner .cmplz-title {
	text-align: left !important;
	justify-self: start !important;
	grid-column: 1 / 3;   /* pełna szerokość minus przycisk zamknięcia — jedna linia */
	white-space: nowrap;
}
