/* ============================================================
   تاكسي الجابرية — هوية فاتحة جريئة (أصفر تاكسي + سماوي + أسود)
   ============================================================ */

:root {
  --amber: #ffb020;
  --amber-deep: #f08c00;
  --amber-soft: #fff4dc;
  --sky: #3fa3d8;
  --sky-deep: #2a87bc;
  --sky-soft: #e6f3fb;

  --ink: #101418;
  --ink-2: #2b323b;
  --body: #55606d;
  --muted: #8b95a3;

  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --line: #e4e9f0;

  --wa: #25d366;
  --wa-deep: #17a54a;

  --r: 16px;
  --r-lg: 26px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --hard: 5px 5px 0 var(--ink);
  --hard-sm: 3px 3px 0 var(--ink);
  --soft: 0 18px 40px -24px rgba(16, 20, 24, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 900; margin: 0 0 .6rem; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.6px; }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1rem; }
a { color: var(--sky-deep); text-decoration: none; }
img, svg { max-width: 100%; }
ul { padding-inline-start: 1.1rem; }
strong { color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; position: relative; }
.center { text-align: center; }
section { padding: clamp(54px, 7vw, 96px) 0; position: relative; }
.bg-2 { background: var(--bg-2); }
.bg-sky { background: var(--sky-soft); }
.bg-amber { background: var(--amber-soft); }

/* ===== شريط الكاروهات (توقيع بصري للتاكسي) ===== */
.checker {
  height: 14px; width: 100%;
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 14px 14px;
  background-color: var(--amber);
}

/* ===== العناوين ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 800; letter-spacing: .6px;
  color: var(--ink); background: var(--amber);
  border: 2px solid var(--ink); box-shadow: var(--hard-sm);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow svg { width: 15px; height: 15px; }
.sec-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.sec-head p { font-size: 1.03rem; margin: 14px 0 0; }
.sec-head h2 mark { background: var(--amber); color: var(--ink); padding: 0 8px; border-radius: 6px; }

/* ===== أزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 800; cursor: pointer;
  padding: 14px 28px; border-radius: 999px; border: 2px solid var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s;
  white-space: nowrap; box-shadow: var(--hard);
}
.btn:active { transform: translate(2px, 2px); box-shadow: var(--hard-sm); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #2ce06f; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffc247; }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: #55b2e2; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1d2530; }
.btn-white { background: #fff; color: var(--ink); }
.btn-lg { padding: 17px 34px; font-size: 1.07rem; }

/* ===== الهيدر ===== */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 900;
  background: #fff; border-bottom: 2px solid var(--ink);
  transition: box-shadow .3s;
}
.header.solid { box-shadow: 0 6px 0 rgba(16, 20, 24, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo svg, .logo img { height: 50px; width: auto; }
.logo-txt b { display: block; font-size: 1.16rem; color: var(--ink); font-weight: 900; line-height: 1.1; }
.logo-txt span { font-size: .66rem; letter-spacing: 2.4px; color: var(--sky-deep); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  color: var(--ink); font-weight: 700; font-size: .95rem;
  padding: 9px 13px; border-radius: 10px; transition: .2s;
}
.nav a:hover { background: var(--amber); }
.nav a.btn { margin-inline-start: 10px; }
.nav a.btn-wa, .nav a.btn-wa:hover { color: #fff; }
.burger { display: none; background: var(--amber); border: 2px solid var(--ink); border-radius: 10px; cursor: pointer; padding: 8px 9px; box-shadow: var(--hard-sm); }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 3px; margin: 4px 0; transition: .3s; }

/* ===== الهيرو ===== */
.hero { position: relative; padding: 140px 0 70px; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; inset-block-start: -160px; inset-inline-start: -12%;
  width: 68%; height: 150%; background: var(--amber); transform: rotate(-9deg); z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset-block-end: -120px; inset-inline-end: -8%;
  width: 42%; height: 70%; background: var(--sky-soft); transform: rotate(6deg); z-index: 0;
}
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.hero-in > * { min-width: 0; }
.hero h1 { margin-bottom: 16px; }
.hero h1 .hl { background: var(--ink); color: var(--amber); padding: 0 12px; border-radius: 8px; display: inline-block; }
.hero-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 540px; margin-bottom: 26px; font-weight: 600; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
  background: #fff; border: 2px solid var(--ink); box-shadow: var(--hard-sm);
  color: var(--ink); font-size: .85rem; font-weight: 800; padding: 7px 16px; border-radius: 999px;
}
.dot-live { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 11px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.hero-btns { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 24px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 700;
  color: var(--ink); background: #fff; border: 2px solid var(--ink);
  padding: 6px 13px; border-radius: 999px;
}
.chip svg { width: 14px; height: 14px; color: var(--sky-deep); }

/* كارت الطلب */
.order-card {
  background: #fff; border: 3px solid var(--ink); border-radius: var(--r-lg);
  padding: 26px 24px; box-shadow: 8px 8px 0 var(--ink);
}
.order-card h3 { font-size: 1.24rem; margin-bottom: 4px; }
.order-card .muted { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: .82rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.field select, .field input {
  width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink); font-weight: 600;
  padding: 12px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff;
  transition: box-shadow .2s, background .2s;
}
.field select:focus, .field input:focus { outline: 0; background: var(--amber-soft); box-shadow: var(--hard-sm); }
.order-card .btn { width: 100%; }
.order-note { font-size: .78rem; text-align: center; margin: 12px 0 0; color: var(--muted); }

/* أرقام سريعة */
.stats { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 3px dashed var(--ink); }
.stat b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--ink); line-height: 1.05; }
.stat span { font-size: .8rem; color: var(--ink-2); font-weight: 700; }

/* ===== الكروت ===== */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: block; background: #fff;
  border: 2.5px solid var(--ink); border-radius: var(--r);
  padding: 22px 20px; box-shadow: var(--hard);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); background: var(--amber-soft); }
.card h3 { margin-bottom: 7px; }
.card p { font-size: .93rem; margin: 0; }
.card-photo {
  display: block; height: 156px; border-radius: 12px; margin: -4px 0 15px;
  border: 2px solid var(--ink); background-size: cover; background-position: center; background-color: var(--bg-2);
}
.icon-box {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--amber); border: 2.5px solid var(--ink); color: var(--ink);
  margin-bottom: 14px; box-shadow: var(--hard-sm);
}
.icon-box.sky { background: var(--sky); color: #fff; }
.icon-box svg { width: 23px; height: 23px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 800; font-size: .9rem; color: var(--sky-deep); }
.card-link svg { width: 15px; height: 15px; transition: transform .25s; }
.card:hover .card-link svg { transform: translateX(-4px); }

/* ===== القطع ===== */
.blocks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.block {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px;
  background: #fff; border: 2.5px solid var(--ink); box-shadow: var(--hard-sm);
  font-weight: 900; color: var(--ink); text-align: center; line-height: 1.2; font-size: .95rem;
  transition: .2s var(--ease);
}
.block:hover { background: var(--amber); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.block b { display: block; font-size: 1.5rem; }
.block span { font-size: .7rem; font-weight: 700; color: var(--body); }

/* ===== الخطوات ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: #fff; border: 2.5px solid var(--ink); border-radius: var(--r);
  padding: 26px 22px; box-shadow: var(--hard); position: relative;
}
.step-n {
  position: absolute; inset-block-start: -20px; inset-inline-start: 20px;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: #fff; border: 2.5px solid var(--ink);
  font-weight: 900; font-size: 1.2rem; box-shadow: var(--hard-sm);
}
.step h3 { margin-top: 14px; }
.step p { font-size: .93rem; margin: 0; }

/* ===== الخريطة ===== */
.map-shell { display: grid; grid-template-columns: 320px 1fr; gap: 20px; }
.map-box { height: 500px; border-radius: var(--r); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--hard); }
#map, .mini-map { width: 100%; height: 100%; }
.area-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.pill {
  font-family: inherit; font-size: .84rem; font-weight: 700; cursor: pointer;
  background: #fff; border: 2px solid var(--ink); color: var(--ink);
  padding: 7px 13px; border-radius: 999px; transition: .18s;
}
.pill:hover { background: var(--amber); }
.pill.on { background: var(--ink); color: var(--amber); }
.marker-pin {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50% 50% 50% 5px; transform: rotate(45deg);
  border: 2.5px solid var(--ink); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5);
}
.marker-pin span { transform: rotate(-45deg); display: grid; place-items: center; }
.marker-pin svg { width: 18px; height: 18px; }
.leaflet-container { font-family: "Cairo", sans-serif; }
.leaflet-popup-content-wrapper { border-radius: 14px; border: 2px solid var(--ink); }
.leaflet-popup-content { margin: 14px 16px; text-align: center; direction: rtl; }
.pop-title { font-weight: 900; color: var(--ink); font-size: 1rem; display: block; }
.pop-sub { font-size: .8rem; color: var(--body); display: block; margin-bottom: 9px; }
.pop-btn { display: inline-block; background: var(--wa); color: #fff; font-weight: 800; font-size: .85rem; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--ink); }

/* ===== روابط المناطق ===== */
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.area-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #fff; border: 2px solid var(--ink); border-radius: 12px;
  padding: 13px 15px; font-weight: 800; color: var(--ink); font-size: .92rem; transition: .18s var(--ease);
}
.area-link svg { width: 15px; height: 15px; color: var(--sky-deep); flex: none; }
.area-link:hover { background: var(--sky); color: #fff; transform: translate(-2px, -2px); box-shadow: var(--hard-sm); }
.area-link:hover svg { color: #fff; }

/* ===== الأسئلة ===== */
.faq { max-width: 860px; margin-inline: auto; }
.qa { background: #fff; border: 2.5px solid var(--ink); border-radius: 14px; margin-bottom: 11px; overflow: hidden; }
.qa[open] { box-shadow: var(--hard); background: var(--amber-soft); }
.qa summary {
  cursor: pointer; list-style: none; padding: 17px 22px; font-weight: 800; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--sky-deep); transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .ans { padding: 0 22px 19px; font-size: .95rem; }

/* ===== شريط الدعوة ===== */
.cta-band {
  background: var(--amber); border: 3px solid var(--ink); border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 54px); text-align: center; box-shadow: 8px 8px 0 var(--ink);
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--ink); }
.cta-band p { color: var(--ink-2); max-width: 620px; margin-inline: auto; font-weight: 600; }
.cta-band .btns { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ===== الصفحات الداخلية ===== */
.page-hero { position: relative; padding: 130px 0 54px; overflow: hidden; background: var(--bg-2); border-bottom: 3px solid var(--ink); }
.page-hero::before {
  content: ""; position: absolute; inset-block-start: -120px; inset-inline-start: -10%;
  width: 55%; height: 140%; background: var(--amber); opacity: .55; transform: rotate(-8deg);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero p { color: var(--ink-2); max-width: 740px; margin: 0; font-weight: 600; }
.crumbs { font-size: .84rem; color: var(--body); margin-bottom: 12px; font-weight: 700; }
.crumbs a { color: var(--ink); }
.crumbs span { margin: 0 6px; }

.prose { max-width: 830px; }
.prose h2 { margin-top: 34px; scroll-margin-top: 100px; }
.prose h2::after { content: ""; display: block; width: 54px; height: 4px; background: var(--amber); border-radius: 3px; margin-top: 10px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--sky-deep); }
.post-img { margin: 28px 0; }
.post-img img { width: 100%; border-radius: var(--r); border: 2.5px solid var(--ink); box-shadow: var(--hard); max-height: 430px; object-fit: cover; display: block; }
.post-img figcaption { font-size: .84rem; color: var(--muted); text-align: center; margin-top: 9px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { font-size: .8rem; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--ink); padding: 5px 13px; border-radius: 999px; }
a.tag:hover { background: var(--amber); }
.tag-on { background: var(--ink); color: var(--amber); }
.info-box { background: var(--sky-soft); border: 2.5px solid var(--ink); border-radius: 14px; padding: 18px 22px; margin: 24px 0; }
.info-box p:last-child { margin: 0; }

/* ===== الفوتر ===== */
.footer { background: var(--ink); color: #b9c3d0; padding: 56px 0 24px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #b9c3d0; font-size: .92rem; }
.footer a:hover { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 32px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2b3440; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; }
.foot-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.foot-logo svg { height: 46px; }
.foot-logo b { color: #fff; font-size: 1.12rem; display: block; }
.foot-logo span { color: var(--amber); font-size: .68rem; letter-spacing: 1.8px; }

/* ===== شريط سفلي ثابت (بدل الدوك الجانبي) ===== */
.callbar {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 940;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  background: #fff; border-top: 3px solid var(--ink);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px -16px rgba(0,0,0,.5);
}
.callbar .btn { width: 100%; box-shadow: var(--hard-sm); }
body { padding-bottom: 78px; }

/* ===== ظهور تدريجي ===== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

.tel { direction: ltr; unicode-bidi: isolate; display: inline-block; font-variant-numeric: tabular-nums; }

/* ============ الموبايل ============ */
/* شبكات ذات أعمدة خاصة */
.areas-grid.areas-4 { grid-template-columns: repeat(4, 1fr); }
.blocks.blocks-4 { grid-template-columns: repeat(4, 1fr); }
.grid.g2.with-aside { grid-template-columns: 1fr 310px; align-items: start; }
.grid.g2.narrow { max-width: 840px; margin-inline: auto; }

/* حماية عامة من التمدد الأفقي */
html, body { max-width: 100%; overflow-x: hidden; }
.grid, .areas-grid, .blocks, .map-shell, .hero-in { min-width: 0; }
.grid > *, .areas-grid > *, .blocks > * { min-width: 0; }
img, svg, iframe, video { max-width: 100%; height: auto; }
.prose { overflow-wrap: anywhere; word-break: break-word; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 1020px) {
  .grid.g2.with-aside { grid-template-columns: 1fr; }
  .areas-grid.areas-4 { grid-template-columns: repeat(3, 1fr); }
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .map-shell { grid-template-columns: 1fr; }
  .map-box { height: 400px; }
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .blocks { grid-template-columns: repeat(4, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 50px 0; }
  .areas-grid.areas-4 { grid-template-columns: repeat(2, 1fr); }
  .blocks.blocks-4 { grid-template-columns: repeat(3, 1fr); }
  .grid.g2.with-aside { grid-template-columns: 1fr; }
  .nav {
    position: fixed; inset-block-start: 0; inset-inline-start: 0; height: 100svh; width: min(84vw, 320px);
    background: #fff; border-inline-end: 3px solid var(--ink);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 6px;
    padding: 28px; transform: translateX(100%); transition: transform .35s var(--ease); z-index: 999;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.05rem; padding: 12px 14px; border: 2px solid transparent; }
  .nav a.btn { margin: 12px 0 0; }
  .burger { display: block; z-index: 1000; }
  .burger.x span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.x span:nth-child(2) { opacity: 0; }
  .burger.x span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .hero { padding: 104px 0 50px; }
  .hero h1 { font-size: 2.05rem; }
  .hero::before { width: 120%; inset-inline-start: -20%; }
  .g4, .g3, .g2 { grid-template-columns: 1fr; }
  .blocks { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .order-card { padding: 20px 18px; box-shadow: 5px 5px 0 var(--ink); }
  .stats { gap: 18px; }
  .stat b { font-size: 1.35rem; }
  aside .card { position: static !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ترقية التصميم — صور، بنتو، عدادات، تفاصيل
   ============================================================ */

/* صورة داخل الهيرو */
.hero-media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink);
  aspect-ratio: 4/3; background: var(--bg-2);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline: 0; height: 40%;
  background: linear-gradient(to top, rgba(16,20,24,.82), transparent);
}
.hero-media .badge {
  position: absolute; inset-block-end: 16px; inset-inline-start: 16px; z-index: 2;
  background: var(--amber); border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 8px 18px; font-weight: 900; color: var(--ink); font-size: .9rem; box-shadow: var(--hard-sm);
}
.hero-media .strip {
  position: absolute; inset-block-start: 0; inset-inline: 0; height: 10px; z-index: 2;
  background-image:
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%),
    linear-gradient(45deg, var(--ink) 25%, transparent 25%, transparent 75%, var(--ink) 75%);
  background-size: 20px 20px; background-position: 0 0, 10px 10px; background-color: var(--amber);
}

/* شبكة بنتو */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento > * { border: 2.5px solid var(--ink); border-radius: var(--r); box-shadow: var(--hard); overflow: hidden; }
.bento .b-wide { grid-column: span 2; }
.bento .b-tall { grid-row: span 2; }
.b-photo { position: relative; min-height: 210px; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.b-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,20,24,.85), rgba(16,20,24,.05)); }
.b-photo .in { position: relative; z-index: 2; padding: 18px 20px; color: #fff; }
.b-photo .in h3 { color: #fff; margin: 0 0 4px; font-size: 1.08rem; }
.b-photo .in p { color: #e6ebf2; font-size: .87rem; margin: 0; }
.b-solid { padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; }
.b-amber { background: var(--amber); }
.b-sky { background: var(--sky); color: #fff; }
.b-sky h3, .b-sky b { color: #fff; }
.b-ink { background: var(--ink); }
.b-ink h3 { color: var(--amber); }
.b-ink p { color: #c6cfdb; }
.b-solid .num { font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--ink); }
.b-sky .num, .b-ink .num { color: #fff; }
.b-solid .lbl { font-weight: 800; font-size: .9rem; }

/* عدادات */
.counter { font-variant-numeric: tabular-nums; }

/* صورة في رأس الصفحات الداخلية */
.page-hero.with-photo { padding-bottom: 0; }
.page-hero .ph-media {
  margin-top: 26px; border: 3px solid var(--ink); border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg);
  overflow: hidden; height: 190px; background-size: cover; background-position: center; box-shadow: 8px -8px 0 var(--amber);
}

/* شريط ثقة */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  background: var(--ink); padding: 16px; border-radius: var(--r);
}
.trust-strip span {
  display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: .9rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 8px 16px; border-radius: 999px;
}
.trust-strip svg { width: 16px; height: 16px; color: var(--amber); }

/* كروت الخدمات بصورة */
.card-photo { box-shadow: none; }
.card:hover .card-photo { filter: saturate(1.1); }

/* عنوان بخط سفلي مائل */
.sec-head h2 mark { box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* شبكات ذات أعمدة خاصة */
.areas-grid.areas-4 { grid-template-columns: repeat(4, 1fr); }
.blocks.blocks-4 { grid-template-columns: repeat(4, 1fr); }
.grid.g2.with-aside { grid-template-columns: 1fr 310px; align-items: start; }
.grid.g2.narrow { max-width: 840px; margin-inline: auto; }

/* حماية عامة من التمدد الأفقي */
html, body { max-width: 100%; overflow-x: hidden; }
.grid, .areas-grid, .blocks, .map-shell, .hero-in { min-width: 0; }
.grid > *, .areas-grid > *, .blocks > * { min-width: 0; }
img, svg, iframe, video { max-width: 100%; height: auto; }
.prose { overflow-wrap: anywhere; word-break: break-word; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 1020px) {
  .grid.g2.with-aside { grid-template-columns: 1fr; }
  .areas-grid.areas-4 { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .b-wide { grid-column: span 2; }
  .bento .b-tall { grid-row: span 1; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .bento .b-wide { grid-column: span 1; }
  .hero-media { aspect-ratio: 16/10; box-shadow: 5px 5px 0 var(--ink); }
  .page-hero .ph-media { height: 140px; }
}
