/* =========================================================
   MSK Medical Laboratory — Design System
   RTL / Arabic · Mobile-first · No horizontal overflow
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --brand: #0b5cab;
  --brand-dark: #073d76;
  --brand-darker: #052b53;
  --brand-mid: #1372c9;
  --brand-soft: #e9f2fb;
  --brand-soft-2: #d6e7f7;

  --accent: #10b3a6;
  --accent-dark: #0a8d83;
  --accent-soft: #e2f7f5;

  --ink: #0f2438;
  --ink-2: #274257;
  --muted: #61798e;
  --line: #e3eaf1;
  --line-2: #eef3f8;
  --bg: #f6f9fc;
  --card: #ffffff;

  --ok: #17945f;
  --ok-soft: #e6f6ee;
  --warn: #b8791a;
  --warn-soft: #fdf3e2;
  --danger: #c8452f;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-sm: 0 1px 2px rgba(15, 36, 56, .06), 0 2px 8px rgba(15, 36, 56, .04);
  --sh: 0 2px 6px rgba(15, 36, 56, .06), 0 10px 28px rgba(15, 36, 56, .07);
  --sh-lg: 0 8px 20px rgba(15, 36, 56, .08), 0 24px 60px rgba(15, 36, 56, .10);

  --container: 1200px;
  --gap: clamp(16px, 2.4vw, 28px);
  --sec-y: clamp(48px, 7vw, 92px);
  --header-h: 68px;

  --ff: "Cairo", "Segoe UI", "Tahoma", system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--ff);
  font-size: clamp(15px, .35vw + 14.4px, 16.5px);
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

table { border-collapse: collapse; width: 100%; }

/* يجب أن تتفوق سمة hidden على أي display في الكلاسات */
[hidden] { display: none !important; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.35;
  font-weight: 800;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.7rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.4rem); }
h4 { font-size: clamp(1rem, 1.3vw, 1.14rem); }

p { overflow-wrap: break-word; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-soft-2); color: var(--brand-darker); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 28px);
}

.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(34px, 5vw, 60px); }
.section--soft { background: #fff; }
.section--brand { background: var(--brand-soft); }

.grid { display: grid; gap: var(--gap); }
.grid > * { min-width: 0; }

.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.sec-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.sec-head p {
  color: var(--muted);
  margin-top: 12px;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-soft-2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 18px; }
.mt-5 { margin-top: 34px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.btn svg { width: 19px; height: 19px; flex: none; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 92, 171, .28);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(11, 92, 171, .36); }

.btn--accent {
  background: linear-gradient(135deg, #1ec7b8, var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 179, 166, .3);
}

.btn--wa { background: #25a566; color: #fff; box-shadow: 0 6px 18px rgba(37, 165, 102, .3); }

.btn--ghost {
  background: #fff;
  color: var(--brand-dark);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--outline-light {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  backdrop-filter: blur(4px);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .2); }

.btn--sm { padding: 9px 18px; font-size: .87rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-row--center { justify-content: center; }

/* ---------- 5. Header ---------- */
.topbar {
  background: var(--brand-darker);
  color: #cfe2f4;
  font-size: .84rem;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
  padding-block: 5px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.topbar__item svg { width: 15px; height: 15px; opacity: .85; flex: none; }
.topbar__item:hover { color: #fff; }

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 179, 166, .18);
  color: #7ff0e4;
  border: 1px solid rgba(16, 179, 166, .35);
  padding: 3px 12px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #26e0cd;
  flex: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 36, 56, .08); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo__mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-darker));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(11, 92, 171, .32);
  flex: none;
}

.logo__txt { display: flex; flex-direction: column; line-height: 1.25; }
.logo__name { font-weight: 800; color: var(--brand-darker); font-size: 1.06rem; }
.logo__sub { font-size: .72rem; color: var(--muted); font-weight: 600; }

/* Desktop menu */
.menu {
  display: none;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.menu__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink-2);
  transition: background .18s, color .18s;
  white-space: nowrap;
}

.menu__link:hover { background: var(--brand-soft); color: var(--brand-dark); }
.menu__link[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.menu__link svg { width: 13px; height: 13px; transition: transform .2s; }

.nav { position: relative; }

.has-drop { position: relative; }
/* القائمة العريضة تتموضع بالنسبة للحاوية كلها حتى لا تخرج خارج الشاشة أبدًا */
.has-drop--wide { position: static; }
.has-drop:hover > .menu__link svg { transform: rotate(180deg); }

.drop {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 50%;
  transform: translateX(50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 12px;
  display: grid;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  max-height: 74vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drop--wide {
  width: min(660px, 100%);
  grid-template-columns: 1fr 1fr;
}

.drop--narrow { width: 250px; }

.has-drop:hover .drop,
.has-drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(50%) translateY(0);
}

.drop__link {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drop__link::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.drop__link:hover { background: var(--brand-soft); color: var(--brand-dark); }

.drop__all {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 11px;
  text-align: center;
  background: var(--brand-soft);
  border-radius: 12px;
  font-weight: 700;
  font-size: .89rem;
  color: var(--brand-dark);
}
.drop__all:hover { background: var(--brand-soft-2); }

.nav__cta { display: none; flex: none; }

/* Hamburger */
.burger {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  gap: 5px;
  flex: none;
  align-content: center;
}

.burger span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}

body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(7, 32, 54, .5);
  opacity: 0;
  transition: opacity .28s ease;
  backdrop-filter: blur(2px);
}

.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(90vw, 350px);
  background: #fff;
  box-shadow: var(--sh-lg);
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}

body.nav-open .drawer { visibility: visible; pointer-events: auto; }
body.nav-open .drawer__scrim { opacity: 1; }
body.nav-open .drawer__panel { transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.drawer__close {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}

.drawer__body {
  padding: 12px 14px 22px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.drawer__link {
  display: block;
  padding: 12px 14px;
  border-radius: 11px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
}
.drawer__link:hover, .drawer__link[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 11px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: start;
  border-bottom: 1px solid var(--line-2);
}
.acc__btn svg { width: 14px; height: 14px; transition: transform .25s; flex: none; }
.acc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.acc__btn[aria-expanded="true"] { color: var(--brand); }

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }

.acc__panel a {
  display: block;
  padding: 9px 14px;
  padding-inline-start: 30px;
  font-size: .88rem;
  color: var(--muted);
  border-radius: 9px;
}
.acc__panel a:hover { color: var(--brand); background: var(--brand-soft); }

.drawer__foot {
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
  flex: none;
  background: var(--bg);
}

/* ---------- 6. Hero (صورة خلفية كاملة للسيكشن) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e9f1f8;
}

/* الصورة نفسها كعنصر img للأداء وتحسين LCP */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  z-index: -2;
}

/* طبقة تفتيح متدرجة: شفافة عند الصورة (يمين) وبيضاء عند النص (يسار) */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(115% 85% at 8% 50%, rgba(255, 255, 255, .5), transparent 62%),
    linear-gradient(to left,
      rgba(255, 255, 255, 0) 20%,
      rgba(244, 249, 253, .70) 44%,
      rgba(244, 249, 253, .93) 64%,
      rgba(244, 249, 253, .99) 100%);
}

/* نقشة سداسيات خفيفة خلف النص */
.hero__veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 1 51 14.5v27L28 55 5 41.5v-27z' fill='none' stroke='%230b5cab' stroke-opacity='.12' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 64px;
  opacity: .75;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .35) 32%, transparent 52%);
  mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .35) 32%, transparent 52%);
}

.hero__in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 56vw, 640px);
  padding-block: clamp(40px, 5.5vw, 76px);
}

/* في RTL: margin-inline-start:auto يدفع الكتلة لليسار فوق الجزء الفاتح من الصورة */
.hero__text {
  width: 100%;
  max-width: 620px;
  margin-inline-start: auto;
}

.hero__title {
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--brand-darker);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.hero__title span { display: block; color: var(--brand-mid); }

.hero__lead {
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
  font-weight: 700;
  color: var(--ink);
}

.hero__sub {
  margin-top: 7px;
  font-size: clamp(.93rem, 1.2vw, 1.06rem);
  color: var(--ink-2);
}

.hero__feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 22px);
  margin-top: clamp(26px, 3.2vw, 40px);
}

.hero__feat { text-align: center; min-width: 0; }

.hero__feat svg {
  width: clamp(24px, 2.4vw, 31px);
  height: clamp(24px, 2.4vw, 31px);
  color: var(--brand);
  margin: 0 auto 9px;
}

.hero__feat b {
  display: block;
  font-size: clamp(.82rem, 1.05vw, .95rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.hero__feat i {
  display: block;
  font-style: normal;
  font-size: clamp(.72rem, .9vw, .82rem);
  color: var(--muted);
  line-height: 1.55;
  margin-top: 2px;
}

.hero .btn-row { margin-top: clamp(24px, 3vw, 36px); }

/* شريط الأرقام أسفل الهيرو */
.trustbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding-block: clamp(22px, 3vw, 34px);
}

/* ---------- 7. Page header (inner pages) ---------- */
.phead {
  background: linear-gradient(135deg, var(--brand-darker), var(--brand));
  color: #fff;
  padding-block: clamp(34px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

.phead::before {
  content: "";
  position: absolute;
  inset-block-start: -50%;
  inset-inline-end: -8%;
  width: 45%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(16, 179, 166, .28), transparent 65%);
}

.phead__in { position: relative; z-index: 1; }
.phead h1 { color: #fff; }
.phead p { color: #c8ddf1; margin-top: 12px; max-width: 68ch; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: .84rem;
  color: #a9c9e6;
  margin-bottom: 14px;
}
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: .55; }

/* ---------- 8. Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--sh-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

a.card:hover, .card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: var(--brand-soft-2);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  flex: none;
}
.card__icon svg { width: 27px; height: 27px; }

.card h3 { margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .93rem; }

.card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.card__count {
  font-size: .8rem;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.card__more {
  color: var(--brand);
  font-weight: 700;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card__more svg { width: 15px; height: 15px; transition: transform .2s; }
a.card:hover .card__more svg { transform: translateX(-4px); }

/* Feature (why us) */
.feat {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feat__ic {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.feat__ic svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.06rem; margin-bottom: 5px; }
.feat p { color: var(--muted); font-size: .92rem; }

/* Steps */
.steps { counter-reset: s; }

.step { position: relative; padding-top: 8px; }

.step__n {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 5px 14px rgba(11, 92, 171, .28);
}

/* ---------- 9. Price table ---------- */
.table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ptable { width: 100%; min-width: 560px; font-size: .94rem; }

.ptable thead th {
  background: var(--brand-darker);
  color: #fff;
  text-align: start;
  padding: 14px 16px;
  font-weight: 700;
  font-size: .89rem;
  white-space: nowrap;
  position: sticky;
  top: 0;
}

.ptable tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}

.ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody tr:nth-child(even) { background: #fafcfe; }
.ptable tbody tr:hover { background: var(--brand-soft); }

.t-name { font-weight: 700; color: var(--ink); }
.t-en { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; direction: ltr; text-align: start; }

.t-price {
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
  font-size: 1rem;
}
.t-price small { font-size: .72rem; font-weight: 600; color: var(--muted); }

.t-time {
  color: var(--muted);
  font-size: .85rem;
  white-space: nowrap;
}

.t-cat {
  font-size: .8rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-block;
  white-space: nowrap;
}

/* Mobile: table → cards */
@media (max-width: 700px) {
  .table-scroll { overflow-x: visible; }
  .ptable { min-width: 0; }
  .ptable thead { display: none; }
  .ptable tbody, .ptable tr, .ptable td { display: block; width: 100%; }

  .ptable tbody tr {
    border-bottom: 1px solid var(--line);
    padding: 14px 16px;
    background: #fff !important;
  }
  .ptable tbody tr:last-child { border-bottom: 0; }

  .ptable tbody td {
    padding: 4px 0;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ptable tbody td::before {
    content: attr(data-label);
    font-size: .8rem;
    color: var(--muted);
    font-weight: 600;
    flex: none;
  }

  .ptable td[data-label="التحليل"] {
    display: block;
    padding-bottom: 8px;
  }
  .ptable td[data-label="التحليل"]::before { display: none; }
  .t-en { text-align: start; }
}

/* Search + filter bar */
.finder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 22px);
  box-shadow: var(--sh-sm);
  margin-bottom: 24px;
}

.field { position: relative; }

.field input,
.field select {
  width: 100%;
  padding: 13px 46px 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color .18s, background .18s;
  font-size: .95rem;
}

.field select { padding-inline: 16px 40px; appearance: none; cursor: pointer; }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.field__ic {
  position: absolute;
  inset-inline-start: 15px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 19px; height: 19px;
  color: var(--muted);
  pointer-events: none;
}

.field select + .field__ic { inset-inline-start: auto; inset-inline-end: 15px; }

.finder__row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.finder__note {
  margin-top: 12px;
  font-size: .86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.finder__note svg { width: 17px; height: 17px; flex: none; }
.finder__note > span { flex: 1 1 auto; min-width: 0; }

.empty {
  padding: 46px 20px;
  text-align: center;
  color: var(--muted);
}
.empty svg { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--line); }

/* ---------- 10. Packages ---------- */
.pkg {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  height: 100%;
}

.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh); border-color: var(--brand-soft-2); }

.pkg--featured {
  border-color: var(--brand);
  box-shadow: 0 10px 34px rgba(11, 92, 171, .14);
}

.pkg__badge {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(16, 179, 166, .32);
}

.pkg h3 { margin-bottom: 8px; }
.pkg > p { color: var(--muted); font-size: .92rem; }

.pkg__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}

.pkg__price b {
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  color: var(--brand);
  font-weight: 800;
  line-height: 1;
}

.pkg__price small { color: var(--muted); font-size: .85rem; font-weight: 600; }
.pkg__price del { color: #9aabbb; font-size: .95rem; }

.pkg__list { display: grid; gap: 9px; margin-bottom: 22px; }

.pkg__list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: .91rem;
  color: var(--ink-2);
}

.pkg__list svg {
  width: 17px; height: 17px;
  color: var(--ok);
  flex: none;
  margin-top: 5px;
}

.pkg .btn { margin-top: auto; }

/* ---------- 11. Articles ---------- */
.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .22s, box-shadow .22s;
}

.post:hover { transform: translateY(-4px); box-shadow: var(--sh); }

.post__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--brand-soft);
}

.post__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.post__cat {
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.post h3 { font-size: 1.08rem; line-height: 1.5; margin-bottom: 9px; }
.post p { color: var(--muted); font-size: .9rem; }
.post .card__more { margin-top: auto; padding-top: 15px; }

/* Article body */
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 46px);
  box-shadow: var(--sh-sm);
}

.article__hero {
  width: 100%;
  border-radius: var(--r);
  margin-bottom: 28px;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.prose { font-size: 1.02rem; line-height: 1.95; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  margin-top: 1.9em;
  padding-inline-start: 14px;
  border-inline-start: 4px solid var(--accent);
  line-height: 1.5;
}

.prose h3 { font-size: 1.14rem; margin-top: 1.6em; }

.prose ul, .prose ol { padding-inline-start: 4px; display: grid; gap: 10px; }

.prose ul li, .prose ol li {
  position: relative;
  padding-inline-start: 26px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: .72em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }

.prose ol li::before {
  content: counter(n);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .28em;
  width: 20px; height: 20px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 50%;
  font-size: .74rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.prose strong { color: var(--ink); font-weight: 700; }

.prose table {
  font-size: .92rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: table;
}

.prose thead th {
  background: var(--brand-soft);
  color: var(--brand-darker);
  text-align: start;
  padding: 11px 14px;
  font-weight: 700;
}

.prose tbody td {
  padding: 11px 14px;
  border-top: 1px solid var(--line-2);
}

.prose .note {
  background: var(--accent-soft);
  border-inline-start: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 17px 20px;
  font-size: .95rem;
  color: var(--ink-2);
  margin-top: 1.8em;
}

.prose .note strong { color: var(--accent-dark); }

.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Article meta head */
.art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: .87rem;
  color: var(--muted);
  padding-bottom: 22px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.art-meta span { display: inline-flex; align-items: center; gap: 6px; }
.art-meta svg { width: 15px; height: 15px; }

/* Sidebar */
.with-side {
  display: grid;
  gap: var(--gap);
  align-items: start;
}

.side { display: grid; gap: 18px; }

.side__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-sm);
}

.side__box h4 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}

.side__list { display: grid; gap: 3px; }

.side__list a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.6;
}
.side__list a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.side__list a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }

.side__cta {
  background: linear-gradient(140deg, var(--brand-dark), var(--brand-darker));
  color: #fff;
  border: 0;
}
.side__cta h4 { color: #fff; border-color: rgba(255, 255, 255, .18); }
.side__cta p { color: #c4dcf2; font-size: .9rem; margin-bottom: 16px; }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; gap: 12px; }

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq__item:has(.faq__q[aria-expanded="true"]) {
  border-color: var(--brand-soft-2);
  box-shadow: var(--sh-sm);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-weight: 700;
  color: var(--ink);
  text-align: start;
  font-size: .99rem;
  line-height: 1.6;
}

.faq__q > span:first-child { flex: 1; }

.faq__q i {
  width: 27px; height: 27px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
  font-style: normal;
  font-size: 1.15rem;
  line-height: 1;
  transition: transform .28s, background .2s, color .2s;
}

.faq__q[aria-expanded="true"] i {
  transform: rotate(45deg);
  background: var(--brand);
  color: #fff;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.faq__a > div { overflow: hidden; }
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }

.faq__a p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: .94rem;
}

/* ---------- 13. CTA band ---------- */
.cta {
  background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 55%, var(--accent-dark) 130%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 58px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset-block-start: -60%;
  inset-inline-start: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 65%);
}

.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #cfe3f5; margin: 14px auto 26px; max-width: 60ch; }

/* ---------- 14. Contact ---------- */
.info {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}

a.info:hover { transform: translateY(-3px); box-shadow: var(--sh); }

.info__ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}
.info__ic svg { width: 24px; height: 24px; }
.info h3 { font-size: 1rem; margin-bottom: 4px; }
.info p { color: var(--muted); font-size: .92rem; }
.info .ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

.map-box {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  background: #fff;
  min-height: 300px;
}

.map-box iframe {
  display: block;
  width: 100%;
  height: clamp(300px, 42vw, 440px);
  border: 0;
}

/* Form */
.form { display: grid; gap: 16px; }

.form__row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.form label {
  display: block;
  font-size: .89rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
}

.form label span { color: var(--danger); }

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  font-size: .95rem;
  transition: border-color .18s, background .18s;
}

.form textarea { resize: vertical; min-height: 118px; line-height: 1.7; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.form select { appearance: none; cursor: pointer; background-image: none; }

.form__hint { font-size: .82rem; color: var(--muted); }

.alert {
  padding: 14px 18px;
  border-radius: var(--r);
  font-size: .92rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 4px; }
.alert--ok { background: var(--ok-soft); color: #0f6b45; border: 1px solid #bfe8d4; }
.alert--warn { background: var(--warn-soft); color: #8a5a10; border: 1px solid #f3ddb6; }
.alert--info { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid var(--brand-soft-2); }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--brand-darker);
  color: #b9d2e8;
  padding-block: clamp(40px, 5vw, 64px) 0;
  margin-top: clamp(48px, 6vw, 80px);
}

.footer__grid {
  display: grid;
  gap: clamp(26px, 3vw, 40px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  padding-bottom: 36px;
}

.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer__brand p { font-size: .9rem; line-height: 1.85; margin-top: 14px; }

.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #8fb3d2; }

.footer__list { display: grid; gap: 9px; }
.footer__list a { font-size: .89rem; transition: color .18s, padding .18s; display: inline-block; }
.footer__list a:hover { color: #fff; padding-inline-start: 5px; }

.footer__contact { display: grid; gap: 13px; }

.footer__contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .89rem;
}

.footer__contact svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 4px; }
.footer__contact a:hover { color: #fff; }
.footer__contact .ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }

.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.socials a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  display: grid;
  place-items: center;
  transition: background .18s, transform .18s;
}
.socials a:hover { background: var(--accent); transform: translateY(-3px); color: #fff; }
.socials svg { width: 19px; height: 19px; }

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
}

.footer__bar nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bar a:hover { color: #fff; }

.disclaimer {
  background: rgba(0, 0, 0, .16);
  font-size: .8rem;
  line-height: 1.8;
  padding: 16px 0;
  color: #93b3d1;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

/* ---------- 16. Floating actions ---------- */
.fab {
  position: fixed;
  inset-block-end: 26px;
  inset-inline-start: 22px;
  z-index: 800;
  display: none;
  flex-direction: column;
  gap: 11px;
}

.fab a {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 36, 56, .26);
  transition: transform .2s;
}

.fab a:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab__wa { background: #25a566; }
.fab__tel { background: var(--brand); }

/* Mobile bottom bar */
.mobar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 850;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(15, 36, 56, .08);
}

.mobar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.3;
}

.mobar svg { width: 20px; height: 20px; }
.mobar .m-wa { background: #25a566; color: #fff; }
.mobar .m-tel { background: var(--brand); color: #fff; }
.mobar .m-book { background: var(--accent-dark); color: #fff; }

body.has-mobar { padding-bottom: 76px; }

/* ---------- 17. Misc ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }

.chip {
  padding: 7px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: all .18s;
  cursor: pointer;
}

.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.badge-list { display: grid; gap: 11px; }

.badge-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .94rem;
}

.badge-list svg { width: 19px; height: 19px; color: var(--ok); flex: none; margin-top: 4px; }

.split-img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.stat-band div { text-align: center; }

.stat-band b {
  display: block;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.25;
}

.stat-band span { color: var(--muted); font-size: .88rem; font-weight: 600; }

.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warn-soft);
  border: 1px solid #f3ddb6;
  color: #8a5a10;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}
.pill-note svg { width: 17px; height: 17px; flex: none; }

.anchor-nav {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.anchor-nav a {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 600;
  flex: none;
}
.anchor-nav a:hover { border-color: var(--brand); color: var(--brand); }

.skip {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  background: var(--brand);
  color: #fff;
  padding: 11px 20px;
  border-radius: 0 0 12px 12px;
  z-index: 1100;
  transition: top .2s;
}
.skip:focus { inset-block-start: 0; }

/* ---------- 18. Breakpoints ---------- */
@media (min-width: 600px) {
  .finder__row { grid-template-columns: 2fr 1fr; }
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
  .with-side { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (min-width: 1024px) {
  .finder__row { grid-template-columns: 2fr 1fr 1fr; }
}

/* القائمة الأفقية الكاملة تظهر فقط عند وجود مساحة كافية لكل العناصر */
@media (min-width: 1180px) {
  :root { --header-h: 76px; }
  .menu { display: flex; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
  .fab { display: flex; }
  .mobar { display: none; }
  body.has-mobar { padding-bottom: 0; }
}

/* تضييق تباعد القائمة على أضيق شاشات الديسكتوب */
@media (min-width: 1180px) and (max-width: 1319px) {
  .menu__link { padding: 9px 10px; font-size: .89rem; }
  .nav { gap: 10px; }
}

@media (max-width: 1179px) {
  .fab { display: none; }
}

/* الهيرو على الشاشات المتوسطة والصغيرة: حجاب أقوى ليظل النص واضحًا فوق الصورة */
@media (max-width: 899px) {
  .hero__bg { object-position: 66% center; }
  /* حجاب أقوى بكثير: الصورة تتحول لخلفية ناعمة ويظل النص واضحًا تمامًا */
  .hero__veil {
    background:
      radial-gradient(150% 110% at 4% 40%, rgba(255, 255, 255, .6), transparent 70%),
      linear-gradient(to left,
        rgba(246, 250, 253, .90) 0%,
        rgba(246, 250, 253, .955) 38%,
        rgba(246, 250, 253, .985) 72%,
        rgba(246, 250, 253, .995) 100%);
  }
  .hero__veil::after {
    opacity: .4;
    -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .28) 58%, transparent 92%);
    mask-image: linear-gradient(to right, #000 0%, rgba(0, 0, 0, .28) 58%, transparent 92%);
  }
  .hero__text { max-width: none; }
  .hero__in { min-height: clamp(420px, 74vw, 560px); }
}

@media (max-width: 560px) {
  .hero__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .hero__in { min-height: 0; padding-block: 36px 40px; }
  .hero__title { font-size: clamp(1.85rem, 8.4vw, 2.5rem); }
}

/* شريط علوي مضغوط على الموبايل: رقم الهاتف + ساعات العمل فقط */
@media (max-width: 767px) {
  .topbar { font-size: .8rem; }
  .topbar__in { flex-wrap: nowrap; justify-content: space-between; min-height: 36px; }
  .topbar__list { gap: 0; }
  .topbar__item:not(:first-child) { display: none; }
  .topbar__badge { padding: 3px 10px; font-size: .76rem; }
}

/* على الشاشات الضيقة جدًا نكتفي بـ «مفتوح 24 ساعة» */
@media (max-width: 479px) {
  .topbar__badge-long { display: none; }
}

@media (max-width: 520px) {
  .btn { padding: 12px 20px; font-size: .92rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .topbar__list { gap: 12px; }
  .logo__mark { width: 40px; height: 40px; font-size: .92rem; }
  .logo__name { font-size: .98rem; }
  .footer__bar { justify-content: center; text-align: center; }
  .footer__bar nav { justify-content: center; gap: 14px; }
}

@media (max-width: 380px) {
  .logo__sub { display: none; }
}

/* ---------- 19. Motion / print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* يظهر المحتوى دائمًا حتى لو تعطّل الجافاسكريبت (.js تُضاف من سكربت مضمّن) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .topbar, .footer, .fab, .mobar, .drawer, .cta, .btn { display: none !important; }
  body { background: #fff; padding: 0; }
  .card, .table-wrap, .article { box-shadow: none; border-color: #ccc; }
  a { text-decoration: underline; }
}
