/* =========================================================
   YCD Core — واجهة الأقسام (الإصدار 1.2)
   ========================================================= */

.ycd-main,
.ycd-mobile-bar,
.ycd-wa-float {
	--y-yellow: var(--ycd-yellow, #F5C400);
	--y-yellow-soft: #FFF6CC;
	--y-orange: var(--ycd-orange, #F29A0E);
	--y-ink: #0F1012;
	--y-night: #141518;
	--y-night-2: #1C1D21;
	--y-text: #3D4047;
	--y-muted: #6B6F76;
	--y-line: #ECECEA;
	--y-surface: #F7F7F5;
	--y-white: #FFFFFF;
	--y-green: #1FAF54;
	--y-r-lg: 24px;
	--y-r: 18px;
	--y-r-sm: 12px;
	--y-shadow: 0 1px 2px rgba(15, 16, 18, .04), 0 10px 30px -12px rgba(15, 16, 18, .12);
	--y-shadow-lg: 0 2px 6px rgba(15, 16, 18, .05), 0 28px 60px -20px rgba(15, 16, 18, .28);
	--y-ease: cubic-bezier(.22, .8, .24, 1);
	--y-gloss: linear-gradient(150deg, #FFE27A 0%, #F5C400 42%, #EBA10B 100%);
}

.ycd-main,
.ycd-main *,
.ycd-main *::before,
.ycd-main *::after,
.ycd-mobile-bar,
.ycd-mobile-bar * {
	box-sizing: border-box;
}

.ycd-main {
	background: var(--y-white);
	color: var(--y-text);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

.ycd-main .site-container {
	max-width: var(--global-content-width, 1240px);
	margin-inline: auto;
	padding-inline: var(--global-content-edge-padding, 1.25rem);
}

.ycd-main [hidden] {
	display: none !important;
}

.ycd-main .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.ycd-main h1,
.ycd-main h2,
.ycd-main h3 {
	letter-spacing: -0.01em;
}

.ycd-icon {
	width: 1.2em;
	height: 1.2em;
	flex: none;
}

[dir="rtl"] .ycd-icon--dir {
	transform: scaleX(-1);
}

/* ---------------------------------------------------------
   الأزرار
   --------------------------------------------------------- */
.ycd-main .ycd-btn,
.ycd-mobile-bar .ycd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 52px;
	padding: .85em 1.6em;
	border: 1.5px solid transparent;
	border-radius: 14px;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	transition: transform .25s var(--y-ease), background-color .25s var(--y-ease), color .25s var(--y-ease), border-color .25s var(--y-ease), box-shadow .25s var(--y-ease);
}

.ycd-main .ycd-btn:hover,
.ycd-mobile-bar .ycd-btn:hover {
	transform: translateY(-2px);
}

.ycd-btn--primary {
	background: var(--y-gloss) !important;
	border-color: var(--y-yellow) !important;
	color: var(--y-ink) !important;
	box-shadow: 0 10px 28px -10px rgba(245, 196, 0, .7) !important;
}

.ycd-btn--primary:hover {
	background: linear-gradient(150deg, #FFEA99 0%, #FFD21F 45%, #F5AE10 100%) !important;
	border-color: #FFD21F !important;
}

.ycd-btn--glass {
	background: rgba(255, 255, 255, .06) !important;
	border-color: rgba(255, 255, 255, .18) !important;
	color: #FFFFFF !important;
	backdrop-filter: blur(6px);
}

.ycd-btn--glass:hover {
	background: rgba(255, 255, 255, .14) !important;
	border-color: rgba(255, 255, 255, .35) !important;
}

.ycd-btn--wa {
	background: var(--y-green) !important;
	border-color: var(--y-green) !important;
	color: #FFFFFF !important;
}

.ycd-btn--wa:hover {
	background: #179247 !important;
	border-color: #179247 !important;
}

.ycd-btn--dark {
	background: var(--y-ink) !important;
	border-color: var(--y-ink) !important;
	color: #FFFFFF !important;
}

.ycd-btn--dark:hover {
	background: #26282D !important;
	border-color: #26282D !important;
}

.ycd-btn--ghost {
	background: transparent !important;
	border-color: var(--y-line) !important;
	color: var(--y-ink) !important;
}

.ycd-btn--ghost:hover {
	border-color: var(--y-ink) !important;
}

/* ---------------------------------------------------------
   الواجهة العلوية — تمتد خلف الهيدر الشفاف
   --------------------------------------------------------- */
.ycd-hero {
	position: relative;
	padding-block: clamp(36px, 5vw, 60px) clamp(84px, 9vw, 128px);
	overflow: hidden;
	background: #111214;
	color: rgba(255, 255, 255, .74);
	isolation: isolate;
}

/* عند الهيدر الشفاف: الواجهة تبدأ من أعلى الصفحة، والمحتوى ينزل تحت الهيدر فقط */
.ycd-over-header .ycd-hero {
	padding-top: calc(var(--ycd-header-h, 90px) + clamp(20px, 3.5vw, 44px));
}

.ycd-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

/* الصورة الديناميكية */
.ycd-hero__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	transform: scale(1.04);
	animation: ycd-hero-zoom 14s var(--y-ease) forwards;
}

@keyframes ycd-hero-zoom {
	to { transform: scale(1); }
}

.ycd-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(17, 18, 20, .82) 0%, rgba(17, 18, 20, .38) 32%, rgba(17, 18, 20, .5) 68%, rgba(17, 18, 20, .94) 100%),
		linear-gradient(90deg, rgba(17, 18, 20, .88) 0%, rgba(17, 18, 20, .55) 45%, rgba(17, 18, 20, .1) 85%),
		radial-gradient(70% 90% at 100% 100%, rgba(242, 154, 14, .28), transparent 60%);
}

[dir="rtl"] .ycd-hero__shade {
	background:
		linear-gradient(180deg, rgba(17, 18, 20, .82) 0%, rgba(17, 18, 20, .38) 32%, rgba(17, 18, 20, .5) 68%, rgba(17, 18, 20, .94) 100%),
		linear-gradient(270deg, rgba(17, 18, 20, .88) 0%, rgba(17, 18, 20, .55) 45%, rgba(17, 18, 20, .1) 85%),
		radial-gradient(70% 90% at 0% 100%, rgba(242, 154, 14, .28), transparent 60%);
}

/* الخلفية الافتراضية: انسياب زيت ذهبي بألوان الأزرار */
.ycd-hero--default .ycd-hero__bg {
	background:
		radial-gradient(60% 80% at 85% 20%, rgba(245, 196, 0, .16), transparent 65%),
		radial-gradient(40% 60% at 10% 110%, rgba(242, 154, 14, .12), transparent 70%),
		linear-gradient(160deg, #17181B 0%, #111214 55%, #0D0E10 100%);
}

[dir="rtl"] .ycd-hero--default .ycd-hero__bg {
	background:
		radial-gradient(60% 80% at 15% 20%, rgba(245, 196, 0, .16), transparent 65%),
		radial-gradient(40% 60% at 90% 110%, rgba(242, 154, 14, .12), transparent 70%),
		linear-gradient(200deg, #17181B 0%, #111214 55%, #0D0E10 100%);
}

.ycd-hero__pool {
	position: absolute;
	inset-block: -20% -20%;
	inset-inline-end: -8%;
	width: 46%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(245, 196, 0, .22), rgba(242, 154, 14, .06) 60%, transparent);
	filter: blur(20px);
}

.ycd-hero__flow {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: .62;
	/* يختفي الانسياب تحت الهيدر عشان قائمة الموقع تبقى واضحة */
	mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, rgba(0, 0, 0, .55) 38%, #000 70%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 16%, rgba(0, 0, 0, .55) 38%, #000 70%);
}

[dir="rtl"] .ycd-hero__flow {
	transform: scaleX(-1);
}

.ycd-hero__drop {
	transform-box: fill-box;
	transform-origin: center;
	animation: ycd-drip 5.5s ease-in-out infinite;
}

.ycd-hero__drop--2 {
	animation-delay: 1.8s;
	animation-duration: 6.5s;
}

@keyframes ycd-drip {
	0%, 100% { transform: translateY(0); opacity: .9; }
	50% { transform: translateY(10px); opacity: .55; }
}

/* موجة الانتقال للمحتوى */
.ycd-hero__wave {
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	width: 100%;
	height: clamp(38px, 6vw, 90px);
	pointer-events: none;
}

.ycd-hero__wave-fill {
	fill: var(--y-white);
}

.ycd-hero__wave-line {
	opacity: .9;
}

[dir="rtl"] .ycd-hero__wave {
	transform: scaleX(-1);
}

.ycd-hero__inner {
	position: relative;
}

.ycd-hero--split .ycd-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: center;
	gap: clamp(28px, 5vw, 72px);
}

.ycd-hero__content {
	max-width: 680px;
}

.ycd-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: .5em;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	font-size: .86rem;
}

.ycd-crumbs li {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	color: rgba(255, 255, 255, .5);
}

.ycd-crumbs li + li::before {
	content: "";
	width: 5px;
	height: 7px;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
	background: var(--y-yellow);
	opacity: .7;
}

.ycd-crumbs a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
	transition: color .2s;
}

.ycd-crumbs a:hover {
	color: var(--y-yellow);
}

.ycd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	margin-bottom: 1rem;
	padding: .42em 1em .42em .85em;
	border: 1px solid rgba(245, 196, 0, .32);
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(245, 196, 0, .16), rgba(242, 154, 14, .06));
	color: #FFD84D;
	font-size: .86rem;
	font-weight: 700;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.ycd-eyebrow .ycd-icon {
	width: 17px;
	height: 17px;
}

.ycd-main .ycd-hero__title {
	margin: 0 0 .35em;
	color: #FFFFFF;
	font-size: clamp(2.1rem, 4.6vw, 3.4rem);
	font-weight: 800;
	line-height: 1.15;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.ycd-hero__text {
	max-width: 54ch;
	margin: 0;
	color: rgba(255, 255, 255, .8);
	font-size: clamp(1.02rem, 1.45vw, 1.18rem);
	line-height: 1.85;
}

.ycd-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-top: 1.4rem;
}

.ycd-pill {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .5em 1em;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #FFFFFF;
	font-size: .93rem;
	font-weight: 600;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.ycd-pill .ycd-icon {
	color: var(--y-yellow);
}

.ycd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-top: 1.75rem;
}
/* لوحة المجموعات */
.ycd-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.ycd-tile {
	position: relative;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--y-r);
	background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
	color: #FFFFFF;
	text-decoration: none;
	transition: transform .35s var(--y-ease), border-color .35s var(--y-ease), background .35s var(--y-ease);
}

.ycd-tile:nth-child(2) {
	transform: translateY(22px);
}

.ycd-tile:nth-child(4) {
	transform: translateY(22px);
}

.ycd-tile:hover {
	border-color: rgba(245, 196, 0, .55);
	background: linear-gradient(160deg, rgba(245, 196, 0, .14), rgba(255, 255, 255, .02));
	color: #FFFFFF;
}

.ycd-tile__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 10px;
	border-radius: 15px;
	background: var(--y-gloss);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 22px -10px rgba(245, 170, 0, .8);
	color: var(--y-ink);
	transition: transform .35s var(--y-ease);
}

.ycd-tile:hover .ycd-tile__icon {
	transform: rotate(-8deg) scale(1.05);
}

.ycd-tile__icon .ycd-icon {
	width: 28px;
	height: 28px;
}

.ycd-tile__name {
	font-size: 1.1rem;
	font-weight: 700;
}

.ycd-tile__count {
	color: rgba(255, 255, 255, .5);
	font-size: .85rem;
}

/* شعار قطرة الزيت اللامعة */
.ycd-emblem {
	position: relative;
	display: grid;
	place-items: center;
	width: min(100%, 300px);
	aspect-ratio: 1;
	margin-inline: auto;
}

.ycd-emblem__ring {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(245, 196, 0, .2);
	border-radius: 50%;
	animation: ycd-spin 50s linear infinite;
}

.ycd-emblem__ring::before {
	content: "";
	position: absolute;
	top: 13%;
	inset-inline-start: 13%;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #FFD84D;
	box-shadow: 0 0 18px #F5C400;
}

.ycd-emblem__ring + .ycd-emblem__ring {
	inset: 15%;
	border-style: dashed;
	border-color: rgba(255, 255, 255, .12);
	animation-direction: reverse;
	animation-duration: 70s;
}

.ycd-emblem__ring + .ycd-emblem__ring::before {
	display: none;
}

.ycd-emblem__drop {
	position: relative;
	width: 42%;
	aspect-ratio: 1;
	margin-top: 8%;
	border-radius: 50% 0 50% 50%;
	background: radial-gradient(circle at 32% 30%, #FFF1A8 0%, #FFD84D 18%, #F5C400 42%, #E8920C 78%, #B96805 100%);
	box-shadow:
		inset -12px -16px 26px rgba(120, 58, 0, .35),
		inset 10px 12px 20px rgba(255, 255, 255, .35),
		0 34px 60px -22px rgba(245, 170, 0, .7);
	transform: rotate(-45deg);
	animation: ycd-float 6s ease-in-out infinite;
}

/* لمعة الزيت */
.ycd-emblem__drop::before {
	content: "";
	position: absolute;
	top: 22%;
	left: 20%;
	width: 26%;
	height: 13%;
	border-radius: 50%;
	background: rgba(255, 255, 255, .8);
	filter: blur(1.5px);
	transform: rotate(45deg);
}

.ycd-emblem__icon {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: #1A1204;
	transform: rotate(45deg);
}

.ycd-emblem__icon .ycd-icon {
	width: 44%;
	height: 44%;
	stroke-width: 1.6;
}

.ycd-emblem__shadow {
	position: absolute;
	bottom: 15%;
	width: 34%;
	height: 7%;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(245, 196, 0, .45), transparent);
	filter: blur(5px);
	animation: ycd-shadow 6s ease-in-out infinite;
}

@keyframes ycd-float {
	0%, 100% { transform: rotate(-45deg) translate(0, 0); }
	50% { transform: rotate(-45deg) translate(-6px, -6px); }
}

@keyframes ycd-shadow {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(.82); opacity: .6; }
}

@keyframes ycd-spin {
	to { transform: rotate(360deg); }
}
/* ---------------------------------------------------------
   شريط المزايا
   --------------------------------------------------------- */
.ycd-features {
	position: relative;
	z-index: 2;
	margin-top: clamp(-56px, -4vw, -28px);
}

.ycd-features__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--y-line);
	border-radius: var(--y-r-lg);
	background: var(--y-white);
	box-shadow: var(--y-shadow-lg);
}

.ycd-features__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
}

.ycd-features__item + .ycd-features__item {
	border-inline-start: 1px solid var(--y-line);
}

.ycd-features__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--y-yellow-soft);
	color: var(--y-ink);
}

.ycd-features__icon .ycd-icon {
	width: 24px;
	height: 24px;
}

.ycd-features__text {
	display: grid;
	gap: 2px;
}

.ycd-features__text strong {
	color: var(--y-ink);
	font-size: 1rem;
}

.ycd-features__text small {
	color: var(--y-muted);
	font-size: .86rem;
	line-height: 1.5;
}

/* ---------------------------------------------------------
   الأقسام والفلتر
   --------------------------------------------------------- */
.ycd-main .ycd-section {
	padding-block: clamp(48px, 6vw, 88px);
}

.ycd-main .ycd-section--light {
	background: var(--y-surface);
}

.ycd-main .ycd-section__title {
	margin: 0 0 2rem;
	color: var(--y-ink);
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
	font-weight: 800;
}

.ycd-filter {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin-bottom: 2.25rem;
}

.ycd-main .ycd-chip {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	min-height: 46px;
	padding: .5em 1.05em;
	border: 1.5px solid var(--y-line);
	border-radius: 999px;
	background: var(--y-white);
	color: var(--y-ink);
	font: inherit;
	font-size: .95rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .25s var(--y-ease), border-color .25s var(--y-ease), color .25s var(--y-ease), transform .25s var(--y-ease);
}

.ycd-main .ycd-chip .ycd-icon {
	width: 20px;
	height: 20px;
	color: var(--y-orange);
	transition: color .25s;
}

.ycd-main .ycd-chip:hover {
	background: var(--y-white);
	border-color: var(--y-ink);
	color: var(--y-ink);
}

.ycd-main .ycd-chip.is-active {
	background: var(--y-ink);
	border-color: var(--y-ink);
	color: #FFFFFF;
}

.ycd-main .ycd-chip.is-active .ycd-icon {
	color: var(--y-yellow);
}

.ycd-chip__count {
	display: inline-grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding-inline: 6px;
	border-radius: 999px;
	background: var(--y-surface);
	color: var(--y-muted);
	font-size: .75rem;
}

.ycd-chip.is-active .ycd-chip__count {
	background: var(--y-yellow);
	color: var(--y-ink);
}

/* عنوان القسم */
.ycd-shead {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 1.5rem;
}

.ycd-shead__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	margin-bottom: .45rem;
	color: var(--y-orange);
	font-size: .88rem;
	font-weight: 700;
}

.ycd-shead__eyebrow .ycd-icon {
	width: 16px;
	height: 16px;
}

.ycd-main .ycd-shead__title {
	margin: 0;
	color: var(--y-ink);
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	font-weight: 800;
	line-height: 1.3;
}

/* ---------------------------------------------------------
   بطاقات الخدمات
   --------------------------------------------------------- */
.ycd-main .ycd-grid {
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
}

.ycd-scard {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--y-line);
	border-radius: var(--y-r-lg);
	background: var(--y-white);
	transition: transform .4s var(--y-ease), box-shadow .4s var(--y-ease), border-color .4s var(--y-ease);
}

.ycd-scard::before {
	content: "";
	position: absolute;
	z-index: 2;
	inset-inline: 0;
	top: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--y-yellow), var(--y-orange));
	transform: scaleX(0);
	transform-origin: var(--y-origin, left);
	transition: transform .45s var(--y-ease);
}

[dir="rtl"] .ycd-scard::before {
	--y-origin: right;
}

.ycd-scard:hover {
	transform: translateY(-6px);
	border-color: transparent;
	box-shadow: var(--y-shadow-lg);
}

.ycd-scard:hover::before {
	transform: scaleX(1);
}

.ycd-scard__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--y-night);
}

.ycd-scard__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s var(--y-ease);
}

.ycd-scard:hover .ycd-scard__media img {
	transform: scale(1.06);
}

.ycd-scard__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 26px;
}

.ycd-scard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.ycd-scard.has-media .ycd-scard__head {
	margin-top: -56px;
	align-items: flex-end;
}

.ycd-scard__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--y-yellow-soft);
	color: var(--y-ink);
	transition: transform .4s var(--y-ease), background-color .4s var(--y-ease);
}

.ycd-scard.has-media .ycd-scard__icon {
	position: relative;
	z-index: 1;
	border: 5px solid var(--y-white);
	background: var(--y-yellow);
}

.ycd-scard__icon .ycd-icon {
	width: 30px;
	height: 30px;
}

.ycd-scard:hover .ycd-scard__icon {
	background: var(--y-gloss);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 12px 24px -12px rgba(245, 170, 0, .9);
	transform: rotate(-8deg);
}

/* لمعة تمر على البطاقة مثل لمعة الزيت */
.ycd-scard::after {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	left: -60%;
	width: 50%;
	background: linear-gradient(105deg, transparent 0%, rgba(255, 216, 77, .14) 45%, rgba(255, 255, 255, .35) 50%, rgba(255, 216, 77, .14) 55%, transparent 100%);
	transform: skewX(-12deg);
	opacity: 0;
	pointer-events: none;
}

.ycd-scard:hover::after {
	opacity: 1;
	animation: ycd-sheen 1s var(--y-ease) forwards;
}

@keyframes ycd-sheen {
	from { left: -60%; }
	to { left: 120%; }
}

.ycd-scard__group {
	padding: .35em .85em;
	border-radius: 999px;
	background: var(--y-surface);
	color: var(--y-muted);
	font-size: .8rem;
	font-weight: 700;
}

.ycd-main .ycd-scard__title {
	margin: 0 0 .55rem;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.4;
}

.ycd-main .ycd-scard__title a {
	color: var(--y-ink);
	text-decoration: none;
}

/* البطاقة كاملة قابلة للضغط */
.ycd-scard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 3;
}

.ycd-scard__title a:focus-visible {
	outline: none;
}

.ycd-scard:has(.ycd-scard__title a:focus-visible) {
	outline: 3px solid var(--y-yellow);
	outline-offset: 3px;
}

.ycd-scard__excerpt {
	margin: 0 0 1.4rem;
	color: var(--y-muted);
	font-size: .97rem;
	line-height: 1.8;
}

.ycd-scard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px dashed var(--y-line);
}

.ycd-scard__meta {
	color: var(--y-ink);
	font-weight: 700;
}

.ycd-scard__price small {
	display: block;
	color: var(--y-muted);
	font-size: .78rem;
	font-weight: 500;
}

.ycd-scard__price {
	font-size: 1.15rem;
}

.ycd-scard__duration {
	display: inline-flex;
	align-items: center;
	gap: .4em;
}

.ycd-scard__duration .ycd-icon {
	color: var(--y-orange);
}

.ycd-scard__cta {
	font-size: .95rem;
}

.ycd-scard__go {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--y-line);
	border-radius: 50%;
	color: var(--y-ink);
	transition: background-color .3s var(--y-ease), border-color .3s var(--y-ease), transform .3s var(--y-ease);
}

.ycd-scard:hover .ycd-scard__go {
	background: var(--y-yellow);
	border-color: var(--y-yellow);
	transform: translateX(4px);
}

[dir="rtl"] .ycd-scard:hover .ycd-scard__go {
	transform: translateX(-4px);
}

.ycd-empty {
	padding: 56px 24px;
	border: 1.5px dashed var(--y-line);
	border-radius: var(--y-r-lg);
	color: var(--y-muted);
	text-align: center;
}

/* ---------------------------------------------------------
   صفحة الخدمة
   --------------------------------------------------------- */
.ycd-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 370px;
	gap: clamp(24px, 3.5vw, 48px);
	align-items: start;
}

.ycd-single__main {
	display: grid;
	gap: 20px;
}

.ycd-panel {
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--y-line);
	border-radius: var(--y-r-lg);
	background: var(--y-white);
}

.ycd-main .ycd-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 1.4rem;
	color: var(--y-ink);
	font-size: 1.35rem;
	font-weight: 800;
}

.ycd-heading__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--y-yellow-soft);
	color: var(--y-ink);
}

.ycd-heading__icon .ycd-icon {
	width: 21px;
	height: 21px;
}

.ycd-content {
	color: var(--y-text);
	font-size: 1.08rem;
	line-height: 1.95;
}

.ycd-content p {
	margin: 0 0 .9em;
}

.ycd-content > *:last-child {
	margin-bottom: 0;
}

.ycd-checklist {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ycd-checklist li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--y-r-sm);
	background: var(--y-surface);
	color: var(--y-ink);
	font-weight: 600;
	line-height: 1.5;
}

.ycd-checklist__mark {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--y-yellow);
	color: var(--y-ink);
}

.ycd-checklist__mark .ycd-icon {
	width: 16px;
	height: 16px;
	stroke-width: 3;
}

/* خطوات الخدمة */
.ycd-panel--dark {
	position: relative;
	overflow: hidden;
	border-color: transparent;
	background: var(--y-night);
	color: rgba(255, 255, 255, .7);
}

.ycd-panel--dark::after {
	content: "";
	position: absolute;
	top: -40%;
	inset-inline-end: -10%;
	width: 360px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 196, 0, .18), transparent 65%);
	pointer-events: none;
}

.ycd-main .ycd-panel--dark .ycd-heading {
	color: #FFFFFF;
}

.ycd-panel--dark .ycd-heading__icon {
	background: var(--y-yellow);
}

.ycd-steps {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.ycd-steps__item {
	position: relative;
	display: grid;
	gap: 6px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: var(--y-r);
	background: rgba(255, 255, 255, .04);
}

.ycd-steps__num {
	position: absolute;
	top: 14px;
	inset-inline-end: 18px;
	color: transparent;
	font-size: 2.6rem;
	font-weight: 800;
	line-height: 1;
	-webkit-text-stroke: 1px rgba(255, 255, 255, .18);
}

.ycd-steps__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: rgba(245, 196, 0, .12);
	color: var(--y-yellow);
}

.ycd-steps__icon .ycd-icon {
	width: 24px;
	height: 24px;
}

.ycd-steps__item strong {
	color: #FFFFFF;
	font-size: 1.05rem;
}

.ycd-steps__item span:last-child {
	font-size: .92rem;
	line-height: 1.7;
}

/* متى تحتاجها */
.ycd-callout {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid #F6E3A1;
	border-radius: var(--y-r-lg);
	background: linear-gradient(135deg, #FFFBEA, #FFF3C4);
}

.ycd-callout__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--y-yellow);
	color: var(--y-ink);
}

.ycd-callout__icon .ycd-icon {
	width: 26px;
	height: 26px;
}

.ycd-main .ycd-callout__title {
	margin: 0 0 .4rem;
	color: var(--y-ink);
	font-size: 1.15rem;
	font-weight: 800;
}

.ycd-callout p {
	margin: 0;
	color: #5A4A12;
	line-height: 1.85;
}

/* الأسئلة الشائعة */
.ycd-faq {
	display: grid;
	gap: 10px;
}

.ycd-faq__item {
	border: 1px solid var(--y-line);
	border-radius: var(--y-r);
	background: var(--y-white);
	transition: border-color .3s, background-color .3s;
}

.ycd-faq__item[open] {
	border-color: transparent;
	background: var(--y-surface);
}

.ycd-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 18px 20px;
	color: var(--y-ink);
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.ycd-faq__item summary::-webkit-details-marker {
	display: none;
}

.ycd-faq__toggle {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--y-surface);
	transition: transform .3s var(--y-ease), background-color .3s;
}

.ycd-faq__item[open] .ycd-faq__toggle {
	background: var(--y-yellow);
	transform: rotate(45deg);
}

.ycd-faq__toggle .ycd-icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.4;
}

.ycd-faq__answer {
	padding: 0 20px 20px;
	line-height: 1.85;
}

/* بطاقة الحجز */
.ycd-single__aside {
	position: sticky;
	top: calc(var(--kadence-header-height, 80px) + 24px);
}

.ycd-book {
	overflow: hidden;
	border: 1px solid var(--y-line);
	border-radius: var(--y-r-lg);
	background: var(--y-white);
	box-shadow: var(--y-shadow-lg);
}

.ycd-book__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 24px;
	overflow: hidden;
	background: var(--y-night);
	color: rgba(255, 255, 255, .65);
}

.ycd-book__head::after {
	content: "";
	position: absolute;
	inset-inline-end: -40px;
	top: -60px;
	width: 180px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(245, 196, 0, .25), transparent 65%);
}

.ycd-book__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--y-yellow);
	color: var(--y-ink);
}

.ycd-book__icon .ycd-icon {
	width: 28px;
	height: 28px;
}

.ycd-main .ycd-book__title {
	margin: 0 0 2px;
	color: #FFFFFF;
	font-size: 1.15rem;
	font-weight: 800;
}

.ycd-book__head p {
	margin: 0;
	font-size: .88rem;
	line-height: 1.6;
}

.ycd-book__price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 20px 24px 0;
	padding: 16px 18px;
	border-radius: var(--y-r-sm);
	background: var(--y-yellow-soft);
}

.ycd-book__price small {
	color: #6B5A16;
	font-weight: 600;
}

.ycd-book__price strong {
	color: var(--y-ink);
	font-size: 1.6rem;
	font-weight: 800;
}

.ycd-book__facts {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 16px 24px 0;
	list-style: none;
}

.ycd-book__facts li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	color: var(--y-ink);
	font-weight: 700;
	line-height: 1.5;
}

.ycd-book__facts li + li {
	border-top: 1px dashed var(--y-line);
}

.ycd-book__facts .ycd-icon {
	margin-top: 4px;
	color: var(--y-orange);
}

.ycd-book__facts small {
	display: block;
	color: var(--y-muted);
	font-size: .8rem;
	font-weight: 500;
}

.ycd-book__facts a {
	color: var(--y-ink);
	text-decoration: underline;
	text-decoration-color: var(--y-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.ycd-book__actions {
	display: grid;
	gap: 10px;
	padding: 20px 24px 24px;
}

.ycd-book__actions .ycd-btn {
	width: 100%;
}

/* ---------------------------------------------------------
   دعوة الحجز
   --------------------------------------------------------- */
.ycd-cta {
	padding-block: 0 clamp(48px, 6vw, 88px);
}

.ycd-section--light + .ycd-cta {
	padding-top: 0;
	background: linear-gradient(var(--y-surface) 50%, var(--y-white) 50%);
}

.ycd-cta__box {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	padding: clamp(28px, 4.5vw, 52px);
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(120deg, #FFD21F, var(--y-yellow) 45%, var(--y-orange));
	color: #3A2F05;
	isolation: isolate;
}

.ycd-cta__art {
	position: absolute;
	z-index: -1;
	inset-inline-end: 4%;
	bottom: -30%;
	color: rgba(15, 16, 18, .08);
}

.ycd-cta__art .ycd-icon {
	width: 300px;
	height: 300px;
	stroke-width: 1;
}

.ycd-main .ycd-cta h2 {
	margin: 0 0 .3em;
	color: var(--y-ink);
	font-size: clamp(1.6rem, 3.2vw, 2.3rem);
	font-weight: 800;
}

.ycd-cta p {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 500;
}

.ycd-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------------------------------------------------------
   الحركة عند الظهور
   --------------------------------------------------------- */
.ycd-js .ycd-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--y-ease), transform .7s var(--y-ease);
}

.ycd-js .ycd-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------
   شريط الجوال وزر واتساب
   --------------------------------------------------------- */
.ycd-mobile-bar {
	display: none;
}

.ycd-wa-float {
	position: fixed;
	z-index: 999;
	bottom: 24px;
	inset-inline-end: 24px;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--y-green);
	color: #FFFFFF !important;
	box-shadow: 0 12px 30px -6px rgba(31, 175, 84, .6);
	transition: transform .3s cubic-bezier(.22, .8, .24, 1);
}

.ycd-wa-float:hover {
	transform: scale(1.08);
	color: #FFFFFF;
}

.ycd-wa-float .ycd-icon {
	width: 30px;
	height: 30px;
}

.ycd-wa-float::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--y-green);
	border-radius: 50%;
	animation: ycd-pulse 2.4s ease-out infinite;
}

@keyframes ycd-pulse {
	0% { transform: scale(1); opacity: .7; }
	70%, 100% { transform: scale(1.5); opacity: 0; }
}

/* ---------------------------------------------------------
   الشاشات المتوسطة والجوال
   --------------------------------------------------------- */
@media (max-width: 1024px) {
	.ycd-hero--split .ycd-hero__inner,
	.ycd-single__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ycd-hero__visual {
		max-width: 560px;
	}

	.ycd-single__aside {
		position: static;
	}

	.ycd-features__item + .ycd-features__item {
		border-inline-start: 0;
	}
}

@media (max-width: 767px) {
	.ycd-hero {
		padding-bottom: 76px;
	}

	.ycd-main .ycd-hero__actions .ycd-btn {
		flex: 1 1 100%;
	}

	.ycd-tile {
		padding: 16px;
	}

	.ycd-tile:nth-child(2),
	.ycd-tile:nth-child(4) {
		transform: none;
	}

	.ycd-tile__icon {
		width: 44px;
		height: 44px;
		border-radius: 13px;
	}

	.ycd-emblem {
		width: 170px;
	}

	/* شعار القطرة فوق العنوان في الجوال، وبطاقات المجموعات تحت النص */
	.ycd-hero--split .ycd-hero__visual:has(.ycd-emblem) {
		order: -1;
		margin-bottom: -16px;
	}

	.ycd-hero__flow {
		opacity: .45;
	}

	.ycd-features {
		margin-top: -30px;
	}

	.ycd-features__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 4px;
	}

	.ycd-features__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 14px;
	}

	.ycd-features__icon {
		width: 42px;
		height: 42px;
	}

	.ycd-filter {
		flex-wrap: nowrap;
		margin-inline: calc(var(--global-content-edge-padding, 1.25rem) * -1);
		padding-inline: var(--global-content-edge-padding, 1.25rem);
		padding-bottom: 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.ycd-filter::-webkit-scrollbar {
		display: none;
	}

	.ycd-main .ycd-chip {
		flex: none;
	}

	.ycd-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.ycd-callout {
		flex-direction: column;
	}

	.ycd-single .ycd-single__aside {
		display: none;
	}

	.ycd-cta__actions,
	.ycd-cta__actions .ycd-btn {
		width: 100%;
	}

	.ycd-mobile-bar {
		position: fixed;
		z-index: 998;
		inset-inline: 0;
		bottom: 0;
		display: grid;
		grid-auto-columns: 1fr;
		grid-auto-flow: column;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .94);
		box-shadow: 0 -10px 30px -10px rgba(15, 16, 18, .2);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
	}

	.ycd-mobile-bar .ycd-btn {
		min-height: 48px;
		padding-inline: .6em;
		font-size: .95rem;
	}

	body.ycd-has-bar {
		padding-bottom: 76px;
	}

	body.ycd-has-bar .ycd-wa-float {
		display: none;
	}

	.ycd-wa-float {
		bottom: 18px;
		inset-inline-end: 18px;
		width: 54px;
		height: 54px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ycd-main *,
	.ycd-main *::before,
	.ycd-main *::after,
	.ycd-wa-float,
	.ycd-wa-float::after {
		transition: none !important;
		animation: none !important;
	}

	.ycd-js .ycd-reveal {
		opacity: 1;
		transform: none;
	}

	.ycd-hero__img {
		transform: none;
	}
}
