/* Master Splinter — Service pages (standalone, no dependency on bundle.css) */

:root {
  --brand: #82cfe2;
  --brand-dark: #4aa0ba;
  --brand-deep: #0f5f75;
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-2: #eef7fb;
  --ink: #101418;
  --ink-2: #4b5866;
  --ink-3: #78848f;
  --line: #dbe8f0;
  --ok: #1c8a5b;
  --warn: #a8641a;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --shadow: 0 18px 40px -28px rgba(16, 20, 24, .45);
  --font: "Cairo", "Segoe UI", Tahoma, "Noto Kufi Arabic", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #0a0e13;
  --surface: #121a23;
  --surface-2: #17212c;
  --ink: #eaf3f8;
  --ink-2: #a9bccb;
  --ink-3: #7d92a2;
  --line: #22303c;
  --brand-deep: #82cfe2;
  --shadow: 0 20px 50px -30px rgba(0, 0, 0, .85);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Grid/flex children must be allowed to shrink below intrinsic size (RTL + images) */
.hero__grid > *, .groups > *, .why > *, .steps > *, .related > *,
.hub__grid > *, .foot__grid > *, .topbar__in > *, .hero__cta > *, .cta__btns > * { min-width: 0; }
.hero__media img, .hero__media--icon { max-width: 100%; }


.skip {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--brand); color: #06212a; padding: 10px 16px; z-index: 999;
  border-radius: 0 0 10px 10px; font-weight: 600;
}
.skip:focus { inset-inline-start: 16px; }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__in {
  display: flex; align-items: center; gap: 14px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.brand img { width: 42px; height: 42px; border-radius: 12px; object-fit: contain; }
.brand b { display: block; font-size: 15px; line-height: 1.2; font-weight: 700; }
.brand span { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.4; }

.topnav { display: flex; align-items: center; gap: 6px; }
.topnav a {
  font-size: 13.5px; color: var(--ink-2); padding: 8px 10px; border-radius: 9px;
}
.topnav a:hover { color: var(--ink); background: var(--surface-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
  font-family: inherit; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--wa { background: #1faa59; color: #fff; }
.btn--wa:hover { background: #189049; }
.btn--brand { background: var(--brand); color: #06212a; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: 9px 14px; font-size: 13px; border-radius: 10px; }

/* ---------- Breadcrumb ---------- */
.crumbs { padding: 16px 0 0; font-size: 12.5px; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-inline-start: 6px; color: var(--ink-3); }
.crumbs a:hover { color: var(--brand-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { padding: 26px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: flex; width: fit-content; margin-inline-end: auto;
  align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2px;
  color: var(--brand-deep); background: var(--surface-2);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 14px;
}
h1 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); line-height: 1.35; margin: 0 0 14px; font-weight: 700; }
.hero__lead { font-size: 16.5px; color: var(--ink-2); margin: 0 0 22px; max-width: 58ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero__stats div b { display: block; font-size: 20px; color: var(--ink); line-height: 1.2; }
.hero__stats div span { font-size: 12px; color: var(--ink-3); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface-2);
}
.hero__media--icon {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface-2);
}
.hero__media--icon svg { width: 96px; height: 96px; color: var(--brand-dark); }
.hero__tag {
  position: absolute; inset-block-end: 14px; inset-inline-start: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px 14px; font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow);
}

/* ---------- Sections ---------- */
.sec { padding: 46px 0; }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec__head { max-width: 70ch; margin-bottom: 26px; }
.sec__head h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 8px; font-weight: 700; }
.sec__head p { margin: 0; color: var(--ink-2); font-size: 15px; }

.prose { max-width: 78ch; }
.prose p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Groups ---------- */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.group {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.sec--alt .group { background: var(--surface-2); }
.group h3 { font-size: 15.5px; margin: 0 0 6px; font-weight: 700; }
.group p { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-3); }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.group li {
  position: relative; padding-inline-start: 20px; font-size: 14px; color: var(--ink-2);
}
.group li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.why__card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px;
  background: var(--surface-2); color: var(--brand-deep); font-weight: 700; font-size: 13px;
}
.why__card h3 { font-size: 15px; margin: 0 0 6px; }
.why__card p { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.sec--alt .step { background: var(--surface-2); }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #06212a;
  font-size: 13px; font-weight: 700; margin-bottom: 10px;
}
.step h3 { font-size: 14.5px; margin: 0 0 6px; }
.step p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* ---------- Coverage ---------- */
.cov__block { margin-bottom: 20px; }
.cov__block h3 { font-size: 15px; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12.5px; color: var(--ink-2); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.cov__note {
  font-size: 13.5px; color: var(--ink-2); background: var(--surface-2);
  border-inline-start: 3px solid var(--brand); border-radius: 10px;
  padding: 14px 16px; margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0 18px;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-size: 14.5px; font-weight: 600; display: flex; gap: 12px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-inline-start: auto; color: var(--brand-deep);
  font-size: 20px; line-height: 1; font-weight: 400; flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; font-size: 14px; color: var(--ink-2); }

/* ---------- Related ---------- */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rel {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; transition: border-color .15s ease, transform .15s ease;
}
.rel:hover { border-color: var(--brand); transform: translateY(-2px); }
.rel b { font-size: 14.5px; }
.rel span { font-size: 13px; color: var(--ink-3); }
.rel i { font-size: 12px; color: var(--brand-deep); font-style: normal; margin-top: auto; padding-top: 8px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, #0d2a34 0%, #10414f 100%);
  border-radius: 22px; padding: 38px 32px; color: #eaf7fb; text-align: center;
}
.cta h2 { font-size: clamp(1.2rem, 2.6vw, 1.6rem); margin: 0 0 10px; }
.cta p { margin: 0 auto 22px; max-width: 60ch; color: #b9d8e2; font-size: 15px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta .btn--ghost { color: #eaf7fb; border-color: rgba(255, 255, 255, .28); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 34px 0 26px; margin-top: 10px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h4 { font-size: 13.5px; margin: 0 0 10px; }
.foot p { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot a { font-size: 13px; color: var(--ink-2); }
.foot a:hover { color: var(--brand-deep); }
.foot__bar {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
}

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px;
  background: #1faa59; color: #fff; border-radius: 999px;
  padding: 12px 18px; font-size: 14px; font-weight: 600;
  box-shadow: 0 14px 30px -12px rgba(31, 170, 89, .7);
}
.fab:hover { background: #189049; }

/* ---------- Hub page ---------- */
.hub__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hub__card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.hub__card:hover { border-color: var(--brand); transform: translateY(-2px); }
.hub__card h3 { font-size: 15px; margin: 0 0 6px; }
.hub__card p { font-size: 13.5px; color: var(--ink-2); margin: 0 0 12px; }
.hub__card ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 5px; }
.hub__card li { font-size: 12.5px; color: var(--ink-3); padding-inline-start: 14px; position: relative; }
.hub__card li::before { content: "•"; position: absolute; inset-inline-start: 0; color: var(--brand); }
.hub__card i { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--brand-deep); margin-top: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__media { order: -1; }
  .hero__media img, .hero__media--icon { aspect-ratio: 16/9; }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related { grid-template-columns: 1fr; }
  .hub__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .topnav a:not(.btn) { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .groups { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hub__grid { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 16px; }
  .cta { padding: 28px 20px; }
  .fab { inset-block-end: 14px; inset-inline-end: 14px; padding: 12px 16px; }
  .fab span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .fab, .cta, .foot { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Google reviews badge (self-contained) ---------- */
.cta__reviews { margin-bottom: 16px; min-height: 34px; }
.cta__reviews-link {
  font-size: 13px; color: #b9d8e2; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 1px;
}
.cta__reviews-link:hover { color: #fff; border-bottom-color: #fff; }
.rv-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  color: #eaf7fb; text-decoration: none; font-size: 12.5px; line-height: 1.2;
}
.rv-badge strong { font-size: 15px; font-weight: 700; color: #fff; }
.rv-badge span { color: #b9d8e2; }
.rv-stars { display: inline-flex; gap: 2px; font-size: 13px; line-height: 1; }
.rv-star { color: rgba(245, 179, 1, .28); }
.rv-star.is-on { color: #f5b301; }

/* ---------- language switch ---------- */
.langswitch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 32px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  color: var(--ink-2); text-decoration: none; line-height: 1;
}
.langswitch:hover { border-color: var(--brand); color: var(--ink); }

/* LTR tweaks */
[dir="ltr"] .crumbs li:not(:last-child)::after { content: "›"; }
[dir="ltr"] .rel i { padding-top: 8px; }
