/* Al Sabeel Travels & Tours — premium black & gold, dark + light themes
   Theme logic: dark tokens are the default. Light tokens apply when
   (a) the user picked Light (html[data-theme="light"]), or
   (b) the OS prefers light and the user has not forced Dark.            */

/* ---------- Shared tokens ---------- */
:root {
  --gold-grad: linear-gradient(135deg, #f7e08a 0%, #d4af37 45%, #b08a2e 100%);
  --on-gold: #111;
  --wa-bg: #0f7a3c;
  --wa-bg-2: #0c6631;
  --on-wa: #fff;
  --radius: 16px;
  --radius-sm: 10px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", "DejaVu Sans", serif;
  --header-h: 64px;
}

/* ---------- Dark tokens (default; also forced on .force-dark zones) ---------- */
:root, .force-dark {
  color-scheme: dark;
  --bg: #070707;
  --bg-alt: #0d0d0d;
  --surface: #141414;
  --surface-grad: linear-gradient(180deg, #1a1a1a, #141414);
  --popover: #161616;
  --field: #1d1d1d;
  --field-border: rgba(255, 255, 255, .14);
  --pill-border: rgba(255, 255, 255, .16);
  --check-border: rgba(255, 255, 255, .35);
  --line: rgba(212, 175, 55, .22);
  --line-soft: rgba(255, 255, 255, .08);
  --heading: #f6f0e1;
  --text: #ece6d6;
  --muted: #b8b09e;
  --placeholder: #8a8476;
  --accent: #d4af37;
  --accent-text: #d4af37;
  --accent-strong: #f3d77e;
  --link: #f3d77e;
  --link-hover: #fff;
  --gold-text-grad: linear-gradient(135deg, #f7e08a 0%, #d4af37 45%, #b08a2e 100%);
  --tint: rgba(212, 175, 55, .10);
  --tint-soft: rgba(212, 175, 55, .05);
  --tint-strong: rgba(212, 175, 55, .14);
  --header-bg: rgba(7, 7, 7, .92);
  --header-shadow: 0 8px 30px rgba(0, 0, 0, .5);
  --nav-bg: #0a0a0a;
  --search-bg: linear-gradient(180deg, rgba(24, 24, 24, .97), rgba(14, 14, 14, .97));
  --hero-bg:
    radial-gradient(1000px 420px at 85% -10%, rgba(212, 175, 55, .20), transparent 60%),
    radial-gradient(700px 360px at -10% 20%, rgba(212, 175, 55, .10), transparent 60%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  --hero-fade: rgba(5, 5, 5, .55);
  --stars-opacity: .35;
  --skyline-color: #d4af37;
  --skyline-opacity: .22;
  --alt-glow: rgba(212, 175, 55, .07);
  --dest-bg:
    radial-gradient(120% 80% at 50% 0%, rgba(212, 175, 55, .20), transparent 65%),
    linear-gradient(180deg, #171717, #0e0e0e);
  --dest-art: #d4af37;
  --dest-glow: drop-shadow(0 0 6px rgba(212, 175, 55, .35));
  --shadow: 0 24px 60px rgba(0, 0, 0, .55);
  --hover-shadow: 0 16px 40px rgba(0, 0, 0, .5);
  --swap-bg: #111;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d4af37' stroke-width='1.6'/%3E%3C/svg%3E");
  --date-filter: invert(78%) sepia(40%) saturate(600%) hue-rotate(5deg);
  --brand-plate: transparent;
  --brand-pad: 0;
  --map-filter: grayscale(.25) contrast(1.05);
}

/* ---------- Light tokens ---------- */
/* Light tokens are written twice on purpose: once for "Light" picked by hand,
   once for "Auto" when the device prefers light. Keep both blocks identical. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #faf6ec;
  --bg-alt: #f2ead8;
  --surface: #fffdf7;
  --surface-grad: linear-gradient(180deg, #ffffff, #fffaf0);
  --popover: #ffffff;
  --field: #ffffff;
  --field-border: rgba(60, 45, 10, .24);
  --pill-border: rgba(60, 45, 10, .24);
  --check-border: rgba(60, 45, 10, .45);
  --line: rgba(150, 115, 30, .38);
  --line-soft: rgba(60, 45, 10, .12);
  --heading: #0e0c08;
  --text: #1f1b14;
  --muted: #574f40;
  --placeholder: #776e5d;
  --accent: #9c7a1c;
  --accent-text: #7f6110;
  --accent-strong: #7a5a0c;
  --link: #7a5a0c;
  --link-hover: #000;
  --gold-text-grad: linear-gradient(135deg, #8f6f16 0%, #7f6110 50%, #5e470a 100%);
  --tint: rgba(176, 138, 46, .12);
  --tint-soft: rgba(176, 138, 46, .07);
  --tint-strong: rgba(176, 138, 46, .16);
  --header-bg: rgba(250, 246, 236, .94);
  --header-shadow: 0 8px 26px rgba(70, 50, 10, .12);
  --nav-bg: #fffaf0;
  --search-bg: #ffffff;
  --hero-bg:
    radial-gradient(1000px 420px at 85% -10%, rgba(212, 175, 55, .26), transparent 60%),
    radial-gradient(700px 360px at -10% 20%, rgba(212, 175, 55, .14), transparent 60%),
    linear-gradient(180deg, #fbf7ee 0%, #f4ecda 100%);
  --hero-fade: rgba(244, 236, 218, .35);
  --stars-opacity: 0;
  --skyline-color: #9c7a1c;
  --skyline-opacity: .30;
  --alt-glow: rgba(212, 175, 55, .14);
  --dest-bg:
    radial-gradient(120% 80% at 50% 0%, rgba(212, 175, 55, .24), transparent 65%),
    linear-gradient(180deg, #fffdf7, #f6eedb);
  --dest-art: #8a6a12;
  --dest-glow: none;
  --shadow: 0 20px 50px rgba(70, 50, 10, .14);
  --hover-shadow: 0 16px 36px rgba(70, 50, 10, .16);
  --swap-bg: #ffffff;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237f6110' stroke-width='1.8'/%3E%3C/svg%3E");
  --date-filter: none;
  --brand-plate: #000;
  --brand-pad: 4px 12px;
  --map-filter: none;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #faf6ec;
    --bg-alt: #f2ead8;
    --surface: #fffdf7;
    --surface-grad: linear-gradient(180deg, #ffffff, #fffaf0);
    --popover: #ffffff;
    --field: #ffffff;
    --field-border: rgba(60, 45, 10, .24);
    --pill-border: rgba(60, 45, 10, .24);
    --check-border: rgba(60, 45, 10, .45);
    --line: rgba(150, 115, 30, .38);
    --line-soft: rgba(60, 45, 10, .12);
    --heading: #0e0c08;
    --text: #1f1b14;
    --muted: #574f40;
    --placeholder: #776e5d;
    --accent: #9c7a1c;
    --accent-text: #7f6110;
    --accent-strong: #7a5a0c;
    --link: #7a5a0c;
    --link-hover: #000;
    --gold-text-grad: linear-gradient(135deg, #8f6f16 0%, #7f6110 50%, #5e470a 100%);
    --tint: rgba(176, 138, 46, .12);
    --tint-soft: rgba(176, 138, 46, .07);
    --tint-strong: rgba(176, 138, 46, .16);
    --header-bg: rgba(250, 246, 236, .94);
    --header-shadow: 0 8px 26px rgba(70, 50, 10, .12);
    --nav-bg: #fffaf0;
    --search-bg: #ffffff;
    --hero-bg:
      radial-gradient(1000px 420px at 85% -10%, rgba(212, 175, 55, .26), transparent 60%),
      radial-gradient(700px 360px at -10% 20%, rgba(212, 175, 55, .14), transparent 60%),
      linear-gradient(180deg, #fbf7ee 0%, #f4ecda 100%);
    --hero-fade: rgba(244, 236, 218, .35);
    --stars-opacity: 0;
    --skyline-color: #9c7a1c;
    --skyline-opacity: .30;
    --alt-glow: rgba(212, 175, 55, .14);
    --dest-bg:
      radial-gradient(120% 80% at 50% 0%, rgba(212, 175, 55, .24), transparent 65%),
      linear-gradient(180deg, #fffdf7, #f6eedb);
    --dest-art: #8a6a12;
    --dest-glow: none;
    --shadow: 0 20px 50px rgba(70, 50, 10, .14);
    --hover-shadow: 0 16px 36px rgba(70, 50, 10, .16);
    --swap-bg: #ffffff;
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237f6110' stroke-width='1.8'/%3E%3C/svg%3E");
    --date-filter: none;
    --brand-plate: #000;
    --brand-pad: 4px 12px;
    --map-filter: none;
  }
}
/* Zones that stay black in both themes (top bar, footer) re-declare the dark tokens */
.force-dark { background-color: #000; color: var(--text); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--heading); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: .005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold-grad); color: var(--on-gold); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--on-gold); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 860px; }
.gold-text { background: var(--gold-text-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.3em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-gold { background: var(--gold-grad); color: var(--on-gold); box-shadow: 0 6px 20px rgba(212, 175, 55, .25); }
.btn-gold:hover { color: #000; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(212, 175, 55, .35); }
.btn-ghost { background: transparent; color: var(--link); border-color: var(--line); }
.btn-ghost:hover { color: var(--link-hover); border-color: var(--accent); background: var(--tint); }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.02rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--link); cursor: pointer;
}
.icon-btn:hover { color: var(--link-hover); border-color: var(--accent); }
.icon-btn .ic { width: 22px; height: 22px; }

/* Theme toggle: hidden until theme-init.js has run (it sets data-theme-pref) */
.theme-toggle { display: none; }
html[data-theme-pref] .theme-toggle { display: inline-grid; }
.theme-toggle .ic { display: none; }
html[data-theme-pref="auto"] .theme-toggle .ic-auto,
html[data-theme-pref="light"] .theme-toggle .ic-light,
html[data-theme-pref="dark"] .theme-toggle .ic-dark { display: block; }

/* ---------- Top bar (always dark) ---------- */
.topbar { display: none; border-bottom: 1px solid var(--line-soft); font-size: .85rem; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-list { display: flex; gap: 22px; }
.topbar-list li, .topbar-list a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.topbar-list a:hover { color: var(--link); }
.topbar .ic { color: var(--accent); width: 15px; height: 15px; }
.topbar-ur { margin: 0; font-family: var(--urdu); color: var(--link); font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: var(--header-shadow); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 10px; height: var(--header-h); }
.brand { display: block; flex: none; background: var(--brand-plate); padding: var(--brand-pad); border-radius: 12px; }
.brand img { height: 50px; width: auto; }
html[data-theme="light"] .brand img { height: 44px; }
@media (prefers-color-scheme: light) { html:not([data-theme="dark"]) .brand img { height: 44px; } }
.header-cta { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hide-xs { display: none; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: var(--nav-bg); border-bottom: 1px solid var(--line);
  padding: 8px 16px 20px; box-shadow: var(--shadow);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.site-nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
.site-nav ul li a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-soft);
  color: var(--text); text-decoration: none; font-size: 1.05rem;
}
.site-nav ul li a:hover { color: var(--link); }
.nav-mobile-cta { display: grid; gap: 10px; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 120px; background: var(--hero-bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--stars-opacity);
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(243, 215, 126, .9), transparent 60%),
    radial-gradient(1px 1px at 32% 12%, rgba(243, 215, 126, .7), transparent 60%),
    radial-gradient(1.4px 1.4px at 58% 18%, rgba(243, 215, 126, .8), transparent 60%),
    radial-gradient(1px 1px at 76% 30%, rgba(243, 215, 126, .7), transparent 60%),
    radial-gradient(1.2px 1.2px at 90% 10%, rgba(243, 215, 126, .9), transparent 60%),
    radial-gradient(1px 1px at 46% 36%, rgba(243, 215, 126, .6), transparent 60%);
}
.hero-bg { position: absolute; inset: auto 0 0 0; z-index: -1; pointer-events: none; }
.hero-skyline { width: 100%; height: 150px; color: var(--skyline-color); opacity: var(--skyline-opacity); stroke-width: 1.1; }
.hero-skyline use { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, var(--hero-fade) 100%); }

.eyebrow {
  margin: 0 0 .7em; color: var(--accent-text); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow .ur { margin-left: .6em; font-family: var(--urdu); letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--link); }
.hero h1 { font-size: clamp(2.05rem, 7.2vw, 4.1rem); max-width: 16ch; }
.hero-lead { margin: 14px 0 22px; max-width: 60ch; color: var(--muted); font-size: 1.04rem; }

/* ---------- Search / enquiry card ---------- */
.search-card {
  position: relative; background: var(--search-bg);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  padding: 6px 12px 16px;
}
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-soft); margin: 0 -4px 14px; }
.tab {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 2px 10px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  color: var(--muted); font-size: .8rem; font-weight: 600; cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.tab .ic { width: 24px; height: 24px; }
.tab:hover { color: var(--heading); }
.tab[aria-selected="true"] { color: var(--accent-strong); border-bottom-color: var(--accent); }

.panel { display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fields > .field { grid-column: span 1; }
.fields > .field-wide, .fields > .field-pair, .fields > .trav, .fields > [data-full] { grid-column: span 2; }
.field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  min-height: 60px; padding: 8px 14px; border: 1px solid var(--field-border); border-radius: var(--radius-sm);
  background: var(--field); transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 175, 55, .22); }
.field label, .field .label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); line-height: 1.3; }
.field input, .field select, .trav-toggle {
  width: 100%; min-width: 0; padding: 2px 0; border: 0; background: transparent; color: var(--heading);
  font-size: 1rem; line-height: 1.4; outline: none; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.field input::placeholder { color: var(--placeholder); opacity: 1; }
.field select { cursor: pointer; padding-right: 22px; background: var(--chev) no-repeat right center; }
.field select option, .mini-select option { background: var(--field); color: var(--heading); }
.field input[type="date"] { min-height: 1.6em; }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: var(--date-filter); cursor: pointer; }
.field.is-disabled { opacity: .45; }

.field-pair { position: relative; display: grid; gap: 10px; }
.swap {
  position: absolute; z-index: 2; right: 14px; top: 50%; transform: translateY(-50%) rotate(90deg);
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--swap-bg); border: 1px solid var(--line); color: var(--link); cursor: pointer;
}
.swap:hover { border-color: var(--accent); color: var(--link-hover); }
.swap .ic { width: 18px; height: 18px; }

.trip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mini-select select {
  min-height: 36px; padding: 6px 30px 6px 14px; border-radius: 999px; border: 1px solid var(--pill-border);
  background: var(--field) var(--chev) no-repeat right 12px center;
  color: var(--heading); font-size: .88rem; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.mini-select select:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

.trip-type, .checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.checks legend { float: left; margin-right: 6px; padding: 7px 0; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.pill, .check { position: relative; cursor: pointer; }
.pill input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span, .check span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--pill-border); color: var(--muted); font-size: .88rem; font-weight: 500; transition: all .15s ease;
}
.pill input:checked + span { background: var(--tint-strong); border-color: var(--accent); color: var(--accent-strong); }
.check span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--check-border); flex: none; }
.check input:checked + span { border-color: var(--line); color: var(--heading); }
.check input:checked + span::before {
  border-color: #d4af37; background: #d4af37 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.pill input:focus-visible + span, .check input:focus-visible + span { outline: 2px solid var(--accent-strong); outline-offset: 2px; }

/* Travellers picker */
.trav-toggle { text-align: left; cursor: pointer; padding-right: 22px; background: var(--chev) no-repeat right center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trav-pop {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px);
  min-width: 260px; padding: 14px; border-radius: 14px; background: var(--popover); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.counter:last-of-type { border-bottom: 0; }
.counter-label { display: flex; flex-direction: column; color: var(--heading); font-weight: 600; font-size: .95rem; }
.counter-label small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.ctrl { display: flex; align-items: center; gap: 10px; }
.ctrl button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--link); font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.ctrl button:disabled { opacity: .3; cursor: not-allowed; }
.ctrl output { min-width: 1.5em; text-align: center; font-weight: 600; color: var(--heading); }
.trav-done { width: 100%; margin-top: 10px; }

.panel-foot { display: grid; gap: 10px; }
.actions { display: grid; gap: 8px; }
.actions .btn { width: 100%; }

.search-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 2px 0; color: var(--muted); font-size: .83rem; line-height: 1.45; }
.search-note .ic { color: var(--accent); width: 16px; height: 16px; margin-top: 2px; }
.form-status { margin: 8px 2px 0; font-size: .9rem; color: var(--accent-strong); }
.form-status:empty { display: none; }

.trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 22px; }
.trust-strip li { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: .88rem; }
.trust-strip .ic { color: var(--accent); width: 20px; height: 20px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 56px 0; }
.section-alt {
  background: radial-gradient(800px 300px at 50% 0%, var(--alt-glow), transparent 70%), var(--bg-alt);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.section-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-head-left { text-align: left; margin: 0 0 24px; }
.section-head h2 { font-size: clamp(1.9rem, 5.6vw, 3rem); }
.section-head h2::after { content: ""; display: block; width: 64px; height: 2px; margin: 16px auto 0; background: var(--gold-grad); border-radius: 2px; }
.section-head-left h2::after { margin-left: 0; }
.lead { margin: 16px 0 0; color: var(--muted); font-size: 1.04rem; }

/* Package cards */
.pkg-grid { display: grid; gap: 18px; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 22px 22px; border-radius: var(--radius);
  background: var(--surface-grad); border: 1px solid var(--line-soft);
}
.pkg-featured { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(212, 175, 55, .25), 0 20px 50px rgba(212, 175, 55, .10); }
.pkg-tier {
  align-self: flex-start; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--accent-strong); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.pkg-featured .pkg-tier { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; }
.pkg h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; }
.pkg-desc { margin: 8px 0 16px; color: var(--muted); }
.ticks { display: grid; gap: 10px; margin-bottom: 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.ticks .ic { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.2; }
.pkg-price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: auto; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.pkg-price span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.pkg-price strong { color: var(--accent-strong); font-size: 1.05rem; }
.pkg-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-size: .88rem; background: var(--tint-soft); }

.notice {
  display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 26px auto 0;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px dashed var(--line); background: var(--tint-soft);
  color: var(--muted); font-size: .9rem;
}
.notice .ic { color: var(--accent); margin-top: 2px; }

/* Steps */
.steps { display: grid; gap: 16px; }
.steps li { position: relative; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%;
  background: var(--gold-grad); color: var(--on-gold); font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dest {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 14px 14px 16px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  background: var(--dest-bg); border: 1px solid var(--line-soft);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dest:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--hover-shadow); }
.dest-art {
  width: 100%; height: auto; aspect-ratio: 1 / .78; margin-bottom: 10px; color: var(--dest-art);
  fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
  filter: var(--dest-glow);
}
.dest-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--heading); line-height: 1.15; }
.dest-meta { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.dest-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--link); font-size: .85rem; font-weight: 600; }
.dest-go .ic { width: 16px; height: 16px; transition: transform .2s ease; }
.dest:hover .dest-go .ic { transform: translateX(3px); }

/* Services */
.svc-grid { display: grid; gap: 14px; }
.svc { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .2s ease; }
.svc:hover { border-color: var(--line); }
.svc-ic {
  grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 0; border-radius: 14px;
  background: var(--tint); border: 1px solid var(--line); color: var(--accent-strong);
}
.svc-ic .ic { width: 26px; height: 26px; }
.svc h3 { font-size: 1.15rem; margin-bottom: 6px; }
.svc p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Why / about */
.why-grid { display: grid; gap: 44px; }
.about { text-align: center; }
.about picture img { width: 100%; max-width: 520px; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.about-name { margin: 22px 0 8px; font-size: 1.15rem; color: var(--heading); }
.about-name span { font-family: var(--urdu); font-size: 1.6rem; color: var(--accent-strong); margin-right: 4px; }
.about p { color: var(--muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.backed {
  margin-top: 18px !important; padding: 14px 16px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  color: var(--text) !important; font-size: .95rem;
}
.backed strong { color: var(--accent-strong); font-weight: 600; }
.motto span { white-space: nowrap; }
.motto { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.why-list { display: grid; gap: 18px; }
.why-list li, .contact-items li { display: flex; gap: 14px; align-items: flex-start; }
.why-ic {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--tint); border: 1px solid var(--line); color: var(--accent-strong);
}
.why-list h3, .contact-items h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 52px 18px 18px; font-weight: 600; color: var(--heading); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background:
    linear-gradient(var(--accent), var(--accent)) center/14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 14px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 22px; }
.contact-wa {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin-bottom: 18px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--wa-bg), var(--wa-bg-2)); color: var(--on-wa); text-decoration: none; box-shadow: 0 12px 30px rgba(15, 122, 60, .22);
}
.contact-wa:hover { color: var(--on-wa); filter: brightness(1.08); }
.contact-wa .ic { width: 38px; height: 38px; }
.contact-wa strong { display: block; font-size: 1.15rem; }
.contact-wa small { font-size: .95rem; }
.contact-items { display: grid; gap: 18px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); }
.contact-items a { word-break: break-word; }
.contact-items address { color: var(--text); margin-bottom: 4px; }
.contact-items small { color: var(--muted); }
.map { min-height: 300px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 300px; border: 0; filter: var(--map-filter); }

/* ---------- Footer (always dark) ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 12px; }
.footer-ur { text-align: left; font-family: var(--urdu); color: var(--link); font-size: 1.05rem; }
.footer-h { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--link); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: .85rem; }
.footer-bottom:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-bottom p { margin: 0 0 6px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 45; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px; height: 58px; min-width: 58px; padding: 0 16px;
  justify-content: center; border-radius: 999px; background: var(--wa-bg); color: var(--on-wa); text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35), 0 0 0 3px rgba(212, 175, 55, .6);
  transition: transform .2s ease, opacity .2s ease;
}
.wa-float:hover { color: var(--on-wa); transform: scale(1.05); }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float-label { display: none; }
@media (max-width: 639px) { body.pop-open .wa-float { opacity: 0; pointer-events: none; } }

/* ---------- Simple content pages (privacy, 404) ---------- */
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 8px; }
.page h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.page p, .page li { color: var(--text); }
.page ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.page li { margin-bottom: .4em; }
.page .meta { color: var(--muted); }
.page-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.page-404 .big { font-family: var(--serif); font-size: clamp(5rem, 20vw, 9rem); line-height: 1; margin: 0; }
.page-404 .big.gold-text { color: transparent; }
.page-404 .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  .hide-xs { display: inline-flex; }
  .wa-float-label { display: inline; }
  .wa-float { padding: 0 20px 0 16px; }
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .field-pair { grid-template-columns: 1fr 1fr; }
  .swap { right: auto; left: 50%; transform: translate(-50%, -50%); }
  .panel-foot { grid-template-columns: 1fr 1fr; }
  .actions { grid-column: span 2; grid-template-columns: 1fr auto; }
  .trust-strip { grid-template-columns: repeat(4, auto); justify-content: center; gap: 12px 28px; }
  .pkg-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .dest-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc { display: block; padding: 24px 22px; }
  .svc-ic { margin-bottom: 14px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .search-card { padding: 6px 20px 20px; }
  .tab { flex-direction: row; justify-content: center; gap: 8px; font-size: .92rem; padding: 16px 6px 14px; }
  .header-cta { gap: 8px; }
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .topbar { display: block; }
  .brand img { height: 58px; }
  html[data-theme="light"] .brand img { height: 52px; }
  .hero { padding: 64px 0 120px; }
  .hero-skyline { height: 190px; }
  .hero-inner { text-align: center; }
  .hero h1, .hero-lead { margin-left: auto; margin-right: auto; }
  .hero h1 { max-width: 20ch; }
  .search-card { text-align: left; margin-top: 8px; padding: 8px 28px 24px; }
  .tabs { justify-content: center; gap: 12px; }
  .tab { flex: 0 0 auto; padding: 18px 18px 14px; }
  .fields { grid-template-columns: repeat(12, 1fr); }
  .fields > .field { grid-column: span 3; }
  .fields > .field-wide { grid-column: span 4; }
  .field-pair { grid-column: span 6; }
  .fields-flights > .field-pair { grid-column: span 5; }
  .fields-flights > .field { grid-column: span 2; }
  .fields-flights > .trav { grid-column: span 3; }
  #panel-hotels .fields > .field { grid-column: span 2; }
  #panel-hotels .fields > .field-wide { grid-column: span 4; }
  #panel-hotels .fields > .trav { grid-column: span 2; }
  #panel-umrah .fields > .field, #panel-hajj .fields > .field { grid-column: span 2; }
  #panel-umrah .fields > .trav, #panel-hajj .fields > .trav { grid-column: span 4; }
  #panel-tours .fields > .field { grid-column: span 2; }
  #panel-tours .fields > .field-wide { grid-column: span 4; }
  .panel-foot { grid-template-columns: 1fr 1.4fr auto; align-items: stretch; }
  .actions { grid-column: auto; display: flex; align-items: center; }
  .actions .btn { width: auto; white-space: nowrap; }
  .actions .btn-lg { min-height: 60px; }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  .pkg-featured { transform: translateY(-8px); }
  .dest-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .why-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 64px; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; }
  .map, .map iframe { min-height: 100%; }
  .section { padding: 96px 0; }
  .section-tight { padding: 80px 0; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) and (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .brand img { height: 52px; }
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; max-height: none; overflow: visible; background: none; border: 0; padding: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible; transition: none; margin-left: auto;
  }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav ul li a { padding: 8px 11px; border: 0; font-size: .95rem; border-radius: 8px; color: var(--text); }
  .site-nav ul li a:hover { color: var(--link); background: var(--tint); }
  .nav-mobile-cta { display: none; }
  .header-cta { margin-left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .topbar, .wa-float, .hero-bg, .map { display: none !important; }
  body { background: #fff; color: #000; }
}
