/* Umrah guide, Tawaf diagram, checklist and luggage rules.
   Shared by the public site (main.css tokens) and the portal (app.css tokens). */

.guide { --g-surface: var(--surface, #fff); --g-line: var(--line, #d6dce4); --g-soft: var(--ink-soft, #4a5668); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.step:nth-child(even) .step__media { order: 2; }
.step__media { min-width: 0; }
.step__img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 50px -32px rgba(8,35,65,.55); }
.step__icon-art { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 18px; background: var(--navy); color: var(--gold); background-image: url("../img/ill/pattern-tile.webp?v=4"); background-size: 220px; background-blend-mode: soft-light; }
.step__icon-art .icon { width: 30%; height: auto; stroke-width: 1.1; }
.step__label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; padding: .2rem .75rem; border-radius: 999px; background: var(--navy); color: var(--gold); font-size: .85rem; font-weight: 600; }
.step__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); color: var(--navy); margin: 0 0 .75rem; line-height: 1.15; }
.step__body > p { color: var(--ink); margin: 0 0 1rem; max-width: 36rem; }
.step__body > p.step__label { color: var(--gold); margin-bottom: .5rem; }
.step__tips { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.step__tips li { display: flex; gap: .55rem; align-items: flex-start; color: var(--g-soft, #4a5668); font-size: .97rem; }
.step__tips .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--gold-text, #8a5f00); stroke-width: 2.4; }
.step__video { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.step__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-facade { width: 100%; height: 100%; border: 0; cursor: pointer; background-size: cover; background-position: center; display: grid; place-items: center; }
.video-facade__play { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(8,35,65,.85); position: relative; }
.video-facade__play::after { content: ""; position: absolute; left: 1.6rem; top: 1.25rem; border-style: solid; border-width: .75rem 0 .75rem 1.2rem; border-color: transparent transparent transparent var(--gold); }
@media (max-width: 860px) {
  .step { grid-template-columns: 1fr; gap: 1.1rem; }
  .step:nth-child(even) .step__media { order: 0; }
}
.steps--compact { gap: 1.5rem; }
.steps--compact .step { grid-template-columns: 1fr; gap: .9rem; padding: 1rem; background: var(--surface, #fff); border: 1px solid var(--line, #d6dce4); border-radius: 14px; }
.steps--compact .step:nth-child(even) .step__media { order: 0; }
.steps--compact .step__img, .steps--compact .step__icon-art { border-radius: 10px; box-shadow: none; }
.steps--compact .step__icon-art { aspect-ratio: 16 / 7; }
.steps--compact .step__title { font-size: 1.35rem; }

/* ---------- Tawaf diagram ---------- */
.tawaf-diagram { margin: 1.25rem 0 0; padding: .75rem; max-width: 26rem; background: var(--surface, #fff); border: 1px solid var(--line, #d6dce4); border-radius: 14px; }
.tawaf-diagram svg { display: block; width: 100%; height: auto; }
.tw-ring { fill: none; stroke: var(--line, #d6dce4); stroke-width: 1; stroke-dasharray: 2 5; }
.tw-route { fill: none; stroke: #c9900a; stroke-width: 3; stroke-linecap: round; }
.tw-start { stroke: #1e7a4c; stroke-width: 3; stroke-dasharray: 7 5; }
.tw-hijr { fill: none; stroke: var(--navy); stroke-width: 3; }
.tw-kaaba { fill: #0d0d0d; }
.tw-band { fill: #e3ad2b; }
.tw-door { stroke: #e3ad2b; stroke-width: 4; stroke-linecap: round; }
.tw-stone { fill: #1e7a4c; stroke: #fff; stroke-width: 2.5; }
.tw-label { font: 600 13px var(--font-body, sans-serif); fill: var(--navy); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.tw-leader { stroke: var(--navy); stroke-width: 1; stroke-dasharray: 2 3; }
.tw-label--gold { fill: #1e7a4c; }
.tw-label--soft { font-weight: 400; fill: var(--ink-soft, #4a5668); }

/* ---------- Sunnahs ---------- */
.sunnahs { margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 18px; color: #fff; background: var(--navy) url("../img/ill/pattern-tile.webp?v=4") center / 260px; background-blend-mode: soft-light; }
.sunnahs__title { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 1.25rem; color: #fff; }
.sunnahs__title .icon { width: 28px; height: 28px; color: var(--gold); }
.sunnahs__list { columns: 2 20rem; column-gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.sunnahs__list li { break-inside: avoid; position: relative; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.sunnahs__list li::before { content: "✤"; position: absolute; left: 0; top: .55rem; color: var(--gold); }
.guide-note { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: #fff6dd; color: #3b3322; border-radius: 0 10px 10px 0; }

/* ---------- Checklist (public + portal) ---------- */
.tick { display: flex; gap: .85rem; align-items: flex-start; padding: .75rem 0; border-top: 1px solid var(--line, #d6dce4); cursor: pointer; position: relative; }
li:first-child > .tick { border-top: 0; }
.tick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tick__box { display: grid; place-items: center; flex: none; width: 1.6rem; height: 1.6rem; margin-top: .1rem; border: 2px solid var(--line, #c9d0d9); border-radius: 6px; color: transparent; background: #fff; transition: background-color .15s, border-color .15s; }
.tick__box .icon { width: 16px; height: 16px; stroke-width: 3; }
.tick input:checked + .tick__box { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.tick input:checked + .tick__box .icon { animation: tick-pop .25s ease-out; }
.tick input:checked ~ .tick__text strong { text-decoration: line-through; text-decoration-color: var(--gold); color: var(--ink-soft, #4a5668); }
.tick input:focus-visible + .tick__box { outline: 3px solid var(--gold); outline-offset: 2px; }
.tick__text { display: grid; gap: .1rem; }
.tick__text strong { font-weight: 600; color: var(--ink); }
.tick__text small { color: var(--ink-soft, #4a5668); font-size: .93rem; line-height: 1.45; }
@keyframes tick-pop { from { scale: .3; } 70% { scale: 1.2; } to { scale: 1; } }
@media (prefers-reduced-motion: reduce) { .tick input:checked + .tick__box .icon { animation: none; } }
.group-icon { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; margin-right: .6rem; border-radius: 50%; background: var(--navy); color: var(--gold); vertical-align: middle; }
.group-icon .icon { width: 18px; height: 18px; }
.progress { height: 6px; border-radius: 999px; background: var(--line, #d6dce4); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width .25s ease; }

/* ---------- Luggage rules ---------- */
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.rule { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line, #d6dce4); border-radius: 14px; background: var(--surface, #fff); }
.rule__icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: #fff3d1; color: var(--gold-text, #8a5f00); }
.rule__icon .icon { width: 22px; height: 22px; }
.rule h3 { font-family: var(--font-body, sans-serif); font-weight: 600; font-size: 1.02rem; margin: 0 0 .2rem; color: var(--navy); }
.rule p { margin: 0; color: var(--ink-soft, #4a5668); font-size: .95rem; }
.rules--compact { grid-template-columns: 1fr; gap: 0; }
.rules--compact .rule { border: 0; border-top: 1px solid var(--line, #d6dce4); border-radius: 0; padding: .8rem 0; background: none; }

@media print {
  .site-header, .site-footer, .quick-bar, .page-hero__img, .hero__actions, .cta-band, .pack__bar button { display: none !important; }
  .page-hero { background: none !important; color: #000 !important; padding: 0 !important; }
  .page-hero__title { color: #000 !important; }
  .tick__box { border-color: #000; }
}

/* v4: larger text, softer Sunnahs background */
.step__label { font-size: .95rem; padding: .3rem .85rem; }
.step__body > p { font-size: 1.15rem; line-height: 1.7; }
.step__tips li { font-size: 1.05rem; }
.sunnahs { position: relative; isolation: isolate; background: var(--navy); background-blend-mode: normal; }
.sunnahs::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: url("../img/ill/pattern-tile.webp?v=4") center / 260px; opacity: .05; }
.sunnahs__list li { font-size: 1.1rem; line-height: 1.6; color: #fff; }
.step__icon-art { background-blend-mode: normal; background-image: none; }
.tick__text strong { font-size: 1.08rem; }
.tick__text small { font-size: 1rem; }
.rule h3 { font-size: 1.12rem; }
.rule p { font-size: 1.02rem; }
.pack__group h2 { font-size: 1.5rem; }
.guide-note { font-size: 1.08rem; }
.tw-label { font-size: 14px; }
