/* =====================================================================
   thejundi.com: /consult/ and /eng/consult/ (builds on /assets/site-chrome.css)
   One calm booking surface beside a short intro. Same engine as
   workshop.thejundi.com/consult, called through the same-origin proxy.
   Accents: violet for choices and focus, teal for small marks only.
   One gradient blade per page.
   ===================================================================== */

.consult main { display: block; }
.consult [hidden] { display: none !important; }

/* ---------------- Layout ---------------- */
.cx { padding-block: clamp(32px, 4vw, 72px) var(--sc-sec); overflow-x: clip; }
/* DOM order = reading order on every width: head, booking panel, notes */
.cx__grid { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 56px); }
.cx-head, .cx-panel, .cx-aside { min-width: 0; }
@media (min-width: 1100px) {
  .cx__grid {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr;
    column-gap: clamp(48px, 5.6vw, 104px); row-gap: 44px; align-items: start;
  }
  .cx-head { grid-column: 1; grid-row: 1; }
  .cx-aside { grid-column: 1; grid-row: 2; }
  .cx-panel { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 1100px) and (min-height: 760px) {
  .cx-aside { position: sticky; top: 112px; }
}

/* ---------------- Intro ---------------- */
.cx-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(12px, 1.6vw, 22px);
  font-size: 15px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2);
}
.cx-eyebrow__rule { flex: none; width: 40px; height: 1px; background: var(--sc-violet); }
.cx-title { margin: 0; font-size: clamp(2.125rem, 1rem + 1.8vw, 3rem); font-weight: 300; line-height: 1.38; letter-spacing: 0; text-wrap: balance; }
.cx-title b { font-weight: 700; }
.cx-title__l { display: block; }
@media (min-width: 1340px) { .cx-title { font-weight: 200; } } /* ExtraLight only at >= 40px */
/* phones: 30px (the home #cs-title size), scaled down below 357px, keeps the bold «أو جلسة تدريب شخصية» on one line
   (it is about 10.3 em wide), so the title is always two lines from 320 up */
@media (max-width: 400px) { .consult:not(.consult--en) .cx-title { font-size: min(1.875rem, 8.4vw); } }
.cx-lead { max-width: 34rem; margin-top: clamp(16px, 1.6vw, 22px); }
.cx-blade { width: clamp(190px, 50vw, 360px); margin-top: clamp(26px, 3.4vw, 40px); margin-inline-start: calc(-1 * var(--sc-edge)); }
@media (min-width: 1100px) { .cx-blade { width: clamp(300px, 26vw, 420px); } }

/* the free idea offer (shown by consult.js only while config.offer.open) */
.cx-offer {
  margin-top: clamp(28px, 3.2vw, 40px); padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--sc-violet-a); border-radius: 6px; background: var(--sc-wash-v);
}
.cx-offer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.cx-offer__tag {
  display: inline-block; padding: 0 10px; border-radius: 2px; background: var(--sc-surface);
  font-size: 14px; font-weight: 500; line-height: 2; color: var(--sc-teal-ink);
}
.cx-offer__left { font-size: 14.5px; line-height: 1.9; color: var(--sc-ink-2); white-space: nowrap; }
.cx-offer__left b { font-size: 18px; font-weight: 600; color: var(--sc-ink); }
.cx-offer__left .sc-lat { font-family: var(--sc-lat); }
.cx-offer__h { margin: 0; font-size: clamp(22px, 1rem + .75vw, 28px); font-weight: 600; line-height: 1.5; letter-spacing: 0; color: var(--sc-ink); text-wrap: balance; }
.cx-offer__nw { white-space: nowrap; font-weight: 400; color: var(--sc-violet); }
.cx-offer__meter { display: block; height: 6px; margin: 14px 0 18px; border-radius: 3px; background: rgba(0, 24, 52, .1); overflow: hidden; }
.cx-offer__fill { display: block; width: 100%; height: 100%; border-radius: 3px; background: var(--sc-teal); }
.cx-offer__cond { font-size: 16px; line-height: 1.9; color: var(--sc-ink); }
.cx-offer__cond b { font-weight: 600; }
.cx-offer__ex { margin-top: 14px; font-size: 14.5px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2); }
.cx-offer__ideas { margin-top: 4px; font-size: 15px; color: var(--sc-ink); }
.cx-offer__ideas li + li { margin-top: 2px; }
.cx-offer__how { margin-top: 14px; font-size: 14.5px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-offer__cta { margin-top: 18px; }
.cx-offer-full {
  margin-top: clamp(24px, 3vw, 32px); padding: 12px 16px; border-inline-start: 2px solid var(--sc-ink-3); border-radius: 2px;
  background: var(--sc-surface); font-size: 15px; line-height: 1.9; color: var(--sc-ink-2);
}
.cx-offer-full b { font-weight: 600; color: var(--sc-ink); }
@media (prefers-reduced-motion: no-preference) {
  .cx-offer__fill { transition: width .6s var(--sc-ease); }
}

.cx-aside { display: grid; gap: 28px; }
.cx-facts { font-size: 15.5px; color: var(--sc-ink-2); }
.cx-facts li + li { margin-top: 6px; }
.cx-facts a { color: var(--sc-violet); }
.cx-wa {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 16px;
  padding: 16px 20px; border: 1px solid var(--sc-line); border-radius: 4px; background: var(--sc-surface);
  color: var(--sc-ink); text-decoration: none;
  transition: border-color var(--sc-t) var(--sc-ease), box-shadow var(--sc-t) var(--sc-ease), transform var(--sc-t) var(--sc-ease);
}
.cx-wa:hover { border-color: rgba(0, 24, 52, .32); box-shadow: var(--sc-shadow); transform: translateY(-2px); }
.cx-wa__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sc-wash-t); color: var(--sc-teal-ink); }
.cx-wa__ico svg { width: 22px; height: 22px; }
.cx-wa__t { display: block; font-size: 16px; font-weight: 500; line-height: 1.9; }
.cx-wa__s { display: block; font-size: 14.5px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-wa__n { display: inline-block; font-family: var(--sc-lat); font-size: 14px; line-height: 1.9; white-space: nowrap; }
.cx-other { font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }

/* ---------------- Panel ---------------- */
.cx-panel {
  position: relative; padding: clamp(20px, 3.2vw, 44px); background: var(--sc-surface);
  border: 1px solid var(--sc-line); border-radius: 6px; box-shadow: var(--sc-shadow);
}
.cx-panel__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 18px;
  margin-bottom: clamp(22px, 2.6vw, 32px); padding-bottom: 18px; border-bottom: 1px solid var(--sc-line);
}
.cx-panel__h { font-size: clamp(20px, 1rem + .4vw, 24px); font-weight: 500; line-height: 1.6; }
.cx-progress { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }

/* messages */
.cx-note { margin: 0 0 22px; padding: 12px 16px; border-inline-start: 2px solid var(--sc-violet); background: var(--sc-wash-v); border-radius: 2px; font-size: 15px; line-height: 1.9; color: var(--sc-ink); }
.cx-note.is-ok { border-inline-start-color: var(--sc-teal); background: var(--sc-wash-t); }
.cx-note a { color: var(--sc-violet); font-weight: 500; }
.cx-note:empty { margin: 0; padding: 0; border: 0; background: none; }
.cx-note:focus { outline: none; }
.cx-note:focus-visible { outline: 2px solid var(--sc-violet); outline-offset: 3px; }

/* loading */
.cx-loading { display: grid; gap: 12px; padding-block: 6px 10px; }
.cx-loading p { font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-skel { display: block; height: 14px; border-radius: 2px; background: linear-gradient(90deg, #EEF1F6, #F7F8FB, #EEF1F6); background-size: 200% 100%; }
.cx-skel--s { width: 62%; }
.cx-skel--l { height: 52px; }
@media (prefers-reduced-motion: no-preference) {
  .cx-skel { animation: cx-skel 1.4s ease-in-out infinite; }
}
@keyframes cx-skel { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* steps */
.cx-step { display: block; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.cx-step + .cx-step { margin-top: clamp(30px, 3.2vw, 40px); }
.cx-step__h { display: block; width: 100%; margin: 0 0 14px; padding: 0; font-size: 18px; font-weight: 500; line-height: 1.9; color: var(--sc-ink); }
.cx-step__n { display: inline-block; margin-inline-end: 12px; font-family: var(--sc-lat); font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--sc-violet); }
.cx-tz { display: inline-block; margin-inline-start: 10px; font-size: 14px; font-weight: 400; color: var(--sc-ink-2); }

/* radio options (native inputs, visually hidden; the label is the target) */
.cx-opt { position: relative; display: block; min-width: 0; cursor: pointer; }
/* the hidden input covers its chip, so focusing it scrolls the whole chip (and its focus ring) into view */
.cx-radio { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.cx-opt__in {
  position: relative; display: grid; align-content: start; height: 100%;
  border: 1px solid var(--sc-line); border-radius: 4px; background: var(--sc-surface); color: var(--sc-ink);
  transition: border-color var(--sc-t-fast) var(--sc-ease), background-color var(--sc-t-fast) var(--sc-ease), box-shadow var(--sc-t-fast) var(--sc-ease), color var(--sc-t-fast) var(--sc-ease);
}
.cx-opt:hover .cx-opt__in { border-color: rgba(0, 24, 52, .34); }
.cx-radio:checked + .cx-opt__in { border-color: var(--sc-violet); background: var(--sc-wash-v); box-shadow: inset 0 0 0 1px var(--sc-violet); }
.cx-radio:focus-visible + .cx-opt__in { outline: 2px solid var(--sc-violet); outline-offset: 3px; }
.cx-radio:disabled + .cx-opt__in { cursor: not-allowed; border-style: dashed; background: var(--sc-bg); color: var(--sc-ink-3); box-shadow: none; }
.cx-opt:has(.cx-radio:disabled) { cursor: not-allowed; }

/* 01 type */
.cx-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cx-type .cx-opt__in { padding: 16px 20px 18px; padding-inline-end: 48px; }
.cx-type .cx-opt__in::after {
  content: ""; position: absolute; top: 22px; inset-inline-end: 18px; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(0, 24, 52, .3); background: var(--sc-surface);
  transition: border-color var(--sc-t-fast) var(--sc-ease), box-shadow var(--sc-t-fast) var(--sc-ease), background-color var(--sc-t-fast) var(--sc-ease);
}
.cx-radio:checked + .cx-opt__in::after { border-color: var(--sc-violet); background: var(--sc-violet); box-shadow: inset 0 0 0 3px var(--sc-surface); }
.cx-type__t { font-size: 17px; font-weight: 500; line-height: 1.9; }
.cx-type__d { font-size: 14.5px; line-height: 1.9; color: var(--sc-ink-2); }
/* the free idea: a full-width third choice with its seat count */
.cx-type--idea { grid-column: 1 / -1; }
.cx-type__tag {
  display: inline-block; margin-inline-start: 8px; padding: 0 8px; border-radius: 2px; vertical-align: 1px;
  background: var(--sc-wash-t); font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-teal-ink); white-space: nowrap;
}

/* 02 duration */
.cx-durs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cx-dur .cx-opt__in { gap: 2px; padding: 12px 14px 14px; }
.cx-dur__t { font-size: 15.5px; font-weight: 500; line-height: 1.9; white-space: nowrap; }
.cx-dur__p { display: flex; align-items: baseline; gap: 5px; font-size: 14px; line-height: 1.5; color: var(--sc-ink-2); white-space: nowrap; }
.cx-dur__p b { font-family: var(--sc-lat); font-size: clamp(22px, 1rem + .5vw, 26px); font-weight: 300; line-height: 1.3; color: var(--sc-ink); }
/* free idea: one fixed half hour */
.cx-durs.is-locked { grid-template-columns: minmax(0, 13rem); }
.cx-durs.is-locked .cx-dur__p { color: var(--sc-teal-ink); font-weight: 500; }

/* 03 day + time */
.cx-days {
  display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  margin-inline: -6px; padding: 6px 6px 12px; scroll-padding-inline: 6px; scrollbar-width: thin; scrollbar-color: rgba(0, 24, 52, .22) transparent;
}
.cx-day { flex: none; width: 92px; scroll-snap-align: start; }
/* soft fade on the edge that still has days behind it (classes set by consult.js) */
/* RTL: later days sit to the left, earlier days to the right */
.cx-days.is-more-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px); mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px); }
.cx-days.is-more-start { -webkit-mask-image: linear-gradient(to left, transparent 0, #FFFFFF 56px); mask-image: linear-gradient(to left, transparent 0, #FFFFFF 56px); }
.cx-days.is-more-start.is-more-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px, #FFFFFF calc(100% - 56px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px, #FFFFFF calc(100% - 56px), transparent 100%); }
.consult--en .cx-days.is-more-end { -webkit-mask-image: linear-gradient(to left, transparent 0, #FFFFFF 56px); mask-image: linear-gradient(to left, transparent 0, #FFFFFF 56px); }
.consult--en .cx-days.is-more-start { -webkit-mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px); mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px); }
.consult--en .cx-days.is-more-start.is-more-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px, #FFFFFF calc(100% - 56px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #FFFFFF 56px, #FFFFFF calc(100% - 56px), transparent 100%); }
/* previous / next days (pointer screens; phones swipe) */
.cx-daynav { display: none; }
@media (min-width: 600px) {
  /* sits on the step heading's line (legend 34px + 14px gap) and adds no height of its own */
  .cx-step--days .cx-step__h { padding-inline-end: 92px; }
  .cx-daynav:not([hidden]) { position: relative; z-index: 1; display: flex; justify-content: flex-end; gap: 8px; margin: -48px 0 12px; pointer-events: none; }
  .cx-daynav__b { pointer-events: auto; }
}
.cx-daynav__b {
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0; cursor: pointer;
  border: 1px solid rgba(0, 24, 52, .22); border-radius: 4px; background: var(--sc-surface); color: var(--sc-ink);
  transition: border-color var(--sc-t-fast) var(--sc-ease), color var(--sc-t-fast) var(--sc-ease), background-color var(--sc-t-fast) var(--sc-ease);
}
.cx-daynav__b svg { width: 18px; height: 18px; }
.cx-daynav__b:hover:not([aria-disabled="true"]) { border-color: var(--sc-violet); color: var(--sc-violet); }
.cx-daynav__b:focus-visible { outline: 2px solid var(--sc-violet); outline-offset: 3px; }
.cx-daynav__b[aria-disabled="true"], .cx-daynav__b:disabled { cursor: default; color: var(--sc-ink-3); border-color: var(--sc-line); background: var(--sc-bg); }
/* the chevron points to the inline end; "earlier" turns it round */
.cx-daynav__b[data-dir="1"] svg { transform: scaleX(-1); }
.consult--en .cx-daynav__b[data-dir="1"] svg { transform: none; }
.consult--en .cx-daynav__b[data-dir="-1"] svg { transform: scaleX(-1); }
.cx-day .cx-opt__in { justify-items: center; gap: 0; padding: 10px 6px 9px; text-align: center; }
.cx-day__wd { font-size: 14px; line-height: 1.7; color: var(--sc-ink-2); }
.cx-day__dt { font-size: 15px; font-weight: 500; line-height: 1.7; white-space: nowrap; }
.cx-day__dt .sc-lat { font-size: 17px; font-weight: 500; margin-inline-end: 4px; }
.cx-day__n { font-size: 14px; line-height: 1.7; color: var(--sc-teal-ink); white-space: nowrap; }
.cx-radio:disabled + .cx-opt__in .cx-day__wd,
.cx-radio:disabled + .cx-opt__in .cx-day__n { color: var(--sc-ink-3); }
.cx-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 14px; }
.cx-slots:empty { display: none; }
.cx-slot .cx-opt__in { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 6px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.cx-slot .sc-lat { font-size: 15px; font-weight: 500; }
.cx-slot .cx-radio:checked + .cx-opt__in { border-color: var(--sc-violet); background: var(--sc-violet); color: #FFFFFF; box-shadow: none; }
.cx-hint { margin-top: 12px; font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-hint:empty { margin: 0; }
.cx-hint .cx-inline-btn { margin-inline-start: 6px; }
.cx-inline-btn {
  padding: 0; border: 0; background: none; cursor: pointer; color: var(--sc-violet);
  font: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: var(--sc-violet-a); text-underline-offset: 6px;
}
.cx-inline-btn:hover { text-decoration-color: var(--sc-violet); }
#cx-slot-msg:not(:empty) { margin: 0 0 16px; }

/* continue bar */
.cx-next {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: clamp(28px, 3vw, 36px); padding-top: 22px; border-top: 1px solid var(--sc-line);
}
.cx-recap { flex: 1 1 15rem; min-width: 0; font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-recap b { display: block; font-weight: 500; color: var(--sc-ink); }
.cx-next .sc-btn[aria-disabled="true"] { background: transparent; color: var(--sc-ink-2); border-color: rgba(0, 24, 52, .22); box-shadow: none; transform: none; cursor: not-allowed; }

/* stage 2: details */
.cx-chosen {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px;
  margin-bottom: clamp(24px, 2.8vw, 32px); padding: 14px 18px; border-radius: 4px; background: var(--sc-wash-v);
}
.cx-chosen p { font-size: 15px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-chosen b { font-weight: 500; color: var(--sc-ink); }
.cx-back { font-size: 15px; line-height: 1.9; }
.cx-h2 { margin: 0 0 16px; font-size: 18px; font-weight: 500; line-height: 1.9; }
.cx-h2:focus { outline: none; }
.cx-h2:focus-visible { outline: 2px solid var(--sc-violet); outline-offset: 4px; }
.cx-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.cx-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.cx-field--full { grid-column: 1 / -1; }
.cx-field label { font-size: 15px; font-weight: 500; line-height: 1.9; }
.cx-req { margin-inline-start: 4px; color: var(--sc-violet); }
.cx-opt-l { margin-inline-start: 6px; font-size: 14px; font-weight: 400; color: var(--sc-ink-2); }
.cx-input {
  display: block; width: 100%; min-width: 0; margin: 0; padding: 12px 14px;
  border: 1px solid rgba(0, 24, 52, .24); border-radius: 4px; background: var(--sc-surface); color: var(--sc-ink);
  font-family: var(--sc-ar); font-size: 16px; line-height: 1.6;
  transition: border-color var(--sc-t-fast) var(--sc-ease), box-shadow var(--sc-t-fast) var(--sc-ease);
}
.cx-input::placeholder { color: var(--sc-ink-3); opacity: 1; }
.cx-input:hover { border-color: rgba(0, 24, 52, .4); }
.cx-input:focus { outline: 2px solid var(--sc-violet); outline-offset: 1px; border-color: var(--sc-violet); }
.cx-input[dir="ltr"] { font-family: var(--sc-lat); font-size: 15.5px; }
.consult:not(.consult--en) .cx-input[dir="ltr"] { text-align: right; }
.cx-input[aria-invalid="true"] { border-color: var(--sc-violet); box-shadow: inset 0 0 0 1px var(--sc-violet); }
textarea.cx-input { min-height: 112px; resize: vertical; line-height: 1.9; }
.cx-fhint { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-fhint .sc-ltr { font-family: var(--sc-lat); font-size: 14px; white-space: nowrap; }
.cx-ferr { font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-violet); }
.cx-count { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-count.is-over { font-weight: 500; color: var(--sc-violet); }
.cx-ferr:empty { display: none; }

/* summary before paying */
.cx-sum-h { margin: clamp(28px, 3vw, 36px) 0 10px; font-size: 14px; font-weight: 500; line-height: 1.9; color: var(--sc-ink-2); }
.cx-sum { margin: 0; border-top: 1px solid var(--sc-ink); }
.cx-sum > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; column-gap: 16px; padding-block: 11px; border-bottom: 1px solid var(--sc-line); }
.cx-sum dt { font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-sum dd { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.9; }
.cx-sum dd small { display: block; font-size: 14px; font-weight: 400; color: var(--sc-ink-2); }
.cx-sum__fee dd { display: flex; align-items: baseline; font-size: 14px; font-weight: 400; color: var(--sc-ink-2); }
.cx-sum__fee dd > span { display: inline-flex; align-items: baseline; gap: 6px; }
.cx-sum__fee b { font-family: var(--sc-lat); font-size: 30px; font-weight: 300; line-height: 1.3; color: var(--sc-ink); }

/* refund rule, paid sessions only (consult.js hides it for the free idea) */
.cx-refund {
  margin-top: 14px; padding-inline-start: 12px; border-inline-start: 2px solid var(--sc-teal);
  font-size: 14px; line-height: 1.9; color: var(--sc-ink-2);
}

.cx-status { margin: 20px 0 0; }
.cx-status:empty { margin: 0; }
.cx-submit { width: 100%; margin-top: 22px; }
.cx-submit[aria-busy="true"] { cursor: progress; opacity: .8; transform: none; }
.cx-fine { margin-top: 14px; font-size: 14px; line-height: 1.9; color: var(--sc-ink-2); }
.cx-fine + .cx-fine { margin-top: 6px; }
.cx-fine a { color: var(--sc-violet); text-decoration: underline; text-decoration-color: var(--sc-violet-a); text-underline-offset: 5px; }
.cx-fine a:hover { text-decoration-color: var(--sc-violet); }
.cx-fine .sc-lat { font-size: 14px; }

/* end states: done / closed / no script */
.cx-state { display: grid; justify-items: start; gap: 14px; padding-block: 6px; }
.cx-state:focus { outline: none; }
.cx-state:focus-visible { outline: 2px solid var(--sc-violet); outline-offset: 8px; }
.cx-state__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sc-wash-t); color: var(--sc-teal-ink); }
.cx-state__mark svg { width: 26px; height: 26px; }
.cx-state__mark--wait { background: var(--sc-wash-v); color: var(--sc-violet); }
#cx-done-mark .cx-ico-wait, #cx-done-mark.cx-state__mark--wait .cx-ico-ok { display: none; }
#cx-done-mark.cx-state__mark--wait .cx-ico-wait { display: block; }
.cx-state h2 { font-size: clamp(22px, 1rem + .9vw, 30px); font-weight: 500; line-height: 1.5; }
.cx-state p { max-width: 36rem; font-size: 16.5px; line-height: 1.95; color: var(--sc-ink-2); }
.cx-state .sc-actions { margin-top: 6px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1099px) {
  .cx-panel { max-width: 760px; }
  .cx-aside { max-width: 760px; }
}
@media (max-width: 599px) {
  .cx-panel { padding: 22px 16px 24px; margin-inline: -4px; }
  .cx-types { grid-template-columns: minmax(0, 1fr); }
  .cx-durs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-fields { grid-template-columns: minmax(0, 1fr); }
  .cx-next .sc-btn { flex: 1 1 100%; }
  .cx-state .sc-actions .sc-btn { flex: 1 1 100%; }
  .cx-sum > div { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .cx-wa { padding: 14px 16px; column-gap: 14px; }
  .cx-offer { padding: 20px 16px 22px; margin-inline: -4px; }
  .cx-offer__cta { width: 100%; }
  .cx-durs.is-locked { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .cx-panel { padding-inline: 14px; }
  .cx-day { width: 86px; }
  .cx-dur .cx-opt__in { padding-inline: 10px; }
}

/* ---------------- Motion ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .cx-head .cx-eyebrow, .cx-head .cx-title, .cx-head .cx-lead { animation: cx-rise .6s var(--sc-ease) both; }
  .cx-head .cx-title { animation-delay: .06s; }
  .cx-head .cx-lead { animation-delay: .14s; }
  .cx-blade { animation: cx-slab .65s var(--sc-ease) .2s both; }
  .cx-stage.is-entering, .cx-state.is-entering { animation: cx-fade .35s var(--sc-ease) both; }
}
@keyframes cx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cx-slab { from { opacity: 0; } to { opacity: 1; } }
@keyframes cx-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cx-opt__in, .cx-type .cx-opt__in::after, .cx-input, .cx-wa, .cx-daynav__b { transition: none; }
  .cx-wa:hover { transform: none; }
}

/* ---------------- English page (LTR) ----------------
   Shared English chrome rules (Poppins stack, LTR header/footer, Arabic runs) come from /assets/css/en.css. */
.consult--en .cx-title { font-weight: 300; line-height: 1.22; }
.consult--en .cx-title b { font-weight: 600; }
.consult--en .cx-lead, .consult--en .cx-state p { line-height: 1.75; }
.consult--en .cx-step__h, .consult--en .cx-h2 { font-size: 17px; }
.consult--en .cx-dur__t { font-size: 15px; }
.consult--en .cx-offer__h { line-height: 1.3; }
.consult--en .cx-offer__cond, .consult--en .cx-offer__how, .consult--en .cx-offer-full, .consult--en .cx-refund, .consult--en .cx-count { line-height: 1.7; }
