/* ==========================================================================
   LawRent — style motywu. Mobile first: bazowe reguły są dla telefonu,
   większe ekrany dostają dodatki w @media (min-width: …) na dole każdej sekcji.

   Punkty przełamania:  600px (duży telefon / mały tablet)
                        900px (tablet — układy dwukolumnowe, telefon w nagłówku)
                       1200px (desktop — pełne menu)
   ========================================================================== */

/* — Font (na naszym serwerze, bez Google Fonts — RODO) — */
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* — Tokeny (system „Modernist” z Claude Design + akcent LawRent) — */
:root {
	--lr-accent: #f2b200;
	--lr-accent-hover: #ffc31f;
	--lr-ink: #1a1817;
	--lr-ink-hover: #231f1e;
	--lr-light: #f3f2f2;
	--lr-hazard: repeating-linear-gradient(135deg, var(--lr-accent) 0 14px, var(--lr-ink) 14px 28px);

	--color-bg: #f3f2f2;
	--color-text: #201e1d;
	--color-divider: color-mix(in srgb, #201e1d 40%, transparent);
	--color-on-dark-divider: rgba(243, 242, 242, .22);
	--n-100: #f8f4f4;
	--n-200: #eae7e7;
	--n-300: #d7d3d3;
	--n-400: #bab6b6;
	--n-700: #605d5d;
	--n-800: #444141;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gutter: clamp(16px, 4vw, 40px);
	--section-y: clamp(48px, 7vw, 88px);
	--line: 2px solid var(--color-divider);
	--sticky-call-h: 58px;
}

/* — Baza — */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: 76px; /* kotwice nie chowają się pod przyklejonym nagłówkiem */
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { font-weight: 800; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--lr-accent); outline-offset: 2px; }

.icon { flex: 0 0 auto; display: block; }

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 100;
	padding: 12px 16px;
	background: var(--lr-accent);
	color: var(--lr-ink);
	font-weight: 800;
}
.skip-link:focus { left: 8px; top: 8px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}

/* — Układ — */
.wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.band { border-bottom: var(--line); }
.band--white { background: #fff; }
.band--dark { background: var(--lr-ink); color: var(--lr-light); border-bottom: 0; }

.section { padding-block: var(--section-y); }

.split {
	display: grid;
	gap: clamp(24px, 5vw, 64px);
}
.split--end { align-items: end; }

.eyebrow {
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--n-700);
}
.eyebrow--accent { color: var(--lr-accent); }

.section__title {
	font-size: clamp(28px, 4.4vw, 46px);
	line-height: 1.05;
	letter-spacing: -.02em;
	text-wrap: balance;
}
.section__title--spaced { margin-bottom: clamp(28px, 4vw, 48px); max-width: 24ch; }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.section__lead { font-size: clamp(15px, 1.8vw, 17px); line-height: 1.6; color: var(--n-700); }

.hazard { height: 10px; background: var(--lr-hazard); }

@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
}

/* — Przyciski — */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px; /* wygodny cel dla kciuka */
	padding: 14px 20px;
	border: 2px solid transparent;
	font-weight: 800;
	font-size: 15px;
	letter-spacing: .02em;
	transition: background-color .15s, color .15s;
}
.btn--lg { padding: 18px 24px; font-size: 16px; gap: 14px; }

.btn--accent { background: var(--lr-accent); color: var(--lr-ink); }
.btn--accent:hover { background: var(--lr-accent-hover); color: var(--lr-ink); }
.btn--outlined { border-color: var(--lr-ink); }

.btn--ghost-light { border-color: var(--lr-light); color: var(--lr-light); }
.btn--ghost-light:hover { background: var(--lr-light); color: var(--lr-ink); }

/* ==========================================================================
   Nagłówek
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: #fff;
	border-bottom: var(--line);
}

.site-header__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 64px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--lr-ink); }
.site-header .brand { margin-right: auto; } /* reszta nagłówka dosunięta do prawej */
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand__tagline {
	display: none;
	margin-top: 4px;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--n-700);
}
.brand--small .brand__name { font-size: 18px; }

.nav-desktop, .call-desktop { display: none; }

.call-desktop {
	align-items: center;
	gap: 12px;
	padding: 8px 16px;
	border: 2px solid var(--lr-ink);
	background: var(--lr-accent);
	color: var(--lr-ink);
}
.call-desktop__numbers { display: flex; flex-direction: column; line-height: 1.25; }
.call-desktop__numbers a { font-weight: 800; font-size: 15px; white-space: nowrap; }
.call-desktop__numbers a:hover { text-decoration: underline; text-underline-offset: 3px; }

.lang-switch {
	display: flex;
	border: 2px solid var(--lr-ink);
}
.lang-switch a {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 42px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .06em;
}
.lang-switch li + li a { border-left: 2px solid var(--lr-ink); }
.lang-switch a[aria-current] { background: var(--lr-ink); color: #fff; }
.lang-switch a:not([aria-current]):hover { background: var(--n-200); }

.burger {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 0;
	background: var(--lr-ink);
	color: #fff;
	cursor: pointer;
}
.burger__close, .burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.nav-mobile {
	display: flex;
	flex-direction: column;
	border-top: var(--line);
	background: #fff;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
	padding: 18px var(--gutter);
	border-bottom: 1px solid var(--n-300);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a:active { background: var(--n-100); }

@media (min-width: 600px) {
	.brand__name { font-size: 24px; }
	.brand__tagline { display: block; white-space: nowrap; }
}

/* Tablet: telefon w nagłówku, menu nadal pod burgerem. */
@media (min-width: 900px) {
	html { scroll-padding-top: 88px; }
	.site-header__bar { height: 84px; gap: 20px; }
	.call-desktop { display: flex; }
}

/* Desktop: pełne menu. Hasło pod logo chowamy, dopóki się nie zmieści (DE jest długie). */
@media (min-width: 1200px) {
	.site-header__bar { gap: clamp(20px, 2vw, 34px); }
	.nav-desktop { display: flex; gap: inherit; }
	.nav-desktop a {
		font-size: 13px;
		font-weight: 700;
		letter-spacing: .1em;
		text-transform: uppercase;
		white-space: nowrap;
	}
	.nav-desktop a:hover { color: var(--n-700); }
	.brand__tagline { display: none; }
	.burger, .nav-mobile { display: none !important; }
}
@media (min-width: 1360px) {
	.brand__tagline { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--lr-ink); color: var(--lr-light); }

.hero__grid {
	display: grid;
	gap: 40px;
	align-items: center;
	padding-block: 40px 44px;
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	padding: 8px 12px;
	border: 2px solid var(--lr-accent);
	color: var(--lr-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.hero__title {
	margin-bottom: 18px;
	font-size: clamp(36px, 9.5vw, 74px);
	line-height: 1.02;
	letter-spacing: -.03em;
	text-wrap: balance;
	hyphens: auto; /* długie niemieckie słowa na wąskim ekranie */
}

.hero__lead {
	max-width: 56ch;
	margin-bottom: 28px;
	font-size: clamp(16px, 2.1vw, 20px);
	line-height: 1.55;
	color: var(--n-300);
}

.hero__actions { display: grid; gap: 12px; }

.stats {
	margin: 0;
	display: grid;
	gap: 2px;
	background: var(--color-on-dark-divider);
	border: 2px solid var(--color-on-dark-divider);
}
.stats__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px;
	background: var(--lr-ink);
}
.stats__value {
	font-size: clamp(30px, 5vw, 40px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--lr-accent);
}
.stats__label {
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--n-400);
}

@media (min-width: 600px) {
	.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
	.stats { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
	.hero__grid {
		grid-template-columns: 1.15fr .85fr;
		gap: clamp(32px, 5vw, 64px);
		padding-block: clamp(56px, 7vw, 92px) clamp(56px, 7vw, 88px);
	}
	.stats { grid-template-columns: 1fr; }
	.stats__item { padding: 22px 26px; }
}

/* ==========================================================================
   Pasek zalet
   ========================================================================== */
.perks__list { display: grid; }
.perks__item {
	display: flex;
	gap: 14px;
	padding-block: 20px;
	color: var(--lr-ink);
}
.perks__item + .perks__item { border-top: var(--line); }
.perks__item .icon { margin-top: 2px; }
.perks__title { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 800; }
.perks__text { display: block; font-size: 14px; line-height: 1.5; color: var(--n-700); }

@media (min-width: 900px) {
	.perks__list { grid-template-columns: repeat(3, 1fr); }
	.perks__item { padding: 30px 24px; }
	.perks__item:first-child { padding-left: 0; }
	.perks__item + .perks__item { border-top: 0; border-left: var(--line); }
}

/* ==========================================================================
   O nas
   ========================================================================== */
.about__body { display: flex; flex-direction: column; gap: 20px; }
.about__body p { font-size: clamp(16px, 1.9vw, 18px); line-height: 1.6; color: var(--n-800); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips li {
	padding: 8px 12px;
	border: 2px solid var(--lr-ink);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* ==========================================================================
   Usługi — kafle rozdzielone 2px liniami (tło siatki prześwituje w gap)
   ========================================================================== */
.tiles {
	display: grid;
	gap: 2px;
	background: var(--color-divider);
	border: var(--line);
}
.tile {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px 20px;
	background: #fff;
	color: var(--lr-ink);
	transition: background-color .15s;
}
.tile:hover { background: var(--n-100); }
.tile__title { font-size: 21px; line-height: 1.15; }
.tile__text { font-size: 15px; line-height: 1.55; color: var(--n-700); }
.tile__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: auto;
	font-size: 14px;
	color: var(--n-800);
}
.tile__list li { position: relative; padding-left: 16px; }
.tile__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 7px;
	height: 7px;
	background: var(--lr-accent);
}

/* Siatka ma tło w kolorze linii — ostatni kafel rozciągamy, żeby nie zostawała szara dziura. */
@media (min-width: 600px) and (max-width: 1199px) {
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.tile:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (min-width: 600px) {
	.tile { padding: clamp(24px, 3.2vw, 34px); }
}
@media (min-width: 1200px) {
	.tiles { grid-template-columns: repeat(6, 1fr); }
	.tile { grid-column: span 2; }                                  /* 3 w rzędzie */
	.tile:first-child:nth-last-child(4),
	.tile:first-child:nth-last-child(4) ~ .tile { grid-column: span 3; } /* 4 usługi → 2 × 2 */
	.tile:last-child:nth-child(3n+1) { grid-column: span 6; }       /* 1 zostaje → cały rząd */
	.tile:nth-last-child(2):nth-child(3n+1),
	.tile:last-child:nth-child(3n+2) { grid-column: span 3; }       /* 2 zostają → po pół */
}

/* ==========================================================================
   Wynajem — kalendarz Google
   ========================================================================== */
.calendar { border: 2px solid var(--lr-ink); background: #fff; }

.calendar__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px clamp(16px, 2.4vw, 24px);
	background: var(--lr-ink);
	color: var(--lr-light);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.calendar__bar .icon { color: var(--lr-accent); }

.calendar__frame {
	display: block;
	width: 100%;
	height: 480px;
	border: 0;
}

.calendar__empty {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
	min-height: 320px;
	padding: clamp(28px, 5vw, 56px);
	background-image: repeating-linear-gradient(135deg, rgba(26, 24, 23, .05) 0 10px, transparent 10px 24px);
	font-size: 14px;
	line-height: 1.55;
	color: var(--n-700);
}
.calendar__empty-title {
	max-width: 34ch;
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 800;
	line-height: 1.2;
	color: var(--lr-ink);
}

.calendar__phones { display: grid; gap: 10px; }

.calendar__cta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border: var(--line);
	border-top: 0;
	background: #fff;
	font-size: 15px;
}

@media (min-width: 600px) {
	.calendar__frame { height: clamp(520px, 50vw, 640px); }
	.calendar__phones { display: flex; flex-wrap: wrap; gap: 12px; }
	.calendar__cta { flex-direction: row; align-items: center; justify-content: space-between; padding: clamp(20px, 3vw, 28px); }
}

/* ==========================================================================
   Flota — karty z wyciętymi pojazdami
   ========================================================================== */
.fleet { display: grid; gap: 20px; }

.vehicle {
	display: flex;
	flex-direction: column;
	border: 2px solid var(--lr-ink);
	background: #fff;
}

.vehicle__stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	padding: 28px 20px 14px;
	overflow: hidden;
	/* „Plac” pod pojazdem: jasne tło z paskiem asfaltu u dołu. */
	background:
		linear-gradient(to top, var(--n-200) 0 22%, transparent 22%),
		var(--n-100);
	border-bottom: 2px solid var(--lr-ink);
}
.vehicle__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
	filter: drop-shadow(0 14px 10px rgba(26, 24, 23, .22));
	transition: transform .25s ease;
}
.vehicle:hover .vehicle__img { transform: translateY(-4px); }

.vehicle__badge {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	padding: 7px 12px;
	background: var(--lr-ink);
	color: var(--lr-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.vehicle__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	color: var(--lr-ink);
}
.vehicle__title { font-size: 21px; line-height: 1.15; }
.vehicle__text { font-size: 15px; line-height: 1.55; color: var(--n-700); }

.vehicle__specs { display: grid; margin-top: auto; font-size: 14px; }
.vehicle__specs li { padding: 8px 0; border-top: 1px solid var(--n-300); color: var(--n-800); }

.vehicle__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 14px 20px;
	background: var(--lr-accent);
	color: var(--lr-ink);
	font-weight: 800;
	font-size: 16px;
	border-top: 2px solid var(--lr-ink);
	transition: background-color .15s;
}
.vehicle__cta:hover { background: var(--lr-accent-hover); }

@media (min-width: 700px) {
	.fleet { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1100px) {
	.fleet { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact {
	display: grid;
	gap: 2px;
	background: var(--color-on-dark-divider);
	border: 2px solid var(--color-on-dark-divider);
}
.contact__cell {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px 20px;
	background: var(--lr-ink);
}
.contact__cell .icon { color: var(--lr-accent); }
.contact__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--n-400);
}
.contact__value {
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 800;
	line-height: 1.25;
	color: var(--lr-light);
	overflow-wrap: anywhere;
}
.contact__value--xl { font-size: clamp(24px, 3vw, 28px); line-height: 1.1; }
.contact__value--email { font-size: clamp(16px, 2vw, 20px); }
.contact__alt { font-size: 16px; font-weight: 700; color: var(--n-300); }
a.contact__value:hover, .contact__alt:hover { color: var(--lr-accent); }

.contact__links { display: grid; gap: 12px; margin-top: 28px; }

@media (min-width: 600px) {
	.contact__links { display: flex; flex-wrap: wrap; gap: 14px; }
}
@media (min-width: 900px) {
	.contact { grid-template-columns: repeat(3, 1fr); }
	.contact__cell { padding: 30px; }
	.contact__links { margin-top: 40px; }
}

/* ==========================================================================
   Stopka + pasek „Zadzwoń”
   ========================================================================== */
.site-footer { background: #fff; border-top: var(--line); }
.site-footer__bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: center;
	justify-content: space-between;
	padding-block: 24px;
}
.site-footer__meta { font-size: 13px; color: var(--n-700); }
.site-footer__meta a { text-decoration: underline; text-underline-offset: 3px; }

/* Dwa równorzędne numery obok siebie — każda połówka to osobny przycisk. */
.sticky-call {
	position: sticky;
	bottom: 0;
	z-index: 70;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	padding-bottom: env(safe-area-inset-bottom); /* iPhone z paskiem gestów */
	border-top: 2px solid var(--lr-ink);
	background: var(--lr-accent);
}
.sticky-call a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: var(--sticky-call-h);
	color: var(--lr-ink);
	font-weight: 800;
	font-size: 16px;
	white-space: nowrap;
}
.sticky-call a + a { border-left: 2px solid var(--lr-ink); }
.sticky-call a:active { background: var(--lr-accent-hover); }

@media (min-width: 900px) {
	.sticky-call { display: none; }
	.site-footer__bar { padding-block: 34px; }
}

/* ==========================================================================
   Zwykłe strony (polityka prywatności itp.)
   ========================================================================== */
.page { padding-block: var(--section-y); }
.page__article { max-width: 72ch; }
.page__title { margin-bottom: 28px; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; }
.page__content { font-size: 17px; line-height: 1.65; color: var(--n-800); }
.page__content > * + * { margin-top: 1em; }
.page__content h2 { margin-top: 1.6em; font-size: 24px; color: var(--lr-ink); }
.page__content a { text-decoration: underline; text-underline-offset: 3px; }
.page__content ul { list-style: square; padding-left: 1.2em; }
