/**
 * Fixa Academy — About page
 * Trust & authority layout, brand tokens
 */

body.fixa-academy-site.page-template-page-templatesabout-php {
	background: #fff;
}

.fx-about-page {
	--fx-green: #006b5b;
	--fx-green-soft: #eaf8f3;
	--fx-navy: #0c2034;
	--fx-red: #f15b55;
	--fx-ink: #17212b;
	--fx-muted: #5f6d7a;
	--fx-line: #e5eaf0;
	--fx-bg: #f7f9fb;
	color: var(--fx-ink);
	font-family: "Yekan Bakh FaNum", "Yekan Bakh", "Vazirmatn", Tahoma, Arial, sans-serif;
}

.fx-about-page,
.fx-about-page * {
	box-sizing: border-box;
}

.fx-about-page .fx-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.fx-about-eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--fx-green-soft);
	color: var(--fx-green);
	font-size: 12px;
	font-weight: 900;
}

.fx-about-title {
	margin: 0 0 10px;
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 1000;
	line-height: 1.4;
	color: var(--fx-navy);
}

.fx-about-lead {
	margin: 0;
	max-width: 40em;
	font-size: 15px;
	line-height: 1.85;
	color: var(--fx-muted);
}

.fx-about-heading {
	margin-bottom: 28px;
	text-align: center;
}

.fx-about-heading .fx-about-lead {
	margin-inline: auto;
}

.fx-about-section {
	padding: 64px 0;
}

.fx-about-section--soft {
	background: var(--fx-bg);
}

/* Hero */
.fx-about-hero {
	position: relative;
	isolation: isolate;
	padding: 72px 0 64px;
	overflow: hidden;
	text-align: center;
}

.fx-about-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 65% 55% at 88% 8%, rgba(0, 107, 91, 0.14), transparent 55%),
		radial-gradient(ellipse 50% 45% at 8% 92%, rgba(241, 91, 85, 0.09), transparent 55%),
		linear-gradient(165deg, #eef3f7 0%, #f7f9fb 45%, #eaf8f3 100%);
}

.fx-about-hero__inner {
	max-width: 760px;
	margin-inline: auto;
	animation: fx-about-rise 0.55s ease both;
}

.fx-about-hero__title {
	margin: 0 0 14px;
	font-size: clamp(30px, 6vw, 46px);
	font-weight: 1000;
	line-height: 1.35;
	color: var(--fx-navy);
}

.fx-about-hero__lead {
	margin: 0 auto;
	max-width: 36em;
	font-size: 16px;
	line-height: 1.85;
	color: var(--fx-muted);
}

/* Story */
.fx-about-story {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 36px;
	align-items: center;
}

.fx-about-story__p {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.9;
	color: #465664;
}

.fx-about-story__media {
	min-width: 0;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--fx-line);
	background: #e8eef3;
	box-shadow: 0 18px 40px rgba(12, 32, 52, 0.08);
}

.fx-about-story__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fx-about-story__placeholder {
	min-height: 280px;
	display: grid;
	place-items: center;
	color: var(--fx-green);
}

.fx-about-story__placeholder svg {
	width: 56px;
	height: 56px;
	opacity: 0.7;
}

/* Stats */
.fx-about-stats {
	padding: 0 0 8px;
	margin-top: -12px;
}

.fx-about-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--fx-line);
	border-radius: 20px;
	box-shadow: 0 14px 36px rgba(12, 32, 52, 0.06);
}

.fx-about-stats__item {
	text-align: center;
	padding: 8px 6px;
}

.fx-about-stats__item strong {
	display: block;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 1000;
	color: var(--fx-navy);
	line-height: 1.2;
	margin-bottom: 6px;
}

.fx-about-stats__item span {
	font-size: 13px;
	font-weight: 700;
	color: var(--fx-muted);
}

/* Values */
.fx-about-values {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.fx-about-value {
	padding: 22px 20px;
	background: #fff;
	border: 1px solid var(--fx-line);
	border-radius: 18px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fx-about-value:hover {
	border-color: #cfe3de;
	box-shadow: 0 14px 32px rgba(12, 32, 52, 0.07);
	transform: translateY(-2px);
}

.fx-about-value__icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--fx-green-soft);
	color: var(--fx-green);
	margin-bottom: 14px;
}

.fx-about-value__icon svg {
	width: 22px;
	height: 22px;
}

.fx-about-value h3 {
	margin: 0 0 8px;
	font-size: 16px;
	color: var(--fx-navy);
}

.fx-about-value p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: var(--fx-muted);
}

/* Timeline */
.fx-about-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	max-width: 820px;
	margin-inline: auto;
}

.fx-about-timeline__item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 16px;
	position: relative;
	padding: 0 0 28px;
}

.fx-about-timeline__item:not(:last-child):after {
	content: "";
	position: absolute;
	top: 36px;
	right: 42px;
	width: 2px;
	bottom: 0;
	background: linear-gradient(#cfe3de, #dce7ec);
}

.fx-about-timeline__year {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--fx-green-soft);
	color: var(--fx-green);
	font-size: 12px;
	font-weight: 900;
	position: relative;
	z-index: 1;
	text-align: center;
}

.fx-about-timeline__body {
	padding-top: 4px;
}

.fx-about-timeline__body h3 {
	margin: 0 0 6px;
	font-size: 16px;
	color: var(--fx-navy);
}

.fx-about-timeline__body p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--fx-muted);
}

/* Team */
.fx-about-team {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.fx-about-person {
	padding: 24px 20px;
	background: #fff;
	border: 1px solid var(--fx-line);
	border-radius: 18px;
	text-align: center;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fx-about-person:hover {
	border-color: #cfe3de;
	box-shadow: 0 14px 32px rgba(12, 32, 52, 0.07);
	transform: translateY(-2px);
}

.fx-about-person__avatar {
	width: 72px;
	height: 72px;
	margin: 0 auto 14px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--fx-green-soft);
	color: var(--fx-green);
	display: grid;
	place-items: center;
	font-size: 26px;
	font-weight: 1000;
}

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

.fx-about-person h3 {
	margin: 0 0 4px;
	font-size: 16px;
	color: var(--fx-navy);
}

.fx-about-person__role {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12px;
	font-weight: 800;
	color: var(--fx-green);
}

.fx-about-person p {
	margin: 0;
	font-size: 13px;
	line-height: 1.75;
	color: var(--fx-muted);
}

/* CTA */
.fx-about-cta {
	padding: 28px 0 72px;
}

.fx-about-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 28px 30px;
	border-radius: 22px;
	background: linear-gradient(125deg, #0a1c2d, #123b5a);
	color: #fff;
	box-shadow: 0 18px 40px rgba(12, 32, 52, 0.18);
}

.fx-about-cta__text h2 {
	margin: 0 0 8px;
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 1000;
	line-height: 1.4;
}

.fx-about-cta__text p {
	margin: 0;
	max-width: 36em;
	font-size: 14px;
	line-height: 1.75;
	color: #c4d2df;
}

.fx-about-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.fx-about-cta__actions .fx-btn--light {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.fx-about-cta__actions .fx-btn--light:hover {
	background: rgba(255, 255, 255, 0.16);
}

.fx-about-page .fx-btn {
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-about-page .fx-btn:focus-visible {
	outline: 2px solid var(--fx-green);
	outline-offset: 3px;
}

@keyframes fx-about-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 980px) {
	.fx-about-story,
	.fx-about-values {
		grid-template-columns: 1fr 1fr;
	}

	.fx-about-team {
		grid-template-columns: 1fr 1fr;
	}

	.fx-about-stats__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.fx-about-page .fx-container {
		width: min(100% - 24px, 1180px);
	}

	.fx-about-section {
		padding: 48px 0;
	}

	.fx-about-hero {
		padding: 48px 0 40px;
	}

	.fx-about-story,
	.fx-about-values,
	.fx-about-team,
	.fx-about-stats__grid {
		grid-template-columns: 1fr;
	}

	.fx-about-timeline__item {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 12px;
	}

	.fx-about-timeline__item:not(:last-child):after {
		right: 34px;
	}

	.fx-about-cta__inner {
		padding: 22px 18px;
	}

	.fx-about-cta__actions {
		width: 100%;
	}

	.fx-about-cta__actions .fx-btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fx-about-hero__inner,
	.fx-about-value,
	.fx-about-person {
		animation: none;
		transition: none;
	}
}
