/* About (O nas): hero (black) + bottom description on white. */

/* Dolny padding zależny od czarnego kontenera (karta), żeby wszędzie równy odstęp pod kartą */
.about-section {
	--about-card-drop: 360px;
	background: #fff;
	color: #0b0f19;
	padding-bottom: calc(var(--about-card-drop) * 0.5);
}

.about-hero {
	--about-cut: 150px;
	--about-apex: 76%;
	--about-card-drop: 360px;
	position: relative;
	overflow: visible;
	background: #fff;
	color: #fff;
	min-height: min(780px, calc(100vh - var(--morelo-header-h)));
}

@media (max-width: 900px) {
	.about-section {
		--about-card-drop: 180px;
	}
	.about-hero {
		--about-cut: 110px;
		--about-apex: 62%;
		--about-card-drop: 180px;
		min-height: 640px;
	}
}

/* Tło hero z wycięciem w kształcie trójkąta – w wycięciu widać białe tło sekcji */
.about-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	/* Wycięcie: trójkąt ze szpicem w dół (wierzchołek na dole, podstawa u góry wycięcia) */
	clip-path: polygon(0 0, 100% 0, 100% 100%, 100% calc(100% - var(--about-cut)), var(--about-apex) 100%, 0 calc(100% - var(--about-cut)), 0 100%);
}

.about-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	filter: saturate(1.05) contrast(1.03);
}

.about-bg--placeholder {
	background: linear-gradient(135deg, #111, #000);
}

.about-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.20) 55%, rgba(0, 0, 0, 0.05) 100%);
}

.about-inner {
	position: relative;
	z-index: 3;
	/* Keep the content aligned with other sections (same container width). */
	max-width: 1092px;
	padding: 90px 20px calc(var(--about-cut) + 40px);
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

@media (max-width: 980px) {
	.about-inner {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 64px;
	}
}

.about-card {
	width: min(560px, 100%);
	background: #000;
	padding: 44px 44px 40px;
	box-shadow: none;
	/* Drop the black card into the white wedge (partially on white). */
	transform: translateY(var(--about-card-drop));
}

@media (max-width: 640px) {
	.about-card {
		padding: 28px 22px 26px;
	}
}

.about-kicker {
	margin: 0;
	font-weight: 300;
	letter-spacing: 1px;
	text-transform: uppercase;
	opacity: 0.95;
	font-size: clamp(1.1rem, 2.0vw, 2rem);
}

.about-title {
	margin: 6px 0 0;
	font-weight: 900;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	line-height: 1.02;
	font-size: clamp(2.4rem, 4.2vw, 4rem);
}

.about-intro {
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.86);
	max-width: 62ch;
}

.about-text {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.86);
	max-width: 62ch;
}

.about-text p {
	margin: 0 0 14px;
}

.about-text p:last-child {
	margin-bottom: 0;
}

.about-cta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 28px;
	padding: 14px 20px;
	color: #fff;
	text-decoration: none;
	position: relative;
	isolation: isolate;
}

.about-cta::before {
	content: '';
	position: absolute;
	inset: 0;
	border: 2px solid rgba(255, 255, 255, 0.75);
	transform: skewX(-16deg);
	z-index: -1;
}

.about-cta:hover {
	text-decoration: none;
}

.about-cta:hover::before {
	border-color: rgba(255, 255, 255, 0.95);
}

.about-badge {
	flex: 0 0 auto;
	align-self: flex-start;
	width: min(320px, 46vw);
	margin-top: 10px;
	text-decoration: none;
	transform: translateY(var(--about-card-drop));
}

.about-badge-image {
	display: block;
	width: 100%;
	height: auto;
}

.about-bottom {
	background: #fff;
	color: #0b0f19;
	padding: 54px 0;
	padding-bottom: calc(var(--about-card-drop, 360px) * 0.5);
}

.about-bottom-container {
	max-width: 1092px;
}

.about-bottom-text {
	max-width: 78ch;
	font-size: 1.05rem;
	line-height: 1.75;
}

.about-bottom-text p {
	margin: 0 0 18px;
}

.about-bottom-text p:last-child {
	margin-bottom: 0;
}

