/**
 * About — panel | car | intro in one row.
 */

.peng-about,
.peng-about.peng-framework {
	--peng-about-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--peng-about-primary: var(--peng-primary, #ff0100);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: 0;
	font-family: var(--peng-font);
	color: #111111;
	background: transparent !important;
	background-color: transparent !important;
}

.peng-about *,
.peng-about *::before,
.peng-about *::after {
	box-sizing: border-box;
}

.peng-about__shell {
	width: 100%;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.peng-about__legal-block {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
	width: 100%;
	max-width: 22rem;
	margin: 0.45rem 0 0;
	padding: 0.9rem 0 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.peng-about__legal-heading {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #111;
}

.peng-about__legal {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.7rem;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	list-style: none;
}

.peng-about__legal-item {
	display: grid;
	grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr);
	gap: 0.35rem 0.75rem;
	align-items: baseline;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.peng-about__legal-label {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.35;
	color: var(--peng-primary, #ff0100);
	white-space: nowrap;
}

.peng-about__legal-value {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.45;
	color: #111;
	overflow-wrap: anywhere;
	text-align: start;
}

.peng-about__stage {
	position: relative;
	display: grid;
	grid-template-columns: minmax(240px, 0.88fr) minmax(340px, 1.65fr) minmax(200px, 0.78fr);
	gap: clamp(0.65rem, 1.8vw, 1.25rem);
	align-items: center;
	/* Visual order: panel | car | intro */
	direction: ltr;
}

.peng-about--rtl .peng-about__intro,
.peng-about--rtl .peng-about__panel-wrap {
	direction: rtl;
}

.peng-about__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	min-width: 0;
	z-index: 2;
}

.peng-about__wires {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 6;
	overflow: visible;
}

.peng-about__wire {
	stroke: var(--peng-about-primary);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 6 8;
	stroke-dashoffset: 48;
	opacity: 1;
	animation:
		peng-about-wire-draw 0.65s var(--peng-about-ease) forwards,
		peng-about-dash 1.1s linear 0.65s infinite;
}

.peng-about__wire-dot {
	fill: var(--peng-about-primary);
	opacity: 0;
	animation: peng-about-dot-in 0.35s ease 0.12s forwards;
}

.peng-about__wire-dot--end {
	animation-delay: 0.5s;
}

@keyframes peng-about-dash {
	to {
		stroke-dashoffset: -28;
	}
}

@keyframes peng-about-wire-draw {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes peng-about-dot-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.peng-about__title {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(1.35rem, 2.6vw, 1.85rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: #000000;
	text-wrap: balance;
}

.peng-about__panel-wrap {
	position: relative;
	z-index: 3;
	min-width: 0;
	align-self: center;
}

.peng-about__rule {
	display: block;
	width: 64px;
	height: 3px;
	border-radius: 999px;
	background: var(--peng-about-primary);
}

.peng-about__lead {
	margin: 0;
	max-width: 20rem;
	font-size: clamp(0.95rem, 1.3vw, 1.05rem);
	font-weight: 600;
	line-height: 1.55;
	color: #333333;
}

.peng-about__panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: auto;
	padding: 1.35rem 1.4rem;
	overflow: visible;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--peng-radius-lg, 24px);
	background: #ffffff;
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
	transition: box-shadow 280ms var(--peng-about-ease), border-color 280ms var(--peng-about-ease);
}

.peng-about.is-focusing .peng-about__panel {
	border-color: var(--peng-about-primary, #ff0100);
	box-shadow: 0 16px 36px rgba(255, 1, 0, 0.12);
}

.peng-about__right-title {
	margin: 0;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #000000;
}

.peng-about__body {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.7;
	color: var(--peng-muted, #6d6d6d);
}

.peng-about__steps {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.peng-about__step {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 0.8rem;
	min-height: 3.35rem;
	padding: 0.85rem 1.1rem 0.85rem 0.8rem;
	border-radius: var(--peng-radius-md, 14px);
	background: #ffffff;
	border: 1px solid rgba(255, 1, 0, 0.22);
	cursor: pointer;
	opacity: 0.55;
	transform: translateX(0);
	transition:
		border-color 420ms var(--peng-about-ease),
		background-color 420ms var(--peng-about-ease),
		opacity 420ms var(--peng-about-ease),
		transform 420ms var(--peng-about-ease),
		box-shadow 420ms var(--peng-about-ease);
}

.peng-about.is-focusing .peng-about__step:not(.is-active) {
	opacity: 0.4;
	border-color: rgba(255, 1, 0, 0.14);
}

.peng-about__step-anchor {
	position: absolute;
	top: 50%;
	right: -2px;
	left: auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: transparent;
	transform: translate(50%, -50%);
	pointer-events: none;
	transition: background-color 320ms ease, box-shadow 320ms ease;
}

.peng-about__step.is-active .peng-about__step-anchor {
	background: var(--peng-about-primary);
	box-shadow: none;
}

.peng-about__step:hover {
	border-color: rgba(255, 1, 0, 0.55);
	opacity: 1;
	transform: translateY(-1px);
}

.peng-about__step-num {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: #000000;
	color: #ffffff;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	transition: background-color 420ms var(--peng-about-ease), transform 420ms var(--peng-about-ease);
}

.peng-about__step.is-active .peng-about__step-num {
	background: var(--peng-about-primary);
	transform: scale(1.08);
}

.peng-about__step-text {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.4;
	color: #1a1a1a;
	padding-top: 0;
}

.peng-about__cta-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin-top: auto;
	padding-top: 0.5rem;
}

.peng-about__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	align-self: flex-start;
	/* Match navbar CTA pill radius */
	border-radius: 999px !important;
	min-height: 48px;
	padding-inline: 1.35rem;
	transition:
		transform 240ms var(--peng-about-ease),
		box-shadow 240ms var(--peng-about-ease),
		background-color 240ms ease;
}

.peng-about__cta-icon {
	font-size: 1.2em;
	line-height: 1;
}

.peng-about__cta-label {
	line-height: 1;
}

.peng-about__cta:hover,
.peng-about__cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
	outline: none;
}

.peng-about__points {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.peng-about__point {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.45;
	color: #1a1a1a;
}

.peng-about__tick {
	display: inline-grid;
	place-items: center;
	flex-shrink: 0;
	width: 1.2rem;
	height: 1.2rem;
	margin-top: 0.1rem;
	border-radius: 50%;
	background: var(--peng-about-primary);
	color: #ffffff;
}

.peng-about__metrics {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	max-width: 34rem;
	margin: 2.15rem auto 0;
	padding: 1.15rem 0.5rem;
	list-style: none;
	border: 0;
	justify-items: stretch;
	background: transparent;
	box-shadow: none;
}

.peng-about__metric {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.28rem;
	width: 100%;
	min-height: 0;
	padding: 0.2rem 1rem;
	text-align: center;
	border-radius: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	transition: transform 280ms var(--peng-about-ease);
}

.peng-about__metric + .peng-about__metric::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 12%;
	bottom: 12%;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(255, 1, 0, 0.35) 30%,
		rgba(255, 1, 0, 0.35) 70%,
		transparent 100%
	);
	pointer-events: none;
}

.peng-about__metric::after {
	content: none;
}

.peng-about__metric:hover {
	transform: translateY(-2px);
}

.peng-about__metric-value {
	position: relative;
	z-index: 1;
	display: inline-block;
	max-width: 100%;
	padding-block: 0.08em 0.12em;
	overflow: visible;
	font-size: clamp(1.85rem, 3.1vw, 2.35rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.045em;
	font-variant-numeric: tabular-nums;
	color: var(--peng-about-primary, #ff0100);
	background: linear-gradient(
		145deg,
		#ff6b6b 0%,
		var(--peng-about-primary, #ff0100) 45%,
		#9e0000 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	/* Prevent Arabic descenders from clipping with background-clip */
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.peng-about__metric-label {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.01em;
	color: #5a5a5a;
	max-width: 12ch;
}

/* —— Center car —— */
.peng-about__hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	min-height: clamp(300px, 48vw, 560px);
	z-index: 1;
}

.peng-about__hero-stage {
	position: relative;
	display: grid;
	place-items: end center;
	width: 100%;
	padding-bottom: 0;
}

.peng-about__car-scene {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 920px;
	isolation: isolate;
}

.peng-about__floor {
	display: none;
}

.peng-about__car {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
}

.peng-about__car-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(560px, 68vw);
	object-fit: contain;
	object-position: center bottom;
	filter: none;
}

.peng-about__pin {
	position: absolute;
	left: var(--peng-pin-x);
	top: var(--peng-pin-y);
	z-index: 5;
	display: block;
	width: 12px;
	height: 12px;
	margin: 0;
	padding: 0;
	border: 2px solid var(--peng-about-primary, #ff0100) !important;
	border-radius: 50%;
	background: var(--peng-about-primary, #ff0100);
	box-shadow: none !important;
	outline: none !important;
	transform: translate(-50%, -50%);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	overflow: visible;
	transition: transform 220ms var(--peng-about-ease);
}

.peng-about__pin::before,
.peng-about__pin::after {
	content: none !important;
	display: none !important;
}

.peng-about__pin:focus,
.peng-about__pin:focus-visible,
.peng-about__pin:active,
.peng-about__pin:hover {
	outline: none !important;
	box-shadow: none !important;
	border-color: var(--peng-about-primary, #ff0100) !important;
	background: var(--peng-about-primary, #ff0100);
}

.peng-about__pin-core {
	display: none !important;
}

.peng-about__pin-tip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translate(-50%, 6px);
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: #000000;
	color: #ffffff;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 200ms ease, transform 200ms ease;
}

.peng-about__pin-tip::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	width: 0;
	height: 0;
	border: 5px solid transparent;
	border-top-color: #000000;
	transform: translateX(-50%);
}

.peng-about__pin:hover .peng-about__pin-tip,
.peng-about__pin.is-active .peng-about__pin-tip,
.peng-about__pin:focus-visible .peng-about__pin-tip {
	opacity: 1;
	transform: translate(-50%, 0);
}

.peng-about__pin.is-active,
.peng-about__pin:hover,
.peng-about__pin:focus-visible {
	transform: translate(-50%, -50%) scale(1.15);
}

.peng-about__step.is-active {
	border-color: rgba(255, 1, 0, 0.7);
	background: #ffffff;
	opacity: 1;
	transform: translateX(4px);
	box-shadow: 0 10px 22px rgba(255, 1, 0, 0.08);
}

.peng-about--rtl .peng-about__step.is-active {
	transform: translateX(-4px);
}

@media (max-width: 1024px) {
	.peng-about__stage {
		grid-template-columns: 1fr;
		grid-template-areas:
			"intro"
			"hero"
			"panel";
		gap: 1.5rem;
	}

	.peng-about__intro {
		grid-area: intro;
	}

	.peng-about__hero {
		grid-area: hero;
		min-height: clamp(220px, 46vw, 360px);
	}

	.peng-about__panel-wrap {
		grid-area: panel;
	}

	.peng-about__car-img {
		max-height: min(400px, 68vw);
	}

	.peng-about__wires,
	.peng-about__pin,
	.peng-about__step-anchor {
		display: none;
	}
}

@media (max-width: 720px) {
	.peng-about {
		overflow: visible;
	}

	.peng-about__stage {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 1.5rem;
	}

	/* Mobile order: intro → car/metrics → panel */
	.peng-about__intro {
		order: 1;
		width: 100%;
		max-width: none;
		align-items: flex-start;
		gap: 0.7rem;
		text-align: start;
	}

	.peng-about__hero {
		order: 2;
		min-height: 0;
		width: 100%;
		gap: 0;
	}

	.peng-about__panel-wrap {
		order: 3;
		width: 100%;
	}

	.peng-about__eyebrow,
	.peng-about__eyebrow.peng-subtitle {
		display: inline-flex;
		align-self: flex-start;
		width: fit-content;
		max-width: 100%;
		justify-content: flex-start;
	}

	.peng-about__title {
		max-width: none;
		margin-inline: 0;
		font-size: clamp(1.45rem, 6.5vw, 1.85rem);
		line-height: 1.25;
	}

	.peng-about__rule {
		margin-inline: 0;
		width: 52px;
	}

	.peng-about__lead {
		max-width: none;
		margin-inline: 0;
		font-size: 0.98rem;
		line-height: 1.65;
	}

	.peng-about__points {
		align-items: stretch;
		width: 100%;
		max-width: none;
		margin-inline: 0;
		margin-top: 0.25rem;
		gap: 0.55rem;
	}

	.peng-about__point {
		justify-content: flex-start;
		align-items: flex-start;
		text-align: start;
		padding: 0.65rem 0.75rem;
		border: 1px solid #eeeeee;
		border-radius: var(--peng-radius-md, 14px);
		background: #f4f6f8;
	}

	.peng-about__legal-block {
		width: 100%;
		max-width: none;
		margin-top: 0.85rem;
		padding: 1rem clamp(16px, 4vw, 32px) 0.25rem;
		border-top: 1px solid rgba(0, 0, 0, 0.1);
		box-sizing: border-box;
	}

	.peng-about__legal {
		width: 100%;
		max-width: none;
	}

	.peng-about__legal-item {
		grid-template-columns: minmax(5.5rem, auto) minmax(0, 1fr);
		width: 100%;
	}

	.peng-about__legal-value {
		overflow-wrap: normal;
		word-break: normal;
	}

	.peng-about__hero-stage {
		width: 100%;
		place-items: center;
	}

	.peng-about__car-scene {
		max-width: 100%;
	}

	.peng-about__car-img {
		max-height: min(280px, 72vw);
		margin-inline: auto;
	}

	.peng-about__metrics {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
		max-width: none;
		margin: 1rem 0 0;
		padding: 0.85rem 0.35rem;
		border: 1px solid #eeeeee;
		border-radius: var(--peng-radius-md, 14px);
		background: #f4f6f8;
		gap: 0;
	}

	.peng-about__metric {
		min-height: 0;
		padding: 0.35rem 0.4rem;
		gap: 0.2rem;
	}

	.peng-about__metric-value {
		font-size: clamp(1.35rem, 5vw, 1.7rem);
		line-height: 1.25;
		padding-block: 0.06em 0.1em;
	}

	.peng-about__metric-label {
		font-size: 0.68rem;
		max-width: none;
		line-height: 1.35;
	}

	.peng-about__panel {
		gap: 0.85rem;
		padding: 1.15rem 1.1rem;
		text-align: start;
		background: #f4f6f8;
		border-color: #eeeeee;
		box-shadow: none;
	}

	.peng-about__right-title {
		text-align: start;
		font-size: clamp(1.15rem, 5vw, 1.35rem);
	}

	.peng-about__body {
		text-align: start;
		font-size: 0.92rem;
		line-height: 1.65;
	}

	.peng-about__steps {
		gap: 0.65rem;
		margin-top: 0.25rem;
	}

	.peng-about__step {
		min-height: 0;
		padding: 0.75rem 0.85rem;
		opacity: 1;
		background: #ffffff;
		border-color: #eeeeee;
	}

	.peng-about__step:hover,
	.peng-about__step.is-active {
		transform: none;
		box-shadow: none;
		border-color: rgba(255, 1, 0, 0.35);
	}

	.peng-about__cta-block {
		align-items: stretch;
		width: 100%;
		padding-top: 0.25rem;
	}

	.peng-about__cta {
		align-self: stretch;
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 420px) {
	.peng-about__metrics {
		grid-template-columns: 1fr;
		gap: 0.55rem;
		padding: 0.75rem;
	}

	.peng-about__metric + .peng-about__metric::before {
		display: none;
	}

	.peng-about__metric {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: start;
		padding: 0.55rem 0.65rem;
		border-radius: 10px;
		background: #ffffff;
		border: 1px solid #eeeeee;
	}

	.peng-about__metric-label {
		max-width: none;
		font-size: 0.78rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.peng-about__wire,
	.peng-about__wire-dot,
	.peng-about__wire-dot--end {
		animation: none !important;
		opacity: 1;
		stroke-dashoffset: 0;
	}

	.peng-about__step,
	.peng-about__step-num {
		transition: none !important;
	}
}
