:root {
	--brand: #ea1c72;
	--brand-700: #d1175e;
	--text: #222;
	--muted: #555;
	--bg: #fff;
	--bg-alt: #f9f9f9;
	--radius: 16px;
	--shadow-sm: 0 2px 6px rgba(0,0,0,.06);
	--shadow-md: 0 10px 28px rgba(0,0,0,.08);
}

/* ========== القواعد العامة ========== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
	margin: 0;
	font-family: 'Cairo', system-ui, 'Noto Kufi Arabic', Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	direction: rtl;
}
img { display: block; max-width: 100%; height: auto; }
:focus-visible {
	outline: 3px solid rgba(234,28,114,.35);
	outline-offset: 2px;
}

/* ===========================
   Header
=========================== */
header {
	position: sticky;
	top: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #fff;
	box-shadow: var(--shadow-sm);
}
.cta-button {
	display: inline-block;
	background: var(--brand);
	color: #fff;
	text-decoration: none;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(234,28,114,.25);
	transition: background .25s ease, transform .25s ease;
}
.cta-button:hover {
	background: var(--brand-700);
	transform: translateY(-1px);
}

/* ===========================
   HERO (النص داخل الصورة)
=========================== */
.hero {
	position: relative;
	overflow: hidden;
	background: #000;
	min-height: clamp(420px, 70vh, 720px);
}
.hero {
	position: relative;
	min-height: 80vh;
	background: #000;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	background: center/cover no-repeat;
	opacity: 0;
	animation: fadeInHero 1s ease forwards;
}

@keyframes fadeInHero {
	from { opacity: 0; transform: scale(1.05); }
	to { opacity: 1; transform: scale(1); }
}
.hero-slide {
	height: 100%;
	width: 100%;
	background: #ddd center/cover no-repeat;
}

/* تغميق خفيف للقراءة */
.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(0,0,0,.18) 0%,
		rgba(0,0,0,.24) 40%,
		rgba(0,0,0,.34) 100%
	);
}

/* تمركز المحتوى فوق الصورة */
.container-hero {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px 18px;
}
.container-hero h1 {
	margin: 0 0 10px;
	font-weight: 800;
	font-size: clamp(1.35rem, 3.8vw, 2.2rem);
	line-height: 1.5;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.container-hero p {
	margin: 0 auto 14px;
	max-width: 720px;
	color: #fff;
	opacity: .98;
	font-size: clamp(.92rem, 2.8vw, 1.05rem);
	text-shadow: 0 1px 6px rgba(0,0,0,.28);
}
.hero-cta {
	display: inline-block;
	background: var(--brand);
	color: #fff;
	padding: 12px 22px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(234,28,114,.35);
	transition: background .25s ease, transform .25s ease;
}
.hero-cta:hover {
	background: var(--brand-700);
	transform: translateY(-2px);
}
/* ===========================
   HERO SECTION - OFFERS
=========================== */
.offers-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
}

.offers-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/slide-1-m.webp'); /* غيّر الصورة */
  background-size: cover;
  background-position: center;
  filter: brightness(0.28);
  z-index: 1;
}

.offers-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.offers-hero h1 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.offers-hero p {
  font-size: 1rem;
  margin-bottom: 18px;
  opacity: 0.93;
}

.hero-btn {
  background: var(--brand, #ea1c72);
  color: #fff;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: .25s;
}

.hero-btn:hover {
  transform: translateY(-3px);
  background: #c90e5e;
}

/* ===========================
   Sections
=========================== */
.section-title {
	text-align: center;
	color: var(--brand);
	margin: 0 0 18px;
	font-size: clamp(1.2rem, 4vw, 1.6rem);
}
.services-section,
.offers-sec,
.before-after,
.why {
	padding: 28px 14px;
}
.before-after { background: var(--bg-alt); }
.footer {
	text-align: center;
	padding: 18px;
	background: var(--brand);
	color: #fff;
}

/* ===========================
   🔹 Services Layout (شبكة متجاوبة)
=========================== */
.services-wrap {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	max-width: 1200px;
	margin: 0 auto;
}
@media (min-width: 768px) {
	.services-wrap {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (min-width: 1024px) {
	.services-wrap {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ✅ تصميم كل خدمة */
.service {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 14px;
	padding: 14px;
	box-shadow: 0 4px 14px rgba(0,0,0,.08);
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease;
}

.service:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 22px rgba(0,0,0,.1);
}

.service img {
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
	margin-bottom: 10px;
	aspect-ratio: 1/1;
}

.service h3 {
	color: var(--brand);
	font-weight: 800;
	font-size: 1.05rem;
	margin: 8px 0 5px;
}

.service p {
	color: var(--muted);
	font-size: .9rem;
	margin: 0;
}

/* ===========================
   Offers grid + cards
=========================== */
.of-wrap { max-width: 1200px; margin: 0 auto; }
.of-title, .of-subtitle {
	margin: 0 0 14px;
	font-weight: 800;
	color: var(--text);
	text-align: center;
}
.of-title { font-size: clamp(1.1rem, 4vw, 1.6rem); }
.of-subtitle { font-size: clamp(1rem, 3.2vw, 1.2rem); color: var(--brand); }

.of-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
@media (min-width: 768px) {
	.of-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.of-grid { grid-template-columns: repeat(4, 1fr); }
}

.of-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 16px;
	padding: 14px;
	box-shadow: var(--shadow-md);
	overflow: hidden;
	transition: transform .3s ease, box-shadow .3s ease;
}
.of-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 22px rgba(0,0,0,.1);
}
.of-media {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 3/4;
	background: #f6f6f6;
	margin-bottom: 10px;
	flex-shrink: 0;
}
.of-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.of-name {
	margin: 6px 2px;
	font-weight: 800;
	text-align: center;
	font-size: clamp(.95rem, 3vw, 1.02rem);
	line-height: 1.55;
}
.of-price {
	display: flex;
	gap: 10px;
	align-items: baseline;
	justify-content: center;
	margin: 0 2px 10px;
}
.of-price del {
	color: #9aa0a6;
	text-decoration: line-through;
}
.of-price ins {
	color: var(--brand);
	font-weight: 800;
	text-decoration: none;
}

/* زر واتساب داخل الكارد */
.act-wa {
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: all 0.25s ease-in-out;
	margin: 0 auto 5px;
}
.act-wa img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}
.act-wa:hover {
	transform: scale(1.07);
	filter: brightness(1.1);
	box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
/* تقييم النجوم */
.of-rating {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	margin-bottom: 10px;
	font-size: 17px;
}

/* ===========================
   Before/After
=========================== */
.before-after-slider {
	max-width: 980px;
	margin: 0 auto;
}
.before-after-box {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	aspect-ratio: 4/3;
	background: #f2f2f2;
}
.before-after-box > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ba-tag {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #fff;
	border: 1px solid #eee;
	padding: 6px 10px;
	border-radius: 999px;
	font-weight: 700;
}

/* ===========================
   Form
=========================== */
.form-box {
	max-width: 520px;
	margin: 24px auto;
	background: #fff;
	border: 1px solid #eee;
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow-md);
}
.form-box h2 {
	text-align: center;
	font-size: clamp(1.15rem,3.4vw,1.6rem);
	color: var(--brand);
	margin: 0 0 10px;
}
.row { margin: 0 0 12px; }
label { display: block; margin: 0 0 6px; font-weight: 700; }
input, select, button {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 16px;
	text-align: right;
}
input:focus, select:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(234,28,114,.15);
}
button {
	text-align: right;
	background: var(--brand);
	color: #fff;
	border: none;
	cursor: pointer;
	font-weight: 700;
	transition: filter .2s ease;
}
button:hover { filter: brightness(.95); }

/* ===========================
   Floating contact icons
=========================== */
.call-icon, .whatsapp-icon {
	position: fixed;
	bottom: 20px;
	width: 56px;
	height: 56px;
	z-index: 9999;
}
.whatsapp-icon { right: 20px; }
.call-icon { left: 20px; }
.call-icon img, .whatsapp-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 6px 16px rgba(0,0,0,.15);
}
@media (max-width:480px) {
	.call-icon, .whatsapp-icon {
		width: 50px;
		height: 50px;
		bottom: 15px;
	}
}

/* مسافة آمنة للموبايل */
@media (max-width:768px) {
	.offers-sec, .services-section {
		padding-bottom: 100px;
	}
}
/* ===========================
   أيقونات الكروت (قلب - مقارنة - سلة - واتساب)
=========================== */
.of-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 10px;
}

.act {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid #ddd;
	background: #fff;
	color: var(--brand);
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 3px 8px rgba(0,0,0,.08);
	transition: all .2s ease-in-out;
}

.act:hover {
	background: var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

/* زر واتساب داخل كل كارد */
.wa-floating {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
	transition: transform .2s ease;
}

.wa-floating:hover {
	transform: scale(1.05);
}

.wa-floating img {
	width: 22px;
	height: 22px;
}
/* ===========================
   🔹 أزرار الفلاتر
=========================== */
.filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 14px 10px;
	background: var(--bg-alt);
}

.filter-btn {
	flex: 1 1 calc(50% - 10px);
	max-width: 180px;
	background: #fff;
	border: 2px solid var(--brand);
	color: var(--brand);
	padding: 10px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	text-align: center;
	box-shadow: 0 3px 8px rgba(0,0,0,.08);
	transition: all .25s ease-in-out;
}

.filter-btn:hover {
	background: var(--brand);
	color: #fff;
	transform: translateY(-2px);
}

.filter-btn.active {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 6px 14px rgba(234,28,114,.25);
}

/* للأجهزة الكبيرة */
@media (min-width: 600px) {
	.filter-btn {
		flex: 0 1 auto;
		min-width: 120px;
	}
}
/* ===========================
   🔹 تنسيق النجوم
=========================== */
.star {
	color: #ccc;
	font-size: 18px;
}
.star.filled {
	color: #FFD700; /* ذهبي */
}
.rating-value {
	color: var(--muted);
	font-size: 14px;
	margin-right: 4px;
}
.of-card {
	transition: all 0.25s ease;
}
/* ========== Offers Slider ========== */
.offers-slider-sec {
  margin: 40px 0;
}

.offersSwiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.offersSwiper .of-card {
  width: 100%;
  max-width: 280px; /* يتحكم في حجم الكارت */
}
.offers-slider-sec { padding: 40px 0; }

.offersSwiper .swiper-slide {
  display:flex;
  justify-content:center;
}
