/* ==========================================================================
   MDT Store — About page: hero, credentials strip, person cards, principles.
   Builds on landing.css, corporate.css and services.css. Logical properties only, so English (LTR) and Arabic (RTL)
   share this file.
   ========================================================================== */

/* ---------- Hero ---------- */
.mdt-about-hero { padding-block-end: clamp(84px, 10vw, 132px); }
.mdt-about-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.mdt-about-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); color: #fff; }

/* ---------- Credentials strip (overlaps the hero) ---------- */
.mdt-about-creds { position: relative; z-index: 2; margin-block-start: calc(-1 * clamp(52px, 7vw, 84px)); }
.mdt-about-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mdt-about-cards .mdt-lp-card { box-shadow: var(--mdt-shadow); }
.mdt-lp-card .mdt-about-card-title { margin: 0 0 6px; color: var(--mdt-dark); font-size: 1.12rem; font-weight: 700; line-height: 1.3; }

/* ---------- People ---------- */
.mdt-about-team { padding-block-start: clamp(44px, 6vw, 80px); }
.mdt-team { display: grid; gap: clamp(24px, 4vw, 44px); max-width: 1200px; margin-inline: auto; }

.mdt-person {
	display: grid;
	grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	padding: clamp(22px, 4vw, 52px);
	border: 1px solid var(--mdt-line);
	border-radius: 30px;
	background: var(--mdt-surface);
	box-shadow: var(--mdt-shadow);
}

.mdt-person-photo { position: relative; isolation: isolate; margin-inline-end: 18px; margin-block-end: 18px; }
.mdt-person-photo::before {
	content: "";
	position: absolute;
	inset-block: 18px -18px;
	inset-inline: 18px -18px;
	z-index: -1;
	border-radius: 28px;
	background: linear-gradient(150deg, var(--mdt-primary), #00c4c8 55%, var(--mdt-dark));
}
.mdt-person-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 26px; background: var(--mdt-primary-soft); box-shadow: 0 24px 48px -24px rgba(13, 33, 55, .55); }
.mdt-person-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mdt-person-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mdt-primary); }
.mdt-person-role {
	position: absolute;
	inset-block-end: 16px;
	inset-inline-start: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: #fff;
	color: var(--mdt-dark);
	font-size: .9rem;
	font-weight: 700;
	box-shadow: 0 10px 24px -10px rgba(13, 33, 55, .5);
}
.mdt-person-role::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--mdt-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mdt-accent) 22%, transparent); }

.mdt-person-body { min-width: 0; }
.mdt-person-name { margin: 0 0 6px; font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.3rem); line-height: 1.2; }
:lang(ar) .mdt-person-name { line-height: 1.45; }
.mdt-person-title { margin: 0 0 22px; color: var(--mdt-primary-strong); font-size: 1.02rem; font-weight: 600; }

.mdt-person-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.mdt-person-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--mdt-radius); background: var(--mdt-bg); }
.mdt-person-stat-icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--mdt-primary-soft); color: var(--mdt-primary); }
.mdt-person-stat strong { font-size: .98rem; line-height: 1.3; }
.mdt-person-stat-note { color: var(--mdt-muted); font-size: .84rem; line-height: 1.4; }

.mdt-person-bio p { margin: 0 0 14px; color: var(--mdt-text); line-height: 1.75; }
.mdt-person-bio p:first-child { font-size: 1.08rem; font-weight: 500; }
.mdt-person-bio p:last-child { margin-block-end: 0; }
.mdt-person-bio p:last-child:not(:first-child) { margin-block-start: 18px; padding-inline-start: 16px; border-inline-start: 3px solid var(--mdt-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.mdt-about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.mdt-person { grid-template-columns: 1fr; gap: 32px; }
	.mdt-person-photo { justify-self: center; width: min(calc(100% - 18px), 360px); }
}
@media (max-width: 560px) {
	.mdt-about-cards, .mdt-person-stats { grid-template-columns: 1fr; }
	.mdt-person { border-radius: 22px; }
}
