/* ==========================================================================
   THEME 6 — "Friendly Rounded"  (generated base: ebsrvl1-them2.css with re-mapped tokens)
   Palette: purple #5A2D82 · mint #6FD6A8 · lavender #F7F5FB. No red, no black.
   The hand-written design layer is appended below the base.
   ⚠ GENERATED FILE — do not edit here. Edit scripts/theme6/<this file name> (design layer)
     then run:  node scripts/build_theme6_base.js   (and bump ASSET_VERSION before deploying)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&family=Amiri:wght@700&display=swap');

/* ============================================================
   Theme 2 — OBSIDIAN GOLD · فخامة: شريط ذهبي + رقم مائي ضخم
   ============================================================ */
.ebsrvl1 {
  --bg: #F7F5FB;
  --ink: #34184F;
  --muted: #3D2C54;
  --gold: #5A2D82;
  --gold-d: #5A2D82;
  --gold-soft: #ECE6F5;
  --card: #F7F5FB;
  --line: #ECE6F5;
  --font: 'Baloo Bhaijaan 2', 'Tajawal', sans-serif;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 2.4rem 0;
  font-family: var(--font);
  direction: rtl;
  isolation: isolate;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.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: .5;
  background-image: repeating-linear-gradient(-45deg, rgba(90, 45, 130, 0.06) 0 1px, transparent 1px 14px);
  mask-image: linear-gradient(to bottom, transparent, #34184F 20%, #34184F 80%, transparent);
}

.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: .6rem;
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; color: var(--gold-d);
  margin-bottom: .6rem;
}
.ebsrvl1__eyebrow::before, .ebsrvl1__eyebrow::after { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 0.875rem; }
.ebsrvl1__eyebrow::after { background: linear-gradient(90deg, var(--gold), transparent); }
.ebsrvl1__eyebrow-dot { display: none; }
.ebsrvl1__count { letter-spacing: 0; font-size: .64rem; border: 1px solid var(--gold); color: var(--gold-d); border-radius: 2rem; padding: .12rem .55rem; background: #FFFFFF; }

.ebsrvl1__title { font-size: clamp(1.2rem, 3.4vw, 1.6rem); font-weight: 800; color: var(--ink); line-height: 1.5; margin-bottom: .2rem; }
.ebsrvl1__title::after { content: "◆"; display: block; font-size: .6rem; color: var(--gold); letter-spacing: .8em; text-indent: .8em; margin-top: .45rem; }
.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: 1.25rem;
  padding: .75rem .85rem; padding-inline-start: 1rem;
  box-shadow: 0 5px 16px rgba(90, 45, 130, 0.063);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: ebsrvl1-up .5s ease both; animation-delay: calc(var(--ebsrvl1-i, 0) * 60ms);
}
/* الشريط الذهبي الجانبي */
.ebsrvl1__card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 12%; bottom: 12%;
  width: 3.5px; border-radius: 2rem;
  background: linear-gradient(to bottom, #5A2D82, var(--gold), var(--gold-d));
  transition: top .25s ease, bottom .25s ease;
}
.ebsrvl1__card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(90, 45, 130, 0.126); border-color: #5A2D82; }
.ebsrvl1__card:hover::before { top: 8%; bottom: 8%; }

/* رقم مائي فخم */
.ebsrvl1__card-num {
  position: absolute; bottom: -.55rem; inset-inline-end: .4rem;
  font-size: 2.4rem; font-weight: 800; line-height: 1; color: rgba(90, 45, 130, 0.1);
  font-family: "Amiri", serif; pointer-events: none; user-select: none;
}

.ebsrvl1__card-icon {
  flex-shrink: 0; width: 2.45rem; height: 2.45rem; border-radius: 32%;
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF; color: var(--gold); font-size: .95rem;
  border: 1.5px solid var(--gold); box-shadow: inset 0 0 0 3px var(--gold-soft);
  overflow: hidden;
}
.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: .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; letter-spacing: .04em; color: var(--gold-d); }
.ebsrvl1__card-city i { font-size: .62rem; color: var(--gold); }
.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(--ink); color: #5A2D82;
  transition: all .2s ease;
}
.ebsrvl1__card-map-link:hover { background: var(--gold); color: #FFFFFF; transform: scale(1.08); }

@keyframes ebsrvl1-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(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; }


/* ==========================================================================
   THEME 6 — SERVICE AREAS: "Soft Place Cards"
   Clean white rounded cards (no tilt): a mint icon bubble, the area name,
   a small city chip, and the full description — never cut off.
   ========================================================================== */
body.theme-6 .ebsrvl1 { background: #fff; position: relative; overflow: hidden; }
body.theme-6 .ebsrvl1__pattern { display: none; }
body.theme-6 .ebsrvl1__orb { filter: none; animation: t6-morph 18s ease-in-out infinite; }
body.theme-6 .ebsrvl1__orb--a { background: rgba(111, 214, 168, .12); }
body.theme-6 .ebsrvl1__orb--b { background: rgba(228, 216, 242, .6); }

/* header: calm eyebrow, no side lines or diamond ornaments */
body.theme-6 .ebsrvl1__eyebrow {
  background: var(--t6-mint-soft); color: var(--t6-purple);
  border: 0; border-radius: 999px; font-weight: 700; padding: 6px 8px 6px 16px;
  gap: 8px;
}
body.theme-6 .ebsrvl1__eyebrow::before,
body.theme-6 .ebsrvl1__eyebrow::after,
body.theme-6 .ebsrvl1__title::before,
body.theme-6 .ebsrvl1__title::after,
body.theme-6 .ebsrvl1__header::before,
body.theme-6 .ebsrvl1__header::after { content: none !important; display: none !important; }
body.theme-6 .ebsrvl1__eyebrow-dot { display: none; }
body.theme-6 .ebsrvl1__count { background: #fff; color: var(--t6-purple); border-radius: 999px; padding: 2px 10px; font-size: .8rem; }
body.theme-6 .ebsrvl1__title { color: var(--t6-purple-deep); font-weight: 800; }
body.theme-6 .ebsrvl1__subtitle { color: var(--t6-muted); }

/* cards */
body.theme-6 .ebsrvl1__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin-inline: auto;
}
body.theme-6 .ebsrvl1__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--t6-lavender-mid);
  border-radius: 1.75rem;
  box-shadow: var(--t6-shadow-sm);
  overflow: hidden;
  isolation: isolate;
  rotate: 0deg;
  transition: translate .45s var(--t6-ease), box-shadow .35s ease, border-color .35s ease;
}
/* soft mint corner blob as a quiet accent */
body.theme-6 .ebsrvl1__card::before {
  content: "";
  display: block;
  position: absolute; z-index: -1;
  width: 120px; height: 120px;
  top: -52px; inset-inline-end: -46px;
  background: var(--t6-mint-soft);
  border-radius: 58% 42% 55% 45% / 50% 58% 42% 50%;
  transition: background .35s ease, transform .5s var(--t6-ease);
}
body.theme-6 .ebsrvl1__card::after { display: none; }
body.theme-6 .ebsrvl1__card:hover { translate: 0 -4px; box-shadow: var(--t6-shadow); border-color: var(--t6-mint); }
body.theme-6 .ebsrvl1__card:hover::before { transform: scale(1.15); }

body.theme-6 .ebsrvl1__card-num { display: none; }
body.theme-6 .ebsrvl1__card-icon {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 50%;
  background: var(--t6-mint); color: var(--t6-purple-deep);
  display: grid; place-items: center;
  box-shadow: 0 8px 16px -8px rgba(90, 45, 130, .35);
  border: 0; margin: 0;
  font-size: 18px;
}
body.theme-6 .ebsrvl1__card-icon img { border-radius: 50%; }
body.theme-6 .ebsrvl1__card-body { padding: 0; text-align: start; min-width: 0; }
body.theme-6 .ebsrvl1__card-title { color: var(--t6-purple-deep); font-weight: 800; font-size: 1.15rem; margin: 2px 0 6px; }
body.theme-6 .ebsrvl1__card-city {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--t6-lavender); color: var(--t6-purple);
  border-radius: 999px; padding: 3px 12px; font-size: .8rem; font-weight: 700;
}
body.theme-6 .ebsrvl1__card-address {
  color: var(--t6-muted); font-size: .92rem; line-height: 1.8; margin: 10px 0 0;
  display: block; overflow: visible; -webkit-line-clamp: unset; max-width: none; white-space: normal;
}
