/* ==========================================================================
   Umrah guide (compact, prestige pass 2026-10-11): numbered serif steps, hairlines,
   du'as as quiet cards, square shapes. The page hero is the shared film hero (dh_page_hero).
   ========================================================================== */

/* Sticky step navigator with reading progress */
.gnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(250, 247, 241, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.gnav__inner { overflow-x: auto; scrollbar-width: none; }
.gnav__inner::-webkit-scrollbar { display: none; }
.gnav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; min-width: max-content; }
.gnav__link { display: flex; align-items: center; gap: 8px; padding: 16px 16px 15px; text-decoration: none; color: var(--muted); white-space: nowrap; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.gnav__link:hover, .gnav__link.is-current { color: var(--text); }
.gnav__link.is-current { border-bottom-color: var(--gold); }
.gnav__icon { display: none; }
.gnav__t { display: inline-flex; align-items: baseline; gap: 8px; }
.gnav__n { font-family: var(--f-display); font-style: italic; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--gold-ink); }
.gnav__link.is-done .gnav__n { color: var(--gold-ink); }
.gnav__progress { height: 2px; background: transparent; }
.gnav__progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .15s linear; }

/* Step chapters */
.gstep { scroll-margin-top: calc(var(--header-h) + 64px); }
.gstep__grid { display: grid; gap: clamp(28px, 4vw, 72px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .gstep__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .gstep__sticky { position: sticky; top: calc(var(--header-h) + 100px); } }
.gstep__n { font-family: var(--f-display); font-style: italic; font-size: clamp(3.2rem, 2.4rem + 2.6vw, 5rem); line-height: .9; color: var(--gold-deep); letter-spacing: 0; text-transform: none; }
.gstep__icon { display: none; }
.gstep__title { font-size: var(--fs-h2); margin-top: 12px; }
.gstep__ar { font-family: var(--f-arabic); font-size: 1.8rem; line-height: 1.7; color: var(--gold-ink); margin-top: 6px; }
.gstep__summary { margin-top: 14px; font-size: var(--fs-lead); color: var(--muted); max-width: 34ch; }
.gstep__body { min-width: 0; }
.gstep__h { font-family: var(--f-body); font-weight: 500; font-size: var(--fs-label); letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-ink); margin: 40px 0 14px; }
.gstep__body > .gstep__h:first-child { margin-top: 0; }

.howto { list-style: none; margin: 0; padding: 0; counter-reset: how; border-top: 1px solid var(--line); }
.howto li { counter-increment: how; position: relative; padding: 16px 0 16px 52px; border-bottom: 1px solid var(--line); line-height: 1.6; font-size: 1.04rem; }
.howto li::before { content: counter(how, decimal-leading-zero); position: absolute; left: 0; top: 13px; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; color: var(--gold-ink); }

.mw { margin-top: 30px; }
.mw .pill-tabs { margin-bottom: 0; }
.mw__panel { padding: 18px 0 4px; color: var(--text); }
.mw__panel p + p { margin-top: .6em; }

.madhhab { margin-top: 26px; padding: 2px 0 2px 18px; border-left: 1px solid var(--gold); font-size: .92rem; color: var(--muted); }
.madhhab strong { font-weight: 500; color: var(--gold-ink); letter-spacing: .02em; }

/* Du'as */
.dua-list { display: grid; gap: 14px; }
.dua { margin: 0; padding: clamp(20px, 2.4vw, 30px); background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; }
.section--white .dua { background: var(--ivory); border-color: transparent; }
.dua__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.dua__title { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15; }
.dua--compact .dua__when { display: none; }
.dua__when { font-size: .82rem; color: var(--muted); }
.dua__ar { font-family: var(--f-arabic); font-size: clamp(1.5rem, 1.25rem + .8vw, 2rem); line-height: 2.05; color: var(--text); text-align: right; }
.dua__tr { font-style: italic; color: var(--gold-ink); line-height: 1.6; font-size: .96rem; }
.dua__en { color: var(--text); line-height: 1.6; }
.dua__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dua__ref { font-size: .78rem; color: var(--muted); }
.dua__copy { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--gold-ink); padding: 6px 4px; min-height: 36px; }
.dua__copy:hover { color: var(--text); }
.dua__copy .icon { width: 15px; height: 15px; }
.dua__copy.is-copied { color: var(--ok); }
.dua__note { display: flex; gap: 8px; font-size: .84rem; color: var(--muted); }
.dua__note .icon { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--gold-ink); }

/* Counters (Tawaf and Sa'i) */
.counter { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; padding: clamp(20px, 3vw, 32px); margin-bottom: 36px; background: var(--ink); color: var(--on-dark); }
@media (min-width: 640px) { .counter--tawaf { grid-template-columns: 220px minmax(0, 1fr); } }
.counter__ring { position: relative; width: 200px; margin-inline: auto; }
.counter__ring svg { width: 100%; height: auto; display: block; }
.counter__seg { fill: none; stroke: rgba(246, 241, 231, .12); stroke-width: 10; stroke-linecap: butt; transition: stroke .3s; }
.counter__seg.is-done { stroke: var(--gold); }
.counter__seg.is-current { stroke: rgba(214, 191, 146, .4); }
.counter__big { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; font-family: var(--f-display); font-size: 1.7rem; line-height: 1; }
.counter__big small { font-size: .9rem; opacity: .7; margin-left: 2px; }
.counter__label { font-family: var(--f-body); font-weight: 500; text-transform: uppercase; letter-spacing: var(--track); font-size: .72rem; color: var(--gold-soft); display: flex; align-items: center; gap: 10px; }
.counter__mini { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0; padding: 0 8px; border: 1px solid rgba(214, 191, 146, .4); color: var(--on-dark); }
.counter__tip { margin-top: 10px; color: var(--on-dark-muted); min-height: 3.3em; }
.counter__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.counter .btn--primary { --bg: var(--gold); --bd: var(--gold); --fg: var(--ink); }
.counter .btn--primary:hover { --bg: var(--on-dark); --bd: var(--on-dark); }
.counter .btn--ghost { --fg: var(--on-dark); --bd: rgba(246, 241, 231, .35); }
.counter .btn--ghost:hover { --bg: var(--on-dark); --fg: var(--ink); --bd: var(--on-dark); }
.counter.is-complete .counter__tip { color: var(--on-dark); }
.sai-track { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.sai-track__end { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 500; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }
.sai-track__end .icon { width: 30px; height: 30px; }
.sai-track__line { position: relative; height: 2px; background: rgba(246, 241, 231, .2); }
.sai-track__green { position: absolute; left: 32%; width: 26%; top: -4px; bottom: -4px; background: rgba(120, 170, 120, .45); }
.sai-track__walker { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); transition: left .8s var(--ease); }
.sai-track__walker .icon { width: 20px; height: 20px; }

/* Ihram rules: three ruled columns */
.rules { display: grid; gap: 0 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rules__col { padding: 22px 0; border-top: 1px solid var(--text); }
.rules__title { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; margin-bottom: 12px; }
.rules__col--mw .rules__title + ul + .rules__title { margin-top: 22px; }
.rules__title .icon { width: 18px; height: 18px; color: var(--gold-ink); }
.rules__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.rules__col li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.rules__note { margin-top: 26px; }

/* Checklist */
.gcheck__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; }
.gcheck__head .shead { margin-bottom: 28px; }
.gcheck__tools { display: flex; align-items: center; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.gcheck__progress { font-family: var(--f-display); font-size: 1.3rem; padding: 4px 6px; }
.checklist { display: grid; gap: 28px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .checklist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.checklist__group { padding: 0; }
.checklist__title { float: left; width: 100%; font-weight: 500; text-transform: uppercase; letter-spacing: var(--track); font-size: .7rem; color: var(--gold-ink); margin-bottom: 8px; }
.checklist__title + * { clear: both; }
.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid var(--line-strong); color: transparent; transition: background-color .2s, border-color .2s, color .2s; margin-top: 3px; }
.check__box .icon { width: 14px; height: 14px; }
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check input:checked ~ .check__t { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 99, 88, .5); }

/* Requirements and sources */
.reqs { display: grid; gap: 0 48px; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .reqs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.req { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.req__title { font-size: 1.45rem; }
.req__text { color: var(--muted); font-size: .96rem; }
.req__src { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--gold-ink); }
.req__src .icon { width: 13px; height: 13px; }
.gsources__reviewed { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.gsources__reviewed .icon { color: var(--gold-ink); }
.gsources__list { margin-top: 12px; font-size: .88rem; color: var(--muted); }
.gsources__list summary { cursor: pointer; font-weight: 500; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.gsources__list ul { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.gsources__list a { color: var(--muted); word-break: break-word; }

@media print {
  .site-header, .site-footer, .actionbar, .wa-float, .to-top, .gnav, .phero, .gstep, .grules, .greqs, #faq, .gsources, .cta-wrap, .gcheck__tools { display: none !important; }
  .gcheck { padding: 0 !important; background: #fff !important; }
  .checklist { grid-template-columns: repeat(2, 1fr) !important; }
  .checklist__group { border: 1px solid #ccc; break-inside: avoid; padding: 10px !important; }
}
