/* ==========================================================================
   O nas — style specyficzne dla podstrony
   ========================================================================== */

/* Hero -------------------------------------------------------------------- */

.about-hero-section {
	position: relative;
	padding: 100px 0;
	background-color: var(--deercoffe-color-text);
	background-size: cover;
	background-position: center;
}

.about-hero-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.about-hero-section .home-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 48px;
}

.about-hero-badge {
	background: #fff;
	padding: 15px;
}

.about-hero-badge h1 {
	margin: 0;
	font-family: var(--deercoffe-font-heading);
	font-size: 60px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 3.6px;
	color: var(--deercoffe-color-text);
	white-space: nowrap;
}

.about-hero-lead {
	max-width: 645px;
	margin: 0;
	color: #fff;
}

/* Nasza palarnia / Kawa jako rytuał ------------------------------------------ */

.about-intro {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 64px;
	align-items: center;
}

.about-intro-reverse {
	grid-template-columns: 1.05fr 0.95fr;
}

.about-intro-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.about-intro-content .home-eyebrow {
	margin: 0;
}

.about-intro-content h2 {
	font-family: var(--deercoffe-font-heading);
	font-size: 34px;
	font-weight: 400;
	line-height: normal;
	color: var(--deercoffe-color-text);
	margin: 0;
}

.about-intro-content p:not(.home-eyebrow) {
	margin: 0;
	color: var(--deercoffe-color-muted);
	font-size: 18px;
}

.about-intro-media {
	aspect-ratio: 656 / 420;
	overflow: hidden;
}

.about-intro-reverse .about-intro-media {
	aspect-ratio: 520 / 600;
}

.about-intro-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Nasz proces ---------------------------------------------------------------- */

.about-process-heading {
	max-width: 760px;
	margin: 0 auto 48px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.about-process-heading .home-eyebrow {
	margin: 0;
}

.about-process-heading h2 {
	font-family: var(--deercoffe-font-heading);
	font-size: 34px;
	font-weight: 400;
	color: var(--deercoffe-color-text);
	margin: 0;
}

.about-process-heading p:not(.home-eyebrow) {
	margin: 0;
	color: var(--deercoffe-color-muted);
	font-size: 18px;
}

.about-process-grid {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	margin-bottom: 48px;
}

.about-process-item {
	flex: 1 1 0;
	min-width: 0;
}

.about-process-divider {
	flex: 0 0 1px;
	align-self: stretch;
	background: var(--deercoffe-color-cream);
}

.about-process-item h3 {
	font-family: var(--deercoffe-font-heading);
	font-size: 27px;
	font-weight: 400;
	letter-spacing: 0.04em;
	color: var(--deercoffe-color-text);
	margin: 12px 0;
}

.about-process-num {
	display: block;
	font-size: 14px;
	color: var(--deercoffe-color-primary);
}

.about-process-item p {
	margin: 0;
	font-size: 15px;
	color: var(--deercoffe-color-muted);
}

.about-process-images {
	display: flex;
	gap: 24px;
}

.about-process-photo {
	flex: 1 1 0;
	min-width: 0;
	aspect-ratio: 608 / 320;
	object-fit: cover;
}

/* Nie wiesz, którą kawę wybrać? -------------------------------------------- */

.about-cta {
	position: relative;
	overflow: hidden;
	background: var(--deercoffe-color-primary);
	padding: 90px 0;
}

.about-cta-dots {
	position: absolute;
	inset: 0 61.11% 0 0;
	background-image: url('../img/o-nas/cta-dots-desktop.svg');
	background-repeat: no-repeat;
	background-position: left center;
	background-size: cover;
	pointer-events: none;
}

.about-cta-content {
	position: relative;
	max-width: 470px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.about-cta-content h2 {
	font-size: 34px;
	color: #fff;
}

.about-cta-content p {
	font-size: 14px;
	color: var(--deercoffe-color-cream-light);
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 900px) {
	.about-intro,
	.about-intro-reverse {
		grid-template-columns: 1fr;
	}

	.about-intro-media,
	.about-intro-reverse .about-intro-media {
		aspect-ratio: 335 / 300;
	}

	.about-process-grid {
		flex-direction: column;
		gap: 24px;
	}

	.about-process-divider {
		flex-basis: 1px;
		align-self: stretch;
		width: auto;
		height: 1px;
	}

	.about-process-images {
		flex-direction: column;
	}

	.about-process-photo {
		aspect-ratio: 335 / 220;
	}
}

@media (max-width: 640px) {
	.about-hero-section {
		padding: 60px 0;
	}

	.about-hero-badge h1 {
		font-size: 34px;
		white-space: normal;
	}

	.about-cta {
		padding: 150px 0;
	}

	.about-cta-dots {
		inset: 66.05% 0 0 0;
		background-image: url('../img/o-nas/cta-dots-mobile.svg');
		background-position: bottom center;
	}
}
