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

/* ============================================================
   Theme 4 — EMERALD TEAL · عصري نظيف: عقد متصلة + نقطة متاحة
   ============================================================ */
.ebsrvl1 {
  --bg: #f1faf7;
  --ink: #042f2b;
  --muted: #5f746f;
  --teal: #0d9488;
  --teal-d: #0f766e;
  --teal-soft: #d9f5ec;
  --card: #ffffff;
  --line: #c8ecdf;
  --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 { display: none; }
.ebsrvl1__pattern {
  position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(rgba(13,148,136,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(13,148,136,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 25%, transparent 78%);
}

.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: 700; color: var(--teal-d);
  background: #fff; border: 1px solid var(--line);
  padding: .3rem .75rem; border-radius: 8px; margin-bottom: .6rem;
  box-shadow: 0 2px 8px rgba(13,148,136,.08);
}
.ebsrvl1__eyebrow-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.ebsrvl1__eyebrow-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #22c55e; opacity: .5; animation: ebsrvl1-ping 1.8s ease-out infinite; }
.ebsrvl1__count { font-size: .64rem; font-weight: 700; color: var(--teal-d); background: var(--teal-soft); border-radius: 6px; padding: .12rem .5rem; }

.ebsrvl1__title { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: .3rem; }
.ebsrvl1__title::after { content: ""; display: flex; gap: 5px; justify-content: center; margin-top: .5rem; }
.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: .7rem;
  background: var(--card); border: 1px solid var(--line); border-radius: .75rem;
  padding: .75rem .85rem; box-shadow: 0 4px 12px rgba(4, 47, 43, .05);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  animation: ebsrvl1-slide .45s ease both; animation-delay: calc(var(--ebsrvl1-i, 0) * 55ms);
}
/* نقطة الحالة */
.ebsrvl1__card::after { content: ""; position: absolute; top: .6rem; inset-inline-end: .65rem; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
.ebsrvl1__card:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 12px 24px rgba(13,148,136,.14); }

/* شارة رقمية مونو */
.ebsrvl1__card-num {
  position: absolute; bottom: .5rem; inset-inline-end: .6rem;
  font-size: .6rem; font-weight: 700; color: var(--teal-d);
  background: #f0fdfa; border: 1px solid var(--line); border-radius: 6px; padding: .05rem .35rem;
  font-variant-numeric: tabular-nums; letter-spacing: .04em;
}

.ebsrvl1__card-icon {
  flex-shrink: 0; width: 2.45rem; height: 2.45rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--teal); font-size: .92rem;
  border: 2px solid var(--teal); box-shadow: 0 0 0 4px var(--teal-soft);
  overflow: hidden; transition: box-shadow .22s ease;
}
.ebsrvl1__card:hover .ebsrvl1__card-icon { box-shadow: 0 0 0 6px var(--teal-soft); }
.ebsrvl1__card-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ebsrvl1__card-body { flex: 1; min-width: 0; padding-top: .3rem; }
.ebsrvl1__card-title { font-size: .88rem; font-weight: 700; 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: 700; color: var(--teal-d); }
.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: 8px;
  display: grid; place-items: center; font-size: .72rem; text-decoration: none;
  background: var(--teal); color: #fff;
  transition: all .2s ease;
}
.ebsrvl1__card-map-link:hover { background: var(--teal-d); transform: translateY(-2px); }

@keyframes ebsrvl1-slide { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes ebsrvl1-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.3); opacity: 0; } }
html[dir="ltr"] .ebsrvl1 .ebsrvl1__card { animation-name: ebsrvl1-slide-ltr; }
@keyframes ebsrvl1-slide-ltr { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }

@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; }
