/* === STRONA GŁÓWNA: hero, kategorie, polecane, atuty, o firmie === */

.hero {
	background:
		radial-gradient(circle at 85% 20%, rgba(18, 165, 176, 0.22), transparent 45%),
		linear-gradient(140deg, var(--petrol-ciemny) 0%, var(--petrol) 100%);
	color: #d5e7ee;
	position: relative;
	overflow: hidden;
}
.hero::after {
	content: "";
	position: absolute;
	right: -60px; top: -60px;
	width: 420px; height: 420px;
	background:
		repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 44px),
		repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 44px);
	border-radius: 50%;
	pointer-events: none;
}
.hero .kontener {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
	padding-top: 84px;
	padding-bottom: 84px;
}
.hero h1 { color: var(--biel); margin: 14px 0 18px; }
.hero .zapowiedz { font-size: 1.12rem; max-width: 540px; color: #c4dbe4; }
.hero .odwolania { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.plakietki { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.plakietka {
	display: flex; align-items: center; gap: 8px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: var(--biel);
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
}
.plakietka svg { width: 16px; height: 16px; }

.hero-ilustracja { display: grid; place-items: center; }
.hero-ilustracja svg { width: 100%; max-width: 420px; height: auto; }

/* Kategorie */
.karty-kategorii {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.karta-kategorii {
	background: var(--biel);
	border: 1px solid var(--linia);
	border-radius: var(--promien);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: var(--cien);
	transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.karta-kategorii:hover { transform: translateY(-4px); box-shadow: var(--cien-mocny); border-color: var(--akcent); }
.karta-kategorii .ikona {
	width: 52px; height: 52px;
	border-radius: 12px;
	background: var(--akcent-jasny);
	display: grid; place-items: center;
}
.karta-kategorii .ikona svg { width: 26px; height: 26px; }
.karta-kategorii h3 { font-size: 1.02rem; }
.karta-kategorii .ile { font-size: 0.84rem; color: var(--tekst-2); margin-top: auto; }

/* Polecane produkty */
.polecane-siatka {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.karta-produktu {
	background: var(--biel);
	border: 1px solid var(--linia);
	border-radius: var(--promien);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--cien);
	transition: transform 0.18s, box-shadow 0.18s;
}
.karta-produktu:hover { transform: translateY(-4px); box-shadow: var(--cien-mocny); }
.karta-produktu .obraz {
	background: var(--tlo);
	aspect-ratio: 4 / 3;
	display: grid; place-items: center;
	border-bottom: 1px solid var(--linia);
}
.karta-produktu .obraz img { width: 100%; height: 100%; object-fit: cover; }
.karta-produktu .obraz .znacznik svg { width: 56px; height: 56px; }
.karta-produktu .tresc { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.karta-produktu .kategoria { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--akcent); font-weight: 700; }
.karta-produktu h3 { font-size: 1rem; line-height: 1.35; }
.karta-produktu h3 a { color: inherit; }
.karta-produktu .cena { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--petrol); font-size: 1.08rem; }
.karta-produktu .cena small { font-weight: 500; color: var(--tekst-2); font-size: 0.78rem; }

/* Atuty */
.atuty { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.atut {
	text-align: left;
	background: var(--biel);
	border: 1px solid var(--linia);
	border-radius: var(--promien);
	padding: 26px 22px;
	box-shadow: var(--cien);
}
.atut .ikona { width: 46px; height: 46px; border-radius: 50%; background: var(--akcent-jasny); display: grid; place-items: center; margin-bottom: 14px; }
.atut .ikona svg { width: 22px; height: 22px; }
.atut h3 { font-size: 1.02rem; margin-bottom: 6px; }
.atut p { font-size: 0.92rem; color: var(--tekst-2); }

/* O firmie */
.o-firmie { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.o-firmie .tekst p { margin-top: 12px; color: var(--tekst-2); }
.o-firmie .tekst .przycisk { margin-top: 22px; }
.o-firmie .rama {
	background: linear-gradient(150deg, var(--petrol-ciemny), var(--petrol));
	border-radius: var(--promien);
	padding: 40px 34px;
	color: #cfe2ea;
	box-shadow: var(--cien-mocny);
}
.o-firmie .rama strong { color: var(--biel); }
.o-firmie .rama .wiersz { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.98rem; }
.o-firmie .rama .wiersz:last-child { border-bottom: 0; }
.o-firmie .rama svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; }

.pasek-cta {
	background: var(--akcent-jasny);
	border: 1px solid var(--linia);
	border-radius: var(--promien);
	padding: 30px 34px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.pasek-cta h3 { font-size: 1.3rem; }
.pasek-cta p { color: var(--tekst-2); }

@media (max-width: 960px) {
	.karty-kategorii, .polecane-siatka, .atuty { grid-template-columns: repeat(2, 1fr); }
	.hero .kontener { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
	.hero-ilustracja { display: none; }
	.o-firmie { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
	.karty-kategorii, .polecane-siatka, .atuty { grid-template-columns: 1fr; }
}

/* === HERO MOBILE: mieści się w pierwszym ekranie, CTA i telefon nad zgięciem === */
@media (max-width: 900px) {
	.hero {
		min-height: calc(100svh - 120px);
		display: flex;
		align-items: flex-start;
	}
	.hero .kontener { width: 100%; }
	.hero h1 { font-size: 1.55rem; margin: 10px 0 12px; }
	.hero .zapowiedz { font-size: 0.98rem; }
	.hero .odwolania { gap: 10px; margin-top: 20px; }
	.hero .odwolania .przycisk { flex: 1 1 100%; justify-content: center; }
	.hero .plakietki { margin-top: 18px; gap: 8px; }
}

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
	background: var(--biel);
	border: 1px solid var(--linia);
	border-radius: var(--promien);
	padding: 0;
	margin-bottom: 12px;
	overflow: hidden;
}
.faq summary {
	cursor: pointer;
	list-style: none;
	padding: 16px 20px;
	font-weight: 700;
	color: var(--petrol-ciemny);
	position: relative;
	padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 20px; top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--akcent);
	transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 16px; color: var(--tekst-2); }

/* === WYRÓŻNIKI: karty klikalne === */
a.atut { display: block; color: inherit; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.atut:hover { transform: translateY(-3px); box-shadow: var(--cien-mocny); }
a.atut .wiecej { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--akcent); font-size: 0.9rem; }
a.atut .wiecej svg { width: 16px; height: 16px; }

.pod-mapa { margin-top: 10px; text-align: center; }
.pod-mapa a { font-weight: 700; color: var(--petrol); }

.telefon-hero { display: inline-flex; align-items: center; gap: 8px; }
.telefon-hero svg { width: 18px; height: 18px; }
