/* ===================================================================
   HAJJ GUIDE · 1447 · MOBILE-FIRST
   PPTX-Matched Theme: Sage / Lavender / Burgundy / Warm Brown
   Designed for phone first, scales up to desktop.
=================================================================== */

:root {
  --sage:        #5E7A48;
  --sage-light:  #8AA874;
  --sage-pale:   #F3F7EC;
  --lavender:    #A287B8;
  --lavender-light: #C4B0D4;
  --lavender-pale:  #EFE9F4;
  --burgundy:    #7A1F24;
  --burgundy-dark: #5C1518;
  --warm-brown:  #6E5A4A;
  --warm-brown-light: #8D7868;
  --ink:         #2A2624;
  --ink-soft:    #4A4540;
  --muted:       #6E5A4A;

  --bg:          #F7F5F1;
  --bg-tint:     #EFEAE0;
  --paper:       #FFFFFF;
  --beige:       #E8E2D6;
  --stone:       #D8D2C8;

  --gold:        #C9A66B;
  --gold-bright: #E0B97A;
  --gold-deep:   #A6864F;

  --line:        #D8D2C8;
  --line-soft:   #E8E2D6;

  --shadow-1:    0 2px 6px rgba(42, 38, 36, 0.06);
  --shadow-2:    0 8px 24px rgba(42, 38, 36, 0.10);
  --shadow-sage: 0 6px 18px rgba(94, 122, 72, 0.25);

  --font-ar-head: 'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-ar-body: 'Tajawal', 'Cairo', system-ui, sans-serif;
  --font-lat-head: 'Inter', 'Calibri', system-ui, sans-serif;
  --font-lat-body: 'Inter', 'Calibri', system-ui, sans-serif;

  --radius:      14px;
  --radius-lg:   20px;
  --radius-pill: 999px;

  --bottom-nav-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tap-min: 44px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-lat-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ======================= TOP NAVIGATION ======================= */

.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s ease;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 12px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink);
  min-height: var(--tap-min);
}
.logo-mark {
  width: 40px; height: 40px;
  background: var(--sage);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(94, 122, 72, 0.25);
  flex-shrink: 0;
}
.logo-mark.big { width: 52px; height: 52px; font-size: 17px; border-radius: 12px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-ru {
  font-family: var(--font-lat-head); font-weight: 700;
  font-size: 12px; letter-spacing: 1.4px;
  color: var(--sage);
  text-transform: uppercase;
}
.logo-ar {
  font-family: var(--font-ar-head); font-weight: 700;
  font-size: 11px; color: var(--warm-brown);
  margin-top: 2px;
}
.nav-links { display: none; }
.nav-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--burgundy) 0%, var(--lavender) 50%, var(--sage) 100%);
  transition: width .12s linear;
}

/* ======================= LIVE INFO BAR ======================= */

.info-bar {
  display: flex;
  gap: 10px;
  padding: 10px 12px 12px;
  background:
    linear-gradient(180deg, rgba(247, 245, 241, 0.94) 0%, rgba(243, 247, 236, 0.7) 100%);
  border-top: 1px solid var(--line-soft);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.info-bar::-webkit-scrollbar { display: none; }

.info-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 16px 12px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow:
    0 4px 14px rgba(42, 38, 36, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration: none;
  color: inherit;
  min-height: 60px;
  overflow: hidden;
  isolation: isolate;
}
.info-chip:active { transform: scale(0.985); }
.event-chip { background: linear-gradient(135deg, #FDFCF8 0%, #F8F2E8 100%); }
.prayer-chip { background: linear-gradient(135deg, #FBFDF7 0%, #F0F5E6 100%); }
.weather-chip { background: linear-gradient(135deg, #FFFDF5 0%, #FAF0D8 100%); }

/* Live indicator dot */
.live-dot {
  position: absolute;
  top: 7px; right: 8px;
  width: 7px; height: 7px;
  background: #E04A4A;
  border-radius: 50%;
  z-index: 4;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: liveDotRing 1.8s ease-out infinite;
}
.live-dot-sage { background: #5BC78A; }
@keyframes liveDotRing {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Icon container */
.ic-icon-wrap {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow:
    0 5px 14px rgba(0, 0, 0, 0.14),
    inset 0 -2px 5px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.18);
}
.chip-icon-event {
  background: linear-gradient(135deg, #2B2520 0%, #4A4035 50%, #2B2520 100%);
}
.chip-icon-prayer {
  background: linear-gradient(135deg, #6E8B55 0%, var(--sage) 50%, #4A6238 100%);
}
.chip-icon-weather {
  background: linear-gradient(135deg, #FFC961 0%, #E0B97A 60%, #B58A48 100%);
}
.ic-icon-svg { width: 24px; height: 24px; position: relative; z-index: 1; }

/* Shimmer on icon */
.ic-icon-wrap::after {
  content: '';
  position: absolute;
  inset: -50% -50%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  animation: chipShimmer 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes chipShimmer {
  0%, 100% { transform: translateX(-50%) translateY(-50%); opacity: 0; }
  50% { transform: translateX(50%) translateY(50%); opacity: 1; }
}

/* Body */
.ic-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  min-width: 0;
}
.ic-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 1px;
}
.lbl-ru {
  font-family: var(--font-lat-head);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.lbl-ar {
  font-family: var(--font-ar-body);
  font-weight: 700;
  font-size: 10.5px;
  color: var(--warm-brown);
}

.ic-main {
  font-family: var(--font-lat-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.event-chip .ic-main {
  background: linear-gradient(135deg, var(--warm-brown) 0%, #4F3E33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prayer-chip .ic-main {
  background: linear-gradient(135deg, var(--sage) 0%, #4A6238 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ic-count {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  white-space: nowrap;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.event-chip .ic-count { color: var(--warm-brown); }

.ic-meta {
  font-family: var(--font-lat-head);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}
.ic-meta #prayerTime {
  color: var(--sage);
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
}

/* Progress bar at bottom */
.ic-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(42, 38, 36, 0.06);
  overflow: hidden;
}
.ic-progress i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 0 2px 2px 0;
  transition: width 0.8s ease-out;
  background: linear-gradient(90deg, var(--lavender), var(--sage));
}
.event-chip .ic-progress i {
  background: linear-gradient(90deg, var(--gold-bright), var(--warm-brown));
}
.prayer-chip .ic-progress i {
  background: linear-gradient(90deg, var(--gold), var(--sage));
}

/* Weather pills */
.w-row {
  display: flex;
  gap: 4px;
  margin-top: 3px;
  flex-wrap: nowrap;
}
.w-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 7px 4px;
  background: linear-gradient(180deg, #FFF8E0 0%, #F5E5B8 100%);
  border: 1px solid rgba(201, 166, 107, 0.4);
  border-radius: 8px;
  gap: 1px;
  line-height: 1;
  min-width: 42px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 1px 2px rgba(201, 166, 107, 0.15);
}
.w-pill-name {
  font-family: var(--font-ar-body);
  font-size: 9.5px;
  font-weight: 800;
  color: var(--warm-brown);
}
.w-pill-temp {
  font-family: var(--font-lat-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.w-pill-temp.cool { color: var(--sage); }
.w-pill-temp.hot { color: #C5453C; }
.w-pill-temp.scorch { color: #8E2B25; text-shadow: 0 0 4px rgba(255, 0, 0, 0.25); }

.w-source {
  font-family: var(--font-lat-head);
  font-size: 8px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Number-flip subtle effect when countdown updates */
.ic-count.flip {
  animation: countFlip 0.4s ease-out;
}
@keyframes countFlip {
  0%   { opacity: 0.45; transform: translateY(-2px); }
  50%  { opacity: 0.8;  transform: translateY(0); }
  100% { opacity: 1;    transform: translateY(0); }
}

@media (min-width: 600px) {
  .info-bar { padding: 12px 18px 14px; gap: 12px; }
  .info-chip { padding: 12px 18px 14px 13px; min-height: 64px; }
  .ic-icon-wrap { width: 44px; height: 44px; }
  .ic-icon-svg { width: 26px; height: 26px; }
  .ic-main { font-size: 14px; }
  .ic-count { font-size: 13px; }
  .w-pill { min-width: 48px; padding: 4px 9px 5px; }
  .w-pill-temp { font-size: 13px; }
  .w-pill-name { font-size: 10.5px; }
}

@media (min-width: 900px) {
  .info-bar {
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 30px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
  }
  .info-chip:hover {
    transform: translateY(-3px);
    box-shadow:
      0 14px 28px rgba(42, 38, 36, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.12);
  }
  .event-chip:hover { border-color: var(--warm-brown); }
  .prayer-chip:hover { border-color: var(--sage); }
  .weather-chip:hover { border-color: var(--gold-deep); }
}
.nav-toggle {
  display: flex;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--sage); border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.topnav.hidden { transform: translateY(-100%); }

/* ======================= MOBILE BOTTOM NAV ======================= */

.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 95;
  padding-bottom: var(--safe-bottom);
  box-shadow: 0 -4px 20px rgba(42, 38, 36, 0.06);
}
.bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 6px;
  min-height: var(--bottom-nav-h);
  color: var(--warm-brown);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  transition: color .2s ease;
}
.bn-item svg {
  width: 22px; height: 22px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bn-item span {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.bn-item small {
  font-family: var(--font-ar-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1px;
}
.bn-item:active { color: var(--sage); transform: scale(0.96); }
.bn-item.active { color: var(--sage); }
.bn-item.active small { color: var(--sage); }
.bn-center {
  position: relative;
}
.bn-circle {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 56px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sage);
  border: 4px solid var(--bg);
  transition: transform .25s ease, background .25s ease;
}
.bn-circle svg { width: 26px; height: 26px; stroke: #fff; }
.bn-center span:not(.bn-circle) {
  margin-top: 38px;
  color: var(--sage);
  font-weight: 700;
}
.bn-center:active .bn-circle {
  transform: translateX(-50%) scale(0.92);
  background: var(--burgundy);
}
.bn-emergency { color: var(--burgundy); }
.bn-emergency small { color: var(--burgundy); }
.bn-emergency:active { color: var(--burgundy-dark); }
.bn-emergency svg { animation: bnEmergencyShake 3s ease-in-out infinite; }
@keyframes bnEmergencyShake {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-12deg); }
  92% { transform: rotate(10deg); }
  94% { transform: rotate(-6deg); }
  96% { transform: rotate(3deg); }
}

/* Hide bottom nav on desktop */
@media (min-width: 901px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ======================= TRICOLOR DIVIDER ======================= */

.tricolor-line {
  display: inline-flex;
  gap: 3px;
  margin: 14px auto 0;
}
.tricolor-line span { width: 28px; height: 4px; border-radius: 1px; }
.tricolor-line span:nth-child(1) { background: var(--burgundy); }
.tricolor-line span:nth-child(2) { background: var(--lavender); }
.tricolor-line span:nth-child(3) { background: var(--sage); }

/* ======================= CORNER FLAG ======================= */

.corner-flag {
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 22px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

/* ======================= HERO ======================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  overflow: hidden;
  background: var(--bg);
  padding: 160px 18px 72px;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
  position: absolute;
  top: -130px; right: -150px;
  width: 480px; height: 480px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.55;
  animation: blobFloat 14s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-16px, 16px) rotate(4deg); }
  66% { transform: translate(16px, -8px) rotate(-3deg); }
}
.hero-blob-2 {
  position: absolute;
  bottom: -220px; left: -180px;
  width: 460px; height: 460px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  transform: rotate(180deg);
  animation: blobFloat2 16s ease-in-out infinite;
}
@keyframes blobFloat2 {
  0%, 100% { transform: rotate(180deg) translate(0, 0); }
  50% { transform: rotate(170deg) translate(12px, -12px); }
}
.diamond-strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22px;
  background-image: url('diamond-strip.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.85;
  z-index: 1;
}

.stars, .moon, .mountain, .kaaba-scene, .kaaba-glow,
.kaaba, .kaaba-band, .kaaba-door { display: none !important; }

.hero-content {
  position: relative; z-index: 2;
  width: 100%;
}
.hero-tag {
  display: inline-flex; gap: 6px; margin-bottom: 24px;
  flex-wrap: wrap; justify-content: center;
}
.badge, .badge-ru {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
}
.badge { background: var(--sage); }
.badge-ru { background: var(--lavender); }
.hero-title {
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
}
.ru-big {
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-transform: uppercase;
}
.hero-divider {
  display: inline-flex; gap: 3px;
}
.hero-divider::before, .hero-divider::after {
  content: ''; width: 28px; height: 3px; border-radius: 2px;
}
.hero-divider::before { background: var(--burgundy); }
.hero-divider::after { background: var(--sage); box-shadow: inset 32px 0 0 var(--lavender); }
.hero-divider { width: auto; height: auto; background: none; }
.ar-big {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 46px;
  color: var(--sage);
  line-height: 1.1;
}
.hero-sub {
  margin-top: 22px;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--warm-brown);
  padding: 0 4px;
}
.hero-sub .ar {
  font-family: var(--font-ar-body);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.hero-cta {
  margin-top: 28px;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: transform .2s ease, background .25s ease, color .25s ease;
  border: none;
  font-family: var(--font-lat-body);
  min-height: var(--tap-min);
}
.btn-gold {
  background: var(--sage);
  color: #fff;
  box-shadow: var(--shadow-sage);
}
.btn-gold:active { transform: scale(0.96); background: #4f6c3d; }
.btn-ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
}
.btn-ghost:active { background: var(--burgundy); color: #fff; transform: scale(0.96); }

.hero-stats {
  margin-top: 32px;
  display: flex; gap: 30px; justify-content: center; flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; align-items: center; }
.hstat-num {
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--burgundy);
  line-height: 1;
}
.hstat-lbl {
  font-size: 9.5px; letter-spacing: 1.5px; color: var(--warm-brown);
  margin-top: 6px;
  text-transform: uppercase;
  font-weight: 600;
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--warm-brown-light);
  font-size: 9px; letter-spacing: 1.8px; text-transform: uppercase;
  z-index: 2;
}
.scroll-arrow {
  width: 16px; height: 24px;
  border: 1.5px solid var(--sage);
  border-radius: 12px;
  position: relative;
}
.scroll-arrow::before {
  content: ''; position: absolute;
  top: 4px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 5px;
  background: var(--sage);
  border-radius: 2px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ======================= AYAH ======================= */

.ayah {
  background: #fff;
  color: var(--ink);
  padding: 60px 18px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.ayah::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 320px; height: 320px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
}
.ayah::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 260px; height: 260px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  transform: rotate(180deg);
}
.ayah-frame {
  width: 100%;
  text-align: center;
  position: relative;
  padding: 24px 4px;
  z-index: 1;
}
.ayah-orn {
  height: 22px;
  background-image: url('diamond-strip.png');
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.65;
}
.bism {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--burgundy);
  margin: 28px 0;
  letter-spacing: 0.5px;
}
.ayah-ru {
  font-family: var(--font-lat-body);
  font-style: italic;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--warm-brown);
}
.ayah-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.85;
  color: var(--ink);
  margin-bottom: 22px;
}
.ayah-source {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
}

/* ======================= SECTIONS (Mobile-First) ======================= */

.section {
  padding: 56px 18px;
  position: relative;
}
.section.alt-bg {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}
.section-num {
  display: inline-block;
  font-family: var(--font-lat-head);
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--sage);
  background: var(--sage-pale);
  border: 1px solid var(--sage);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-title-ru {
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.3px;
  color: var(--burgundy);
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-title-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.3;
}
.section-head::after {
  content: '';
  display: block;
  margin: 14px auto 0;
  width: 90px;
  height: 3px;
  background:
    linear-gradient(to right,
      var(--burgundy) 0 28px,
      transparent 28px 31px,
      var(--lavender) 31px 59px,
      transparent 59px 62px,
      var(--sage) 62px 90px);
  border-radius: 1px;
}
.section-sub {
  margin-top: 16px;
  font-size: 13px;
  color: var(--warm-brown);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 0 8px;
}
.section-sub .ar { font-family: var(--font-ar-body); color: var(--sage); font-weight: 500; font-size: 14px; }
.section-footer {
  text-align: center;
  margin-top: 32px;
  padding: 18px 18px;
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 5px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 500;
}
.section-footer .ar { font-family: var(--font-ar-body); font-weight: 600; color: var(--ink); font-size: 14.5px; }

.sub-section-title {
  text-align: center;
  margin: 40px 0 22px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--burgundy);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sub-section-title .ar {
  font-family: var(--font-ar-head);
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

/* ======================= TOC ======================= */

.toc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.toc-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px 16px 20px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: var(--tap-min);
  overflow: hidden;
}
.toc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 14px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.toc-card:active { background: var(--sage-pale); transform: scale(0.99); }
.toc-no {
  font-family: var(--font-lat-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--lavender);
  flex-shrink: 0;
  width: 34px;
  text-align: center;
}
.toc-text {
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.toc-ru {
  font-family: var(--font-lat-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--warm-brown);
  text-transform: uppercase;
}
.toc-ar {
  font-family: var(--font-ar-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}

/* ======================= JOURNEY TIMELINE ======================= */

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.journey-line { display: none; }
.jstep {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  z-index: 1;
  align-items: center;
}
.jstep::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 16px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.jstep:nth-child(3)::before { background: var(--lavender); }
.jstep:nth-child(5)::before { background: var(--sage); }
.jstep:nth-child(7)::before { background: var(--warm-brown); }
.jstep:nth-child(9)::before { background: var(--burgundy); }
.jstep-num {
  width: 54px; height: 54px;
  background: var(--paper);
  color: var(--burgundy);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 22px;
  border: 2.5px solid var(--burgundy);
  box-shadow: 0 4px 12px rgba(122, 31, 36, 0.15);
}
.jstep:nth-child(3) .jstep-num { border-color: var(--lavender); color: var(--lavender); }
.jstep:nth-child(5) .jstep-num { border-color: var(--sage); color: var(--sage); }
.jstep:nth-child(7) .jstep-num { border-color: var(--warm-brown); color: var(--warm-brown); }
.jstep-ru {
  font-family: var(--font-lat-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.jstep-desc-ru { font-size: 11px; color: var(--muted); line-height: 1.4; margin-bottom: 8px; }
.jstep-ar {
  font-family: var(--font-ar-head);
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}
.jstep-desc-ar {
  font-family: var(--font-ar-body);
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ======================= CARD GRIDS ======================= */

.cards-2, .cards-3, .cards-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.cards-6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 20px 22px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}
.card:nth-child(2)::before { background: var(--lavender); }
.card:nth-child(3)::before { background: var(--sage); }
.card:nth-child(4)::before { background: var(--warm-brown); }
.card-no {
  position: absolute;
  top: 12px; right: 14px;
  width: 32px; height: 32px;
  background: var(--burgundy);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  z-index: 2;
}
.card:nth-child(2) .card-no { background: var(--lavender); }
.card:nth-child(3) .card-no { background: var(--sage); }
.card:nth-child(4) .card-no { background: var(--warm-brown); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--sage-pale);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--sage);
  margin: 6px 0 16px;
}
.card:nth-child(2) .card-icon { background: var(--lavender-pale); color: var(--lavender); }
.card-icon svg { width: 24px; height: 24px; }
.card-icon-big {
  width: 56px; height: 56px;
  background: var(--sage);
  color: #fff;
  border-radius: 14px;
  display: grid; place-items: center;
  margin: 6px 0 18px;
}
.card:nth-child(2) .card-icon-big { background: var(--lavender); }
.card-icon-big svg { width: 28px; height: 28px; }
.card-ru {
  font-family: var(--font-lat-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--warm-brown);
  letter-spacing: 0.4px;
  line-height: 1.4;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.card-ar {
  font-family: var(--font-ar-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 10px 0 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.4;
}
.card-list-ru, .card-list-ar {
  font-size: 13px;
  color: var(--ink-soft);
  display: flex; flex-direction: column; gap: 7px;
}
.card-list-ar { font-family: var(--font-ar-body); font-size: 14px; }
.card-list-ru li, .card-list-ar li {
  position: relative;
  padding-left: 14px;
  line-height: 1.5;
}
.card-list-ar li { padding-left: 0; padding-right: 14px; }
.card-list-ru li::before {
  content: ''; position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}
.card-list-ar li::before {
  content: ''; position: absolute;
  right: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}
.card.big { padding: 26px 22px; }

.dual-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.dual-list li {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  background: var(--bg);
  border-left: 3px solid var(--sage);
  border-radius: 8px;
}
.dual-list li:nth-child(2n) { border-left-color: var(--lavender); }
.dual-list li:nth-child(3n) { border-left-color: var(--burgundy); }
.dual-list li .ru { font-size: 12.5px; color: var(--warm-brown); font-weight: 500; }
.dual-list li .ar { font-family: var(--font-ar-body); font-size: 14px; color: var(--ink); font-weight: 500; }

/* ======================= TALBIYAH CARD ======================= */

.talbiyah-card {
  background: var(--burgundy) !important;
  color: #fff;
  border: 1px solid var(--burgundy-dark);
}
.talbiyah-card::before { background: var(--lavender) !important; }
.talbiyah-card .card-no { background: #fff !important; color: var(--burgundy); }
.talbiyah-card .card-icon { background: rgba(255,255,255,0.12); color: #fff; }
.talbiyah-card .card-ru { color: var(--lavender-light); }
.talbiyah-card .card-ar { color: #fff; border-color: rgba(255,255,255,0.2); }
.talbiyah {
  text-align: center;
  margin: 18px 0;
  line-height: 1.85;
}
.talbiyah.ar { font-family: var(--font-ar-head); font-weight: 700; font-size: 17px; color: #fff; }
.talbiyah.ru { font-family: var(--font-lat-body); font-style: italic; font-weight: 500; font-size: 13px; color: var(--lavender-light); }
.talbiyah-note {
  text-align: center;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-top: 14px;
  font-weight: 600;
}

/* ======================= STAT BAND ======================= */

.stat-band {
  margin-top: 28px;
  background: var(--sage);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
}
.stat-band::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
}
.stat-band-title-ru {
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.stat-band-title-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}
.stat-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px;
  position: relative;
}
.big-stat { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.bs-num {
  font-family: var(--font-lat-head);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.bs-lbl {
  font-size: 9.5px;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.3;
}

/* ======================= STAT BAND CONTACT CTA ======================= */

.stat-contact {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.contact-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 14px 14px;
  background: #fff;
  color: var(--sage);
  border-radius: var(--radius-pill);
  font-family: var(--font-lat-body);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    0 0 0 0 rgba(255, 255, 255, 0.55);
  overflow: visible;
  transition: transform .25s ease, box-shadow .25s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(94, 122, 72, 0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.contact-cta:hover::before { opacity: 1; }
.contact-cta:active {
  transform: scale(0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.contact-cta.calling::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: ccCallingRing 0.9s ease-out;
}
@keyframes ccCallingRing {
  0%   { transform: scale(1);    opacity: 1; }
  100% { transform: scale(1.18); opacity: 0; }
}

.cc-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
  animation: ccPulse 2.4s ease-out infinite;
}
.cc-ring.delay { animation-delay: 1.2s; }
@keyframes ccPulse {
  0%   { transform: scale(1);    opacity: 0.85; }
  80%  { transform: scale(1.28); opacity: 0;   }
  100% { transform: scale(1.28); opacity: 0;   }
}

.cc-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sage), #4f6c3d);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(94, 122, 72, 0.35);
  animation: ccShake 3s ease-in-out infinite;
}
.cc-icon svg { width: 20px; height: 20px; }
@keyframes ccShake {
  0%, 92%, 100% { transform: rotate(0); }
  93% { transform: rotate(-14deg); }
  95% { transform: rotate(12deg); }
  97% { transform: rotate(-8deg); }
  99% { transform: rotate(4deg); }
}

.cc-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  gap: 2px;
}
.cc-label {
  font-family: var(--font-lat-head);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--warm-brown);
  text-transform: uppercase;
}
.cc-num {
  font-family: var(--font-lat-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--burgundy);
  letter-spacing: 0.5px;
  line-height: 1;
}
.cc-sub {
  font-family: var(--font-ar-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.4px;
}

.contact-alt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  font-family: var(--font-lat-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: background .25s ease, transform .2s ease;
  min-height: 36px;
}
.contact-alt:active {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(0.96);
}

@media (min-width: 600px) {
  .stat-contact {
    flex-direction: row;
    justify-content: center;
    gap: 22px;
  }
  .cc-num { font-size: 24px; }
}
@media (min-width: 900px) {
  .stat-contact { gap: 26px; }
  .contact-cta { padding: 16px 30px 16px 16px; gap: 16px; }
  .cc-icon { width: 50px; height: 50px; }
  .cc-icon svg { width: 22px; height: 22px; }
  .cc-num { font-size: 28px; }
  .cc-label { font-size: 10.5px; }
  .cc-sub { font-size: 11px; }
}

/* ======================= UMRAH FLOW ======================= */

.umrah-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.uflow-step {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
}
.uflow-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 16px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.uflow-step:nth-child(2)::before { background: var(--lavender); }
.uflow-step:nth-child(3)::before { background: var(--sage); }
.uflow-step:nth-child(4)::before { background: var(--warm-brown); }
.uflow-icon {
  width: 52px; height: 52px;
  margin: 4px auto 14px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.uflow-step:nth-child(2) .uflow-icon { background: var(--lavender); }
.uflow-step:nth-child(3) .uflow-icon { background: var(--burgundy); }
.uflow-step:nth-child(4) .uflow-icon { background: var(--warm-brown); }
.uflow-icon svg { width: 26px; height: 26px; }
.uflow-no {
  display: inline-block;
  font-family: var(--font-lat-head);
  background: #fff;
  border: 2px solid var(--burgundy);
  color: var(--burgundy);
  width: 26px; height: 26px;
  line-height: 22px;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 10px;
  font-size: 12.5px;
}
.uflow-step:nth-child(2) .uflow-no { border-color: var(--lavender); color: var(--lavender); }
.uflow-step:nth-child(3) .uflow-no { border-color: var(--sage); color: var(--sage); }
.uflow-step:nth-child(4) .uflow-no { border-color: var(--warm-brown); color: var(--warm-brown); }
.uflow-ru {
  font-family: var(--font-lat-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.uflow-desc-ru { font-size: 11.5px; color: var(--muted); margin-bottom: 12px; }
.uflow-ar {
  font-family: var(--font-ar-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.uflow-desc-ar { font-family: var(--font-ar-body); font-size: 12.5px; color: var(--ink-soft); }
.uflow-arrow {
  display: none;
}

/* ======================= TAWAF INTERACTIVE ======================= */

.tawaf-wrap {
  display: flex; flex-direction: column;
  gap: 96px;
}
.tawaf-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 86%;
  max-width: 380px;
  margin: 0 auto;
  display: grid; place-items: center;
}
.tawaf-ring { position: absolute; border-radius: 50%; }
.ring-outer { inset: 0; border: 1.5px dashed var(--lavender); opacity: 0.65; }
.ring-mid   { inset: 12%; border: 1.5px solid var(--sage); opacity: 0.45; }
.ring-inner { inset: 24%; border: 1.5px dashed var(--burgundy); opacity: 0.5; }
.tawaf-kaaba {
  position: absolute;
  width: 22%; height: 22%;
  background: var(--ink);
  border-radius: 6px;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 12px;
  box-shadow:
    0 0 0 2px var(--gold) inset,
    0 0 0 3px rgba(201, 166, 107, 0.25),
    0 8px 24px rgba(42, 38, 36, 0.3);
}
.tawaf-kaaba::after {
  content: '';
  position: absolute;
  top: 30%; left: 0; right: 0;
  height: 12%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold-bright) 50%, var(--gold-deep) 100%);
  box-shadow: 0 0 12px rgba(224, 185, 122, 0.4);
}
.tawaf-pilgrim {
  position: absolute;
  top: 6%; left: 50%;
  width: 22px; height: 22px;
  background: radial-gradient(circle at 30% 30%, var(--lavender-light), var(--lavender));
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(162, 135, 184, 0.6);
  z-index: 2;
  transition: transform 0.5s ease;
}
.tawaf-pilgrim::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(162, 135, 184, 0.3);
  animation: pilgrimPulse 1.6s ease-in-out infinite;
}
@keyframes pilgrimPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.6); opacity: 0; }
}
.tawaf-counter {
  position: absolute;
  bottom: -10px; right: -8px;
  background: var(--sage);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sage);
  text-align: center;
  z-index: 3;
}
.tawaf-counter-num {
  font-family: var(--font-lat-head);
  font-size: 28px;
  font-weight: 800;
  display: block;
  line-height: 1;
}
.tawaf-counter-lbl {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.tawaf-controls {
  position: absolute;
  bottom: -72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  width: max-content;
}
.tw-btn {
  background: var(--burgundy);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12.5px;
  box-shadow: 0 4px 14px rgba(122, 31, 36, 0.25);
  font-family: var(--font-lat-body);
  letter-spacing: 0.3px;
  min-height: var(--tap-min);
}
.tw-btn:active { transform: scale(0.96); background: var(--burgundy-dark); }
.tw-btn-ghost {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
  box-shadow: none;
  width: 44px; padding: 0;
}
.tw-btn-ghost:active { background: var(--sage); color: #fff; }

/* === Count button (Tawaf + Sai manual tap) === */
.count-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 14px;
  font-size: 13px;
  user-select: none;
  -webkit-user-select: none;
}
.count-btn .cb-plus {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: #fff;
  color: var(--burgundy);
  border-radius: 50%;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.count-btn .cb-txt {
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.count-btn:active .cb-plus {
  transform: scale(0.85) rotate(-12deg);
}
.count-btn.counting {
  background: var(--burgundy-dark);
  pointer-events: none;
  opacity: 0.85;
}
.count-btn.counting .cb-plus {
  animation: countPulse 0.6s ease-out infinite;
}
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.count-btn.done {
  background: var(--sage) !important;
  pointer-events: none;
}
.count-btn.done .cb-plus {
  background: #fff;
  color: var(--sage);
}
.count-btn[disabled] { cursor: default; }

.tawaf-steps {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  border: 1px solid var(--line);
  position: relative;
}
.tawaf-steps::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 22px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.ts-title-ru {
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ts-title-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.tawaf-step-list { display: flex; flex-direction: column; gap: 10px; }
.tawaf-step-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
}
.step-no {
  width: 28px; height: 28px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  grid-row: 1 / span 2;
}
.tawaf-step-list li:nth-child(2) .step-no, .tawaf-step-list li:nth-child(5) .step-no { background: var(--lavender); }
.tawaf-step-list li:nth-child(3) .step-no, .tawaf-step-list li:nth-child(6) .step-no { background: var(--burgundy); }
.tawaf-step-list li:nth-child(4) .step-no, .tawaf-step-list li:nth-child(7) .step-no { background: var(--warm-brown); }
.step-ru, .step-ar {
  font-size: 12.5px;
  line-height: 1.5;
  grid-column: 2;
  color: var(--warm-brown);
}
.step-ar { font-family: var(--font-ar-body); font-size: 13.5px; color: var(--ink); font-weight: 500; }

/* ======================= PHONE MOCK ======================= */

.mutawwif-wrap {
  display: flex; flex-direction: column;
  gap: 28px;
}
.phone-mock { display: grid; place-items: center; }
.phone-frame {
  width: 230px;
  background: var(--ink);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(42, 38, 36, 0.25);
  position: relative;
}
.phone-notch {
  width: 70px; height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: linear-gradient(180deg, var(--sage) 0%, #4f6c3d 100%);
  border-radius: 20px;
  padding: 24px 16px;
  margin-top: -6px;
  color: #fff;
  min-height: 420px;
  display: flex; flex-direction: column;
}
.phone-app-bar {
  text-align: center;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--lavender-light);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.phone-counter { text-align: center; margin-bottom: 14px; }
.pc-big {
  font-family: var(--font-lat-head);
  font-size: 60px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  display: block;
}
.pc-lbl { font-size: 10.5px; letter-spacing: 0.8px; color: rgba(255,255,255,0.85); font-weight: 500; }
.phone-progress {
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  margin-bottom: 18px;
  overflow: hidden;
}
.phone-progress-fill {
  height: 100%;
  width: 43%;
  background: var(--lavender-light);
  border-radius: 4px;
  animation: progressShimmer 2.4s ease-in-out infinite;
}
@keyframes progressShimmer {
  0%, 100% { width: 43%; }
  50% { width: 100%; }
}
.phone-dua {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.12);
}
.phone-dua .ru {
  font-size: 9.5px;
  color: var(--lavender-light);
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-weight: 600;
}
.phone-dua .ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.7;
  color: #fff;
}
.phone-btns { display: flex; gap: 8px; margin-top: auto; }
.phone-btns button {
  flex: 1;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 600;
}
.big-stat-card {
  background: var(--lavender);
  color: #fff;
  padding: 24px 20px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.big-stat-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 240px; height: 240px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
}
.big-num {
  font-family: var(--font-lat-head);
  font-size: 60px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.plus { font-family: var(--font-lat-head); font-size: 44px; color: #fff; vertical-align: top; font-weight: 800; }
.big-lbl-ru { font-size: 11px; letter-spacing: 1px; margin-top: 6px; color: rgba(255,255,255,0.9); text-transform: uppercase; font-weight: 600; }
.big-lbl-ar { font-family: var(--font-ar-body); font-size: 13px; color: rgba(255,255,255,0.95); margin-top: 4px; font-weight: 500; }
.mutawwif-desc {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 14px;
  font-size: 13px; color: var(--warm-brown);
}
.mutawwif-desc .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 14.5px; }
.lang-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pill {
  background: var(--paper);
  border: 1px solid var(--sage);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  color: var(--sage);
  font-weight: 700;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
.note {
  background: var(--lavender-pale);
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--lavender);
  margin-bottom: 16px;
  font-size: 12.5px;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--warm-brown);
}
.note .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 13.5px; }
.usage-tips { display: flex; flex-direction: column; gap: 8px; }
.usage-tips li {
  font-size: 12px;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.usage-tips li .ru { color: var(--warm-brown); }
.usage-tips li .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 13px; }

/* ======================= SAI ======================= */

.sai-vis {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px 16px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  position: relative;
}
.sai-vis::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 22px;
  background: var(--sage);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.hill {
  text-align: center;
  display: flex; flex-direction: row; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--sage-pale);
  border-radius: 12px;
  border: 1px solid var(--sage-light);
}
.hill-icon { font-size: 26px; }
.hill-ru { font-family: var(--font-lat-head); font-weight: 800; color: var(--sage); text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; }
.hill-ar { font-family: var(--font-ar-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.sai-track {
  position: relative;
  height: 54px;
  background: var(--bg);
  border-radius: 27px;
  display: flex; align-items: center;
  border: 1px solid var(--line);
}
.green-marker {
  position: absolute;
  width: 5px; height: 32px;
  background: var(--sage);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(94, 122, 72, 0.4);
}
.green-marker.left { left: 30%; }
.green-marker.right { right: 30%; }
.sai-walker {
  position: absolute;
  top: 50%; left: 4%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--lavender);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(162, 135, 184, 0.6);
  transition: left 1s ease-in-out;
}
.sai-rounds {
  position: absolute;
  right: 12px; top: 50%; transform: translateY(-50%);
  background: var(--burgundy);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 12px;
}
.sai-controls { text-align: center; margin-bottom: 24px; }
.sai-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.num-list { display: flex; flex-direction: column; gap: 8px; counter-reset: nl; }
.num-list li {
  position: relative;
  padding: 11px 12px 11px 44px;
  background: var(--paper);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex; flex-direction: column; gap: 5px;
  counter-increment: nl;
  border: 1px solid var(--line-soft);
}
.num-list li::before {
  content: counter(nl);
  position: absolute;
  left: 10px; top: 11px;
  width: 24px; height: 24px;
  background: var(--burgundy);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 12px;
}
.num-list li:nth-child(2n)::before { background: var(--lavender); }
.num-list li:nth-child(3n)::before { background: var(--sage); }
.num-list.ar-list li {
  padding: 11px 44px 11px 12px;
  text-align: right;
  font-family: var(--font-ar-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.num-list.ar-list li::before {
  left: auto; right: 10px;
}
.num-list li .ru { color: var(--warm-brown); }
.num-list li .ar { font-family: var(--font-ar-body); color: var(--ink); font-size: 14px; font-weight: 500; padding-top: 5px; border-top: 1px dashed var(--line); margin-top: 3px; }

.sub-card {
  padding: 14px;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.sub-card.highlight {
  background: var(--sage-pale);
  border: 1px solid var(--sage);
}
.sub-card-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--warm-brown);
  font-family: var(--font-lat-head);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sub-card-head .ar {
  font-family: var(--font-ar-head); margin-left: auto;
  font-weight: 700; color: var(--ink); text-transform: none;
  letter-spacing: 0; font-size: 14.5px;
}
.sc-ico {
  width: 26px; height: 26px;
  background: var(--burgundy);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.sub-card:nth-child(2) .sc-ico { background: var(--lavender); }
.sub-card:nth-child(3) .sc-ico { background: var(--sage); }
.sub-card p { font-size: 12.5px; display: flex; flex-direction: column; gap: 4px; }
.sub-card p .ru { color: var(--warm-brown); }
.sub-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 13.5px; }

/* ======================= MOSQUE SERVICES ======================= */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.srv-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 14px 18px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.srv-card:nth-child(2)::before { background: var(--lavender); }
.srv-card:nth-child(3)::before { background: var(--sage); }
.srv-card:nth-child(4)::before { background: var(--warm-brown); }
.srv-ico {
  font-size: 32px;
  margin: 6px 0 12px;
  display: inline-block;
}
.srv-ru {
  font-family: var(--font-lat-head);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--warm-brown);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  text-transform: uppercase;
  line-height: 1.3;
}
.srv-ar {
  font-family: var(--font-ar-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.4;
}
.srv-card p {
  font-size: 11.5px;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.45;
}
.srv-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 12.5px; }
.srv-stat {
  margin-top: 12px;
  padding: 10px;
  background: var(--sage);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 12px;
}
.srv-num { font-size: 22px; display: block; }
.srv-stat-lbl { font-size: 9.5px; color: rgba(255,255,255,0.9); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.srv-detail {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--lavender-pale);
  border-radius: 8px;
  border: 1px solid var(--lavender-light);
  font-size: 10.5px !important;
}
.srv-detail .ar { font-family: var(--font-ar-body); color: var(--ink); font-size: 11.5px; }

/* ======================= DIGITAL SERVICES ======================= */

.dcard {
  display: block;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  position: relative;
  min-height: 90px;
}
.dcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 20px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.dcard:nth-child(2)::before { background: var(--lavender); }
.dcard:nth-child(3)::before { background: var(--sage); }
.dcard:active { transform: scale(0.99); }
.dcard-no {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-lat-head);
  font-size: 13px;
  color: #fff;
  background: var(--burgundy);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
}
.dcard:nth-child(2) .dcard-no { background: var(--lavender); }
.dcard:nth-child(3) .dcard-no { background: var(--sage); }
.dcard-icon { font-size: 34px; margin: 6px 0 14px; }
.dcard-ru {
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dcard-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 12px;
}
.dcard p {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.55;
  display: flex; flex-direction: column; gap: 4px;
}
.dcard p .ru { color: var(--warm-brown); }
.dcard p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 13.5px; }
.dcard-url {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  min-height: 32px;
  line-height: 16px;
}

/* ======================= HAJJ TIMELINE ======================= */

.hajj-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  margin-top: 28px;
}
.hajj-line { display: none; }
.hajj-day {
  position: relative;
  background: var(--paper);
  padding: 22px 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
  min-height: 160px;
}
.hajj-day:active { transform: scale(0.99); }
.hajj-day.featured {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
  box-shadow: 0 8px 24px rgba(122, 31, 36, 0.22);
}
.hajj-day.featured .hajj-name-ru { color: #fff; }
.hajj-day.featured .hajj-name-ar { color: var(--lavender-light); }
.hajj-day.featured p { color: rgba(255,255,255,0.85); }
.hajj-day.featured p .ar { color: var(--lavender-light); }
.hajj-day.featured .hajj-date { color: #fff; }
.hajj-day.featured .hajj-date small { color: rgba(255,255,255,0.7); }
.hajj-dot {
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--sage);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--sage);
}
.hajj-day.featured .hajj-dot { background: var(--burgundy); width: 16px; height: 16px; top: -8px; box-shadow: 0 0 0 1px var(--burgundy); }
.hajj-date {
  font-family: var(--font-lat-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--burgundy);
  line-height: 1;
  margin: 6px 0 4px;
}
.hajj-date small {
  display: block;
  font-family: var(--font-ar-body);
  font-weight: 500;
  font-size: 10px;
  color: var(--warm-brown);
  margin-top: 3px;
}
.hajj-name-ru {
  font-family: var(--font-lat-head);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hajj-name-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}
.hajj-day p {
  font-size: 10px;
  line-height: 1.4;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 3px;
}
.hajj-day p .ar { font-family: var(--font-ar-body); font-weight: 500; color: var(--ink); font-size: 10.5px; }

/* ======================= DAY SECTIONS ======================= */

.day-section { position: relative; }
.day-head {
  text-align: center;
  margin-bottom: 32px;
}
.day-tag {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-ar-body);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.day-tag.gold {
  background: var(--burgundy);
  color: #fff;
}
.day-title-ru {
  font-family: var(--font-lat-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.day-title-ar {
  font-family: var(--font-ar-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}
.day-sub {
  margin-top: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 13px;
  color: var(--warm-brown);
}
.day-sub .ar { font-family: var(--font-ar-body); color: var(--sage); font-weight: 500; }
.day-head::after {
  content: '';
  display: block;
  margin: 14px auto 0;
  width: 90px;
  height: 3px;
  background:
    linear-gradient(to right,
      var(--burgundy) 0 28px,
      transparent 28px 31px,
      var(--lavender) 31px 59px,
      transparent 59px 62px,
      var(--sage) 62px 90px);
  border-radius: 1px;
}

.day-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.day-col {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--line);
  position: relative;
}
.day-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 20px;
  background: var(--sage);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.day-col:last-child::before { background: var(--lavender); }
.dc-title-ru {
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dc-title-ar {
  font-family: var(--font-ar-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}

/* ======================= ARAFAH SECTION ======================= */

.arafah-section {
  background: #fff;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.arafah-bg-orn {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.arafah-section .day-head, .arafah-section .day-cols, .arafah-section .arafah-quote { position: relative; z-index: 1; }
.arafah-quote {
  text-align: center;
  padding: 28px 22px;
  background: var(--burgundy);
  color: #fff;
  border-radius: var(--radius-lg);
  margin-top: 22px;
  position: relative;
  overflow: hidden;
}
.arafah-quote::before, .arafah-quote::after {
  content: '"';
  position: absolute;
  font-family: 'Times New Roman', Times, serif;
  font-size: 80px;
  color: rgba(255,255,255,0.12);
  line-height: 0.8;
}
.arafah-quote::before { top: 8px; left: 14px; }
.arafah-quote::after { bottom: -20px; right: 14px; }
.arafah-quote .ru {
  font-family: var(--font-lat-body);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.95);
  line-height: 1.6;
}
.arafah-quote .ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  line-height: 1.7;
}

/* ======================= NAHR GRID ======================= */

.nahr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.nahr-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 14px 16px;
  border: 1px solid var(--line);
  position: relative;
  text-align: center;
}
.nahr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.nahr-card:nth-child(2)::before { background: var(--lavender); }
.nahr-card:nth-child(3)::before { background: var(--sage); }
.nahr-card:nth-child(4)::before { background: var(--warm-brown); }
.nahr-no {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  background: var(--burgundy);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 12px;
}
.nahr-card:nth-child(2) .nahr-no { background: var(--lavender); }
.nahr-card:nth-child(3) .nahr-no { background: var(--sage); }
.nahr-card:nth-child(4) .nahr-no { background: var(--warm-brown); }
.nahr-ico { font-size: 34px; margin: 10px 0 14px; display: inline-block; }
.nahr-ru {
  font-family: var(--font-lat-head);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.nahr-ar {
  font-family: var(--font-ar-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.nahr-card p {
  font-size: 11px;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.45;
}
.nahr-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 12px; }

/* ======================= TASHREEQ CHOICE ======================= */

.choice-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}
.choice-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  border: 1px solid var(--line);
  position: relative;
  text-align: center;
}
.choice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 20px;
  background: var(--warm-brown);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.choice-card.preferred {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}
.choice-card.preferred::before { background: var(--lavender); }
.choice-card.preferred h4.ru { color: #fff; }
.choice-card.preferred h4.ar { color: var(--lavender-light); }
.choice-card.preferred p span:first-child { color: rgba(255,255,255,0.9); }
.choice-card.preferred p span:nth-child(2) { color: rgba(255,255,255,0.95); }
.choice-tag {
  display: inline-block;
  background: var(--lavender-pale);
  color: var(--warm-brown);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.choice-tag.gold {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.choice-card h4.ru {
  font-family: var(--font-lat-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.choice-card h4.ar {
  font-family: var(--font-ar-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.choice-card p {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.choice-card p .ar { font-family: var(--font-ar-body); font-size: 14px; color: var(--ink); font-weight: 500; }

/* ======================= CHECKLIST BOX ======================= */

.checklist-box {
  margin-top: 26px;
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.checklist-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 22px;
  background: var(--sage);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.checklist-box h4.ru {
  font-family: var(--font-lat-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.checklist-box h4.ar {
  font-family: var(--font-ar-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}
.checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  text-align: left;
}
.checklist li {
  background: var(--paper);
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  min-height: var(--tap-min);
}
.cmark {
  width: 22px; height: 22px;
  background: var(--sage);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  grid-row: 1 / span 2;
  margin-top: 2px;
}
.checklist li .ru { font-size: 12px; color: var(--warm-brown); }
.checklist li .ar { font-family: var(--font-ar-body); font-size: 13.5px; color: var(--ink); font-weight: 500; text-align: right; }

/* ======================= MEDINA ======================= */

.med-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 18px 20px;
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.med-tag {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--burgundy);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(122, 31, 36, 0.25);
}
.med-card:nth-child(2) .med-tag { background: var(--lavender); }
.med-card:nth-child(3) .med-tag { background: var(--sage); }
.med-card h4.ru {
  font-family: var(--font-lat-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--warm-brown);
  margin: 16px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.med-card h4.ar {
  font-family: var(--font-ar-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.med-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: flex; flex-direction: column; gap: 4px;
}
.med-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 13px; }

.hadith {
  margin-top: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hadith::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
}
.hadith .ru {
  font-family: var(--font-lat-body);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.95);
  position: relative;
  line-height: 1.6;
}
.hadith .ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--lavender-light);
  margin-bottom: 14px;
  position: relative;
  line-height: 1.65;
}
.hadith-src {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  font-weight: 600;
}

/* ======================= TRANSPORT ======================= */

.trn-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 26px 18px 22px;
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.trn-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.trn-card:nth-child(2)::before { background: var(--sage); }
.trn-card:nth-child(3)::before { background: var(--lavender); }
.trn-tag {
  position: absolute;
  top: 12px; right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 9.5px;
  letter-spacing: 0.8px;
  font-weight: 700;
  text-transform: uppercase;
}
.trn-tag.free { background: var(--sage-pale); color: var(--sage); border: 1px solid var(--sage); }
.trn-tag.paid { background: var(--lavender-pale); color: var(--lavender); border: 1px solid var(--lavender); }
.trn-ico { font-size: 40px; margin: 14px 0 14px; display: inline-block; }
.trn-card h4.ru {
  font-family: var(--font-lat-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.trn-card h4.ar {
  font-family: var(--font-ar-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.trn-card p { font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.trn-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 12.5px; }

.loc-card {
  background: var(--paper);
  padding: 20px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.loc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 34px; height: 16px;
  background: var(--lavender);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.loc-card:nth-child(2)::before { background: var(--sage); }
.loc-card:nth-child(3)::before { background: var(--burgundy); }
.loc-no {
  width: 32px; height: 32px;
  background: var(--lavender);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  margin-bottom: 12px;
  margin-top: 6px;
  font-size: 14px;
}
.loc-card:nth-child(2) .loc-no { background: var(--sage); }
.loc-card:nth-child(3) .loc-no { background: var(--burgundy); }
.loc-card h5.ru {
  font-family: var(--font-lat-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.loc-card h5.ar {
  font-family: var(--font-ar-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.loc-card p { font-size: 11.5px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.loc-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 12.5px; }

/* ======================= EXHIBITIONS ======================= */

.exh-card {
  display: block;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 18px 18px;
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.exh-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.exh-card:nth-child(2)::before { background: var(--lavender); }
.exh-card:nth-child(3)::before { background: var(--sage); }
.exh-card:nth-child(4)::before { background: var(--warm-brown); }
.exh-no {
  position: absolute;
  top: 10px; right: 12px;
  font-family: var(--font-lat-head);
  font-size: 22px;
  color: var(--lavender);
  font-weight: 800;
  opacity: 0.5;
}
.exh-ico { font-size: 36px; margin: 14px 0 12px; display: inline-block; }
.exh-card h4.ru {
  font-family: var(--font-lat-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.exh-card h4.ar {
  font-family: var(--font-ar-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.exh-card p {
  font-size: 11px;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.45;
}
.exh-card p .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 12px; }

/* ======================= WORSHIPER ======================= */

.section.worshiper { text-align: center; }
.section.worshiper .section-sub { margin-bottom: 22px; }
.big-url {
  display: inline-block;
  margin: 0 auto 28px;
  background: var(--sage);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-lat-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sage);
  word-break: break-all;
  max-width: 100%;
  min-height: var(--tap-min);
  display: inline-flex;
  align-items: center;
}
.big-url:active { transform: scale(0.97); background: #4f6c3d; }

.wsh-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 10px 16px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
}
.wsh-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 14px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.wsh-card:nth-child(2)::before { background: var(--lavender); }
.wsh-card:nth-child(3)::before { background: var(--sage); }
.wsh-card:nth-child(4)::before { background: var(--warm-brown); }
.wsh-card:nth-child(5)::before { background: var(--burgundy); }
.wsh-card:nth-child(6)::before { background: var(--lavender); }
.wsh-no {
  display: inline-block;
  font-family: var(--font-lat-head);
  width: 26px; height: 26px;
  line-height: 22px;
  background: #fff;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  border-radius: 50%;
  font-weight: 800;
  font-size: 12px;
  margin-top: 6px;
  margin-bottom: 8px;
}
.wsh-card:nth-child(2) .wsh-no { color: var(--lavender); border-color: var(--lavender); }
.wsh-card:nth-child(3) .wsh-no { color: var(--sage); border-color: var(--sage); }
.wsh-card:nth-child(4) .wsh-no { color: var(--warm-brown); border-color: var(--warm-brown); }
.wsh-card:nth-child(5) .wsh-no { color: var(--burgundy); border-color: var(--burgundy); }
.wsh-card:nth-child(6) .wsh-no { color: var(--lavender); border-color: var(--lavender); }
.wsh-ico { font-size: 30px; display: block; margin-bottom: 8px; }
.wsh-card h5.ru {
  font-family: var(--font-lat-head);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--warm-brown);
  line-height: 1.3;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wsh-card h5.ar {
  font-family: var(--font-ar-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* ======================= CONTACTS ======================= */

.contact-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-col {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--line);
  position: relative;
}
.contact-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 22px;
  background: var(--sage);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.contact-col:last-child::before { background: var(--burgundy); }
.cc-title-ru {
  font-family: var(--font-lat-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cc-title-ar {
  font-family: var(--font-ar-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.link-list { display: flex; flex-direction: column; gap: 8px; }
.link-list li a {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 4px;
  padding: 14px 14px;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  min-height: var(--tap-min);
}
.link-list li a:active { background: var(--sage-pale); border-color: var(--sage); }
.ll-ru {
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 11.5px;
  color: var(--warm-brown);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.ll-url {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  color: var(--sage);
  font-weight: 600;
  word-break: break-all;
}
.ll-ar {
  font-family: var(--font-ar-body);
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink);
}

.emergency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.em-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: var(--burgundy);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 96px;
}
.em-card:nth-child(2) { background: var(--sage); }
.em-card:nth-child(3) { background: var(--lavender); }
.em-card:nth-child(4) { background: var(--warm-brown); }
.em-card:nth-child(5) { background: var(--burgundy-dark); }
.em-card:nth-child(6) { background: var(--ink); }
.em-card:active { transform: scale(0.97); filter: brightness(1.08); }
.em-num {
  display: block;
  font-family: var(--font-lat-head);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.em-ru { display: block; font-size: 10.5px; color: rgba(255,255,255,0.9); margin-top: 5px; font-weight: 600; letter-spacing: 0.3px; line-height: 1.2; }
.em-ar { display: block; font-family: var(--font-ar-body); font-size: 11.5px; color: rgba(255,255,255,0.95); margin-top: 2px; font-weight: 500; }

/* ======================= TIPS ======================= */

.tip-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  border: 1px solid var(--line);
  position: relative;
}
.tip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.tip-card:nth-child(2)::before { background: var(--lavender); }
.tip-card:nth-child(3)::before { background: var(--sage); }
.tip-card:nth-child(4)::before { background: var(--warm-brown); }
.tip-tag {
  display: inline-block;
  background: var(--burgundy);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 6px 0 12px;
  text-transform: uppercase;
}
.tip-card:nth-child(2) .tip-tag { background: var(--lavender); }
.tip-card:nth-child(3) .tip-tag { background: var(--sage); }
.tip-card:nth-child(4) .tip-tag { background: var(--warm-brown); }
.tip-ico { font-size: 32px; margin-bottom: 12px; display: inline-block; }

/* ======================= CLOSING ======================= */

.closing {
  background: var(--burgundy);
  color: #fff;
  padding: 80px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-orn {
  position: absolute;
  top: -60px; right: -60px;
  width: 360px; height: 360px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  animation: closingFloat 18s ease-in-out infinite;
  pointer-events: none;
}
@keyframes closingFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-15px, 15px) rotate(180deg); }
}
.closing::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 280px; height: 280px;
  background-image: url('blob.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.12;
  transform: rotate(120deg);
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 1; }
.closing-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.5;
}
.closing-ru {
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--lavender-light);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.closing-dua-ar {
  font-family: var(--font-ar-head);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 14px;
}
.closing-dua-ru {
  font-family: var(--font-lat-body);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}

/* ======================= FOOTER ======================= */

.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 36px 20px 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-brand h4 {
  font-family: var(--font-lat-head);
  color: var(--lavender-light);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.footer-brand p { font-size: 11.5px; color: rgba(255,255,255,0.65); margin-top: 2px; }
.footer-brand p.ar { font-family: var(--font-ar-body); color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500; }
.footer-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}
.footer-meta .muted { color: rgba(255,255,255,0.4); }

/* ======================= BACK TO TOP ======================= */

.back-to-top {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 14px + var(--safe-bottom));
  right: 16px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  border: none;
  font-size: 20px;
  font-weight: 700;
  box-shadow: var(--shadow-sage);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, background .25s ease;
  z-index: 96;
}
.back-to-top:active { background: #4f6c3d; transform: scale(0.95); }
.back-to-top.show { opacity: 1; transform: translateY(0); }

/* ======================================================
   ╔═════════════════════════════════════════════════╗
   ║     NEW SECTIONS (added v2)                     ║
   ╚═════════════════════════════════════════════════╝
====================================================== */

/* === PACKING CHECKLIST === */

.packing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pack-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 16px 8px 14px;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pack-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 22px; height: 12px;
  background: var(--sage);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.pack-card:nth-child(3n)::before { background: var(--lavender); }
.pack-card:nth-child(3n+2)::before { background: var(--burgundy); }
.pack-ico { font-size: 28px; display: block; margin-bottom: 8px; }
.pack-ru {
  display: block;
  font-family: var(--font-lat-head);
  font-size: 10px;
  font-weight: 800;
  color: var(--warm-brown);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.3;
  margin-bottom: 3px;
}
.pack-ar {
  display: block;
  font-family: var(--font-ar-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.prohibited-box {
  margin-top: 28px;
  background: var(--burgundy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}
.prohibited-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 24px;
  background: var(--lavender);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.prohibited-title-ru {
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--lavender-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}
.prohibited-title-ar {
  font-family: var(--font-ar-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.prohibited-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.prohibited-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
}
.x-mark {
  width: 22px; height: 22px;
  background: #fff;
  color: var(--burgundy);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 13px;
}
.prohibited-list li .ru { font-size: 12.5px; color: rgba(255,255,255,0.95); font-weight: 600; }
.prohibited-list li .ar { font-family: var(--font-ar-body); font-size: 13.5px; color: var(--lavender-light); font-weight: 500; }

/* === KAABA CORNERS === */

.corners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.corner-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 16px 16px;
  border: 1px solid var(--line);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.corner-card.touch-yes { border-color: var(--sage); background: linear-gradient(180deg, var(--sage-pale) 0%, var(--paper) 100%); }
.corner-card.touch-only { border-color: var(--lavender); background: linear-gradient(180deg, var(--lavender-pale) 0%, var(--paper) 100%); }
.corner-card.touch-no { border-color: var(--stone); }
.corner-tag {
  display: inline-block;
  font-family: var(--font-lat-head);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.corner-card.touch-yes .corner-tag { background: var(--sage); color: #fff; }
.corner-card.touch-only .corner-tag { background: var(--lavender); color: #fff; }
.corner-card.touch-no .corner-tag { background: var(--stone); color: var(--ink); }
.corner-ru {
  font-family: var(--font-lat-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.corner-ar {
  font-family: var(--font-ar-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.corner-pos {
  display: flex; flex-direction: column;
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
}
.corner-pos .ar { font-family: var(--font-ar-body); font-size: 12px; color: var(--warm-brown); }
.corner-card p:not(.corner-pos) {
  font-size: 12px;
  color: var(--warm-brown);
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.45;
}
.corner-card p:not(.corner-pos) .ar { font-family: var(--font-ar-body); color: var(--ink); font-weight: 500; font-size: 12.5px; }

/* === MAIN GATES === */

.gates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gate-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px 14px 16px;
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
}
.gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 38px; height: 18px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.gate-card:nth-child(2)::before { background: var(--lavender); }
.gate-card:nth-child(3)::before { background: var(--sage); }
.gate-card:nth-child(4)::before { background: var(--warm-brown); }
.gate-card:nth-child(5)::before { background: var(--burgundy); }
.gate-num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  background: var(--burgundy);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 18px;
  margin: 6px 0 12px;
  box-shadow: 0 6px 16px rgba(122, 31, 36, 0.25);
}
.gate-card:nth-child(2) .gate-num { background: var(--lavender); box-shadow: 0 6px 16px rgba(162, 135, 184, 0.3); }
.gate-card:nth-child(3) .gate-num { background: var(--sage); box-shadow: 0 6px 16px rgba(94, 122, 72, 0.25); }
.gate-card:nth-child(4) .gate-num { background: var(--warm-brown); box-shadow: 0 6px 16px rgba(110, 90, 74, 0.25); }
.gate-ru {
  font-family: var(--font-lat-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.gate-ar {
  font-family: var(--font-ar-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.gate-tag {
  display: inline-block;
  font-size: 9.5px;
  background: var(--sage-pale);
  color: var(--sage);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--sage);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* === HEAT BANNER === */

.heat-banner {
  background: linear-gradient(135deg, var(--burgundy) 0%, #5c1518 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}
.heat-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,162,86,0.25) 0%, transparent 65%);
  border-radius: 50%;
  animation: heatPulse 3s ease-in-out infinite;
}
@keyframes heatPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}
.heat-ico {
  font-size: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(255,162,86,0.4));
}
.heat-text { flex: 1; position: relative; z-index: 1; }
.heat-ru {
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--lavender-light);
  margin-bottom: 6px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.heat-ar {
  font-family: var(--font-ar-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
}

/* === UMBRELLA FEATURE BOX === */

.umbrella-box {
  position: relative;
  margin-top: 28px;
  background:
    radial-gradient(ellipse at 30% 0%, #ffffff 0%, #f5e8c8 35%, #e8d6a8 100%);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  overflow: hidden;
  border: 1px solid #d8c896;
  box-shadow: 0 10px 30px rgba(212, 180, 116, 0.2);
}

.umb-bg-clouds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80px 30px at 18% 12%, rgba(255, 255, 255, 0.7), transparent 70%),
    radial-gradient(ellipse 120px 40px at 78% 22%, rgba(255, 255, 255, 0.6), transparent 70%),
    radial-gradient(ellipse 70px 26px at 92% 8%, rgba(255, 255, 255, 0.65), transparent 70%);
  animation: cloudDrift 22s ease-in-out infinite;
}
@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}

.umb-shape {
  position: relative;
  width: 96px;
  height: 110px;
  margin: 0 auto 18px;
  z-index: 2;
}
.umb-canopy {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 96px; height: 50px;
  background:
    radial-gradient(ellipse at 50% 100%, #ffffff 0%, #f0f0f0 60%, #d8d8d8 100%);
  border-radius: 48px 48px 4px 4px / 50px 50px 4px 4px;
  box-shadow:
    inset 0 -6px 12px rgba(0, 0, 0, 0.08),
    0 12px 24px rgba(212, 180, 116, 0.35);
}
.umb-canopy::before,
.umb-canopy::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
}
.umb-canopy::before { left: 33%; transform: rotate(-2deg); }
.umb-canopy::after  { right: 33%; transform: rotate(2deg); }
.umb-handle {
  position: absolute;
  top: 48px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 50px;
  background: linear-gradient(180deg, #b08648 0%, #8b6432 100%);
  border-radius: 2px;
}
.umb-handle::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1px;
  width: 14px; height: 14px;
  border: 4px solid #8b6432;
  border-top: none;
  border-left: none;
  border-radius: 0 0 8px 0;
  transform: translateX(-2px);
}

.umb-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.umb-title-ru {
  font-family: var(--font-lat-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--burgundy);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.umb-title-ar {
  font-family: var(--font-ar-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 16px;
}
.umb-intro {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(176, 134, 72, 0.25);
  border-radius: var(--radius);
}
.umb-intro .ru {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.55;
}
.umb-intro .ar {
  font-family: var(--font-ar-body);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.75;
}
.umb-tips-head {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 8px 22px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(176, 134, 72, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-lat-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--burgundy);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.umb-tips-head .ar {
  font-family: var(--font-ar-head);
  font-size: 15px;
  color: var(--warm-brown);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}
.umb-tips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto;
}
.umb-tip {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  border: 1px solid rgba(176, 134, 72, 0.22);
  align-items: start;
  text-align: left;
}
.umb-bullet {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 800;
  grid-row: 1 / span 2;
  align-self: center;
}
.umb-tip .ru {
  font-family: var(--font-lat-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-brown);
}
.umb-tip .ar {
  font-family: var(--font-ar-body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

@media (min-width: 600px) {
  .umb-tips { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (min-width: 900px) {
  .umbrella-box { padding: 44px 36px 32px; }
  .umb-shape { width: 120px; height: 130px; }
  .umb-canopy { width: 120px; height: 60px; border-radius: 60px 60px 4px 4px / 60px 60px 4px 4px; }
  .umb-handle { top: 58px; height: 60px; }
  .umb-title-ru { font-size: 17px; }
  .umb-title-ar { font-size: 30px; }
  .umb-intro .ru { font-size: 14px; }
  .umb-intro .ar { font-size: 15.5px; }
}

/* === EMERGENCY ACTION STEPS === */

.emergency-action {
  margin-top: 30px;
  background: var(--burgundy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.emergency-action::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 24px;
  background: var(--lavender);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.ea-title-ru {
  font-family: var(--font-lat-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--lavender-light);
  margin-top: 6px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.ea-title-ar {
  font-family: var(--font-ar-head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.ea-steps { display: flex; flex-direction: column; gap: 10px; }
.ea-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  align-items: start;
}
.ea-no {
  width: 28px; height: 28px;
  background: #fff;
  color: var(--burgundy);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-lat-head);
  font-weight: 800;
  font-size: 13px;
  grid-row: 1 / span 2;
}
.ea-steps li .ru {
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  line-height: 1.5;
}
.ea-steps li .ar {
  font-family: var(--font-ar-body);
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.7;
}

/* === COMMON MISTAKES — UNIFIED WARNING GRID === */

.warning-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.warn-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  text-align: center;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.warn-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 20px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.warn-card.cat-mosque::before    { background: var(--burgundy); }
.warn-card.cat-city::before      { background: var(--lavender); }
.warn-card.cat-departure::before { background: var(--warm-brown); }

.warn-cat {
  display: inline-block;
  font-family: var(--font-lat-head);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  margin-top: 6px;
}
.warn-card.cat-mosque .warn-cat {
  background: rgba(122, 31, 36, 0.08);
  color: var(--burgundy);
  border: 1px solid rgba(122, 31, 36, 0.22);
}
.warn-card.cat-city .warn-cat {
  background: rgba(162, 135, 184, 0.12);
  color: var(--lavender);
  border: 1px solid rgba(162, 135, 184, 0.35);
}
.warn-card.cat-departure .warn-cat {
  background: rgba(110, 90, 74, 0.08);
  color: var(--warm-brown);
  border: 1px solid rgba(110, 90, 74, 0.25);
}

.warn-ico {
  font-size: 38px;
  margin: 6px 0 12px;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}
.warn-ru {
  font-family: var(--font-lat-head);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--warm-brown);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
}
.warn-card.cat-mosque .warn-ru    { color: var(--burgundy); }
.warn-card.cat-city .warn-ru      { color: var(--lavender); }
.warn-card.cat-departure .warn-ru { color: var(--warm-brown); }

.warn-ar {
  font-family: var(--font-ar-head);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.45;
}
.warn-card p {
  font-size: 11.5px;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 4px;
  line-height: 1.5;
}
.warn-card p .ar {
  font-family: var(--font-ar-body);
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .warning-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .warn-card { padding: 26px 20px 22px; }
  .warn-ico { font-size: 40px; }
}
@media (min-width: 900px) {
  .warning-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .warn-card { padding: 30px 22px 26px; }
  .warn-ico { font-size: 44px; margin: 8px 0 14px; }
  .warn-ru { font-size: 13px; }
  .warn-ar { font-size: 17px; }
  .warn-card p { font-size: 12.5px; }
  .warn-card p .ar { font-size: 13.5px; }
  .warn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
  .warn-card.cat-mosque:hover    { border-color: var(--burgundy); }
  .warn-card.cat-city:hover      { border-color: var(--lavender); }
  .warn-card.cat-departure:hover { border-color: var(--warm-brown); }
}

/* === Legacy mistake-cols (kept for safety, in case any references remain) === */

.mistake-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
.mistake-col {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1px solid var(--line);
  position: relative;
}
.mistake-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50px; height: 22px;
  background: var(--burgundy);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.mistake-col:last-child::before { background: var(--warm-brown); }
.mistake-title-ru {
  font-family: var(--font-lat-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 4px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.mistake-col:last-child .mistake-title-ru { color: var(--warm-brown); }
.mistake-title-ar {
  font-family: var(--font-ar-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.mistake-list {
  display: flex; flex-direction: column; gap: 8px;
}
.mistake-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  border-left: 3px solid var(--burgundy);
  align-items: start;
}
.mistake-col:last-child .mistake-list li { border-left-color: var(--warm-brown); }
.mistake-list li::before {
  content: '✕';
  width: 14px; height: 14px;
  color: var(--burgundy);
  font-weight: 800;
  font-size: 13px;
  display: grid; place-items: center;
  grid-row: 1 / span 2;
  margin-top: 2px;
}
.mistake-col:last-child .mistake-list li::before { color: var(--warm-brown); }
.mistake-list li .ru {
  font-size: 12.5px;
  color: var(--warm-brown);
  font-weight: 500;
  line-height: 1.45;
}
.mistake-list li .ar {
  font-family: var(--font-ar-body);
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

/* === BIG 911 EMERGENCY BUTTON === */

.big-911-btn {
  position: relative;
  display: block;
  margin-top: 32px;
  padding: 22px 26px 18px;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 14px 36px rgba(122, 31, 36, 0.32),
    0 0 0 0 rgba(122, 31, 36, 0.55);
  transition: transform .25s ease, box-shadow .25s ease;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  isolation: isolate;
}
.big-911-btn:active {
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(122, 31, 36, 0.4);
}
.big-911-btn.calling {
  animation: b911Calling 0.5s ease-out;
}
@keyframes b911Calling {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.25); }
  60%  { transform: scale(0.97); box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
  100% { transform: scale(1); }
}

.b911-blob, .b911-blob-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.b911-blob {
  top: -80px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 162, 86, 0.28) 0%, transparent 70%);
  animation: b911BlobFloat 4s ease-in-out infinite;
}
.b911-blob-2 {
  bottom: -60px; left: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(162, 135, 184, 0.22) 0%, transparent 70%);
  animation: b911BlobFloat 5s ease-in-out infinite reverse;
}
@keyframes b911BlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate(10px, 8px) scale(1.12); opacity: 1; }
}

.b911-ring {
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--radius-lg) - 2px);
  border: 2px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  animation: b911Pulse 2.4s ease-out infinite;
  z-index: 1;
}
.b911-ring.delay { animation-delay: 1.2s; }
@keyframes b911Pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  80%  { transform: scale(1.06); opacity: 0;   }
  100% { transform: scale(1.06); opacity: 0;   }
}

.b911-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: left;
}
.b911-icon {
  width: 56px;
  height: 56px;
  background: #fff;
  color: var(--burgundy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  animation: b911Shake 2.4s ease-in-out infinite;
}
.b911-icon svg { width: 26px; height: 26px; }
@keyframes b911Shake {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-18deg); }
  92% { transform: rotate(16deg); }
  94% { transform: rotate(-12deg); }
  96% { transform: rotate(8deg); }
  98% { transform: rotate(-4deg); }
}
.b911-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 3px;
}
.b911-label {
  font-family: var(--font-lat-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--lavender-light);
  text-transform: uppercase;
}
.b911-num {
  font-family: var(--font-lat-head);
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.b911-sub {
  font-family: var(--font-ar-body);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.3px;
}
.b911-press {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  font-family: var(--font-lat-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 600px) {
  .big-911-btn { padding: 26px 32px 20px; }
  .b911-icon { width: 64px; height: 64px; }
  .b911-icon svg { width: 30px; height: 30px; }
  .b911-num { font-size: 56px; }
  .b911-label { font-size: 11px; }
  .b911-sub { font-size: 12.5px; }
}
@media (min-width: 900px) {
  .big-911-btn { padding: 32px 40px 24px; }
  .b911-icon { width: 72px; height: 72px; }
  .b911-icon svg { width: 34px; height: 34px; }
  .b911-num { font-size: 68px; }
}

/* === RESPONSIVE FOR NEW SECTIONS === */

@media (min-width: 600px) {
  .packing-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .pack-ru { font-size: 11px; }
  .pack-ar { font-size: 13px; }
  .pack-ico { font-size: 32px; }
  .corners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gates-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .gate-num { width: 52px; height: 52px; font-size: 20px; }
  .mistake-cols { grid-template-columns: 1fr 1fr; gap: 22px; }
  .heat-banner { padding: 28px 28px; }
  .heat-ico { font-size: 52px; }
  .heat-ar { font-size: 19px; }
}

@media (min-width: 900px) {
  .packing-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .pack-card { padding: 22px 12px 18px; }
  .pack-ico { font-size: 36px; }
  .pack-ru { font-size: 11.5px; }
  .pack-ar { font-size: 14px; }
  .corners-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .corner-card { padding: 28px 18px 22px; }
  .corner-ru { font-size: 14px; }
  .corner-ar { font-size: 18px; }
  .prohibited-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ea-steps li { grid-template-columns: 36px 1fr; }
  .gates-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .gate-num { width: 60px; height: 60px; font-size: 22px; }
  .gate-ru { font-size: 13px; }
  .gate-ar { font-size: 17px; }
  .heat-banner { padding: 32px 36px; gap: 24px; }
  .heat-ico { font-size: 64px; }
  .heat-ru { font-size: 16px; }
  .heat-ar { font-size: 22px; }
  .mistake-col { padding: 36px 30px; }
}

/* ======================= REVEAL ON SCROLL ======================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   ╔═════════════════════════════════════════════════╗
   ║     RESPONSIVE — TABLET (≥ 600px)              ║
   ╚═════════════════════════════════════════════════╝
====================================================== */

@media (min-width: 600px) {
  .section { padding: 70px 28px; }
  .hero { padding: 170px 28px 80px; }
  .ru-big { font-size: 52px; }
  .ar-big { font-size: 60px; }
  .section-title-ru { font-size: 28px; }
  .section-title-ar { font-size: 30px; }

  .toc-grid { grid-template-columns: 1fr 1fr; }
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cards-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cards-6 { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .nahr-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .emergency-grid { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hajj-track { grid-template-columns: 1fr 1fr 1fr; }
  .choice-cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .day-cols { gap: 22px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .checklist { grid-template-columns: 1fr 1fr; }
  .journey-track { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ======================================================
   ╔═════════════════════════════════════════════════╗
   ║     RESPONSIVE — DESKTOP (≥ 900px)             ║
   ╚═════════════════════════════════════════════════╝
====================================================== */

@media (min-width: 900px) {
  .section { padding: 100px 40px; max-width: 1240px; margin: 0 auto; }
  .section.alt-bg {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: max(40px, calc(50vw - 1240px/2 + 40px));
    padding-right: max(40px, calc(50vw - 1240px/2 + 40px));
  }
  .arafah-section {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: max(40px, calc(50vw - 1240px/2 + 40px));
    padding-right: max(40px, calc(50vw - 1240px/2 + 40px));
  }

  .nav-toggle { display: none; }
  .nav-links { display: flex; gap: 22px; }
  .nav-links a {
    color: var(--warm-brown);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 6px 2px;
    position: relative;
    transition: color .25s ease;
  }
  .nav-links a:hover { color: var(--sage); }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px;
    width: 0; background: var(--sage);
    transition: width .3s ease;
  }
  .nav-links a:hover::after { width: 100%; }

  .nav-inner { padding: 14px 40px; max-width: 1240px; margin: 0 auto; }

  .hero { padding: 180px 40px 100px; min-height: 100vh; }
  .ru-big { font-size: 78px; }
  .ar-big { font-size: 88px; }
  .section-title-ru { font-size: 38px; }
  .section-title-ar { font-size: 40px; }
  .section-head { margin-bottom: 60px; }

  .toc-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
  .cards-3 { grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .cards-6 { grid-template-columns: repeat(6, 1fr); }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .nahr-grid { grid-template-columns: repeat(4, 1fr); }
  .emergency-grid { grid-template-columns: 1fr 1fr; }
  .hajj-track {
    grid-template-columns: repeat(6, 1fr);
    margin-top: 50px;
  }
  .hajj-line {
    display: block;
    position: absolute;
    top: 0; left: 8%; right: 8%; height: 2px;
    background: repeating-linear-gradient(to right, var(--sage) 0 8px, transparent 8px 14px);
  }
  .hajj-day.featured { transform: scale(1.04); }
  .day-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .contact-cols { grid-template-columns: 1fr 1fr; gap: 30px; }
  .choice-cards { grid-template-columns: 1fr 1fr; gap: 24px; }

  .journey-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    position: relative;
  }
  .journey-line {
    display: block;
    position: absolute;
    top: 32px; left: 10%; right: 10%; height: 2px;
    background: repeating-linear-gradient(to right, var(--sage) 0 8px, transparent 8px 14px);
    z-index: 0;
  }
  .jstep {
    display: block;
    background: transparent;
    border: none;
    text-align: center;
    padding: 0 8px;
  }
  .jstep::before { display: none; }
  .jstep-num {
    margin: 0 auto 18px;
    width: 64px; height: 64px;
    font-size: 26px;
    border-width: 3px;
  }

  .umrah-flow {
    grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr;
    display: grid; gap: 0;
  }
  .uflow-arrow {
    display: block;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--sage) 0 6px, transparent 6px 11px);
    position: relative;
  }
  .uflow-arrow::after {
    content: '';
    position: absolute;
    right: -1px; top: -4px;
    width: 0; height: 0;
    border-left: 7px solid var(--sage);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }

  .tawaf-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
  }
  .tawaf-visual { max-width: 480px; width: 100%; }

  .mutawwif-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: center;
  }

  .sai-vis {
    display: grid;
    grid-template-columns: 130px 1fr 130px;
    gap: 24px;
  }
  .hill { flex-direction: column; gap: 4px; }
  .sai-steps { grid-template-columns: 1.4fr 1fr; }

  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 50px; }
  .bs-num { font-size: 60px; }
  .bs-lbl { font-size: 11px; }

  .footer { padding: 50px 30px 30px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .footer-meta { text-align: right; }
  .footer-brand { flex-direction: row; }

  .back-to-top { bottom: 30px; right: 30px; }

  .ru-big, .section-title-ru, .day-title-ru { letter-spacing: 0.5px; }

  /* Hover effects (desktop only) */
  .toc-card { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
  .toc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--sage); }
  .card, .srv-card, .nahr-card, .exh-card, .trn-card, .med-card, .tip-card, .dcard, .loc-card, .jstep, .uflow-step, .hajj-day, .wsh-card {
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  }
  .card:hover, .srv-card:hover, .nahr-card:hover, .exh-card:hover, .trn-card:hover, .med-card:hover, .tip-card:hover, .dcard:hover, .loc-card:hover, .uflow-step:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-2); border-color: var(--sage);
  }
  .hajj-day:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--sage); }
  .wsh-card { transition: all .3s ease; }
  .wsh-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); background: var(--sage); border-color: var(--sage); }
  .wsh-card:hover h5.ru { color: #fff; }
  .wsh-card:hover h5.ar { color: var(--lavender-light); }
  .wsh-card:hover .wsh-no { color: #fff; background: rgba(255,255,255,0.18); border-color: #fff; }
  .em-card { transition: transform .25s ease, box-shadow .25s ease; }
  .em-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); filter: brightness(1.1); }
  .checklist li { transition: transform .25s ease; }
  .checklist li:hover { transform: translateX(4px); }
  .sub-card { transition: transform .25s ease, border-color .25s ease; }
  .sub-card:hover { transform: translateX(4px); border-color: var(--sage); }
  .link-list li a { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
  .link-list li a:hover { transform: translateX(4px); border-color: var(--sage); background: var(--sage-pale); }
  .big-url { transition: transform .25s ease, background .25s ease; }
  .big-url:hover { transform: translateY(-3px); background: #4f6c3d; }
  .btn-gold:hover { transform: translateY(-3px); background: #4f6c3d; }
  .btn-ghost:hover { background: var(--burgundy); color: #fff; }
}

/* ======================================================
   ╔═════════════════════════════════════════════════╗
   ║     LARGE DESKTOP (≥ 1280px)                   ║
   ╚═════════════════════════════════════════════════╝
====================================================== */

@media (min-width: 1280px) {
  .section { padding: 110px 60px; }
}

/* ======================================================
   ACCESSIBILITY
====================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
