/* ============================================================
   css/pages/about.css — ABOUT PAGE SPECIFIC STYLES
   ============================================================ */

.about-page {
	background-color: var(--bg-primary);
}

.about-hero {
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: center;
	overflow: hidden;
	border-bottom: 1px solid var(--border);
}

.about-hero__bg {
	position: absolute;
	inset: 0;
	background-image: url('../../assets/images/portfolio/optimized/xpert-auto-team.jpg');
	background-size: cover;
	background-position: center 20%;
	transform: scale(1);
}

.about-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.72) 42%, rgba(8, 8, 8, 0.45) 100%),
		radial-gradient(circle at 20% 40%, rgba(200, 168, 75, 0.12), transparent 22%);
}

.about-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.about-hero__content {
	max-width: 680px;
	padding: 74px 0 68px;
}

.about-hero__title,
.page-hero__title {
	font-size: clamp(1.5rem, 4vw, 3rem);
	line-height: 1.12;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: 22px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.78);
}

.about-hero__desc {
	max-width: 620px;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--text-gray);
}

.about-story__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.95fr;
	gap: 42px;
	align-items: center;
}

.about-story__copy {
	max-width: 640px;
}

.about-story__text {
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--text-gray);
	margin-bottom: 14px;
}

.about-story__visual {
	justify-self: center;
	width: 100%;
}

.about-story__image-wrap {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.26);
	border: 1px solid var(--border);
}

.about-story__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.about-story__badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	background-color: var(--gold);
	color: #1A1200;
	padding: 14px 16px;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
	min-width: 124px;
}

.about-story__badge strong {
	display: block;
	font-size: 1.8rem;
	line-height: 1;
	font-weight: 800;
}

.about-story__badge span {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	margin-top: 4px;
}

.about-section__header {
	margin-bottom: 48px;
}

.about-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.about-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 28px;
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.about-card:hover {
	transform: translateY(-3px);
	border-color: var(--border-gold);
	box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.about-card__icon {
	margin-bottom: 18px;
}

.about-card h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: 10px;
}

.about-card p {
	font-size: 0.9rem;
	line-height: 1.75;
	color: var(--text-gray);
}

.about-values__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 48px;
}

.about-value {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
}

.about-value h3 {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--text-white);
}

.about-value p {
	font-size: 0.86rem;
	line-height: 1.7;
	color: var(--text-gray);
}

.about-stats {
	padding: 40px 0;
}

.about-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.about-stats__item {
	text-align: center;
	padding: 24px 16px;
}

.about-stats__number {
	font-size: clamp(2rem, 4vw, 2.9rem);
	line-height: 1;
	font-weight: 800;
	color: var(--gold);
	margin-bottom: 8px;
}

.about-stats__label {
	font-size: 0.9rem;
	color: var(--text-gray);
}

.about-timeline {
	position: relative;
	max-width: 980px;
	margin: 0 auto;
	padding: 26px 0 30px;
}

.about-timeline::before {
	content: '';
	position: absolute;
	top: 34px;
	bottom: 34px;
	left: 50%;
	width: 2px;
	transform: translateX(-50%);
	background-color: rgba(200, 168, 75, 0.24);
}

.about-timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	min-height: 128px;
	margin-bottom: 18px;
}

.about-timeline__marker {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(200, 168, 75, 0.98), rgba(186, 154, 62, 0.96));
	box-shadow: 0 0 0 8px rgba(200, 168, 75, 0.1), 0 0 24px rgba(200, 168, 75, 0.22);
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-timeline__marker::after {
	content: none;
}

.about-timeline__marker-icon {
	display: block;
	font-size: 1rem;
	line-height: 1;
	font-weight: 800;
	color: #1A1200;
	transform: translateY(-1px);
}

.about-timeline__card {
	max-width: 360px;
	background-color: #262626;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 20px 22px;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.about-timeline__card h3 {
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--text-white);
	margin-bottom: 8px;
}

.about-timeline__card p {
	font-size: 0.82rem;
	line-height: 1.7;
	color: var(--text-gray);
}

.about-timeline__year {
	display: block;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 8px;
}

.about-timeline__item:nth-child(odd) .about-timeline__card {
	grid-column: 1;
	justify-self: end;
}

.about-timeline__item:nth-child(even) .about-timeline__card {
	grid-column: 2;
	justify-self: start;
}

.about-cta {
	border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
	.about-story__grid {
		grid-template-columns: 1fr;
	}

	.about-story__copy {
		max-width: none;
	}

	.about-cards,
	.about-values__grid,
	.about-stats__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-timeline {
		max-width: 100%;
		padding-top: 22px;
		padding-bottom: 24px;
	}

	.about-timeline__card {
		max-width: 320px;
	}
}

@media (max-width: 768px) {
	.about-hero {
		min-height: 280px;
	}

	.about-hero__content {
		padding: 58px 0 54px;
	}

	.about-cards,
	.about-values__grid,
	.about-stats__grid {
		grid-template-columns: 1fr;
	}

	.about-card,
	.about-timeline__card {
		padding: 18px;
	}

	.about-timeline__item {
		min-height: 116px;
	}

	.about-timeline::before {
		top: 30px;
		bottom: 30px;
	}

	.about-timeline__card {
		max-width: 300px;
	}

	.about-story__badge {
		left: 12px;
		bottom: 12px;
	}
}

@media (max-width: 480px) {
	.about-hero__title {
		font-size: 2rem;
	}

	.about-story__text,
	.about-card p,
	.about-value p,
	.about-timeline__card p {
		font-size: 0.85rem;
	}

	.about-timeline__item {
		min-height: 104px;
	}

	.about-timeline::before {
		top: 26px;
		bottom: 26px;
	}

	.about-timeline__marker {
		width: 32px;
		height: 32px;
	}

	.about-timeline__card {
		max-width: 260px;
		padding: 16px;
	}

	.about-timeline__card h3 {
		font-size: 1rem;
	}

	.about-timeline__card p {
		font-size: 0.78rem;
	}
}

