/**
 * Sekcja: zasięg (O firmie).
 * Figma 14557:4369 — instancja tego samego komponentu, co 14557:2011 na stronie
 * głównej: pas 1440×828 na bieli, nagłówek 1206×116 od y=117, trzy kafelki
 * (wysokość 98, odstęp 23) od y=394, mapa Polski wypełnia kadr sekcji
 * (contain + right top — ten sam kadr 1440×828 co home-about).
 *
 * Wymiary są celowo takie same jak w home-about — to jeden komponent w Figmie,
 * różni się tylko treścią, więc rozjazd liczb byłby błędem, nie decyzją.
 */

.about-map {
	position: relative;
	overflow: hidden;
	padding-block: 117px 94px;
	background-color: var(--color-white);
}

.about-map__map {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	container-type: size;
}

/* Ten sam kadr co home-about: mapa 1362×922 od x=78, y=−94. */
.about-map__europe {
	position: absolute;
	right: 0;
	width: min(100cqw, calc(100cqh * 1440 / 828));
	aspect-ratio: 1440 / 922;
	height: auto;
	max-width: none;
	top: calc(-94 / 1440 * min(100cqw, 100cqh * 1440 / 828));
}

.about-map__map-img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: right top;
}

.about-map__inner {
	position: relative;
	z-index: 1;
	max-width: 1206px;
}

.about-map__heading.section-heading {
	margin: 0;
	max-width: 1206px;
	color: var(--color-dark);
}

.about-map__chips {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 23px;
	margin: 161px 0 0;
	padding: 0;
	list-style: none;
}

/* Wcięcie 18, nie 19: Figma liczy pozycję tekstu od zewnętrznej krawędzi kafla,
   a obwódka 1 px leży w środku pudełka (ten sam mechanizm co DEV-31). */
.about-map__chip {
	display: flex;
	align-items: center;
	min-height: 98px;
	max-width: 380px;
	padding: 18px 24px;
	border: 1px solid var(--color-border-mint-strong);
	border-radius: var(--radius-sm);
	background-color: rgba(255, 255, 255, 0.52);
	font-family: var(--font-display);
	font-size: var(--fs-h6);
	font-weight: 500;
	line-height: 30px;
	color: var(--color-primary);
}

@media (max-width: 991px) {
	.about-map {
		padding-block: var(--space-section);
	}

	/* To samo okno co home-about: Polska 540×470 (x 660–1200, y 205–675). */
	.about-map__map {
		position: relative;
		width: 100%;
		max-width: 540px;
		height: auto;
		aspect-ratio: 540 / 470;
		margin-top: 0;
		margin-bottom: var(--space-lg);
		margin-inline: auto;
	}

	.about-map__map-img {
		position: absolute;
		display: block;
		left: calc(-660 / 540 * 100cqw);
		top: calc(-205 / 540 * 100cqw);
		width: calc(1440 / 540 * 100cqw);
		height: auto;
		max-width: none;
		object-fit: fill;
	}

	.about-map__europe {
		right: auto;
		left: calc(-660 / 540 * 100cqw);
		top: calc(-299 / 540 * 100cqw);
		width: calc(1440 / 540 * 100cqw);
	}

	.about-map__chips {
		margin-top: var(--space-lg);
	}
}
