/* ============================================================
   Brands Factory — Dental Clinic Demo  (v3 — premium dark hero)
   RTL-first, mobile-first, animations with reduced-motion respect
   ============================================================ */

:root {
  --bg:        #FCFCFD;
  --surface:   #FFFFFF;
  --ink:       #101828;
  --ink-soft:  #667085;
  --accent:    #0F766E;
  --accent-dk: #115E59;
  --accent-lt: #2DD4BF;
  --accent-sf: #ECFDF5;
  --locked:    #B45309;
  --locked-sf: #FFFBEB;
  --line:      #EAECF0;

  --r-panel:  12px;
  --r-button: 10px;
  --r-pill:   999px;

  --shadow-1: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-2: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-3: 0 20px 48px rgba(15, 118, 110, 0.14);

  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  --switcher-h: 64px;
  --leads-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-block-start: var(--switcher-h);
  padding-block-end: var(--leads-h);
}

h1, h2, h3 { line-height: 1.35; margin: 0; }
h1 { font-size: clamp(26px, 7vw, 40px); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 24px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p  { margin: 0; max-width: 70ch; }
a  { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}

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

.wrap {
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: 14px;
}
@media (min-width: 640px) {
  .wrap { padding-inline: 20px; }
}
@media (min-width: 920px) {
  .wrap { padding-inline: 24px; }
}

/* ============================================================
   أنيميشن الدخول — reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: none; }
/* تتابع تلقائي للعناصر المتجاورة */
.reveal.in:nth-child(2) { transition-delay: .06s; }
.reveal.in:nth-child(3) { transition-delay: .12s; }
.reveal.in:nth-child(4) { transition-delay: .18s; }

/* ============================================================
   شريط تبديل الباقات
   ============================================================ */
.switcher {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--line);
  height: var(--switcher-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 10px;
}

.switcher-pills {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
  margin-inline: auto;
  max-width: 440px;
  box-shadow: var(--shadow-1);
}

.switcher-pill {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 44px;
  justify-content: center;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.3;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.switcher-pill:active { transform: scale(.96); }
.switcher-pill small {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: .85;
  white-space: nowrap;
}
.switcher-pill[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, .4);
}
.switcher-pill[aria-pressed="true"] small { color: #fff; opacity: .9; }

.demo-badge {
  flex-shrink: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  border: 1px dashed var(--locked);
  color: var(--locked);
  border-radius: var(--r-pill);
  padding: 3px 8px;
  white-space: nowrap;
}
@media (max-width: 420px) {
  .demo-badge { font-size: 0; padding: 4px 9px; }
  .demo-badge::after { content: 'تجريبي'; font-size: 12px; }
}

/* ============================================================
   الشريط العلوي
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 253, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  position: relative;
}
.brand {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
  text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }

.topbar-book {
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
}

.nav-menu { position: relative; flex-shrink: 0; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}
.nav-menu[open] .nav-toggle {
  border-color: var(--accent);
  background: var(--accent-sf);
}

.site-nav {
  display: none;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  flex-direction: column;
  position: absolute;
  inset-inline-end: 10px;
  inset-block-start: calc(100% + 8px);
  min-width: 220px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 60;
}
.topbar-inner:has(.nav-menu[open]) .site-nav { display: flex; }
.site-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--accent-sf); color: var(--accent); text-decoration: none; }
.site-nav .nav-panel {
  margin-block-start: 4px;
  border-block-start: 1px solid var(--line);
  font-weight: 600;
}
.site-nav .nav-panel:hover { border-color: var(--accent); }

@media (min-width: 860px) {
  .brand { flex: 0 0 auto; }
  .btn.topbar-book { display: none; }
  .nav-menu { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex: 1;
    gap: 6px;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-nav a {
    min-height: 36px;
    padding: 6px 12px;
    font-weight: 500;
    color: var(--ink-soft);
  }
  .site-nav .nav-panel {
    margin-block-start: 0;
    margin-inline-start: 8px;
    border: 1px solid var(--line);
  }
}

/* توافق مع الهيدر القديم لو اتنادى */
.site-header {
  padding-block: 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ============================================================
   الهيرو الداكن الفاخر
   ============================================================ */
.hero-dark {
  position: relative;
  background: #0C1420;
  color: #E6EDF3;
  overflow: hidden;
  padding-block: 48px 40px;
  margin-block-end: 8px;
  isolation: isolate;
}
/* توهجات متحركة */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  z-index: -1;
  pointer-events: none;
}
.glow-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45,212,191,.55), transparent 65%);
  inset-block-start: -140px;
  inset-inline-start: -100px;
  animation: drift1 14s ease-in-out infinite alternate;
}
.glow-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(15,118,110,.6), transparent 65%);
  inset-block-end: -120px;
  inset-inline-end: -80px;
  animation: drift2 18s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-50px, -30px) scale(1.1); } }
/* شبكة خطوط خافتة */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}

.hero-dark .hero-grid { display: grid; gap: 36px; align-items: center; }

.hero-dark .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-lt);
  font-weight: 600;
  font-size: 13px;
  margin-block-end: 14px;
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .3);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  backdrop-filter: blur(4px);
}
.hero-dark h1 { color: #fff; }
.exclusive-line {
  display: inline-block;
  background-image: linear-gradient(
    90deg,
    #5EEAD4 0%,
    #FBBF24 28%,
    #2DD4BF 52%,
    #FDE68A 76%,
    #5EEAD4 100%
  );
  background-size: 280% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: #2DD4BF;
  -webkit-text-fill-color: transparent;
  animation: exclusiveFlow 3s linear infinite;
}
@keyframes exclusiveFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.grad-text {
  background: linear-gradient(120deg, var(--accent-lt), #A7F3D0 50%, var(--accent-lt));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradMove 5s linear infinite;
}
@keyframes gradMove { to { background-position: -220% 0; } }
.hero-dark p.lead {
  color: #9AA8B8;
  font-size: 16px;
  margin-block: 16px 22px;
}
.hero-dark .hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-size: 13px;
  color: #B7C3D0;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-block-end: 24px;
  backdrop-filter: blur(6px);
}
.hero-dark .hours svg { flex-shrink: 0; }
.hero-dark .hours span { min-width: 0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* زر زجاجي للهيرو الداكن */
.btn-glass {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }

/* لمعة بتعدي على الزرار */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: -80%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine {
  0%, 55% { inset-inline-start: -80%; }
  85%, 100% { inset-inline-start: 140%; }
}

/* ============================================================
   موك-أب التليفون — ديمو حي
   ============================================================ */
.phone-mock { display: none; }
.float-anim { animation: floaty 5.5s ease-in-out infinite alternate; }
.float-anim-slow { animation: floaty 7s ease-in-out infinite alternate; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }

.phone-frame {
  width: 300px;
  margin-inline: auto;
  background: #0F1722;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 60px rgba(45,212,191,.12);
}
.phone-notch {
  width: 110px; height: 22px;
  background: #0F1722;
  border-radius: 0 0 14px 14px;
  margin: -10px auto 0;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  padding: 26px 12px 12px;
  margin-block-start: -12px;
}
.pm-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 10px; color: var(--ink); }
.pm-head b { font-size: 14px; }
.pm-head span { font-size: 11px; color: var(--ink-soft); }
.pm-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  margin-block-end: 6px;
  font-size: 11px;
  transition: background 400ms ease, border-color 400ms ease;
}
.pm-row.sent { background: var(--accent-sf); border-color: #A7F3D0; }
.pm-time { font-weight: 600; white-space: nowrap; color: var(--ink); }
.pm-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); }
.pm-btn {
  background: var(--accent); color: #fff;
  border-radius: 6px; padding: 3px 10px; font-weight: 600; font-size: 10px;
  transition: background 300ms ease, color 300ms ease, transform 300ms ease;
}
.pm-row.sent .pm-btn { background: transparent; color: var(--accent); transform: scale(.96); }
.pm-foot {
  text-align: center; font-size: 11px; color: var(--ink-soft);
  padding-block-start: 6px;
}
.phone-caption {
  text-align: center; font-size: 13px; color: #8EA0B3;
  margin-block-start: 14px;
}
@media (min-width: 880px) {
  .hero-dark .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .phone-mock { display: block; }
}

/* ============================================================
   شريط الأرقام
   ============================================================ */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-block-start: 40px;
  border-block-start: 1px solid rgba(255,255,255,.1);
  padding-block-start: 24px;
}
.proof-item { text-align: center; }
.proof-item b {
  display: block;
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 600;
  color: var(--accent-lt);
  line-height: 1.2;
}
.proof-item span { font-size: 12px; color: #8EA0B3; }

/* ============================================================
   الأزرار
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--r-button);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 118, 110, .35);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(15, 118, 110, .45); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--ink-soft); box-shadow: none; cursor: default; transform: none; }
.btn-ghost {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-sf); }
.btn-ghost:disabled { color: var(--ink-soft); border-color: var(--line); cursor: default; background: var(--surface); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }

/* ============================================================
   الأقسام
   ============================================================ */
section { padding-block: 28px; }
.section-title { margin-block-end: 6px; }
.section-sub { color: var(--ink-soft); font-size: 14px; margin-block-end: 20px; }

/* ============================================================
   كروت الباقات
   ============================================================ */
.tier-cards { display: grid; gap: 14px; }
.tier-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.tier-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-3);
}
.tier-card.current { border: 2px dashed var(--accent); }
.tier-card h3 { font-size: 20px; margin-block-end: 2px; }
.tier-price { font-size: 32px; font-weight: 600; color: var(--accent); line-height: 1.2; }
.tier-price small { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.tier-tag { font-size: 13px; color: var(--ink-soft); margin-block: 2px 14px; }
.tier-best {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 3px 12px;
  box-shadow: 0 4px 10px rgba(15, 118, 110, .3);
}
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 10px rgba(15,118,110,.3); }
  50% { box-shadow: 0 4px 22px rgba(15,118,110,.6); }
}
.tier-current {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-end: 16px;
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 3px 12px;
}
.tier-feats {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  flex: 1;
}
.tier-feats li { display: flex; gap: 8px; align-items: flex-start; }
.tier-feats li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-block-start: 3px;
  background: var(--accent-sf);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 880px) {
  .tier-cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .tier-card.featured { transform: scale(1.03); }
  .tier-card.featured:hover { transform: scale(1.03) translateY(-4px); }
}

/* ============================================================
   شريط مزية الواتساب
   ============================================================ */
.feat-band {
  background: var(--accent-sf);
  border: 1px solid #D1FAE5;
  border-radius: 20px;
  padding: 24px 20px;
  margin-block: 12px;
}
.feat-grid { display: grid; gap: 24px; align-items: center; }
.feat-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.feat-points li { display: flex; gap: 10px; align-items: flex-start; }
.feat-points svg { color: var(--accent); flex-shrink: 0; margin-block-start: 4px; }

/* محاكاة شات واتساب */
.wa-mock {
  background: #E7E0D7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  max-width: 380px;
  margin-inline: auto;
  width: 100%;
}
.wa-head {
  background: #075E54;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
}
.wa-head b { display: block; font-size: 14px; }
.wa-head span { font-size: 11px; opacity: .8; }
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-sf);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.wa-body { padding: 16px 12px; }
.wa-bubble {
  background: #DCF8C6;
  border-radius: 10px 2px 10px 10px;
  padding: 10px 12px 6px;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  box-shadow: 0 1px 1px rgba(0,0,0,.12);
  position: relative;
}
.wa-time { display: block; text-align: end; font-size: 10px; color: #8696A0; margin-block-start: 4px; }
@media (min-width: 880px) {
  .feat-grid { grid-template-columns: 1.1fr .9fr; }
  .feat-band { padding: 36px 32px; }
}

/* ============================================================
   خطوات الاستخدام
   ============================================================ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-1);
  padding: 16px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.steps b { display: block; margin-block-end: 2px; }
.steps p { font-size: 14px; color: var(--ink-soft); }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(15, 118, 110, .3);
}
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   الخدمات
   ============================================================ */
.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.services-list li {
  position: relative;
}
.services-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  inset-block: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 180ms ease;
  z-index: 1;
}
.services-list li:hover { background: var(--accent-sf); }
.services-list li:hover::before { transform: scaleY(1); }
.services-list li + li { border-block-start: 1px solid var(--line); }
.services-list .svc-pick {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  text-align: start;
  min-height: 48px;
  background: transparent;
}
.services-list .price { color: var(--accent); font-weight: 600; font-size: 14px; white-space: nowrap; }

/* عن الدكتور */
.about {
  display: grid;
  grid-template-columns: minmax(168px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-1);
  padding: 20px;
}
.about-photo {
  margin: 0;
  border-radius: calc(var(--r-panel) - 4px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.about-copy #doctor-title { margin-block-end: 10px; }
.about-copy #doctor-bio { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.about .creds { list-style: none; margin: 12px 0 0; padding: 0; font-size: 14px; color: var(--ink-soft); }
.about .creds li { padding-block: 2px; }
.about .creds li::before { content: '— '; color: var(--accent); }
@media (max-width: 640px) {
  .about {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 18px 16px 22px;
  }
  .about-photo { width: min(200px, 58vw); }
  .about .creds { text-align: start; }
}

/* فورم الحجز */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-1);
  padding: 20px;
}
.field { margin-block-end: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-block-end: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-button);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-sf);
}

/* الدفع أونلاين (محاكاة) */
.pay-sim {
  border: 1px dashed var(--line);
  border-radius: var(--r-panel);
  padding: 16px;
  margin-block: 16px;
  background: var(--bg);
}
.pay-sim .sim-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  background: var(--locked-sf);
  color: var(--locked);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  margin-block-end: 10px;
}

/* الموقع — خريطة حية + كارت العنوان */
#location { margin-block-end: 8px; }
.map-stage {
  position: relative;
  height: min(62vh, 460px);
  min-height: 340px;
  margin-block-start: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  background: #d7e4dc;
  transform: none;
}
.map-stage.reveal { transform: none; }
.map-canvas,
.map-canvas iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-canvas { z-index: 0; }
.map-vignette {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 400;
  background:
    linear-gradient(180deg, rgba(8, 18, 22, .10), transparent 22%, transparent 58%, rgba(8, 18, 22, .22)),
    radial-gradient(90% 70% at 100% 0%, rgba(15, 118, 110, .16), transparent 55%);
}
.map-stage .leaflet-container {
  font-family: var(--font);
  background: #d7e4dc;
}
.map-stage .leaflet-control-attribution {
  background: rgba(255, 255, 255, .72);
  color: #667085;
  font-size: 10px;
  border: 0;
  margin: 0;
}
.map-stage .leaflet-control-zoom {
  border: 0 !important;
  margin: 14px 0 0 14px !important;
  left: 14px !important;
  right: auto !important;
  box-shadow: var(--shadow-2) !important;
  border-radius: 12px;
  overflow: hidden;
}
.map-stage .leaflet-bottom.leaflet-left {
  left: 14px;
  right: auto;
}
.map-stage .leaflet-bar a {
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: var(--accent);
  font-size: 16px;
  border-bottom-color: var(--line) !important;
}
.map-stage .leaflet-bar a:hover { background: var(--accent-sf); color: var(--accent-dk); }

.clinic-marker { background: none !important; border: 0 !important; }
.clinic-marker-pulse {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 10px;
  width: 18px;
  height: 18px;
  margin-inline-start: -9px;
  border-radius: 50%;
  background: rgba(15, 118, 110, .38);
  animation: mapPulse 2.4s ease-out infinite;
}
.clinic-marker-svg {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-end: 0;
  margin-inline-start: -16px;
  filter: drop-shadow(0 8px 12px rgba(15, 118, 110, .38));
}
@keyframes mapPulse {
  0% { transform: scale(.55); opacity: .85; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.map-place {
  position: absolute;
  z-index: 500;
  inset-block-end: 16px;
  inset-inline-start: 16px;
  inset-inline-end: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 16px 40px rgba(16, 24, 40, .16);
}
.map-place-mark { flex: none; margin-block-start: 2px; }
.map-place-body { min-width: 0; flex: 1; }
.map-place-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  margin: 0 0 2px;
}
.map-place h3 {
  font-size: 17px;
  margin-block-end: 4px;
}
.map-place-addr,
.map-place-hours {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: none;
}
.map-place-hours { margin-block-start: 2px; }
.map-place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 12px;
}
@media (max-width: 759px) {
  .map-stage { height: min(70vh, 520px); min-height: 420px; }
  .map-place { padding: 12px 14px; }
  .map-place h3 { font-size: 16px; }
  .map-place-hours { font-size: 12px; }
  .map-place-actions { margin-block-start: 10px; }
}
@media (min-width: 760px) {
  .map-stage { height: 480px; }
  .map-place {
    inset-inline-end: auto;
    width: min(360px, calc(100% - 32px));
  }
}

/* الفوتر */
.site-footer {
  border-block-start: 1px solid var(--line);
  margin-block-start: 24px;
  padding-block: 24px 32px;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-footer .cols { display: grid; gap: 16px; }
.reset-link {
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ============================================================
   العناصر المقفولة (العنبري)
   ============================================================ */
.lock-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 16px 0; }
.lock-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--locked);
  color: var(--locked);
  background: var(--locked-sf);
  font-size: 14px;
  font-weight: 600;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.lock-chip:hover { transform: scale(1.04); box-shadow: 0 4px 14px rgba(180, 83, 9, .25); }
.lock-chip svg { flex-shrink: 0; }
/* على الهيرو الداكن */
.hero-dark .lock-chip {
  background: rgba(180, 83, 9, .14);
  border-color: rgba(217, 145, 55, .55);
  color: #F3B262;
  backdrop-filter: blur(4px);
}
.locked { position: relative; opacity: .75; }
.locked .lock-mini { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; color: var(--locked); }

/* ============================================================
   الشيت السفلي
   ============================================================ */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, .45);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 90;
  background: var(--surface);
  border-start-start-radius: 20px;
  border-start-end-radius: 20px;
  box-shadow: var(--shadow-2);
  padding: 24px 20px calc(20px + env(safe-area-inset-bottom));
  max-width: 680px;
  margin-inline: auto;
  transform: translateY(100%);
  transition: transform 240ms cubic-bezier(.2,.8,.3,1);
}
.sheet.open { transform: translateY(0); }
.sheet .grabber { width: 40px; height: 4px; background: var(--line); border-radius: var(--r-pill); margin: 0 auto 16px; }
.sheet h3 { margin-block-end: 8px; }
.sheet p { color: var(--ink-soft); margin-block-end: 20px; font-size: 14px; }
.sheet .sheet-actions { display: grid; gap: 10px; }
.sheet .sheet-close { min-height: 44px; color: var(--ink-soft); font-weight: 500; }

/* ============================================================
   شريط العميل
   ============================================================ */
.lead-bar {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 70;
  background: #0C1420;
  border-block-start: 1px solid rgba(45,212,191,.25);
  color: #fff;
  min-height: var(--leads-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  font-size: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.lead-bar .lead-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 8px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(45, 212, 191, .4);
  transition: transform 140ms ease, box-shadow 140ms ease;
}
.lead-bar .lead-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(45,212,191,.55); text-decoration: none; }

/* ============================================================
   لوحة التحكم
   ============================================================ */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 16px;
}
.panel-head .back { font-size: 14px; }

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-block-end: 20px;
}
.summary-item {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--accent);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-1);
  padding: 14px 10px;
  text-align: center;
}
.summary-item:hover { border-color: var(--accent-lt); }
.summary-item b { display: block; font-size: 26px; font-weight: 600; color: var(--accent); line-height: 1.3; }
.summary-item span { font-size: 13px; color: var(--ink-soft); }

.tabs {
  display: flex;
  gap: 4px;
  border-block-end: 1px solid var(--line);
  margin-block-end: 20px;
  overflow-x: auto;
}
.tab {
  min-height: 44px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  border-block-end: 3px solid transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 140ms ease;
}
.tab[aria-selected="true"] { color: var(--accent); border-block-end-color: var(--accent); }
.tab .tab-lock { color: var(--locked); }

.doctor-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-block-end: 16px; }
.doctor-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 140ms ease;
}
.doctor-tab[aria-pressed="true"] {
  background: var(--accent-sf);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.appt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.appt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-1);
  padding: 12px 14px;
  transition: background 300ms ease, border-color 300ms ease;
}
.appt-row.sent { background: var(--accent-sf); border-color: #A7F3D0; }
.appt-time { font-weight: 600; font-size: 16px; white-space: nowrap; min-width: 52px; }
.appt-info { flex: 1; min-width: 0; }
.appt-name { font-weight: 600; font-size: 14px; }
.appt-meta { font-size: 13px; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.visit-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 1px 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.visit-pill.first { background: var(--accent-sf); border-color: #A7F3D0; color: var(--accent); }

.remind-btn {
  min-height: 44px;
  min-width: 96px;
  padding: 8px 14px;
  border-radius: var(--r-button);
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 200ms ease, transform 120ms ease;
}
.remind-btn:active { transform: scale(.96); }
.remind-btn.sent {
  background: transparent;
  color: var(--accent);
  border: 1px solid #A7F3D0;
  cursor: default;
  flex-direction: column;
  gap: 0;
  line-height: 1.4;
}
.remind-btn.sent small { font-size: 11px; font-weight: 500; color: var(--ink-soft); }
.remind-btn .check { display: none; }
.remind-btn.sent .check { display: inline-block; }
.remind-btn .check path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.remind-btn.just-sent .check path { animation: draw 400ms ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.remind-all-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-end: 14px;
  flex-wrap: wrap;
}

.search-box { margin-block-end: 14px; position: relative; }
.search-box input { padding-inline-start: 40px; }
.search-box svg {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
}
.patients-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.patients-table th {
  text-align: start;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 10px;
  border-block-end: 1px solid var(--line);
}
.patients-table td { padding: 10px; border-block-end: 1px solid var(--line); }
.patients-table tr:last-child td { border-block-end: 0; }
.patients-table td.num { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.empty-note { text-align: center; color: var(--ink-soft); padding: 24px 0; font-size: 14px; }

.tpl-grid { display: grid; gap: 20px; }
.tpl-preview {
  background: var(--accent-sf);
  border: 1px solid #A7F3D0;
  border-radius: var(--r-panel);
  padding: 14px 16px;
  font-size: 14px;
  white-space: pre-wrap;
  line-height: 1.8;
}
.tpl-label { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-block: 0 6px; }

.report-block { margin-block-end: 28px; }
.report-block h3 { font-size: 16px; margin-block-end: 4px; }
.report-block .report-sub { font-size: 13px; color: var(--ink-soft); margin-block-end: 14px; }
.noshow { display: flex; gap: 12px; }
.noshow .ns {
  flex: 1;
  border-radius: var(--r-panel);
  padding: 14px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface);
}
.noshow .ns b { display: block; font-size: 24px; font-weight: 600; }
.noshow .ns.before b { color: var(--locked); }
.noshow .ns.after { background: var(--accent-sf); border-color: #A7F3D0; }
.noshow .ns.after b { color: var(--accent); }
.noshow .ns span { font-size: 13px; color: var(--ink-soft); }
.hours-strip { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-block-start: 8px; }
.hours-strip .hb {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.hours-strip .hb i {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
  opacity: .35;
}
.hours-strip .hb.peak i { opacity: 1; }
.hours-strip .hb span { font-size: 11px; color: var(--ink-soft); }

.role-switch {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 2px;
}
.role-switch button {
  min-height: 40px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.role-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }

.login-card { max-width: 420px; margin: 40px auto; }
.login-hint {
  background: var(--accent-sf);
  border: 1px solid #A7F3D0;
  border-radius: var(--r-panel);
  padding: 12px 16px;
  font-size: 14px;
  margin-block-end: 20px;
}

.gate { text-align: center; padding: 48px 20px; }
.gate .gate-icon { color: var(--locked); margin-block-end: 16px; }
.gate p { color: var(--ink-soft); margin: 8px auto 24px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   الشاشات الأكبر
   ============================================================ */
@media (min-width: 720px) {
  section { padding-block: 40px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .tpl-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .site-footer .cols { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   تقليل الحركة
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .remind-btn.just-sent .check path { animation: none; stroke-dashoffset: 0; }
}

/* ============================================================
   v4 — الديمو الكامل الشغال (من غير مبدّل باقات)
   ============================================================ */
body { padding-block-start: 0; padding-block-end: 24px; }

.demo-badge.inline { font-size: 12px; }
.panel-date { font-size: 13px; color: var(--ink-soft); }
/* إصلاح لون زرار اللوحة في الناف — كانت قاعدة الناف بتغلب على الزرار */
.site-nav a.nav-panel, .site-nav a.nav-panel:hover { color: var(--ink-soft); }
.site-nav a.nav-panel:hover { color: var(--accent); }
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }

/* ---------- صورة الدكتور — حلقة متدرجة بتلف بهدوء ---------- */
.doc-ring {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  flex-shrink: 0;
}
.doc-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-lt), var(--accent), rgba(45, 212, 191, .15) 70%, var(--accent-lt));
  animation: ringspin 6s linear infinite;
}
.doc-ring img {
  position: relative;
  border-radius: 50%;
  display: block;
  border: 3px solid #fff;
  object-fit: cover;
}
@keyframes ringspin { to { transform: rotate(360deg); } }
.doc-ring.lg img { width: 168px; height: 168px; }
.doc-ring.sm img { width: 52px; height: 52px; border-width: 2px; }
.doc-ring.xs img { width: 32px; height: 32px; border-width: 2px; }

/* شارة الدكتور في الهيرو */
.doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-pill);
  padding: 8px 10px;
  padding-inline-end: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.doc-badge b { color: #fff; font-size: 15px; display: block; line-height: 1.4; }
.doc-badge span { color: #9FB2C3; font-size: 12.5px; }

/* أفاتار اللوحة */
.panel-head .brand { display: flex; align-items: center; gap: 10px; }
.summary-strip { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .summary-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- ويدجت المواعيد المتاحة الحية ---------- */
.phone-mock { display: block; margin-block-start: 26px; }
@media (min-width: 1000px) { .phone-mock { margin-block-start: 0; } }
.pm-day { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-soft); font-size: 12px; }
.pm-row.live .pm-time { font-size: 13px; }
.pm-book { cursor: pointer; font-size: 11px; padding: 5px 12px; min-height: 30px; }
.pm-book:hover { background: var(--accent-dk); }
.pm-book:active { transform: scale(.94); }
.slot-hint { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- شبكة الأوقات ---------- */
.slot-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  min-height: 44px; align-items: center;
}
.slot-chip {
  min-height: 44px; padding: 8px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-weight: 600; font-size: 14px; color: var(--ink);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .12s ease;
}
.slot-chip:hover:not(:disabled) { border-color: var(--accent-lt); }
.slot-chip:active:not(:disabled) { transform: scale(.95); }
.slot-chip[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 4px 14px rgba(15, 118, 110, .35);
}
.slot-chip.taken, .slot-chip:disabled {
  background: var(--bg); color: #B6BFC9;
  border-color: var(--line); border-style: dashed;
  cursor: not-allowed; text-decoration: line-through;
}

/* ---------- أخطاء الحقول ---------- */
.field-err {
  margin-block-start: 6px;
  font-size: 13px; font-weight: 600; color: #B42318;
}
.field input:invalid:not(:placeholder-shown) { border-color: #FDA29B; }

/* ---------- وميض الفورم عند التعبئة التلقائية ---------- */
@keyframes flashring {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .55); }
  100% { box-shadow: 0 0 0 18px rgba(45, 212, 191, 0); }
}
.card.flash, .book-board.flash { animation: flashring .9s ease-out 2; border-color: var(--accent-lt); }

/* ---------- شاشة نجاح الحجز ---------- */
.success-card { text-align: center; }
.big-check {
  width: 68px; height: 68px; margin: 4px auto 14px;
  border-radius: 50%;
  background: var(--accent-sf); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  animation: pop .45s cubic-bezier(.2, .9, .3, 1.4);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.booking-ref { color: var(--accent); letter-spacing: .5px; }
.bs-summary {
  margin: 18px 0; padding: 0;
  display: grid; gap: 8px; text-align: start;
}
.bs-summary > div {
  display: flex; justify-content: space-between; gap: 10px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; font-size: 14px;
}
.bs-summary dt { color: var(--ink-soft); margin: 0; }
.bs-summary dd { margin: 0; font-weight: 600; }
.bs-actions { display: grid; gap: 10px; }
.bs-actions .reset-link { justify-self: center; }

/* ---------- التوست ---------- */
.toast {
  position: fixed; inset-block-end: 18px; inset-inline: 16px;
  max-width: 440px; margin-inline: auto;
  background: #101828; color: #fff;
  border-radius: 12px; padding: 13px 18px;
  font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .35);
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
}
.toast.show { opacity: 1; transform: none; }

/* ---------- فلترة الحجوزات ---------- */
.filter-pills {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-block-end: 14px;
}
.filter-pill {
  min-height: 40px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: all .2s ease;
}
.filter-pill small { color: var(--accent); font-weight: 700; }
.filter-pill[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.filter-pill[aria-pressed="true"] small { color: #A7F3D0; }

/* ---------- شارات الحالة ---------- */
.status-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  border-radius: var(--r-pill); padding: 2px 9px;
  vertical-align: middle;
}
.st-new       { background: #FFFBEB; color: #B45309; border: 1px solid #FCD34D; }
.st-confirmed { background: var(--accent-sf); color: var(--accent); border: 1px solid #A7F3D0; }
.st-done      { background: #F2F4F7; color: #475467; border: 1px solid #E4E7EC; }
.st-cancelled { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.st-noshow    { background: #FFF6ED; color: #C4320A; border: 1px solid #FEDF89; }

/* ---------- صف الحجز الجديد ---------- */
.appt-row.is-new { border-color: #FCD34D; background: #FFFDF5; }
.list-label {
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 6px 4px 0;
}
.fresh-tag {
  font-size: 11px;
  font-weight: 700;
  color: #B45309;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: var(--r-pill);
  padding: 1px 8px;
}
.appt-when { display: flex; flex-direction: column; min-width: 64px; }
.appt-date { font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
.appt-ref {
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-sf); border-radius: 6px; padding: 0 6px;
}
.reminded-tag { font-size: 11px; color: var(--accent); font-weight: 600; }

/* ---------- أزرار الإجراءات ---------- */
.row-actions {
  display: flex;
  gap: 6px;
  align-items: stretch;
  min-width: 0;
}
.act {
  min-height: 40px; padding: 6px 12px;
  border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 5px;
  transition: all .15s ease; text-decoration: none !important;
  white-space: nowrap;
}
.act:active { transform: scale(.94); }
.act-primary {
  flex: 1;
  min-width: 0;
}
.act-icon {
  flex: 0 0 40px;
  width: 40px;
  padding: 0;
}
.act-confirm { background: var(--accent); border-color: var(--accent); color: #fff; }
.act-confirm:hover { background: var(--accent-dk); }
.act-wa { background: #25D366; border-color: #25D366; color: #fff; }
.act-wa:hover { background: #1EBE5B; }
.act-done { color: var(--accent); border-color: #A7F3D0; background: var(--accent-sf); }
.act-call { color: var(--ink-soft); }
.act-call:hover { color: var(--accent); border-color: var(--accent-lt); }
.act-cancel { color: #B42318; }
.act-cancel:hover { background: #FEF3F2; border-color: #FECDCA; }

.act-more { position: relative; flex: 0 0 40px; }
.act-more > summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink-soft);
}
.act-more > summary::-webkit-details-marker { display: none; }
.act-more[open] > summary {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-sf);
}
.act-menu {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 4px);
  min-width: 188px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  z-index: 30;
  display: grid;
  gap: 2px;
}
.act-menu .act {
  width: 100%;
  justify-content: flex-start;
  white-space: normal;
  background: transparent;
  border: 0;
  font-size: 13px;
}
.act-menu .act-wa { color: #128C7E; }
.act-menu .act-cancel { color: #B42318; }

@media (min-width: 860px) {
  .act-primary { flex: 0 1 auto; min-width: 148px; padding-inline: 16px; }
}

/* ---------- ملخص ساخن ---------- */
.summary-item.hot { border-block-start-color: #F59E0B; }
.summary-item.hot b { color: #B45309; }
.tab-badge {
  background: #F59E0B; color: #fff;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 700;
  padding: 1px 7px; margin-inline-start: 4px;
}

/* ---------- التقارير ---------- */
.status-dist { display: flex; flex-wrap: wrap; gap: 10px; }
.sd-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 12px;
}
.sd-item b { font-size: 17px; }
.svc-bar {
  display: flex; align-items: center; gap: 10px;
  padding-block: 7px; font-size: 14px;
}
.svc-name { min-width: 130px; }
.svc-track {
  flex: 1; height: 10px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line);
  overflow: hidden; display: block;
}
.svc-track i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent-lt), var(--accent));
  border-radius: var(--r-pill);
}

/* ---------- صفحة الأسعار ---------- */
.offers-page .topbar-inner { min-height: 56px; }
.offers-nav {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-direction: row;
  position: static;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.offers-nav a:not(.btn) {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 14px;
}
.offers-nav .btn {
  color: #fff;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
}
.offers-hero { padding-block: 36px 28px; }
.offers-hero-copy {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.offers-hero .kicker { justify-content: center; }
.offers-kicker {
  color: #FDE68A;
  background: linear-gradient(90deg, rgba(251,191,36,.2), rgba(45,212,191,.18), rgba(251,191,36,.2));
  background-size: 220% 100%;
  border-color: rgba(251, 191, 36, .5);
  animation: exclusiveBadge 5s ease-in-out infinite;
}
.offers-hero .glow-gold {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251,191,36,.4), transparent 65%);
  inset-block-start: 20%;
  inset-inline-end: 12%;
  animation: driftGold 12s ease-in-out infinite alternate;
}
@keyframes exclusiveBadge {
  0%, 100% { border-color: rgba(251,191,36,.55); color: #FDE68A; background-position: 0% 50%; }
  50% { border-color: rgba(45,212,191,.6); color: #5EEAD4; background-position: 100% 50%; }
}
@keyframes exclusiveShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes driftGold { to { transform: translate(-40px, 30px) scale(1.2); } }
.offers-hero .lead {
  color: #B6C2CE;
  margin-inline: auto;
  font-size: 15px;
}
.offers-hero .hero-cta { justify-content: center; }
.offers-hero h1 { font-size: clamp(26px, 7vw, 40px); }

.price-trust {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 880px) {
  .price-trust { grid-template-columns: repeat(4, 1fr); }
}

.pain-block, .cost-block, .risk-block, .faq-block {
  margin-block: 28px;
}
.pain-grid {
  list-style: none;
  margin: 16px 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
}
.pain-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-1);
}
.pain-grid h3 { font-size: 16px; margin-block-end: 8px; }
.pain-grid p, .pain-close, .cost-note { color: var(--ink-soft); font-size: 14px; }
.pain-close { margin: 0; max-width: none; }

.cost-table-wrap { overflow-x: auto; margin: 16px 0 10px; }
.cost-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.cost-table th, .cost-table td {
  text-align: start;
  padding: 12px 14px;
  border-block-start: 1px solid var(--line);
}
.cost-table thead th { background: var(--accent-sf); border-block-start: 0; }
.cost-table tbody tr:last-child td { font-weight: 600; color: var(--accent-dk); }

.risk-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
}
.risk-block p { margin-block-end: 10px; }
.risk-block .btn { margin-block-start: 8px; }

.faq-block details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  margin-block-end: 8px;
}
.faq-block summary { cursor: pointer; font-weight: 600; }
.faq-block details p { margin-block-start: 8px; font-size: 14px; color: var(--ink-soft); }

.offers-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.price-trust li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-trust b { font-size: 14px; }
.price-trust span { font-size: 13px; color: var(--ink-soft); }
.price-trust li.is-exclusive {
  border-color: #F59E0B;
  background: linear-gradient(180deg, #FFFBEB, #fff);
}
.price-trust li.is-exclusive b {
  background: linear-gradient(90deg, #0F766E, #B45309, #0F766E);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: exclusiveShift 6s ease-in-out infinite;
}

.offers-page #pricing { scroll-margin-top: 72px; }
.offers-page .tier-card { padding: 20px 16px; }
.offers-page .tier-price { font-size: 28px; }
.offers-page .tier-feats { font-size: 13.5px; }
.offers-page .tier-card.featured { transform: none; }
.offers-page .tier-card.featured:hover { transform: translateY(-4px); }

.offers-close {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 18px;
  margin-block: 12px 8px;
}
.offers-close h2 { font-size: 22px; margin-block-end: 8px; }
.offers-close p { margin-inline: auto; margin-block-end: 16px; color: var(--ink-soft); }
.offers-foot-links { margin-block-start: 8px; }

@media (min-width: 640px) {
  .price-trust { gap: 10px; }
  .offers-hero { padding-block: 48px 36px; }
}
@media (min-width: 880px) {
  .offers-page .tier-card.featured { transform: none; }
}
.demo-credit {
  margin-block-start: 20px; font-size: 13px; color: var(--ink-soft);
  border-block-start: 1px solid var(--line); padding-block-start: 14px;
}

/* ---------- موبايل: صف الحجز ---------- */
@media (max-width: 640px) {
  .appt-row { flex-wrap: wrap; }
  .appt-row .row-actions { width: 100%; }
  .summary-strip { grid-template-columns: repeat(2, 1fr); }
  .about { flex-direction: column; align-items: center; text-align: start; }
  .about > div { width: 100%; }
}

/* ---------- نظام الحجز — فون / تاب / لاب ---------- */
#booking { scroll-margin-top: 72px; }
#booking .section-title { font-size: 20px; }
#booking .section-sub { font-size: 13px; margin-block-end: 12px; }

.book-board {
  display: grid;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  padding: 12px;
  min-width: 0;
}
.book-main { min-width: 0; }

.book-steps {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  gap: 4px;
}
.book-steps li { flex: 1; min-width: 0; display: flex; }
.book-step {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 4px 4px;
  border-radius: var(--r-pill);
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-step span {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E4E7EC;
  color: var(--ink);
  font-size: 10px;
}
.book-step[aria-current="step"] {
  background: var(--accent-sf);
  border-color: var(--accent-lt);
  color: var(--accent-dk);
}
.book-step[aria-current="step"] span,
.book-step.is-done span {
  background: var(--accent);
  color: #fff;
}
.book-step.is-done { color: var(--accent-dk); }

.book-pane-kicker {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-block-end: 2px;
}
.book-pane-title {
  font-size: 16px;
  margin-block-end: 10px;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-block-end: 10px;
}
.svc-chip {
  text-align: start;
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  min-height: 48px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.svc-chip b { font-size: 13px; }
.svc-chip small { color: var(--accent); font-weight: 600; font-size: 12px; }
.svc-chip[aria-checked="true"] {
  background: var(--accent-sf);
  border-color: var(--accent);
}

.date-rail-label {
  font-size: 12px;
  color: var(--ink-soft);
  margin-block-end: 6px;
}
.date-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  padding-block: 2px 8px;
  margin-inline: -2px;
  padding-inline: 2px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.book-pane { min-width: 0; }
.date-chip {
  flex: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 4px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  min-height: 68px;
}
.date-name { font-size: 10px; color: var(--ink-soft); }
.date-num { font-size: 18px; font-weight: 700; line-height: 1.1; }
.date-free { font-size: 10px; font-weight: 600; color: var(--accent); }
.date-chip[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.date-chip[aria-checked="true"] .date-name,
.date-chip[aria-checked="true"] .date-free { color: #D1FAE5; }
.date-chip.is-full,
.date-chip:disabled { opacity: .45; cursor: not-allowed; }

.slot-meta {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-block-end: 8px;
}
.book-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-block-end: 4px;
}
.book-slot {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 6px 8px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  font-size: 13px;
  line-height: 1.2;
}
.book-slot b { font-size: 13px; font-weight: 700; }
.book-slot small { display: none; font-size: 10px; color: var(--ink-soft); }
.book-slot[aria-checked="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.book-slot[aria-checked="true"] small { color: #D1FAE5; }
.book-slot.is-off,
.book-slot:disabled {
  background: var(--bg);
  color: #98A2B3;
  border-style: dashed;
  cursor: not-allowed;
}
.book-slot.is-off b { text-decoration: line-through; }

.book-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-block-start: 12px;
}
.book-nav .btn {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
}
#bk-next-1 {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}
.book-hint {
  font-size: 12px;
  color: var(--ink-soft);
  margin-block-end: 4px;
}
#bk-phone { text-align: start; }

.book-ticket {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent-dk) 0, var(--accent-dk) 76px, #fff 84px);
  color: #fff;
  padding: 16px;
  box-shadow: var(--shadow-2);
  min-width: 0;
}
.book-ticket::before,
.book-ticket::after { display: none; }
.ticket-kicker {
  font-size: 12px;
  font-weight: 700;
  opacity: .85;
}
.ticket-clinic {
  font-size: 17px;
  margin: 4px 0 12px;
  line-height: 1.35;
}
.ticket-rows {
  margin: 0;
  padding: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  color: var(--ink);
}
.ticket-rows > div {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border: 0;
  border-block-end: 1px dashed var(--line);
}
.ticket-rows dt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}
.ticket-rows dd {
  margin: 0;
  font-weight: 700;
  text-align: end;
  font-size: 15px;
  min-width: 0;
}
.ticket-foot {
  display: block;
  margin-block-start: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

#booking-form .field input { background: var(--bg); }

@media (max-width: 379px) {
  .book-step { font-size: 10px; padding: 4px 2px; }
  .book-pane-kicker { display: none; }
}

/* تابلت */
@media (min-width: 640px) {
  #booking .section-title { font-size: 24px; }
  #booking .section-sub { font-size: 14px; margin-block-end: 20px; }
  .book-board { padding: 16px; gap: 14px; border-radius: 18px; }
  .book-step { font-size: 12px; min-height: 40px; gap: 6px; padding: 6px 8px; }
  .book-step span { width: 20px; height: 20px; font-size: 11px; }
  .book-pane-title { font-size: 18px; }
  .svc-chip { min-height: 56px; padding: 10px 12px; }
  .date-chip { flex-basis: 64px; min-height: 76px; }
  .date-num { font-size: 20px; }
  .book-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .book-slot { min-height: 46px; }
  .book-slot b { font-size: 14px; }
  .book-slot small { display: block; }
  .book-nav .btn { min-height: 44px; font-size: 14px; }
  #bk-next-1 { min-height: 44px; font-size: 16px; padding: 10px 22px; }
  .ticket-rows dt { font-size: 14px; }
  .ticket-rows dd { font-size: 16px; }
  .ticket-foot { font-size: 13px; }
  .book-ticket {
    padding: 18px;
    background: linear-gradient(180deg, var(--accent-dk) 0, var(--accent-dk) 88px, #fff 92px);
  }
  .ticket-clinic { font-size: 18px; margin: 6px 0 14px; }
}

/* لابتوب */
@media (min-width: 920px) {
  .book-board {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: start;
    padding: 18px;
    gap: 18px;
  }
  .book-ticket {
    position: sticky;
    top: 70px;
    background: linear-gradient(180deg, var(--accent-dk) 0, var(--accent-dk) 92px, #fff 92px);
  }
  .book-ticket::before,
  .book-ticket::after {
    display: block;
    content: '';
    position: absolute;
    top: 86px;
    width: 18px;
    height: 18px;
    background: var(--bg);
    border-radius: 50%;
  }
  .book-ticket::before { inset-inline-start: -9px; }
  .book-ticket::after { inset-inline-end: -9px; }
  .book-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .svc-chip, .date-chip, .book-slot { transition: none; }
}
