/* ===== About page (درباره دکتر) ===== */
.page-about {
	--ab-accent: #EDA35A;
	--ab-card: #FAF2E8;
	--ab-card-2: #F7EDE0;
	--ab-icon-bg: #FBE6CF;
	--ab-shadow: 0 6px 18px rgba(80, 55, 20, .10), 0 1px 3px rgba(80, 55, 20, .08);
	background: #F7F0E8;
}

/* ===== Hero (compact) ===== */
.ab-hero { min-height: 0; }
.ab-hero__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	width: min(var(--wrap-hero), 100% - 64px);
	margin-inline: auto;
	padding: 150px 0 52px;
}
.ab-hero__media {
	flex: none;
	width: 276px;
	height: 170px;
	border: 2px solid var(--cream);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.ab-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero__content { display: flex; flex-direction: column; align-items: flex-start; }
.ab-hero__title { font-size: 36px; font-weight: 700; line-height: 1.4; color: var(--cream); }
.ab-hero__subtitle { margin-top: 8px; font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--ab-accent); }
.ab-hero__intro { margin-top: 8px; font-size: 18px; line-height: 1.5; color: var(--cream-300); }

/* ===== A: About card ===== */
.ab-about { padding: 50px 16px 0; }
.ab-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	align-items: center;
	column-gap: 48px;
	width: min(1100px, 100%);
	margin-inline: auto;
	padding: 24px 64px 24px 24px;
	border: 1px solid #F1E3D2;
	border-radius: 22px;
	background: var(--ab-card);
	box-shadow: var(--ab-shadow);
}
/* RTL: first column is on the right (text), photo on the left */
.ab-card__body { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: stretch; }
.ab-card__photo {
	grid-column: 2;
	grid-row: 1;
	aspect-ratio: 900 / 887; /* original photo proportions: full frame, no crop */
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}
.ab-card__photo img { width: 100%; height: 100%; object-fit: contain; }

.ab-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--green-800);
}
.ab-orn {
	flex: none;
	width: 20px;
	height: 40px;
	background: url("../images/icons/title-right.svg") center / 100% 100% no-repeat;
}
.ab-line { flex: none; width: 70px; height: 2px; border-radius: 2px; background: var(--green-800); }

.ab-card__text {
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.85;
	text-align: justify;
	color: var(--ink);
}
.ab-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
	margin-top: 20px;
	padding-inline: 8px;
}
.ab-stat {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	height: 66px;
	padding: 0 16px;
	border: 1px solid #F1E3D2;
	border-radius: 14px;
	background: var(--ab-card-2);
	box-shadow: var(--ab-shadow);
}
.ab-stat__icon { flex: none; width: 34px; height: 34px; }
.ab-stat__icon svg,
.ab-approach__icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: var(--ab-accent);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ab-stat__icon .fill { fill: var(--ab-accent); stroke: none; }
.ab-stat__text { display: flex; flex-direction: column; align-items: center; }
.ab-stat__num { font-size: 21px; font-weight: 700; line-height: 1.3; color: var(--green-800); white-space: nowrap; }
.ab-stat__label { font-size: 14px; line-height: 1.5; color: var(--ink); white-space: nowrap; }

/* ===== B: Treatment approach ===== */
.ab-approach { padding: 50px 16px 50px; }
.ab-approach__heading {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--green-800);
}
.ab-approach__heading .ab-line { width: 205px; height: 1.5px; }
.ab-approach__heading .sec-title__orn { width: 22px; height: 44px; }
.ab-approach__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	width: min(1110px, 100%);
	margin: 26px auto 0;
}
.ab-approach__card {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 92px;
	padding: 14px 18px 14px 20px;
	border: 1px solid #F1E3D2;
	border-radius: 16px;
	background: var(--ab-card-2);
	box-shadow: var(--ab-shadow);
}
.ab-approach__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	padding: 13px;
	border-radius: 50%;
	background: var(--ab-icon-bg);
}
.ab-approach__body { display: flex; flex-direction: column; min-width: 0; }
.ab-approach__title { font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--green-800); }
.ab-approach__text { margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--ink); }

/* ===== Tablet ===== */
@media (max-width: 1199.98px) {
	.ab-card { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); column-gap: 32px; padding: 24px 32px 24px 24px; }
	.ab-approach__heading .ab-line { width: 100px; }
}
@media (max-width: 991.98px) {
	/* Hero */
	.ab-hero__inner { flex-direction: column-reverse; gap: 22px; width: 100%; padding: 120px 20px 40px; text-align: center; }
	.ab-hero__content { align-items: center; }
	.ab-hero__title { font-size: 24px; }
	.ab-hero__subtitle { margin-top: 6px; font-size: 16px; }
	.ab-hero__intro { margin-top: 4px; font-size: 14px; }
	.ab-hero__media { width: min(300px, 100%); height: auto; aspect-ratio: 276 / 170; }

	/* About card: stacked */
	.ab-about { padding-top: 40px; }
	.ab-card { display: flex; flex-direction: column; gap: 22px; max-width: 560px; padding: 16px 16px 20px; }
	.ab-card__photo { width: 100%; max-width: 420px; align-self: center; }
	.ab-card__title { justify-content: center; font-size: 22px; }
	.ab-card__text { font-size: 14.5px; line-height: 1.85; }
	.ab-stats { gap: 12px; padding: 0; }
	.ab-stat { gap: 10px; height: 62px; padding: 0 10px; }
	.ab-stat__icon { width: 28px; height: 28px; }
	.ab-stat__num { font-size: 18px; }
	.ab-stat__label { font-size: 13px; }

	/* Approach: stacked cards */
	.ab-approach { padding: 40px 16px; }
	.ab-approach__heading { gap: 6px; font-size: 21px; }
	.ab-approach__heading .ab-line { width: auto; flex: 1; max-width: 60px; }
	.ab-approach__heading .sec-title__orn { width: 18px; height: 36px; }
	.ab-approach__list { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 560px; margin-top: 20px; }
	.ab-approach__card { gap: 14px; min-height: 0; padding: 14px 14px 14px 16px; }
	.ab-approach__icon { width: 50px; height: 50px; padding: 12px; }
	.ab-approach__title { font-size: 16px; }
	.ab-approach__text { font-size: 13.5px; }
}
@media (min-width: 600px) and (max-width: 991.98px) {
	.ab-card { max-width: 720px; }
	.ab-approach__list { max-width: 720px; }
}

/* Desktop: 80px between hero and About card, and between the approach cards and footer */
@media (min-width: 1024px) {
	.ab-about { padding-top: 80px; }
	.ab-approach { padding-bottom: 80px; }
}
