/*
Theme Name: Doha Abdelkader
Theme URI: https://dohaabdelkader.com/
Author: Doha Abdelkader
Author URI: https://dohaabdelkader.com/
Description: قالب ووردبريس مخصص لموقع ضحى عبد القادر، مرشد وداعم نفسي (Self-Awareness Coach)، لتقديم جلسات الدعم النفسي والاستشارات الأسرية أونلاين. هوية هادئة بألوان الموقع الفعلية، دعم كامل للعربية وRTL.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.8
Text Domain: wniss
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* -------------------------------------------------------
   1. Design tokens
------------------------------------------------------- */
:root {
	--wn-primary: #5c2d73;
	--wn-primary-dark: #35193f;
	--wn-primary-light: #f3ecf7;
	--wn-accent: #c9a44e;
	--wn-accent-light: #f3e6c8;
	--wn-cream: #faf5ee;
	--wn-text: #2e2a26;
	--wn-text-soft: #6b6560;
	--wn-white: #ffffff;
	--wn-border: #ecdfe9;
	--wn-radius: 20px;
	--wn-radius-sm: 12px;
	--wn-shadow: 0 12px 32px rgba(92, 45, 115, 0.1);
	--wn-container: 1180px;
	--wn-header-h: 80px;
	--wn-font: 'Tajawal', 'Cairo', -apple-system, 'Segoe UI', Tahoma, sans-serif;
	--wn-gold-gradient: linear-gradient(90deg, transparent, var(--wn-accent), transparent);
}

body { background: var(--wn-cream); }
.site-header, .entry-content, .contact-form, .team-card, .testi-card, .service-card, .post-card { background: var(--wn-white); }

/* فاصل زخرفي ذهبي أسفل عناوين الأقسام — جزء من الهوية الجديدة المستوحاة من اللوجو */
.section-head h2 { position: relative; }
.section-head h2::after {
	content: ''; display: block; width: 86px; height: 3px; margin: 16px auto 0;
	background: var(--wn-gold-gradient);
	border-radius: 3px;
}
.page-hero h1::after {
	content: ''; display: block; width: 86px; height: 3px; margin: 16px auto 0;
	background: var(--wn-gold-gradient); border-radius: 3px;
}

/* -------------------------------------------------------
   2. Reset & base
------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--wn-font);
	color: var(--wn-text);
	background: var(--wn-white);
	line-height: 1.85;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.35; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; color: var(--wn-text-soft); text-wrap: pretty; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
.wn-icon { flex-shrink: 0; vertical-align: middle; }

:focus-visible { outline: 3px solid var(--wn-primary); outline-offset: 3px; border-radius: 4px; }

.skip-link {
	position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300;
	background: var(--wn-primary-dark); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 700;
	transition: top .2s;
}
.skip-link:focus { top: 0; }
.screen-reader-text {
	position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	overflow: hidden; height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; white-space: nowrap;
}

.container { max-width: var(--wn-container); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 104px); }
.section--soft { background: var(--wn-cream); }
[id] { scroll-margin-top: calc(var(--wn-header-h) + 16px); }

.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { font-size: 18px; margin-bottom: 0; }
.section-more { text-align: center; margin: 44px 0 0; }

.badge {
	display: inline-flex; align-items: center; gap: 10px;
	color: var(--wn-primary-dark); background: var(--wn-primary-light);
	padding: 6px 16px; border-radius: 30px; font-size: 14px; font-weight: 700; margin-bottom: 20px;
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--wn-primary); }

/* -------------------------------------------------------
   3. Buttons
------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 28px; border-radius: 50px; font-weight: 700; font-size: 16px; line-height: 1.4;
	border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--lg { padding: 16px 34px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--wn-primary); color: #fff; }
.btn--primary:hover { background: var(--wn-primary-dark); transform: translateY(-1px); }
.btn--outline { border-color: var(--wn-primary); color: var(--wn-primary-dark); background: transparent; }
.btn--outline:hover { background: var(--wn-primary); color: #fff; }
.btn--ghost { color: var(--wn-text); border-color: var(--wn-border); background: #fff; }
.btn--ghost:hover { border-color: var(--wn-primary); color: var(--wn-primary-dark); }
.btn--light { background: #fff; color: var(--wn-primary-dark); }
.btn--light:hover { background: var(--wn-cream); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; }

/* توهج هادئ يلفت النظر لزر الحجز */
@keyframes wnPulseGlow {
	0%   { box-shadow: 0 0 0 0 rgba(76, 122, 115, .5); }
	70%  { box-shadow: 0 0 0 12px rgba(76, 122, 115, 0); }
	100% { box-shadow: 0 0 0 0 rgba(76, 122, 115, 0); }
}
@supports (color: color-mix(in srgb, red, blue)) {
	@keyframes wnPulseGlow {
		0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wn-primary) 50%, transparent); }
		70%  { box-shadow: 0 0 0 12px color-mix(in srgb, var(--wn-primary) 0%, transparent); }
		100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wn-primary) 0%, transparent); }
	}
}
.btn--pulse { animation: wnPulseGlow 2.6s ease-out infinite; }
.btn--pulse:hover, .btn--pulse:focus-visible { animation: none; }

/* -------------------------------------------------------
   4. Header
------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; isolation: isolate;
	border-bottom: 1px solid var(--wn-border); transition: box-shadow .25s;
}
/* الخلفية الضبابية على عنصر مستقل: backdrop-filter على الهيدر نفسه كان يكسر القائمة المنزلقة (position: fixed) */
.site-header::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(46, 42, 38, .07); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--wn-header-h); }
.site-branding { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-branding img { max-height: 44px; width: auto; }
.site-title { font-size: 24px; font-weight: 800; color: var(--wn-primary-dark); }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-menu { display: flex; align-items: center; gap: 32px; }
.primary-menu a { display: block; padding: 8px 2px; font-weight: 700; font-size: 16px; color: var(--wn-text); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu a[aria-current="page"] { color: var(--wn-primary-dark); border-bottom-color: var(--wn-accent); }
.primary-menu .sub-menu { display: none; }
.nav-extra { display: none; }
.lang-drawer { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 24px; font-size: 15px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--wn-primary-dark); direction: ltr; }
.header-phone .wn-icon { color: var(--wn-primary); }

.menu-toggle {
	display: none; background: none; border: 0; cursor: pointer;
	flex-direction: column; justify-content: center; gap: 5px; padding: 10px; margin-inline-end: -10px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--wn-text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) { .header-phone span { display: none; } }

@media (max-width: 900px) {
	:root { --wn-header-h: 72px; }
	.menu-toggle { display: flex; }
	.header-phone { display: none; }
	.header-cta .btn { padding: 9px 20px; }
	.primary-nav {
		position: fixed; inset: var(--wn-header-h) 0 0 0; background: #fff; z-index: 99;
		flex-direction: column; justify-content: flex-start; padding: 28px 24px 40px; overflow-y: auto;
		transform: translateX(100%); visibility: hidden;
		transition: transform .3s ease, visibility 0s linear .3s;
	}
	html[dir="ltr"] .primary-nav { transform: translateX(100%); }
	.primary-nav.is-open { transform: translateX(0); visibility: visible; transition: transform .3s ease, visibility 0s; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu li { border-bottom: 1px solid var(--wn-border); }
	.primary-menu a { padding: 16px 0; font-size: 19px; border-bottom: 0 !important; }
	.nav-extra { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
	.lang-header { display: none; }
	.lang-drawer { display: block; margin-bottom: 8px; }
	.lang-drawer a { padding: 9px 20px; font-size: 15px; }
	.lang-drawer select { width: 100%; padding: 12px 18px; font-size: 16px; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) { .has-mobile-bar .header-cta .btn--primary { display: none; } }

/* -------------------------------------------------------
   5. Hero
------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--wn-cream) 0%, #fff 100%); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.3; font-weight: 800; color: var(--wn-primary-dark); margin-bottom: .5em; }
.hero p.lead { font-size: 19px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 0; margin: 44px 0 0; flex-wrap: wrap; }
.hero-stats > div { padding-inline: 0 28px; margin-inline-end: 28px; border-inline-end: 1px solid var(--wn-border); }
.hero-stats > div:last-child { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }
.hero-stats dt { font-size: 28px; font-weight: 800; color: var(--wn-primary-dark); line-height: 1.2; }
.hero-stats dd { margin: 4px 0 0; font-size: 14px; color: var(--wn-text-soft); }

/* قوس = باب أو ملجأ: شكل يحمل معنى الأمان */
.hero-media {
	position: relative; width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 4 / 5;
	border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--wn-primary-light);
	box-shadow: var(--wn-shadow);
}
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.hero-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }

/* صورة ضحى داخل القوس، بإطار ذهبي يعكس خاتم اللوجو */
.hero-portrait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-portrait img { width: 86%; height: 86%; object-fit: cover; border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 18px 40px rgba(53, 25, 63, .22); }
.hero-portrait-ring {
	position: absolute; inset: 3%; border-radius: 50%; z-index: 1;
	background: conic-gradient(from -45deg, var(--wn-accent), transparent 30%, transparent 70%, var(--wn-accent));
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
}
.hero-chip {
	position: absolute; inset-inline: 0; bottom: 16px; margin-inline: auto; width: max-content; max-width: calc(100% - 32px);
	display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 40px;
	background: rgba(255, 255, 255, .94); color: var(--wn-primary-dark); font-weight: 700; font-size: 15px; box-shadow: 0 8px 20px rgba(46, 42, 38, .12);
}
.hero-chip .wn-icon { color: var(--wn-primary); }

/* ألوان الرسمة تتبع ألوان الهوية */
.hero-illustration .sky-a { stop-color: var(--wn-primary-light); }
.hero-illustration .sky-b { stop-color: var(--wn-cream); }
.hero-illustration .i-fill { fill: var(--wn-primary); }
.hero-illustration .i-stroke { stroke: var(--wn-primary); }
.hero-illustration .i-stroke-dark { stroke: var(--wn-primary-dark); }
.hero-illustration .i-accent { fill: var(--wn-accent); }

/* التنفّس: الدوائر تتسع وتضيق ببطء (4 ثوانٍ شهيق و4 زفير) */
@keyframes wnBreathe {
	0%, 100% { transform: scale(.9); opacity: .35; }
	50%      { transform: scale(1.06); opacity: 1; }
}
.halo { transform-box: fill-box; transform-origin: center; animation: wnBreathe 8s ease-in-out infinite; }
.halo--2 { animation-delay: .8s; }
.halo--3 { animation-delay: 1.6s; }

@media (max-width: 860px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-media { order: -1; max-width: 320px; }
	.hero-text { text-align: center; }
	.hero p.lead { margin-inline: auto; }
	.hero-actions, .hero-stats { justify-content: center; }
}

/* -------------------------------------------------------
   6. لماذا Wniss (بدون بطاقات: أعمدة مفصولة بخط رفيع)
------------------------------------------------------- */
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { padding: 8px 36px; }
.feature + .feature { border-inline-start: 1px solid var(--wn-border); }
.feature:first-child { padding-inline-start: 0; }
.feature:last-child { padding-inline-end: 0; }
.feature-icon {
	width: 56px; height: 56px; border-radius: 50%; background: var(--wn-primary-light); color: var(--wn-primary);
	display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature h3 { font-size: 20px; }
.feature p { margin: 0; font-size: 16px; }
@media (max-width: 780px) {
	.feature-row { grid-template-columns: 1fr; gap: 8px; }
	.feature, .feature:first-child, .feature:last-child { padding: 24px 0; }
	.feature + .feature { border-inline-start: 0; border-top: 1px solid var(--wn-border); }
}

/* -------------------------------------------------------
   7. Services
------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { background: #fff; border-radius: var(--wn-radius); overflow: hidden; border: 1px solid var(--wn-border); transition: border-color .25s, box-shadow .25s; display: flex; flex-direction: column; }
.service-card:hover { border-color: var(--wn-primary); box-shadow: var(--wn-shadow); }
.service-thumb { aspect-ratio: 16 / 10; background: var(--wn-primary-light); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--wn-primary); }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-thumb .wn-icon { width: 44px; height: 44px; opacity: .8; }
.service-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 20px; margin-bottom: 10px; }
.service-body p { font-size: 16px; margin-bottom: 16px; }
.service-link { margin-top: auto; color: var(--wn-primary-dark); font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-color: var(--wn-accent); text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 900px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------
   8. Steps (تسلسل حقيقي: خط متصل بين الخطوات)
------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; }
.step-icon {
	position: relative; z-index: 1; width: 60px; height: 60px; border-radius: 50%;
	background: var(--wn-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.step:not(:last-child)::after {
	content: ''; position: absolute; top: 30px; inset-inline-start: 76px; inset-inline-end: -12px;
	border-top: 2px dashed var(--wn-border);
}
.step h3 { font-size: 20px; }
.step p { font-size: 16px; max-width: 24em; }
@media (max-width: 780px) {
	.steps { grid-template-columns: 1fr; gap: 36px; }
	.step { padding-inline-start: 84px; }
	.step-icon { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
	.step:not(:last-child)::after { inset-inline-start: 29px; inset-inline-end: auto; top: 68px; bottom: -36px; border-top: 0; border-inline-start: 2px dashed var(--wn-border); }
}

/* -------------------------------------------------------
   9. Team (صور بشكل القوس)
------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 260px)); justify-content: center; gap: 36px 32px; }
.team-photo {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; overflow: hidden;
	background: var(--wn-primary-light); border-radius: 999px 999px 18px 18px; margin-bottom: 18px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initial { font-size: 64px; font-weight: 800; color: var(--wn-primary); opacity: .7; }
.team-card h3 { font-size: 19px; margin-bottom: 2px; }
.team-role { color: var(--wn-primary-dark); font-weight: 500; margin: 0; font-size: 15px; }
.team-years { font-size: 14px; margin: 4px 0 0; }
@media (max-width: 560px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; } }

/* -------------------------------------------------------
   10. Testimonials
------------------------------------------------------- */
.testi-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testi-grid--1 { max-width: 720px; margin-inline: auto; }
.testi-grid--3 { grid-template-columns: 1.25fr 1fr; }
.testi-grid--3 .testi-card:first-child { grid-row: span 2; background: var(--wn-primary-light); border-color: transparent; }
.testi-grid--3 .testi-card:first-child { justify-content: center; }
.testi-grid--3 .testi-card:first-child .testi-text { font-size: 22px; line-height: 1.9; flex: 0 0 auto; }
.testi-card { margin: 0; background: #fff; border: 1px solid var(--wn-border); border-radius: var(--wn-radius); padding: 32px; display: flex; flex-direction: column; }
.testi-quote { color: var(--wn-accent); margin-bottom: 8px; line-height: 0; }
.testi-stars { color: var(--wn-border); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.testi-stars .is-filled { color: var(--wn-accent); }
.testi-text { margin: 0; color: var(--wn-text); font-size: 17px; flex: 1; }
.testi-text p { color: inherit; }
.testi-text > :last-child { margin-bottom: 0; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-author .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--wn-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 15px; line-height: 1.4; }
.testi-author small { display: block; font-size: 13px; color: var(--wn-text-soft); }
@media (max-width: 860px) { .testi-grid--3 { grid-template-columns: 1fr; } .testi-grid--3 .testi-card:first-child { grid-row: auto; } }

/* -------------------------------------------------------
   11. FAQ
------------------------------------------------------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--wn-header-h) + 32px); }
.faq-intro h2 { font-size: clamp(26px, 3.4vw, 36px); }
.faq-item { border-bottom: 1px solid var(--wn-border); }
.faq-item:first-child { border-top: 1px solid var(--wn-border); }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 22px 0; padding-inline-end: 44px; position: relative;
	font-weight: 700; font-size: 18px; line-height: 1.6; color: var(--wn-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after {
	content: ''; position: absolute; inset-inline-end: 6px; top: 50%; width: 16px; height: 2px; background: var(--wn-primary); border-radius: 2px; transition: transform .25s;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-answer { padding-bottom: 22px; }
.faq-answer p { font-size: 16.5px; }
.faq-answer > :last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-intro { position: static; } }

/* -------------------------------------------------------
   12. Blog, single, pages
------------------------------------------------------- */
.page-hero { background: var(--wn-cream); padding: clamp(44px, 6vw, 72px) 0; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); color: var(--wn-primary-dark); max-width: 22em; margin-inline: auto; }
.page-hero-desc { max-width: 40em; margin: 0 auto; font-size: 18px; }
.page-hero .post-meta { margin: 14px 0 0; }
.hero-cats { margin-bottom: 14px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-cats a, .cat-pills a {
	display: inline-block; padding: 4px 16px; border-radius: 30px; font-size: 14px; font-weight: 700;
	background: #fff; color: var(--wn-primary-dark); border: 1px solid var(--wn-border); transition: background-color .2s, border-color .2s;
}
.hero-cats a:hover, .cat-pills a:hover, .cat-pills .current-cat a { background: var(--wn-primary-light); border-color: var(--wn-primary); }
.cat-pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.entry-content { max-width: 760px; margin: 0 auto; padding: 56px 0 24px; font-size: 18px; color: var(--wn-text); }
.entry-content > * + * { margin-top: 1.2em; margin-bottom: 0; }
.entry-content p { color: var(--wn-text); }
.entry-content h2 { font-size: 28px; margin-top: 1.8em; }
.entry-content h3 { font-size: 22px; margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-inline-start: 1.5em; }
.entry-content ol { list-style: decimal; padding-inline-start: 1.5em; }
.entry-content li + li { margin-top: .4em; }
.entry-content a { color: var(--wn-primary-dark); text-decoration: underline; text-underline-offset: 4px; }
.entry-content blockquote { margin-inline: 0; padding: 4px 24px; border-inline-start: 4px solid var(--wn-accent); background: var(--wn-cream); border-radius: 0 var(--wn-radius-sm) var(--wn-radius-sm) 0; }
html[dir="rtl"] .entry-content blockquote { border-radius: var(--wn-radius-sm) 0 0 var(--wn-radius-sm); }
.entry-content img, .entry-thumb { border-radius: var(--wn-radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--wn-border); text-align: start; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-tags a { display: inline-block; margin: 0 0 6px 6px; font-size: 14px; text-decoration: none; padding: 2px 12px; background: var(--wn-primary-light); border-radius: 20px; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--wn-text-soft); }

.post-nav { max-width: 760px; margin: 24px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { display: block; padding: 16px 20px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-sm); transition: border-color .2s; height: 100%; }
.post-nav a:hover { border-color: var(--wn-primary); }
.post-nav small { display: block; font-size: 13px; color: var(--wn-text-soft); }
.post-nav span { font-weight: 700; line-height: 1.5; display: block; }
.post-nav-next { grid-column: 2; text-align: end; }
.post-nav-prev { grid-column: 1; }
.related { margin-top: 64px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 64px 0; }
.blog-grid--flush { padding: 0; }
.post-card { background: #fff; border: 1px solid var(--wn-border); border-radius: var(--wn-radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s; }
.post-card:hover { border-color: var(--wn-primary); box-shadow: var(--wn-shadow); }
.post-card .thumb { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--wn-primary-light); overflow: hidden; color: var(--wn-primary); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; }
.post-card h3 { font-size: 19px; }
.post-card h3 a:hover { color: var(--wn-primary-dark); text-decoration: underline; text-underline-offset: 5px; }
.post-card .body > p:last-child { margin-bottom: 0; font-size: 15.5px; }
.post-meta { font-size: 14px; color: var(--wn-text-soft); margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.post-card .post-meta { justify-content: flex-start; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--wn-border); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; padding-block: 44px; } .post-nav { grid-template-columns: 1fr; } .post-nav-next, .post-nav-prev { grid-column: 1; } }

.navigation.pagination { padding-bottom: 72px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wn-border); border-radius: 30px; font-weight: 700; font-size: 15px; }
a.page-numbers:hover { border-color: var(--wn-primary); }
.page-numbers.current { background: var(--wn-primary); border-color: var(--wn-primary); color: #fff; }

.empty-state { text-align: center; padding: 72px 0 96px; }
.search-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 24px; }
.search-form input[type="search"] { flex: 1; min-width: 0; padding: 12px 18px; border: 1px solid var(--wn-border); border-radius: 50px; background: var(--wn-cream); }
.search-form input:focus { outline: none; border-color: var(--wn-primary); background: #fff; }

.specialist-layout { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; padding-top: 56px; }
.specialist-layout .entry-content { padding-top: 0; margin: 0; }
.specialist-photo img { width: 100%; border-radius: 999px 999px 20px 20px; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 780px) { .specialist-layout { grid-template-columns: 1fr; gap: 0; } .specialist-photo { max-width: 260px; margin: 0 auto; } }

/* التعليقات */
.entry-comments { max-width: 760px; margin: 40px auto 0; padding-bottom: 16px; }
.comment-list { margin: 0 0 32px; }
.comment-list .comment { padding: 18px 0; border-bottom: 1px solid var(--wn-border); }
.comment-list .children { margin-inline-start: 24px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-sm); background: var(--wn-cream);
}
.comment-respond .submit { background: var(--wn-primary); color: #fff; border: 0; padding: 12px 28px; border-radius: 50px; font-weight: 700; cursor: pointer; }

/* -------------------------------------------------------
   13. شريط الدعوة للحجز
------------------------------------------------------- */
.cta-band { background: var(--wn-primary-dark); color: #fff; padding: 56px 0; margin-top: 72px; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* -------------------------------------------------------
   14.5 Pricing (الأسعار)
------------------------------------------------------- */
.price-singles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 36px; }
.price-single {
	background: #fff; border: 1px solid var(--wn-border); border-radius: var(--wn-radius);
	padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.price-single h3 { font-size: 19px; margin-bottom: 4px; }
.price-single p { margin: 0 0 2px; font-size: 15px; }
.price-duration { display: flex; align-items: center; gap: 6px; color: var(--wn-primary); font-weight: 700; margin-bottom: 6px !important; }
.price-single-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.price-single-amount { font-size: 24px; font-weight: 800; color: var(--wn-primary-dark); white-space: nowrap; }
.price-single-amount small { font-size: 14px; font-weight: 500; color: var(--wn-text-soft); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.pricing-card {
	position: relative; background: #fff; border: 1px solid var(--wn-border); border-radius: var(--wn-radius);
	padding: 34px 28px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--wn-shadow); }
.pricing-card--best { border-color: var(--wn-accent); box-shadow: 0 16px 36px rgba(201, 164, 78, .18); }
.price-ribbon {
	position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%);
	background: var(--wn-gold-gradient), var(--wn-accent); background-color: var(--wn-accent);
	color: #fff; font-size: 13px; font-weight: 700; padding: 6px 18px; border-radius: 999px; white-space: nowrap;
	box-shadow: 0 6px 14px rgba(201, 164, 78, .35);
}
.price-icon {
	width: 58px; height: 58px; border-radius: 50%; background: var(--wn-primary-light); color: var(--wn-primary);
	display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.pricing-card h3 { font-size: 21px; margin-bottom: 6px; }
.price-desc { font-size: 15px; margin-bottom: 14px !important; }
.price-amount { font-size: 34px; font-weight: 800; color: var(--wn-primary-dark); margin-bottom: 8px; }
.price-amount small { font-size: 15px; font-weight: 500; color: var(--wn-text-soft); }
.price-save {
	display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #8a6a1f;
	background: var(--wn-accent-light); padding: 5px 14px; border-radius: 999px; margin-bottom: 20px !important;
}
.price-features { text-align: start; margin-bottom: 22px; }
.price-features li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; color: var(--wn-text-soft); }
.price-features .wn-icon { color: var(--wn-primary); }
.pricing-note {
	display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
	margin: 36px auto 0; max-width: 640px; font-size: 14.5px; color: var(--wn-text-soft);
}
.pricing-note .wn-icon { color: var(--wn-accent); flex-shrink: 0; }

/* -------------------------------------------------------
   14. Booking (Amelia)
------------------------------------------------------- */
.amelia-wrap {
	max-width: 980px; margin: 0 auto; background: #fff; border-radius: var(--wn-radius);
	border: 1px solid var(--wn-border); box-shadow: var(--wn-shadow); padding: 10px; overflow: hidden;
}
/* مواءمة بصرية مع ألوان القالب. قد تحتاج مراجعة الأسماء لو تغيّرت في نسخة Amelia أحدث. */
.amelia-wrap .amelia-app-booking .am-btn-primary,
.amelia-wrap button.amelia-btn-book-now,
.amelia-wrap .amelia-app-booking .am-step-active {
	background-color: var(--wn-primary) !important; border-color: var(--wn-primary) !important;
}
.amelia-wrap .amelia-app-booking a { color: var(--wn-primary); }
.booking-fallback { max-width: 560px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--wn-border); border-radius: var(--wn-radius); padding: 36px; }
.booking-fallback-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------------------------------------------------------
   15. Contact
------------------------------------------------------- */
.contact-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: stretch; }
.contact-info-card { background: var(--wn-primary-dark); color: #fff; border-radius: var(--wn-radius); padding: 40px; }
.contact-info-card h3 { color: #fff; font-size: 22px; }
.contact-info-card p { color: rgba(255, 255, 255, .8); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-line .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line strong { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); font-weight: 500; line-height: 1.5; }
.contact-line span:not(.ic), .contact-line a { font-size: 17px; font-weight: 700; color: #fff; }
.contact-line a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-map { display: block; margin-top: 4px; font-size: 14px !important; font-weight: 500 !important; color: rgba(255, 255, 255, .85) !important; text-decoration: underline; text-underline-offset: 4px; }
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s; }
.social-row a:hover { background: var(--wn-accent); color: #fff; }

.contact-form { background: #fff; border: 1px solid var(--wn-border); border-radius: var(--wn-radius); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
	width: 100%; padding: 13px 16px; border: 1px solid var(--wn-border); border-radius: var(--wn-radius-sm);
	background: var(--wn-cream); transition: border-color .2s, background-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--wn-primary); background: #fff; box-shadow: 0 0 0 3px var(--wn-primary-light); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: 14.5px; color: var(--wn-text-soft); line-height: 1.7; cursor: pointer; }
.form-consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--wn-primary); flex-shrink: 0; }
.form-notice { padding: 14px 18px; border-radius: var(--wn-radius-sm); margin-bottom: 20px; font-size: 15.5px; }
.form-notice--success { background: #e6f4ee; color: #24563f; }
.form-notice--error { background: #fbeaea; color: #8f2626; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } .contact-info-card, .contact-form { padding: 28px; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* -------------------------------------------------------
   16. Footer + عناصر عائمة
------------------------------------------------------- */
.site-footer { background: #23302c; background: color-mix(in srgb, var(--wn-primary-dark) 60%, #000); color: rgba(255, 255, 255, .78); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: 17px; margin-bottom: 18px; }
.footer-grid p { color: rgba(255, 255, 255, .68); font-size: 15px; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { font-size: 15px; color: rgba(255, 255, 255, .78); }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid .custom-logo-link img { max-height: 48px; width: auto; margin-bottom: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.footer-contact .wn-icon { margin-top: 5px; color: var(--wn-accent); }
.footer-about .social-row { margin-top: 20px; }
.footer-emergency {
	display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 18px 0; font-size: 14.5px; line-height: 1.7;
	color: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-emergency .wn-icon { margin-top: 3px; color: var(--wn-accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
	position: fixed; z-index: 90; inset-inline-end: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%;
	background: #1a9c53; color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .2s, background-color .2s;
}
.wa-float:hover { transform: scale(1.06); background: #147d42; }

.mobile-bar { display: none; }
@media (max-width: 768px) {
	.wa-float { display: none; }
	.has-mobile-bar { padding-bottom: 76px; }
	.mobile-bar {
		display: flex; gap: 8px; position: fixed; z-index: 95; inset-inline: 0; bottom: 0;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
		border-top: 1px solid var(--wn-border); box-shadow: 0 -6px 20px rgba(46, 42, 38, .07);
	}
	.mobile-bar a {
		flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 8px; border-radius: 40px;
		font-weight: 700; font-size: 15px; color: var(--wn-primary-dark); border: 1.5px solid var(--wn-border);
	}
	.mobile-bar a.is-primary { flex: 1.4; background: var(--wn-primary); color: #fff; border-color: var(--wn-primary); }
}

/* -------------------------------------------------------
   17. مبدّل اللغات (WPML)
------------------------------------------------------- */
.wniss-lang-switcher ul { display: flex; gap: 6px; }
.wniss-lang-switcher a {
	display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; line-height: 1.6;
	border: 1px solid var(--wn-border); color: var(--wn-text-soft); transition: background-color .2s, color .2s, border-color .2s;
}
.wniss-lang-switcher li.is-active a,
.wniss-lang-switcher a:hover { background: var(--wn-primary); border-color: var(--wn-primary); color: #fff; }
.wniss-lang-switcher--select select {
	padding: 8px 14px; border-radius: 30px; border: 1px solid var(--wn-border); background: var(--wn-cream); font-weight: 700; font-size: 14px; cursor: pointer;
}

/* اتجاه LTR (للغات مثل الإنجليزية عبر WPML) */
html[dir="ltr"] .entry-content .alignleft { margin: .3em 1.5em 1em 0; }
html[dir="ltr"] .entry-content blockquote { border-radius: 0 var(--wn-radius-sm) var(--wn-radius-sm) 0; }

/* -------------------------------------------------------
   18. تقليل الحركة + الطباعة
------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn--pulse, .halo { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
	.site-header, .site-footer, .mobile-bar, .wa-float, .cta-band { display: none !important; }
	body { font-size: 12pt; }
}
.related + .cta-band { margin-top: 0; }

/* روابط قانونية في الفوتر + مقدمة صفحة اتصل بنا */
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer-legal a { font-size: 14px; color: rgba(255, 255, 255, .78); }
.footer-legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { border-top: 0; padding-top: 14px; }
.form-consent a { color: var(--wn-primary-dark); text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 4px; }
.contact-intro { max-width: 720px; margin: 0 auto 48px; text-align: center; font-size: 18px; }
.contact-intro p { color: var(--wn-text-soft); }
