@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* ============================================================
   Theme 3 — WARM SAND · مرحة دافئة: فقاعات + أيقونة Blob
   ============================================================ */
.ebsrvl1 {
  --bg: #fff7f0;
  --ink: #37231a;
  --muted: #96705a;
  --terra: #c2410c;
  --terra-d: #9a3412;
  --peach: #ffedd5;
  --peach-2: #fdba74;
  --card: #ffffff;
  --line: #f2dfc9;
  --font: "El Messiri", sans-serif;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 2.4rem 0;
  font-family: var(--font);
  direction: rtl;
  isolation: isolate;
}
.ebsrvl1, .ebsrvl1 *, .ebsrvl1 *::before, .ebsrvl1 *::after { box-sizing: border-box; margin: 0; padding: 0; }

.ebsrvl1__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ebsrvl1__orb { position: absolute; border-radius: 50%; filter: blur(55px); opacity: .45; }
.ebsrvl1__orb--a { width: 260px; height: 260px; top: -100px; inset-inline-end: -60px; background: #fed7aa; }
.ebsrvl1__orb--b { width: 220px; height: 220px; bottom: -110px; inset-inline-start: -50px; background: #fecaca; }
.ebsrvl1__pattern {
  position: absolute; inset: 0; opacity: .6;
  background-image: radial-gradient(rgba(194,65,12,.14) 1.4px, transparent 1.4px);
  background-size: 20px 20px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 100%, #000 20%, transparent 75%);
}

.ebsrvl1__container { position: relative; z-index: 1; max-width: 66rem; margin: 0 auto; padding-inline: 1rem; }
.ebsrvl1__header { text-align: center; max-width: 32rem; margin: 0 auto 1.35rem; }

.ebsrvl1__eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .7rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--terra), #ea580c);
  padding: .32rem .8rem; border-radius: 999px; margin-bottom: .6rem;
  box-shadow: 0 4px 12px rgba(194,65,12,.3);
}
.ebsrvl1__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ebsrvl1-blink 1.6s infinite; }
.ebsrvl1__count { font-size: .64rem; font-weight: 800; background: rgba(255,255,255,.22); border-radius: 999px; padding: .12rem .55rem; }

.ebsrvl1__title { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 800; color: var(--ink); line-height: 1.6; margin-bottom: .3rem; }
.ebsrvl1__subtitle { font-size: .83rem; color: var(--muted); line-height: 1.75; }

.ebsrvl1__grid { display: grid; grid-template-columns: 1fr; gap: .7rem; }

.ebsrvl1__card {
  position: relative; display: flex; align-items: center; gap: .75rem;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 1.25rem;
  padding: .75rem .85rem; box-shadow: 0 5px 14px rgba(154, 52, 18, .06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: ebsrvl1-pop .45s cubic-bezier(.34,1.4,.64,1) both; animation-delay: calc(var(--ebsrvl1-i, 0) * 55ms);
}
.ebsrvl1__card::after {
  content: "✦"; position: absolute; top: .4rem; inset-inline-end: .65rem;
  font-size: .6rem; color: var(--peach-2); transition: transform .25s ease, color .25s ease;
}
.ebsrvl1__card:hover { transform: translateY(-3px) rotate(-.4deg); border-color: var(--peach-2); box-shadow: 0 14px 26px rgba(194,65,12,.13); }
.ebsrvl1__card:hover::after { transform: rotate(90deg) scale(1.25); color: var(--terra); }
.ebsrvl1__card-num { display: none; }

/* أيقونة عضوية الشكل */
.ebsrvl1__card-icon {
  flex-shrink: 0; width: 2.6rem; height: 2.6rem;
  border-radius: 42% 58% 60% 40% / 45% 42% 58% 55%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--peach), var(--peach-2));
  color: var(--terra-d); font-size: 1rem;
  transition: border-radius .3s ease;
  overflow: hidden;
}
.ebsrvl1__card:hover .ebsrvl1__card-icon { border-radius: 58% 42% 40% 60% / 55% 58% 42% 45%; }
.ebsrvl1__card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ebsrvl1__card-body { flex: 1; min-width: 0; padding-top: .35rem; }
.ebsrvl1__card-title { font-size: .9rem; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ebsrvl1__card-city {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .25rem;
  font-size: .7rem; font-weight: 800; color: var(--terra);
  background: var(--peach); padding: .1rem .55rem; border-radius: 999px;
}
.ebsrvl1__card-city i { font-size: .62rem; }
.ebsrvl1__card-address { font-size: .72rem; color: var(--muted); margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ebsrvl1__card-map-link {
  flex-shrink: 0; width: 1.85rem; height: 1.85rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .72rem; text-decoration: none;
  background: var(--peach); color: var(--terra);
  transition: all .2s ease;
}
.ebsrvl1__card-map-link:hover { background: var(--terra); color: #fff; transform: rotate(-12deg) scale(1.08); }

@keyframes ebsrvl1-pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes ebsrvl1-blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

@media (min-width: 560px) { .ebsrvl1__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .ebsrvl1__grid { grid-template-columns: repeat(3, 1fr); } .ebsrvl1 { padding: 2.8rem 0; } }
@media (min-width: 1280px) { .ebsrvl1__grid { grid-template-columns: repeat(4, 1fr); } .ebsrvl1__container { max-width: 72rem; } }
@media (max-width: 559px) { .ebsrvl1 { padding: 1.8rem 0; } .ebsrvl1__header { margin-bottom: 1rem; } }
html[dir="ltr"] .ebsrvl1 { direction: ltr; }
