/**
 * About Our Company section styles.
 * Loaded wherever the about band appears (homepage + Moving Services landing pages).
 *
 * @package Beaver_Movers
 */

/* About Our Company (Figma: 1736:660) */
.beaver-section--about {
	overflow: hidden;
	padding-top: 0;
	margin-top: 80px;
	padding-bottom: 0;
}

.beaver-about__title {
	font-family: var(--bm-font-brand);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.2;
	color: var(--bm-color-text-main);
	text-align: center;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.beaver-about__inner {
	position: relative;
	margin: 0 auto;
}

.beaver-about__bg picture {
	display: block;
	line-height: 0;
}

.beaver-about__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.beaver-about__bg-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.beaver-about__brand-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1rem;
}

.beaver-about__icon {
	width: 37px;
	height: 47px;
	object-fit: contain;
	flex-shrink: 0;
}

.beaver-about__subtitle {
	font-family: var(--bm-font-brand);
	font-size: 30px;
	font-weight: 400;
	line-height: 0.87;
	letter-spacing: 0.3px;
	color: var(--bm-color-text-heading);
	margin: 0;
	max-width: 200px;
}

.beaver-about__body {
	font-family: var(--bm-font-nav);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--bm-color-text-main);
	margin: 0 0 24px;
	max-width: 45%;
}

.beaver-about__content {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 48px;
	margin-top: 12%;
}

.beaver-about__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 24px;
	background-color: var(--bm-color-bg-cta);
	color: var(--bm-color-cta-text);
	font-family: var(--bm-font-nav);
	font-size: var(--bm-header-cta-size);
	font-weight: 500;
	letter-spacing: 0.14px;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--bm-radius-pill);
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
	line-height: 1;
}

.beaver-about__cta:hover,
.beaver-about__cta:focus {
	background-color: var(--bm-color-bg-cta-hover);
	color: var(--bm-color-cta-text-hover);
}

@media (max-width: 1115px) {
	.beaver-section--about {
		margin-top: 24px;
	}

	/* Not storefront: preserve band offset at tablet (homepage keeps tighter 24px above). */
	body:not(.home) .beaver-section--about {
		margin-top: 120px;
	}

	.beaver-about__title {
		margin-bottom: 24px;
	}
}

@media (max-width: 1024px) {
	body:not(.home) .beaver-section--about {
		margin-top: 64px;
	}

	.beaver-about__subtitle {
		font-size: 20px;
	}

	.beaver-about__body {
		font-size: 14px;
		line-height: 1.4;
	}

	.beaver-about__content {
		margin-top: 8%;
	}

	.beaver-about__cta {
		font-size: 14px;
		line-height: 1;
	}

	.beaver-about__brand-row {
		margin-bottom: 14px;
	}
}

/* Mobile art (Figma): dog/box bottom-right; asset about-bg-mobile.png (804×747) */
@media (max-width: 768px) {
	.beaver-about__bg img {
		width: 100%;
		height: auto;
		max-height: none;
		aspect-ratio: 804 / 747;
		object-fit: cover;
		object-position: bottom right;
	}
}

@media (max-width: 736px) {
	.beaver-about__title {
		font-size: 24px;
	}

	.beaver-about__content {
		padding: 0 24px;
		margin-top: 16%;
	}

	.beaver-about__body {
		max-width: 60%;
	}
}

@media (max-width: 600px) {
	.beaver-about__content {
		padding: 0 12px;
		margin-top: 8%;
	}

	.beaver-about__body {
		margin-bottom: 16px;
	}
}