/* Strony Mix & Match (odwzorowanie brendz.com/mix-match); bloki tekst/zdjęcie korzystają ze stylów .about-row z about.css */

.mm { font-family: "Asap", var(--font); }

/* ---------- Przyciski-obrysy ---------- */
.mm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border: 2px solid currentColor;
	border-radius: 42px;
	font: 600 16.8px/25.2px "Asap", var(--font);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.mm-btn--white { color: #fff; }
.mm-btn--white:hover { background: #fff; color: #425563; }
.mm-btn--dark { color: #425563; }
.mm-btn--dark:hover { background: #425563; color: #fff; }
.about-row--dark .mm-btn--dark { color: #fff; }
.about-row--dark .mm-btn--dark:hover { background: #fff; color: #425563; }

/* ---------- Hero ---------- */
.mm-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 0;
	padding: 32px 0 32px;
	background: #1d2a1a center / cover no-repeat;
	color: #fff;
}
@media (min-width: 768px) { .mm-hero { min-height: 462px; padding: 32px 0 70px; } }
.mm-hero__logo { display: block; width: 70px; height: 70px; margin-bottom: 14px; }
.mm-hero .container { padding-inline: 25.5px; }
@media (min-width: 768px) { .mm-hero .container { padding-inline: 10.5px; } }
@media (min-width: 768px) { .mm-hero__logo { width: 154px; height: 154px; } }
.mm-hero h1 { margin: 0; font-size: 28px; font-weight: 700; line-height: 33.6px; color: #fff; }
.mm-hero__sub { margin: 0 0 12.25px; font-size: 17.5px; font-weight: 500; line-height: 25px; color: #fff; }
@media (min-width: 768px) {
	.mm-hero h1 { font-size: 42px; line-height: 50.4px; }
	.mm-hero__sub { font-size: 24.5px; line-height: 39.2px; }
}
.mm-hero .mm-btn { margin-top: 16px; }

/* ---------- Kroki (ciemna sekcja z numerowanymi kółkami) ---------- */
.mm-steps { padding: 48px 0; background: #425563; color: #fff; text-align: center; }
@media (min-width: 768px) { .mm-steps { padding: 70px 0; } }
.mm-steps__title { margin: 0 0 17.5px; font-size: 28px; font-weight: 700; line-height: 1.3; color: #fff; }
@media (min-width: 768px) { .mm-steps__title { font-size: 35px; line-height: 56px; } }
.mm-steps__intro { max-width: 909px; margin: 0 auto 26px; font-size: 16.8px; line-height: 26.88px; color: #fff; }

.mm-steps__list { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 64px; counter-reset: step; }
@media (min-width: 576px) { .mm-steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .mm-steps__list { grid-template-columns: repeat(4, 1fr); margin-top: 84px; } }
.mm-step { counter-increment: step; padding-inline: 10.5px; }
.mm-step__circle {
	position: relative;
	display: block;
	width: 178px;
	height: 178px;
	margin: 0 auto;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #7fa0ac;
}
.mm-step__circle::before {
	content: counter(step);
	position: absolute;
	top: -20px;
	left: 50%;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-left: -19px;
	border-radius: 50%;
	background: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	color: #425563;
}
.mm-step__circle img { display: block; width: 100%; height: 100%; padding: 42px; }
.mm-step h3 { margin: 14px 0 10.5px; font-size: 21px; font-weight: 700; line-height: 33.6px; color: #fff; }
.mm-step p { margin: 0; font-size: 16.8px; line-height: 26.88px; color: #fff; }

/* ---------- Bloki tekst + zdjęcie: nagłówek pomocniczy ---------- */
.about-row h2 { margin-bottom: 0; }
.about-row .about-row__sub { margin: 0 0 12.25px; font-size: 20px; font-weight: 500; line-height: 32px; color: #394a53; }
@media (min-width: 768px) { .about-row .about-row__sub { font-size: 24.5px; line-height: 39.2px; } }
.about-row--dark .about-row__sub { color: #fff; }
.about-row__text .mm-btn { margin-top: 0; }

/* ---------- Sekcja wstępna (nagłówek + akapit na środku) ---------- */
.mm-intro { padding: 40px 0; background: #fff; color: #425563; text-align: center; }
@media (min-width: 768px) { .mm-intro { padding: 70px 0; } }
.mm-intro h2 { margin: 0 0 17.5px; font-size: 28px; font-weight: 700; line-height: 1.3; color: #394a53; }
@media (min-width: 768px) { .mm-intro h2 { font-size: 35px; line-height: 42px; } }
.mm-intro p { max-width: 909px; margin: 0 auto; font-size: 16px; line-height: 25.6px; color: #425563; }
