/* UNIMOT Landing — globalne style */

:root {
	--unimot-navy: #021D49;
	--unimot-red: #E20613;
	--unimot-orange: #FF2A00;
	--unimot-paper: #F8F3F2;
	--unimot-gray: #A0A0A0;
	--unimot-line: rgba(2, 29, 73, 0.3);
	--unimot-line-soft: #D9D9D9;
	--unimot-radius: 5px;
	--unimot-gap: clamp(3rem, 6vw, 6.5rem);
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Lato', -apple-system, 'Segoe UI', sans-serif;
	color: var(--unimot-navy);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

/* Kontener — 1700px przy 1920, boczne marginesy jak w projekcie (110px) */
.unimot-container {
	max-width: 1700px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1.25rem, 5.7vw, 6.875rem);
	padding-right: clamp(1.25rem, 5.7vw, 6.875rem);
}
@media (min-width: 1921px) {
	.unimot-container { padding-left: 0; padding-right: 0; }
}

/* Nagłówki sekcji */
.unimot-h2 {
	font-size: clamp(2rem, 3.2vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--unimot-navy);
	margin: 0 0 0.5em;
}

/* Przyciski CTA */
.unimot-cta .wp-block-button__link {
	background: var(--unimot-red);
	color: #fff;
	font-weight: 700;
	font-size: clamp(1.0625rem, 1.25vw, 1.5rem);
	line-height: 1;
	padding: clamp(1rem, 1.3vw, 1.5625rem) clamp(1.875rem, 2.6vw, 3.125rem);
	border-radius: var(--unimot-radius);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.15s ease;
}
.unimot-cta .wp-block-button__link:hover {
	background: #C00511;
	transform: translateY(-1px);
}
.unimot-cta--center {
	display: flex;
	justify-content: center;
	margin-top: clamp(2rem, 3.9vw, 4.7rem);
}

.unimot-red { color: var(--unimot-red); }

/* Sekcje — rytm pionowy (tylko longhandy! shorthand `padding:` zabijał
   boczne paddingi z .unimot-container — brak marginesów na mobile) */
.unimot-trust  { padding-top: clamp(2rem, 3.4vw, 4.1rem); padding-bottom: clamp(2rem, 3.4vw, 4.1rem); }
.unimot-horeca { padding-top: clamp(2.5rem, 4.5vw, 5.5rem); }
.unimot-steps  { padding-top: clamp(3rem, 5.5vw, 6.5rem); }
.unimot-models { padding-top: clamp(3rem, 6vw, 7rem); }
.unimot-form   { padding-top: clamp(3rem, 6vw, 7rem); scroll-margin-top: 2rem; }
.unimot-faq    { padding-top: clamp(3rem, 6vw, 7rem); padding-bottom: clamp(2rem, 4vw, 5rem); }

/* Stopka */
.unimot-footer {
	margin-top: clamp(2rem, 3vw, 3.5rem);
	padding: 0 0 clamp(3rem, 6vw, 7.5rem);
}
.unimot-footer__inner {
	border-top: 1px solid var(--unimot-line-soft);
	padding-top: clamp(1.5rem, 2.6vw, 3.125rem);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
	align-items: baseline;
	font-size: var(--wp--preset--font-size--body);
}
.unimot-footer p { margin: 0; }
.unimot-footer a { color: inherit; text-decoration: none; }
.unimot-footer a:hover { text-decoration: underline; }

/* Podstrony (polityka itp.) */
.unimot-subpage { padding-top: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2rem, 4vw, 4rem); }
.unimot-subpage h1 { font-size: clamp(1.75rem, 2.6vw, 3rem); letter-spacing: -0.02em; }

/* Baner cookies */
.unimot-cookies {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: var(--unimot-navy);
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	align-items: center;
	justify-content: space-between;
	padding: 1rem clamp(1.25rem, 5.7vw, 6.875rem);
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}
.unimot-cookies__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	max-width: 56em;
}
.unimot-cookies__text a { color: #fff; text-decoration: underline; }
.unimot-cookies__actions { display: flex; gap: 0.75rem; }
.unimot-cookies__btn {
	font-family: inherit;
	font-weight: 700;
	font-size: 0.9375rem;
	border: 0;
	border-radius: var(--unimot-radius);
	padding: 0.7rem 1.6rem;
	cursor: pointer;
}
.unimot-cookies__btn--accept { background: var(--unimot-red); color: #fff; }
.unimot-cookies__btn--accept:hover { background: #C00511; }
.unimot-cookies__btn--reject { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.unimot-cookies__btn--reject:hover { border-color: #fff; }

/* Edytor: nie ukrywaj niczego */
.editor-styles-wrapper .unimot-container { max-width: 100%; }

@media (max-width: 760px) {
	.unimot-footer__inner { flex-direction: column; align-items: flex-start; }
}
