/* ==========================================================================
   Sekcja: Rozwiązania (Figma 1:1231, Przewierty HDD i Kret; 27:54, Prace ziemne)
   Nagłówek: nadtytuł 14/20 (rozstrzelony), H2 36/40 bez wersalików, belka 80×6, 80 px do kart.
   Karty: 2 kolumny co 48 px, szare tło #f3f5f7, promień 24, padding 40.
   Mobile (projekt własny): karty jedna pod drugą, padding 24.
   ========================================================================== */
.solutions__head {
	gap: 1.0625rem;
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

.solutions__eyebrow {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent);
}

.solutions__heading {
	line-height: 1.11; /* 40px */
	letter-spacing: -0.0244em;
	text-transform: none;
}

.solutions__bar {
	width: 80px;
}

/* Opcjonalny opis pod belką (Figma 27:62, Prace ziemne): 16/24, wyśrodkowany, max 700 px, 24 px pod belką. */
.solutions__lead {
	max-width: 700px;
	margin: 0.4375rem 0 0; /* 17 px odstępu nagłówka + 7 = 24 */
	line-height: 1.5;
	color: var(--color-text-body);
	text-wrap: pretty;
}

.solutions__list {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.solutions__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 5rem 3rem; /* Figma 27:54: 80 px między rzędami, 48 px między kolumnami */
	}

	/* Nieparzysta liczba kart: ostatnia sama w rzędzie, wyśrodkowana (Figma 131:140, 600 px). */
	.solutions__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: min(600px, 100%);
	}
}

.solutions__item {
	display: flex;
	min-width: 0;
}

.solutions__card {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1.5rem;
	padding: 1.5rem;
	border: 1px solid #f3f4f6;
	border-radius: 24px;
	background: var(--color-bg-light);
}

@media (min-width: 768px) {
	.solutions__card {
		padding: 2.5rem;
	}
}

/* Karta bez treści pod ramką (Prace ziemne, Figma 27:54): rytm z Figmy bez odstępu flex,
   ikona +32, tytuł +16, opis +32, ramka dosunięta do dołu karty. */
.solutions__card--simple {
	gap: 0;
}

.solutions__card--simple .solutions__top {
	margin-bottom: 1.5rem;
}

.solutions__card--simple .solutions__title {
	margin-bottom: 0.75rem;
}

.solutions__card--simple .solutions__text {
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.solutions__card--simple .solutions__top,
	.solutions__card--simple .solutions__text {
		margin-bottom: 2rem;
	}

	.solutions__card--simple .solutions__title {
		margin-bottom: 1rem;
	}
}

/* Kafel z ikoną + plakietka */
.solutions__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
	.solutions__top {
		margin-bottom: 2rem;
	}
}

.solutions__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: var(--color-navy);
	box-shadow: 0 20px 25px -5px rgba(16, 36, 58, 0.2), 0 8px 10px -6px rgba(16, 36, 58, 0.2);
}

.solutions__icon--accent {
	background: var(--color-accent);
	box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.2), 0 8px 10px -6px rgba(245, 158, 11, 0.2);
}

.solutions__icon-img {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
}

@media (min-width: 768px) {
	.solutions__icon {
		width: 80px;
		height: 80px;
	}

	.solutions__icon-img {
		width: 36px;
		height: 36px;
	}
}

.solutions__badge {
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	background: rgba(245, 158, 11, 0.1);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: var(--color-accent);
	text-align: right;
}

/* Tytuł i opis */
.solutions__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 1vw + 1.125rem, 1.875rem);
	line-height: 1.2; /* 36px */
	color: var(--color-navy);
	overflow-wrap: break-word;
}

@media (min-width: 768px) {
	.solutions__title {
		margin-bottom: 1rem;
	}
}

.solutions__text {
	margin: 0 0 1.25rem;
	line-height: 1.625; /* 26px */
	color: var(--color-text-body);
}

/* Biała ramka ze specyfikacją; gdy zamyka kartę, dosuwa się do dołu (wyrównanie w rzędzie, Figma 27:54). */
.solutions__spec {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem;
	border-radius: 16px;
	background: #fff;
}

.solutions__spec:last-child {
	margin-top: auto;
}

.solutions__spec-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--font-base);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0;
	color: var(--color-navy);
}

.solutions__spec-icon {
	display: block;
	flex: none;
	width: 20px;
	height: 16px;
	object-fit: contain;
}

.solutions__values {
	margin: 0;
	padding: 0;
	list-style: none;
}

.solutions__values--list {
	display: flex;
	flex-direction: column;
	gap: 0.46875rem; /* 7.5px */
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--color-text-muted);
}

.solutions__values--list .solutions__value {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.solutions__check {
	flex: none;
	width: 12.25px;
	height: 14px;
	margin-top: 3px;
	color: var(--color-accent);
}

.solutions__values--chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem 2px;
}

.solutions__values--chips .solutions__value {
	padding: 0.25rem 0.75rem;
	border: 1px solid #f3f4f6;
	border-radius: var(--radius);
	background: var(--color-bg-light);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25rem;
	color: var(--color-navy);
	white-space: nowrap;
}

.solutions__note {
	margin: 0;
	padding-top: 0.25rem;
	font-size: 0.75rem;
	font-style: italic;
	line-height: 1rem;
	color: var(--color-text-subtle);
}

/* Treść pod ramką (WYSIWYG): akapity 16/26, listy 15/22 z pomarańczową kropką 6 px. */
.solutions__content {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	line-height: 1.625;
	color: var(--color-text-body);
}

.solutions__content > * {
	margin: 0;
}

.solutions__content strong,
.solutions__content b {
	color: var(--color-navy);
}

.solutions__content ul {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0;
	list-style: none;
}

.solutions__content li {
	position: relative;
	padding-left: 1rem;
	font-size: 0.9375rem;
	line-height: 1.375rem;
}

.solutions__content li::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-accent);
}
