/*
Theme Name: ProCare
Theme URI: https://procare-home.net/
Author: ProCare
Description: ثيم بلوك مخصص لبرو كير للتمريض المنزلي — مبني على تصميم Figma، يدعم العربية (RTL) وقابل للتعديل بالكامل من محرر الموقع.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.2.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: procare
*/

/* ---------- Base ---------- */
:root {
	--pc-primary: var(--wp--preset--color--primary, #8e1728);
	--pc-primary-dark: var(--wp--preset--color--primary-dark, #741222);
	--pc-navy: var(--wp--preset--color--navy, #25283c);
	--pc-beige: var(--wp--preset--color--beige, #f8f4f1);
	--pc-muted: var(--wp--preset--color--muted, #5b5e6d);
	--pc-border: var(--wp--preset--color--border, #ece6e2);
	--pc-rose: var(--wp--preset--color--rose, #f6e8ea);
	--pc-radius: 20px;
	--pc-shadow: 0 18px 40px -18px rgba(37, 40, 60, .22);
	--pc-shadow-sm: 0 6px 18px -8px rgba(37, 40, 60, .18);
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
.pc-main { overflow-x: clip; }
.wp-site-blocks > *, .pc-main > * { margin-block-start: 0 !important; }
.pc-main :where(h1, h2, h3, p) { margin-block: 0; }
img { max-width: 100%; height: auto; }
:target { scroll-margin-top: 90px; }

.pc-container { max-width: 1240px; margin-inline: auto !important; width: 100%; box-sizing: border-box; }
.pc-section { padding: 96px 24px; box-sizing: border-box; }

/* Eyebrow: "—— text" in maroon */
.pc-eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	color: var(--pc-primary); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.pc-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.pc-lead { color: var(--pc-muted); font-size: 16px; line-height: 1.9; }

.pc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 48px; }
.pc-head__title { max-width: 560px; }
.pc-head.is-center { align-items: center; text-align: center; }
.pc-head.is-center .pc-eyebrow::before { display: none; }

.pc-num { color: var(--pc-primary); font-family: var(--wp--preset--font-family--heading); font-size: 13px; font-weight: 600; }

.pc-icon-circle {
	display: inline-grid; place-items: center; flex: none;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid var(--pc-border); background: #fff; color: var(--pc-primary);
	font-size: 18px;
}

/* ---------- Buttons ---------- */
.wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; box-shadow: 0 10px 22px -10px rgba(142, 23, 40, .55); }
.wp-block-button__link:hover { transform: translateY(-1px); }
.pc-btn-arrow .wp-block-button__link::before,
.pc-btn-phone .wp-block-button__link::before {
	content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
	-webkit-mask: var(--pc-i) center/contain no-repeat; mask: var(--pc-i) center/contain no-repeat;
}
.pc-btn-arrow .wp-block-button__link::before { --pc-i: var(--pc-i-arrow); }
.pc-btn-phone .wp-block-button__link::before { --pc-i: var(--pc-i-phone); }

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: #fff; color: var(--pc-navy); border: 1px solid var(--pc-border);
	box-shadow: none; padding: 12px 22px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--pc-primary); color: var(--pc-primary); }
.pc-btn-light > .wp-block-button__link { background: #fff; color: var(--pc-navy); box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .35); }
.pc-btn-light > .wp-block-button__link:hover { background: var(--pc-beige); color: var(--pc-primary); }
.pc-btn-link > .wp-block-button__link {
	background: transparent; color: #fff; box-shadow: none; padding-inline: 4px; border-radius: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .6);
}
.pc-btn-link > .wp-block-button__link:hover { background: transparent; color: #fff; border-color: #fff; }

/* ---------- Header ---------- */
.pc-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .pc-header-wrap { top: 32px; }
.pc-header { background: #fff; padding-inline: 24px; border-bottom: 1px solid var(--pc-border); }
.pc-header__inner { min-height: 84px; gap: 24px; }
.pc-brand { gap: 12px; }
.pc-brand__logo { margin: 0; }
.pc-brand__logo img { border-radius: 50%; display: block; }
.pc-brand__tag { font-size: 14px; font-weight: 700; color: var(--pc-navy); white-space: nowrap; margin: 0; }
.pc-nav { gap: 38px; font-size: 15px; font-weight: 500; }
.pc-nav .wp-block-navigation-item__content { color: var(--pc-navy); position: relative; padding-block: 30px; }
.pc-nav .wp-block-navigation-item__content::after {
	content: ""; position: absolute; inset-inline: 0; bottom: 18px; height: 2px;
	background: var(--pc-primary); transform: scaleX(0); transition: transform .2s; border-radius: 2px;
}
.pc-nav .wp-block-navigation-item__content:hover,
.home .pc-nav .is-home .wp-block-navigation-item__content,
:is(.blog, .single-post, .category, .search) .pc-nav .is-blog .wp-block-navigation-item__content { color: var(--pc-primary); }
.pc-nav .wp-block-navigation-item__content:hover::after,
.home .pc-nav .is-home .wp-block-navigation-item__content::after,
:is(.blog, .single-post, .category, .search) .pc-nav .is-blog .wp-block-navigation-item__content::after { transform: scaleX(1); }
.pc-header__cta .wp-block-button__link { padding: 11px 20px; }

/* ---------- Hero ---------- */
.pc-hero { background: var(--pc-beige); padding-block: 64px; }
.pc-hero__grid { gap: 56px !important; margin-bottom: 0; }
.pc-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.pc-hero__title { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.5; max-width: 560px; }
.pc-hero__title mark { background: none !important; color: var(--pc-primary); }
.pc-hero__text .pc-lead { max-width: 580px; font-size: 18px; line-height: 2; }
.pc-hero__actions { gap: 12px; margin-top: 6px; }
.pc-hero__meta {
	list-style: none; margin: 8px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
	border-top: 1px solid var(--pc-border); width: 100%; max-width: 560px;
	font-size: 13px; color: var(--pc-muted);
}
.pc-hero__meta li, .pc-footer__contact li { display: inline-flex; align-items: center; gap: 8px; }
.pc-hero__meta li::before, .pc-footer__contact li::before, .pc-badge::before, .pc-chips li::before {
	content: ""; width: 15px; height: 15px; flex: none; background: var(--pc-primary);
	-webkit-mask: var(--pc-i) center/contain no-repeat; mask: var(--pc-i) center/contain no-repeat;
}
.is-users { --pc-i: var(--pc-i-users); }
.is-pin, .pc-chips li { --pc-i: var(--pc-i-pin); }
.is-clock { --pc-i: var(--pc-i-clock); }
.is-phone { --pc-i: var(--pc-i-phone); }
.is-heart { --pc-i: var(--pc-i-heart); }

.pc-hero__media { position: relative; }
.pc-hero__media::before { /* dotted decoration */
	content: ""; position: absolute; top: 6%; inset-inline-end: -26px; width: 48px; height: 48px;
	background-image: radial-gradient(var(--pc-primary) 1.6px, transparent 1.8px); background-size: 12px 12px; opacity: .45;
}
.pc-hero__img { margin: 0; }
.pc-hero__img img { width: 100%; aspect-ratio: 550 / 570; object-fit: cover; border-radius: 72px; display: block; box-shadow: var(--pc-shadow); }

.pc-badge {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	background: #fff; color: var(--pc-navy); font-size: 13px; font-weight: 700;
	padding: 10px 16px; border-radius: 10px; box-shadow: var(--pc-shadow-sm); margin: 0 !important;
}
.pc-hero__media .pc-badge { bottom: 52px; right: -12px; }

/* ---------- Features strip ---------- */
.pc-features { background: #fff; padding: 0 24px; border-bottom: 1px solid var(--pc-border); }
.pc-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pc-feature { gap: 16px; padding: 34px 28px; align-items: flex-start; }
.pc-feature + .pc-feature { border-inline-start: 1px solid var(--pc-border); }
.pc-feature h3 { font-size: 17px; margin-bottom: 4px; }
.pc-feature p { font-size: 13px; color: var(--pc-muted); line-height: 1.7; }
.pc-feature > .wp-block-group { display: flex; flex-direction: column; gap: 4px; }

/* ---------- Services ---------- */
.pc-services { background: #fff; padding-block: 72px 80px; }
.pc-services__grid { display: grid; grid-template-columns: 1fr 1fr 1.72fr; gap: 20px; }
.pc-card {
	display: flex; flex-direction: column; gap: 10px; padding: 26px;
	background: #fff; border: 1px solid var(--pc-border); border-radius: var(--pc-radius);
	transition: background-color .25s, box-shadow .25s, transform .25s; margin: 0 !important;
}
.pc-card:hover { background: var(--pc-beige); box-shadow: var(--pc-shadow-sm); }
.pc-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.pc-card h3 { font-size: 18px; }
.pc-card p { color: var(--pc-muted); font-size: 13px; line-height: 1.8; }
.pc-card--dark { background: var(--pc-navy); border-color: var(--pc-navy); color: #fff; padding: 34px; }
.pc-card--dark:hover { background: var(--pc-navy); }
.pc-card--dark h3 { color: #fff; font-size: 20px; }
.pc-card--dark p { color: rgba(255, 255, 255, .7); }
.pc-card--dark .pc-icon-circle { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.pc-card--dark .pc-card__top { margin-bottom: 18px; }
.pc-card--dark .pc-num { display: none; }
.pc-card__link a, .pc-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; }
.pc-card__link a { color: #fff; margin-top: 8px; }
.pc-card__link a::after, .pc-more a::after {
	content: ""; width: 14px; height: 14px; background: currentColor;
	-webkit-mask: var(--pc-i-arrow) center/contain no-repeat; mask: var(--pc-i-arrow) center/contain no-repeat;
}
.pc-services__img { margin: 0 !important; border-radius: var(--pc-radius) var(--pc-radius) 0 0; overflow: hidden; position: relative; min-height: 260px; }
/* image + navy card read as one card, as in the design */
.pc-services__grid > .pc-card--dark { margin-top: -20px !important; border-radius: 0 0 var(--pc-radius) var(--pc-radius); }
.pc-services__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-more { text-align: center; margin-top: 44px !important; }
.pc-more a { color: var(--pc-primary); padding-bottom: 6px; border-bottom: 1px solid var(--pc-rose); }

/* ---------- Elderly care ---------- */
.pc-elderly { background: var(--pc-beige); position: relative; overflow: hidden; padding-block: 56px; }
.pc-elderly::before { /* large decorative ring on the left */
	content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%;
	border: 1px solid var(--pc-border); inset-inline-end: -320px; top: 70px; pointer-events: none;
}
.pc-elderly__grid { gap: 72px !important; margin-bottom: 0; position: relative; }
.pc-elderly__media { position: relative; }
.pc-elderly__img { margin: 0; }
.pc-elderly__img img { width: 100%; aspect-ratio: 576 / 632; object-fit: cover; border-radius: 26px; display: block; box-shadow: var(--pc-shadow); }
.pc-elderly__media .pc-badge { bottom: 22px; right: 16px; }
.pc-elderly__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pc-elderly__text .pc-lead { font-size: 14px; }
.pc-checklist { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; font-weight: 500; }
.pc-checklist li { display: flex; align-items: center; gap: 10px; }
.pc-checklist li::before {
	content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none;
	background: var(--pc-primary) var(--pc-check) center/12px no-repeat;
	--pc-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Why ProCare ---------- */
.pc-why { background: #fff; padding-block: 72px 56px; }
.pc-why__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.pc-why__head > .wp-block-group { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 560px; }
.pc-why__head .pc-lead { max-width: 440px; font-size: 13px; }
.pc-why__grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--pc-border); }
.pc-why__item { padding: 34px 36px 44px; display: grid; grid-template-columns: 30px 1fr 24px; column-gap: 8px; row-gap: 8px; align-items: baseline; transition: background-color .25s; margin: 0 !important; }
.pc-why__item:nth-child(odd) { border-inline-end: 1px solid var(--pc-border); }
.pc-why__item:nth-child(-n+2) { border-bottom: 1px solid var(--pc-border); }
.pc-why__item:first-child, .pc-why__item:hover { background: var(--pc-beige); }
.pc-why__top { display: contents; }
.pc-why__top .pc-num { grid-column: 1; grid-row: 1; }
.pc-why__top .pc-ico { grid-column: 3; grid-row: 1; color: var(--pc-primary); opacity: .55; font-size: 17px; align-self: start; }
.pc-why__item h3 { grid-column: 2; grid-row: 1; font-size: 18px; margin: 0 !important; }
.pc-why__item p { grid-column: 2; grid-row: 2; color: var(--pc-muted); font-size: 13px; margin: 0 !important; }

/* ---------- Steps ---------- */
.pc-steps { background: #fff; padding-block: 56px 64px; }
.pc-steps .pc-head { margin-bottom: 40px; }
.pc-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.pc-steps__grid::before { /* connecting line with a heartbeat in the middle */
	content: ""; position: absolute; top: 46px; inset-inline: 16.6%; height: 40px; transform: translateY(-50%);
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' fill='none' stroke='%23e5c9cd' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M0 20h22l8-14 10 28 8-14h32'/%3E%3C/svg%3E") center/80px 40px no-repeat,
		linear-gradient(#efdfe1, #efdfe1) center/100% 2px no-repeat;
}
.pc-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; margin: 0 !important; }
.pc-step__num {
	width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; border: 1px solid var(--pc-border); box-shadow: var(--pc-shadow-sm);
	color: var(--pc-primary); font-family: var(--wp--preset--font-family--heading); font-size: 22px; font-weight: 600;
	margin-bottom: 16px !important;
}
.pc-step h3 { font-size: 18px; }
.pc-step p { color: var(--pc-muted); font-size: 13px; max-width: 320px; }

/* ---------- Coverage ---------- */
.pc-coverage { background: var(--pc-beige); padding-block: 96px; }
.pc-coverage__inner { display: flex; align-items: center; gap: 56px; }
.pc-coverage__pin {
	flex: none; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center;
	border: 1px solid var(--pc-border); position: relative; color: var(--pc-primary); font-size: 30px;
}
.pc-coverage__pin::before { content: ""; position: absolute; inset: 26px; border-radius: 50%; border: 1px solid var(--pc-border); background: #fff0; }
.pc-coverage__text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pc-coverage__text h2 { font-size: clamp(26px, 2.6vw, 38px); }
.pc-coverage__text .pc-lead { font-size: 13px; max-width: 520px; }
.pc-chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; gap: 10px; }
.pc-chips li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--pc-border); border-radius: 999px; padding: 6px 16px; font-size: 12px; font-weight: 700; }
.pc-chips li::before { width: 12px; height: 12px; }
.pc-coverage__cta { flex: none; }

/* ---------- FAQ ---------- */
.pc-faq { background: #fff; padding-block: 96px 56px; }
.pc-faq__grid { gap: 72px !important; margin-bottom: 0; }
.pc-faq__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pc-faq__intro .pc-lead { font-size: 13px; }
.pc-faq__item { border-bottom: 1px solid var(--pc-border); padding: 18px 0; margin: 0 !important; }
.pc-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	font-weight: 700; font-size: 15px; color: var(--pc-navy);
}
.pc-faq__item summary::-webkit-details-marker { display: none; }
.pc-faq__item summary::after {
	content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
	border: 1px solid var(--pc-border); color: var(--pc-primary);
	background: var(--pc-primary); -webkit-mask: none; mask: none;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e1728' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
}
.pc-faq__item[open] summary::after {
	background: var(--pc-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat;
	border-color: var(--pc-primary);
}
.pc-faq__item p { color: var(--pc-muted); font-size: 13px; padding-top: 14px; padding-inline-end: 46px; }
.pc-faq__item summary + * { margin-top: 0 !important; }

/* ---------- CTA ---------- */
.pc-cta { background: var(--pc-primary); color: #fff; position: relative; overflow: hidden; padding-block: 56px 72px; }
.pc-cta::after { /* faint heartbeat watermark */
	content: ""; position: absolute; left: -10px; bottom: -40px; width: 320px; height: 160px; opacity: .07;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' fill='none' stroke='white' stroke-width='6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M2 22h18l8-16 10 30 8-14h32'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pc-cta__grid { gap: 72px !important; margin-bottom: 0; position: relative; z-index: 1; }
.pc-cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pc-cta .pc-eyebrow { color: #fff; font-weight: 500; font-size: 12px; }
.pc-cta h2 { color: #fff; max-width: 520px; }
.pc-cta .pc-lead { color: rgba(255, 255, 255, .8); font-size: 13px; max-width: 520px; }
.pc-cta__actions { gap: 22px; margin-top: 8px; }
.pc-cta__img { margin: 0; }
.pc-cta__img { max-width: 464px; margin-inline-start: auto; }
.pc-cta__img img { width: 100%; aspect-ratio: 464 / 380; object-fit: cover; display: block; border-radius: 232px 232px 18px 18px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }

/* ---------- Footer ---------- */
.pc-footer { background: var(--pc-navy); color: rgba(255, 255, 255, .62); padding: 56px 24px 0; font-size: 13px; }
.pc-footer a { color: rgba(255, 255, 255, .62); }
.pc-footer a:hover { color: #fff; }
.pc-footer h3 { color: #fff; font-size: 16px; margin: 0 0 22px; }
.pc-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.pc-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pc-footer__brand p { max-width: 300px; line-height: 1.9; margin: 0; }
.pc-footer__logo { margin: 0 0 6px; }
.pc-footer__logo img { border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.pc-footer__name { margin: 0 !important; font-size: 15px !important; }
.pc-footer__links, .pc-footer__contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pc-footer__contact a { direction: ltr; }
.pc-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; text-align: center; font-size: 12px; }
.pc-footer__bottom p { margin: 0; }

/* ---------- App section ---------- */
.pc-app { background: #f6f2ef; position: relative; overflow: hidden; padding-block: 64px; }
.pc-app::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 226, 226, .55), transparent 70%); left: -160px; top: 40px; pointer-events: none; }
.pc-app__grid { gap: 48px !important; margin-bottom: 0; position: relative; }
.pc-app__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(144, 22, 41, .08); border: 1px solid rgba(144, 22, 41, .15); color: var(--pc-primary); font-size: 14px; font-weight: 700; }
.pc-pill.is-phone-ico::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--pc-i-smartphone) center/contain no-repeat; mask: var(--pc-i-smartphone) center/contain no-repeat; }
.pc-app__title mark { background: none !important; color: var(--pc-primary); }
.pc-app__title { max-width: 520px; }
.pc-app .pc-lead { max-width: 560px; }
.pc-app__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 100%; max-width: 640px; margin-top: 6px; }
.pc-app__card { gap: 12px; background: #fff; border: 1px solid rgba(231, 229, 228, .8); border-radius: 16px; padding: 14px 16px; margin: 0 !important; align-items: flex-start; }
.pc-app__card h3 { font-size: 14px; font-family: var(--wp--preset--font-family--body); font-weight: 700; margin-bottom: 2px; }
.pc-app__card p { font-size: 12px; color: var(--pc-muted); line-height: 1.6; }
.pc-app__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(144, 22, 41, .06); color: var(--pc-primary); display: grid; place-items: center; font-size: 18px; }
.pc-app__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 14px; }
.pc-app__soon { display: inline-flex; align-items: center; gap: 10px; background: var(--pc-primary); color: #fff; font-weight: 700; font-size: 16px; padding: 14px 26px; border-radius: 12px; box-shadow: 0 10px 22px -10px rgba(142, 23, 40, .55); cursor: default; }
.pc-store { display: inline-flex; align-items: center; gap: 10px; background: #1e2235; color: #fff; padding: 8px 16px; border-radius: 12px; cursor: default; direction: ltr; }
.pc-store small { display: block; font-size: 9px; color: #d6d3d1; line-height: 1.2; direction: rtl; text-align: left; }
.pc-store b { display: block; font-size: 13px; font-family: system-ui, sans-serif; line-height: 1.3; }
.pc-store__ico { width: 20px; height: 20px; background: #fff; -webkit-mask: var(--pc-i) center/contain no-repeat; mask: var(--pc-i) center/contain no-repeat; }
.pc-store__ico--apple { --pc-i: var(--pc-i-apple); }
.pc-store__ico--play { --pc-i: var(--pc-i-play); }
.pc-app__trust { font-size: 12px; color: var(--pc-muted); display: inline-flex; align-items: center; gap: 8px; margin-top: 6px !important; }
.pc-app__badges { display: inline-flex; }
.pc-app__badges i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.pc-app__badges i:first-child { background: rgba(144, 22, 41, .15); color: var(--pc-primary); }
.pc-app__badges i:last-child { background: #d1fae5; color: #065f46; margin-inline-start: -6px; }
.pc-app__media { position: relative; display: flex; justify-content: center; }
.pc-app__media::before { content: ""; position: absolute; width: min(548px, 100%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(144, 22, 41, .5); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.pc-app__media::after { content: ""; position: absolute; width: min(377px, 70%); aspect-ratio: 1; border-radius: 50%; background: #f5eae7; top: 50%; left: 50%; transform: translate(-50%, -45%); z-index: 0; }
.pc-app__phone { margin: 0; position: relative; z-index: 1; max-width: 440px; }
.pc-app__phone img { display: block; width: 100%; filter: drop-shadow(0 30px 40px rgba(37, 40, 60, .25)); }

/* ---------- Blog ---------- */
.pc-blog { background: #faf8f5; }
.pc-blog-hero { background: #faf8f5; padding: 72px 24px 64px; text-align: center; }
.pc-blog-hero h1 { font-size: var(--wp--preset--font-size--x-large); margin-bottom: 18px !important; color: #1c2432; }
.pc-blog-hero p, .pc-blog-hero .wp-block-term-description { font-size: clamp(17px, 1.7vw, 22px); line-height: 1.75; color: #4b5563; max-width: 680px; margin-inline: auto; }
.pc-blog-hero.is-compact { padding-block: 56px 48px; }
.pc-blog-body { padding: 0 24px 96px; }
.pc-filter { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border: 1px solid #e8e2da; border-radius: 16px; padding: 20px; box-shadow: 0 2px 8px -4px rgba(28, 36, 50, .08); margin-bottom: 40px; }
.pc-chipbar { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pc-chipbar a { display: inline-block; padding: 7px 16px; border: 1px solid #e8e2da; border-radius: 12px; color: #4b5563; font-weight: 500; font-size: 15px; transition: all .2s; }
.pc-chipbar a:hover { border-color: var(--pc-primary); color: var(--pc-primary); }
.pc-chipbar .is-active a { background: #7b1a28; border-color: #7b1a28; color: #fff; font-weight: 700; }
.pc-search { flex: 0 1 384px; margin: 0; }
.pc-search .wp-block-search__inside-wrapper { position: relative; border: 0; padding: 0; }
.pc-search .wp-block-search__input { background: #faf8f5; border: 1px solid #e8e2da; border-radius: 12px; padding: 10px 44px 10px 16px; font-size: 14px; font-family: inherit; width: 100%; }
.pc-search .wp-block-search__inside-wrapper::before { content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); background: #9ca3af; -webkit-mask: var(--pc-i-search) center/contain no-repeat; mask: var(--pc-i-search) center/contain no-repeat; }

.pc-featured { margin-bottom: 48px !important; }
.pc-featured .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.pc-feat { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e8e2da; border-radius: 24px; overflow: hidden; box-shadow: 0 2px 8px -4px rgba(28, 36, 50, .08); }
.pc-feat__body { padding: 52px 40px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pc-feat__title { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.45; margin: 0; }
.pc-feat__title a, .pc-post__title a { color: #1c2432; }
.pc-feat__title a:hover, .pc-post__title a:hover { color: var(--pc-primary); }
.pc-feat__excerpt p { font-size: 17px; color: #4b5563; line-height: 1.85; margin: 0; }
.pc-feat__img { margin: 0 !important; height: 100%; min-height: 320px; }
.pc-feat__img a, .pc-feat__img img { display: block; width: 100%; height: 100% !important; object-fit: cover; }

.pc-post__meta { gap: 10px; width: 100%; align-items: center; margin: 0 !important; }
.pc-post__meta.is-inline { width: auto; }
.pc-tag { margin: 0; font-size: 12px; }
.pc-tag a { display: inline-block; background: #f9f1f2; color: #7b1a28; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.pc-tag .wp-block-post-terms__separator { display: none; }
.pc-readtime, .pc-date { font-size: 12px; color: #6b7280; margin: 0 !important; }
.pc-post__meta.is-inline .pc-readtime::before, .pc-post__meta.is-inline .pc-date::before { content: "•"; color: #9ca3af; margin-inline-end: 10px; }
.pc-readmore { display: inline-flex; align-items: center; gap: 8px; color: #7b1a28; font-weight: 700; font-size: 16px; margin-top: auto; }
.pc-readmore::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--pc-i-arrow) center/contain no-repeat; mask: var(--pc-i-arrow) center/contain no-repeat; }
.pc-readmore.is-large { font-size: 20px; margin-top: 12px; }

.pc-posts .pc-grid, .pc-related .pc-grid { gap: 32px; margin: 0; padding: 0; list-style: none; }
.pc-post { background: #fff; border: 1px solid #e8e2da; border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.pc-post:hover { box-shadow: 0 18px 36px -20px rgba(28, 36, 50, .25); transform: translateY(-2px); }
.pc-post__img { margin: 0 !important; aspect-ratio: 392 / 224; overflow: hidden; }
.pc-post__img a, .pc-post__img img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.pc-post__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc-post__title { font-size: 18px; line-height: 1.55; margin: 0; }
.pc-pagination { margin-top: 48px !important; gap: 10px; align-items: center; }
.pc-pagination a, .pc-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid #e8e2da; border-radius: 12px; background: #fff; color: #1c2432; font-weight: 600; }
.pc-pagination .page-numbers.current { background: #7b1a28; border-color: #7b1a28; color: #fff; }
.pc-pagination .wp-block-query-pagination-numbers { display: flex; gap: 10px; }
.pc-empty { text-align: center; color: #6b7280; padding: 40px 0; }

/* ---------- Single post ---------- */
.pc-single { background: #fff; }
.pc-article-head { background: #faf8f5; padding: 64px 24px 140px; }
.pc-container.is-narrow { max-width: 860px; }
.pc-container.is-medium { max-width: 1040px; }
.pc-article-head .pc-container { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.pc-article-head .pc-post__meta { justify-content: center; }
.pc-article-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.45; margin: 0; }
.pc-article-lead p { font-size: 18px; color: #4b5563; line-height: 1.85; margin: 0; }
.pc-article-media { padding-inline: 24px; margin-top: -100px !important; }
.pc-article-img { margin: 0 !important; }
.pc-article-img img { border-radius: 24px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; box-shadow: var(--pc-shadow); }
.pc-prose { padding: 48px 24px 72px; font-size: 18px; line-height: 2; color: #374151; }
.pc-prose > * + * { margin-block-start: 18px; }
.pc-prose h2 { font-size: clamp(22px, 2.2vw, 28px); margin-block-start: 44px !important; color: #1c2432; }
.pc-prose ul { padding-inline-start: 22px; }
.pc-prose li { margin-block: 6px; }
.pc-prose li::marker { color: var(--pc-primary); }
.pc-note { background: #f9f1f2; border-inline-start: 4px solid var(--pc-primary); padding: 16px 20px; border-radius: 12px; font-size: 16px; color: #1c2432; }
.pc-related { background: #faf8f5; padding: 72px 24px 88px; }
.pc-related__title { text-align: center; margin-bottom: 36px !important; }
.pc-cta--blog .pc-cta__img img { border-radius: 16px; aspect-ratio: 471 / 312; }
.pc-cta--blog::after { display: none; }

/* ---------- Generic pages ---------- */
.pc-page { min-height: 50vh; }
.pc-page .wp-block-post-title { margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.pc-filter { flex-direction: column; align-items: stretch; }
	.pc-grid.wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.pc-search { flex-basis: auto; }
	.pc-nav { gap: 22px; }
	.pc-services__grid { grid-template-columns: 1fr 1fr; }
	.pc-services__img { grid-column: 1 / -1; order: 1; max-height: 340px; }
	.pc-services__grid > * { order: 0; }
	.pc-services__grid > .pc-services__img { order: 10; }
	.pc-services__grid > .pc-card--dark { grid-column: 1 / -1; order: 11; }
	.pc-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.pc-feat { grid-template-columns: 1fr; }
	.pc-feat__img { order: -1; min-height: 240px; }
	.pc-feat__body { padding: 28px 24px; }
	.pc-app__media { order: -1; }
	.pc-section { padding-block: 64px; }
	.pc-header__cta .wp-block-button__link { padding: 9px 14px; font-size: 13px; }
	.pc-features__grid { grid-template-columns: 1fr; }
	.pc-feature + .pc-feature { border-inline-start: 0; border-top: 1px solid var(--pc-border); }
	.pc-why__head { flex-direction: column; align-items: flex-start; }
	.pc-coverage__inner { flex-direction: column; text-align: center; }
	.pc-coverage__text { align-items: center; }
	.pc-steps__grid { grid-template-columns: 1fr; }
	.pc-steps__grid::before { display: none; }
}
@media (max-width: 781px) {
	.pc-hero__grid, .pc-elderly__grid, .pc-cta__grid, .pc-faq__grid { gap: 40px !important; }
	.pc-hero__media { order: -1; }
	.pc-hero__img img { border-radius: 40px; }
	.pc-hero__media::before { display: none; }
	.pc-hero__media .pc-badge { right: 12px; bottom: 20px; }
	.pc-why__grid { grid-template-columns: 1fr; }
	.pc-why__item:nth-child(odd) { border-inline-end: 0; }
	.pc-why__item:not(:last-child) { border-bottom: 1px solid var(--pc-border); }
	.pc-cta__media { order: -1; }
	.pc-grid.wp-block-post-template { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
	.pc-app__cards { grid-template-columns: 1fr; }
	.pc-article-media { margin-top: -60px !important; }
	.pc-article-head { padding-bottom: 90px; }
	.pc-services__grid, .pc-footer__grid { grid-template-columns: 1fr; }
	.pc-brand__tag { display: none; }
	.admin-bar .pc-header-wrap { top: 0; }
}

/* -------------------------------------------------------------------------
 * Service pages (/services/ and its child pages)
 * ---------------------------------------------------------------------- */
.pc-svc-hero { background: var(--pc-beige); padding-block: 56px 72px; }
.pc-svc-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pc-svc-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pc-svc-hero__text h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.35; color: var(--pc-navy); }
.pc-svc-hero__img { margin: 0; }
.pc-svc-hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--pc-shadow); display: block; }
.pc-breadcrumb { font-size: 13px; color: var(--pc-muted); }
.pc-breadcrumb a { color: var(--pc-muted); text-decoration: none; }
.pc-breadcrumb a:hover { color: var(--pc-primary); }
.pc-svc-hero__meta { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--pc-navy); font-weight: 500; }
.pc-svc-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.pc-svc-hero__meta li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pc-primary); }

.pc-svc-includes { background: #fff; }
.pc-svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pc-svc-card { border: 1px solid var(--pc-border); border-radius: var(--pc-radius); padding: 26px 24px; background: #fff; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, border-color .2s; }
.pc-svc-card:hover { box-shadow: var(--pc-shadow-sm); border-color: #e2d6d0; }
.pc-svc-card h3 { font-size: 18px; color: var(--pc-navy); display: flex; align-items: center; gap: 10px; }
.pc-svc-card h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--pc-primary); }
.pc-svc-card p { color: var(--pc-muted); font-size: 14px; line-height: 1.85; }

.pc-svc-who { background: var(--pc-beige); }
.pc-svc-who__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.pc-svc-who__text .pc-head { margin-bottom: 24px; }
.pc-svc-who__box { background: var(--pc-navy); color: #fff; border-radius: 24px; padding: 34px 32px; display: flex; flex-direction: column; gap: 18px; }
.pc-svc-who__box h3 { color: #fff; font-size: 22px; }
.pc-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.pc-checklist li { position: relative; padding-inline-start: 34px; color: var(--pc-navy); font-size: 15px; line-height: 1.8; }
.pc-checklist li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--pc-rose); color: var(--pc-primary); font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.pc-checklist.is-light li { color: rgba(255, 255, 255, .9); }
.pc-checklist.is-light li::before { background: rgba(255, 255, 255, .12); color: #fff; }

.pc-svc-related { background: #fff; padding-block: 64px; }
.pc-svc-related .pc-head { margin-bottom: 28px; }
.pc-svc-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pc-svc-links a { display: inline-block; padding: 10px 20px; border: 1px solid var(--pc-border); border-radius: 12px; color: var(--pc-navy); font-weight: 500; text-decoration: none; transition: all .2s; }
.pc-svc-links a:hover { border-color: var(--pc-primary); color: var(--pc-primary); background: var(--pc-rose); }

.pc-svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pc-svc-tile { border: 1px solid var(--pc-border); border-radius: var(--pc-radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pc-svc-tile:hover { box-shadow: var(--pc-shadow); transform: translateY(-3px); }
.pc-svc-tile__img { margin: 0; }
.pc-svc-tile__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.pc-svc-tile__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pc-svc-tile__body h3 { font-size: 19px; }
.pc-svc-tile__body h3 a { color: var(--pc-navy); text-decoration: none; }
.pc-svc-tile__body h3 a:hover { color: var(--pc-primary); }
.pc-svc-tile__body p { color: var(--pc-muted); font-size: 14px; line-height: 1.85; }
.pc-svc-tile__body .pc-readmore { margin-top: auto; }
.pc-svc-tile__body .pc-readmore a { color: var(--pc-primary); font-weight: 600; text-decoration: none; }

@media (max-width: 1100px) {
	.pc-svc-cards, .pc-svc-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.pc-svc-hero__grid, .pc-svc-who__grid { grid-template-columns: 1fr; gap: 36px; }
	.pc-svc-hero__img { order: -1; }
}
@media (max-width: 600px) {
	.pc-svc-cards, .pc-svc-tiles { grid-template-columns: 1fr; }
	.pc-svc-hero { padding-block: 32px 48px; }
	.pc-svc-who__box { padding: 26px 22px; }
}

/* Menu: "خدماتنا" is active on the services page and its children; service titles on Home link to their pages */
:is(.page-id-48, .parent-pageid-48) .pc-nav .is-services .wp-block-navigation-item__content { color: var(--pc-primary); }
:is(.page-id-48, .parent-pageid-48) .pc-nav .is-services .wp-block-navigation-item__content::after { transform: scaleX(1); }
.pc-services h3 a { color: inherit; text-decoration: none; transition: color .2s; }
.pc-services h3 a:hover { color: var(--pc-primary); }

/* Services: the featured card is service 01, so it shows its number and comes first on tablet/phone */
.pc-card--dark .pc-num { display: inline; color: rgba(255, 255, 255, .55); }
@media (max-width: 1100px) {
	.pc-services__grid > .pc-services__img { order: -2; }
	.pc-services__grid > .pc-card--dark { order: -1; margin-bottom: 4px; }
}

/* Mobile menu (overlay): the active/hover line sits right under the word */
.pc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: inline-block; width: auto; padding-block: 6px; }
.pc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { bottom: 0; }
.pc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 18px; }
