/* =========================================================================
   Discount Upholstery — about.css
   Шаблон «About Us»: текст слева, картинка справа, кнопка Get a Quote.
   Подключается для шаблона page-about.php (см. functions.php).
   ========================================================================= */

.about {
	padding-block: 96px;
}

.about__inner {
	display: flex;
	align-items: center;
	gap: 91px;
}

/* --- Текст --- */
.about__text {
	flex: 1 1 0;
	min-width: 0;
}

.about__title {
	margin: 0 0 28px;
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 50px;
	line-height: 1.1;
	letter-spacing: 0;
	color: #464460;
}

.about__body {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 16px;
	line-height: 26px;
	letter-spacing: 0;
	color: #4a4a4a;
}

.about__body :where(p) {
	margin: 0 0 18px;
}

.about__body :where(p):last-child {
	margin-bottom: 0;
}

.about__body :where(h2, h3, h4) {
	font-family: var(--font-display);
	font-weight: 500;
	color: #464460;
}

.about__body :where(ul, ol) {
	margin: 0 0 18px;
	padding-left: 22px;
}

.about__body :where(li) {
	margin-bottom: 8px;
}

/* --- Кнопка Get a Quote --- */
.about__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 36px;
	min-height: 58px;
	padding: 16px 44px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background-color: #c09570;
	border-radius: 9999px;
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.about__btn:hover {
	background-color: #a97e59;
	transform: translateY(-1px);
}

/* --- Картинка --- */
.about__media {
	flex: 0 0 auto;
	width: 548px;
}

.about__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

/* На больших экранах картинка немного крупнее (как в других блоках) */
@media (min-width: 1600px) {
	.about__media {
		width: 620px;
	}
}

@media (min-width: 1920px) {
	.about__media {
		width: 700px;
	}
}

/* --- Адаптив --- */
@media (max-width: 1024px) {
	.about {
		padding-block: 64px;
	}

	.about__inner {
		gap: 56px;
	}

	.about__media {
		width: 440px;
	}

	.about__title {
		font-size: 40px;
	}
}

@media (max-width: 768px) {
	.about__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 36px;
	}

	.about__text {
		order: 2;
	}

	.about__media {
		order: 1;
		width: 100%;
		max-width: 548px;
		align-self: center;
	}

	.about__title {
		font-size: 34px;
	}

	.about__btn {
		margin-top: 28px;
	}
}

@media (max-width: 480px) {
	.about__title {
		font-size: 30px;
	}

	.about__btn {
		width: 100%;
		max-width: 360px;
		padding: 18px 32px;
	}
}
