/* SPC Arshidni Landing — scoped styles (RTL, mobile-first). Palette matches the site theme. */
body.spc-arshidni-page {
	--spca-dark: #04222e;
	--spca-mid: #064566;
	--spca-primary: #0a5a7a;
	--spca-primary-dark: #053342;
	--spca-accent: #f6ad2d;
	--spca-wa: #1faa53;
	--spca-wa-dark: #178a42;
	--spca-text: #1e293b;
	--spca-muted: #64748b;
	--spca-border: #e2e8f0;
	background: linear-gradient(180deg, #f0f5f8 0%, #f8fafc 60%);
	color: var(--spca-text);
	font-family: 'Cairo', 'Tajawal', sans-serif;
	margin: 0;
}
body.spc-arshidni-page *, body.spc-arshidni-page *::before, body.spc-arshidni-page *::after { box-sizing: border-box; }
body.spc-arshidni-page img { max-width: 100%; height: auto; }
body.spc-arshidni-page a { text-decoration: none; }

.spca-skip {
	position: absolute; right: -9999px; top: 0; z-index: 100;
	background: var(--spca-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.spca-skip:focus { right: 0; }

/* Screen-reader-only (H1 keeps the service name for SEO/a11y while the logo carries it visually) */
.spca-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Compact header ---------- */
.spca-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
	border-bottom: 1px solid #eef2f2; box-shadow: 0 2px 12px -6px rgba(4, 34, 46, .12);
}
.spca-header__inner {
	max-width: 960px; margin: 0 auto; padding: 10px 16px;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.spca-header__logo img { display: block; width: auto; height: 40px; }
.spca-header__actions { display: flex; align-items: center; gap: 10px; }
.spca-header__tel {
	display: none; align-items: center; gap: 6px;
	color: var(--spca-dark); font-weight: 700; font-size: 14px;
}
.spca-header__tel svg { width: 16px; height: 16px; }
.spca-header__tel:hover { color: var(--spca-primary-dark); }

/* ---------- Buttons ---------- */
.spca-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: inherit; font-weight: 800; font-size: 16px;
	border-radius: 14px; padding: 12px 22px; border: 0; cursor: pointer;
	min-height: 48px; transition: transform .1s, box-shadow .15s, background .15s;
	white-space: nowrap;
}
.spca-btn:active { transform: translateY(1px); }
.spca-btn svg { width: 22px; height: 22px; flex: none; }
.spca-btn--sm { font-size: 14px; padding: 8px 16px; min-height: 40px; border-radius: 999px; }
.spca-btn--sm svg { width: 18px; height: 18px; }
.spca-btn--lg { font-size: 17px; padding: 15px 26px; min-height: 56px; }
.spca-btn--wa { background: linear-gradient(135deg, var(--spca-wa), var(--spca-wa-dark)); color: #fff; box-shadow: 0 8px 20px -8px rgba(23, 138, 66, .55); }
.spca-btn--wa:hover { background: linear-gradient(135deg, var(--spca-wa-dark), #0f6e33); color: #fff; }
.spca-btn--outline { background: rgba(255, 255, 255, .08); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.spca-btn--outline:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.spca-btn:focus-visible, .spca-header__tel:focus-visible, .spca-footer a:focus-visible, .spca-faq__item summary:focus-visible {
	outline: 3px solid var(--spca-accent); outline-offset: 2px;
}

/* ---------- Hero ---------- */
.spca-hero {
	background: linear-gradient(135deg, #04222e 0%, #064566 55%, #0a5a7a 100%);
	color: #fff; text-align: center; padding: 44px 16px 72px;
	position: relative; overflow: hidden;
}
.spca-hero::after {
	content: ""; position: absolute; inset: auto -20% -60% auto; width: 420px; height: 420px;
	border: 1px solid rgba(255, 255, 255, .06); border-radius: 50%;
}
.spca-hero__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.spca-hero__logo { margin: 0 0 20px; }
.spca-hero__logo img {
	display: block; margin: 0 auto; width: 118px; height: auto;
	background: #fff; border-radius: 20px; padding: 12px 14px;
	box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .15);
}
.spca-hero__kicker {
	display: inline-block; font-size: 13px; font-weight: 700; color: #f6c25e;
	border: 1px solid rgba(246, 173, 45, .45); border-radius: 999px; padding: 4px 16px; margin: 0 0 14px;
}
.spca-hero__title { font-size: 34px; line-height: 1.4; font-weight: 900; margin: 0 0 12px; color: #fff; }
.spca-hero__sub { font-size: 16.5px; line-height: 1.9; color: rgba(255, 255, 255, .88); margin: 0 auto 24px; max-width: 560px; }
.spca-hero__sub strong { color: var(--spca-accent); }
.spca-hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: 22px; }
.spca-hero__cta .spca-btn { width: 100%; max-width: 340px; }
.spca-hero__points {
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px;
	font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .85);
}
.spca-hero__points li { display: inline-flex; align-items: center; gap: 6px; }
.spca-hero__points svg { width: 15px; height: 15px; color: var(--spca-accent); }

/* ---------- Layout / cards ---------- */
.spca-wrap { max-width: 640px; margin: -40px auto 0; padding: 0 16px 8px; position: relative; z-index: 2; display: grid; gap: 18px; }
.spca-card {
	background: #fff; border-radius: 20px; padding: 26px 20px;
	box-shadow: 0 10px 30px -12px rgba(4, 34, 46, .18), 0 1px 0 rgba(0, 0, 0, .02);
	border: 1px solid #eef2f2;
}
.spca-card__title { font-size: 21px; font-weight: 900; margin: 0 0 12px; color: var(--spca-dark); line-height: 1.6; }
.spca-muted { color: var(--spca-muted); font-size: 14.5px; margin: 0 0 14px; line-height: 1.8; }
.spca-hint { font-size: 13px; color: var(--spca-muted); margin: 12px 0 0; line-height: 1.8; }

/* Steps */
.spca-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 16px; }
.spca-step { display: flex; gap: 14px; align-items: flex-start; }
.spca-step__num {
	flex: none; width: 38px; height: 38px; border-radius: 12px;
	background: linear-gradient(135deg, var(--spca-mid), var(--spca-primary-dark));
	color: #fff; font-weight: 900; font-size: 17px;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 14px -6px rgba(6, 69, 102, .5);
}
.spca-step h3 { font-size: 16.5px; font-weight: 800; margin: 4px 0 4px; color: var(--spca-dark); }
.spca-step p { font-size: 14.5px; line-height: 1.9; color: var(--spca-muted); margin: 0; }

/* Topic chips */
.spca-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.spca-chip {
	background: #eef5f8; border: 1px solid #cfe0ea; color: var(--spca-mid);
	font-weight: 700; font-size: 14px; border-radius: 999px; padding: 8px 16px; line-height: 1.6;
}

/* Doctor */
.spca-doctor { display: grid; gap: 18px; }
.spca-doctor__photo {
	width: 150px; height: auto; border-radius: 18px; margin: 0 auto; display: block;
	box-shadow: 0 12px 26px -12px rgba(4, 34, 46, .3); border: 3px solid #dce9f0;
}
.spca-doctor__name { font-size: 19px; font-weight: 900; color: var(--spca-dark); margin: 0 0 4px; text-align: center; }
.spca-doctor__role { font-size: 14.5px; font-weight: 700; color: var(--spca-primary-dark); margin: 0 0 14px; text-align: center; line-height: 1.8; }
.spca-doctor__creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.spca-doctor__creds li {
	display: flex; gap: 8px; align-items: flex-start;
	font-size: 14.5px; line-height: 1.8; color: var(--spca-text); font-weight: 600;
}
.spca-doctor__creds svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--spca-primary); }

/* Facts (placeholders) */
.spca-facts { display: grid; gap: 10px; margin: 4px 0 0; }
.spca-facts > div {
	background: #f8fafc; border: 1px solid var(--spca-border); border-radius: 14px; padding: 12px 14px;
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.spca-facts dt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--spca-muted); font-weight: 700; }
.spca-facts dt svg { width: 18px; height: 18px; color: var(--spca-primary-dark); }
.spca-facts dd { margin: 0; font-weight: 800; color: var(--spca-dark); font-size: 15px; }

/* Privacy */
.spca-privacy { background: linear-gradient(180deg, #f0f6fa, #fff); border-color: #d4e4ec; }
.spca-privacy__icon {
	width: 54px; height: 54px; border-radius: 16px; margin-bottom: 12px;
	background: #e3eef4; color: var(--spca-mid);
	display: flex; align-items: center; justify-content: center;
}
.spca-privacy__icon svg { width: 28px; height: 28px; }
.spca-privacy__list { margin: 0; padding: 0 18px 0 0; display: grid; gap: 10px; }
.spca-privacy__list li { font-size: 14.5px; line-height: 1.9; color: var(--spca-text); }
.spca-privacy__list li::marker { color: var(--spca-primary); }

/* FAQ */
.spca-faq { display: grid; gap: 10px; margin-top: 4px; }
.spca-faq__item { border: 1px solid var(--spca-border); border-radius: 14px; padding: 4px 16px; background: #fff; }
.spca-faq__item[open] { padding-bottom: 14px; border-color: #cfe0ea; background: #fafcfd; }
.spca-faq__item summary {
	cursor: pointer; font-weight: 800; color: var(--spca-dark); padding: 12px 0;
	font-size: 15.5px; line-height: 1.7; list-style: none; position: relative; padding-left: 28px;
}
.spca-faq__item summary::-webkit-details-marker { display: none; }
.spca-faq__item summary::after {
	content: "+"; position: absolute; left: 0; top: 12px;
	font-size: 20px; font-weight: 700; color: var(--spca-primary-dark); line-height: 1.4;
}
.spca-faq__item[open] summary::after { content: "−"; }
.spca-faq__item p { font-size: 14.5px; line-height: 1.9; color: var(--spca-muted); margin: 0; }

/* Final CTA */
.spca-cta {
	background: linear-gradient(135deg, #04222e, #064566);
	border-radius: 20px; padding: 30px 20px; text-align: center; color: #fff;
	box-shadow: 0 16px 36px -16px rgba(4, 34, 46, .55);
}
.spca-cta__icon {
	width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
	display: flex; align-items: center; justify-content: center; color: var(--spca-accent);
}
.spca-cta__icon svg { width: 28px; height: 28px; }
.spca-cta h2 { font-size: 21px; font-weight: 900; margin: 0 0 8px; color: #fff; line-height: 1.6; }
.spca-cta p { font-size: 14.5px; color: rgba(255, 255, 255, .82); margin: 0 0 20px; line-height: 1.9; }

/* Social links (official Arshidni Online accounts) */
.spca-cta__follow { font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .75); margin: 20px 0 10px; }
.spca-social { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 12px; }
.spca-social a {
	display: flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
	color: #fff; transition: background .15s, color .15s, transform .1s;
}
.spca-social a:hover { background: rgba(246, 173, 45, .18); color: var(--spca-accent); border-color: rgba(246, 173, 45, .5); }
.spca-social a:active { transform: translateY(1px); }
.spca-social a:focus-visible { outline: 3px solid var(--spca-accent); outline-offset: 2px; }
.spca-social svg { width: 22px; height: 22px; }

/* Emergency note */
.spca-emergency {
	background: #fffbeb; border: 1px solid #fde68a; border-radius: 16px;
	padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start;
	font-size: 14px; line-height: 1.9; color: #71480a; margin-bottom: 12px;
}
.spca-emergency__icon { flex: none; color: #b45309; margin-top: 3px; }
.spca-emergency__icon svg { width: 24px; height: 24px; }
.spca-emergency strong { color: #92400e; }
.spca-emergency__num { font-weight: 900; color: #92400e; text-decoration: underline; }

/* Footer */
.spca-footer {
	text-align: center; padding: 22px 16px 30px;
	font-size: 13px; color: var(--spca-muted); line-height: 1.9;
}
.spca-footer p { margin: 0 0 4px; }
.spca-footer a { color: var(--spca-primary-dark); font-weight: 700; }
.spca-footer a:hover { text-decoration: underline; }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 640px) {
	.spca-header__inner { padding: 12px 24px; }
	.spca-header__logo img { height: 46px; }
	.spca-header__tel { display: inline-flex; }
	.spca-hero { padding: 60px 24px 92px; }
	.spca-hero__logo img { width: 138px; }
	.spca-hero__sub { font-size: 18px; }
	.spca-hero__cta { flex-direction: row; justify-content: center; }
	.spca-hero__cta .spca-btn { width: auto; }
	.spca-wrap { max-width: 700px; margin-top: -52px; padding: 0 20px 8px; }
	.spca-card { padding: 32px; }
	.spca-doctor { grid-template-columns: 170px 1fr; align-items: start; }
	.spca-doctor__photo { width: 170px; margin: 0; }
	.spca-doctor__name, .spca-doctor__role { text-align: right; }
	.spca-cta { padding: 38px 32px; }
}

@media (prefers-reduced-motion: reduce) {
	body.spca-arshidni-page * { transition: none !important; animation: none !important; }
}
