/* ==========================================================================
   HT Journey's  |  styles.css
   Single stylesheet for the whole site. Organised as:
   01 Tokens · 02 Reset & base · 03 Layout helpers · 04 Buttons
   05 Header & navigation · 06 Hero · 07 Quick pick · 08 Cards
   09 Tabs, chips & accordion · 10 Tables · 11 Testimonials
   12 CTA band & footer · 13 Floating actions · 14 Motion · 15 Print
   ========================================================================== */

/* -------------------------------------------------------------------------
   01 · TOKENS
   Palette taken from the HT Journey's mark: a gold aircraft banking across
   a dark globe, set on a clean white ground.
   ---------------------------------------------------------------------- */
:root {
  /* Colour */
  --night:      #14231A;
  --night-2:    #1F3527;
  --dome:       #8C6408;
  --dome-2:     #A87A0A;
  --brass:      #E8A33D;
  --brass-soft: #F3C878;
  --marble:     #F7F5F0;
  --mist:       #EEEDE6;
  --ink:        #16201A;
  --muted:      #5B655B;
  --line:       #DEDCD2;
  --white:      #FFFFFF;

  /* Type */
  --font-display: "Marcellus", "Optima", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", "Times New Roman", serif;

  /* Fluid type scale */
  --fs-xs:   0.78rem;
  --fs-sm:   0.9rem;
  --fs-base: 1rem;
  --fs-md:   clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-lg:   clamp(1.3rem, 1.15rem + 0.7vw, 1.65rem);
  --fs-xl:   clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-2xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);

  /* Space & shape */
  --gap: 1.5rem;
  --radius: 14px;
  --radius-sm: 8px;
  --arch: 48% 48% var(--radius) var(--radius) / 32% 32% 0 0; /* signature arch */
  --shadow-sm: 0 2px 10px rgba(20, 35, 26, 0.06);
  --shadow-md: 0 14px 40px rgba(20, 35, 26, 0.10);
  --container: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* -------------------------------------------------------------------------
   02 · RESET & BASE
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keeps the off-canvas drawer from widening the page on mobile.
     `clip` is used instead of `hidden` so position: sticky keeps working. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--marble);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

a { color: var(--dome); text-decoration: none; }
a:hover { color: var(--dome-2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--night);
}
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }
p  { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; }
li { list-style: none; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--night);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 0; color: var(--white); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* -------------------------------------------------------------------------
   03 · LAYOUT HELPERS
   ---------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--mist { background: var(--mist); }
.section--night { background: var(--night); color: #D6E6DE; }
.section--night h2, .section--night h3 { color: var(--white); }

.section-head { max-width: 62ch; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-md); margin-bottom: 0; }
.section--night .section-head p { color: #A9C4B7; }

/* Eyebrow: small brass label that names the section */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
}

/* Eight point star rule — the site's recurring divider */
.star-rule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--brass);
  margin: 0 0 1.5rem;
}
.star-rule::before, .star-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.5;
}
.star-rule svg { width: 16px; height: 16px; flex: none; }

.grid { display: grid; gap: var(--gap); }
/* Two up on desktop, one up on phones — never an orphan third card */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.arabic {
  font-family: var(--font-arabic);
  direction: rtl;
  line-height: 1.9;
}

.lede { font-size: var(--fs-md); color: var(--muted); }

/* -------------------------------------------------------------------------
   04 · BUTTONS
   ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--dome); color: var(--white); }
.btn--primary:hover { background: var(--dome-2); color: var(--white); }

.btn--brass { background: var(--brass); color: var(--night); }
.btn--brass:hover { background: var(--brass-soft); color: var(--night); }

.btn--ghost { border-color: currentColor; color: var(--night); background: transparent; }
.btn--ghost:hover { background: var(--night); color: var(--white); border-color: var(--night); }

.btn--light { border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--night); border-color: var(--white); }

.btn--sm { padding: 0.6rem 1.1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

/* -------------------------------------------------------------------------
   05 · HEADER & NAVIGATION
   ---------------------------------------------------------------------- */
.topbar {
  background: var(--night);
  color: #B9D2C6;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar a { color: #D9EAE2; }
.topbar a:hover { color: var(--brass-soft); }
.topbar__links { display: flex; gap: 1.4rem; align-items: center; }
.topbar__note { display: flex; align-items: center; gap: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 245, 240, 0.92);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Wordmark */
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--night); }
.brand:hover { color: var(--night); }
.brand__mark { width: 70px; height: 70px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
}
.brand__tag {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav__list { display: flex; align-items: center; gap: 0.35rem; }
.nav__link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  color: var(--night);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__link:hover { background: var(--mist); color: var(--night); }
.nav__link[aria-current="page"] { color: var(--dome); }
.nav__link[aria-current="page"]::after {
  content: "";
  display: block;
  width: 18px; height: 2px;
  margin: 3px auto 0;
  background: var(--brass);
}

.header__actions { display: flex; align-items: center; gap: 0.6rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px; height: 2px;
  background: var(--night);
  transition: transform 0.25s var(--ease), background-color 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--night);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 360px);
    background: var(--night);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(100%);
    /* Hidden until opened so closed links stay out of the tab order */
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0.35s;
    overflow-y: auto;
    z-index: 70;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link {
    color: #E7F2ED;
    padding: 0.95rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .nav__link:hover { background: rgba(255,255,255,0.06); color: var(--white); }
  .nav__link[aria-current="page"] { color: var(--brass-soft); }
  .nav__link[aria-current="page"]::after { margin: 3px 0 0; }
  .nav__cta { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(8, 26, 16, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 65;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }
  .topbar__links { display: none; }
}

@media (min-width: 961px) {
  .nav__cta { display: none; }
  /* Safe here only because .nav is normal in-flow at this width — on mobile
     .nav is position:fixed, and backdrop-filter on this ancestor would make
     it its containing block, collapsing the drawer to the header's height. */
  .site-header { backdrop-filter: blur(10px); }
}

/* -------------------------------------------------------------------------
   06 · HERO  (home) & PAGE HEAD (inner pages)
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  background: url("../img/Holy-Kaba.webp") center / cover no-repeat;
  color: #D7EAE1;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}
/* Ambient star field — pure CSS, no image request */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 22%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.4px 1.4px at 68% 12%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1.8px 1.8px at 82% 36%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.3px 1.3px at 32% 48%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 55% 28%, rgba(255,255,255,0.35), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero__text {
  text-shadow:
    0 0 3px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(0, 0, 0, 0.9),
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 20px rgba(0, 0, 0, 0.75);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; }
.hero h1 em {
  font-style: normal;
  color: var(--brass-soft);
}
.hero__text p { color: #EFF6F1; font-size: var(--fs-md); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero .btn--brass { text-shadow: none; }

.hero__talbiyah {
  font-family: var(--font-arabic);
  direction: rtl;
  font-size: 2rem;
  color: var(--brass-soft);
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--white);
  line-height: 1.1;
}
@media (max-width: 620px) {
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .hero__stat strong { font-size: 1.35rem; }
}
.hero__stat span {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 20, 15, 0.55);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E3EFE9;
}

/* Arch-framed hero artwork — the signature shape of the site */
.arch-frame {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  border: 1px solid rgba(243, 200, 120, 0.35);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  background: #0A331F;
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.arch-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(243, 200, 120, 0.25);
  border-radius: var(--arch);
  pointer-events: none;
}
.hero__art { max-width: 520px; margin-inline: auto; width: 100%; }

/* Inner page banner */
.page-head {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20,35,26,0.92), rgba(10,54,33,0.94)),
    linear-gradient(120deg, var(--dome) 0%, var(--night) 70%);
  color: #CBE2D7;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  text-align: center;
}
.page-head h1 { color: var(--white); margin-bottom: 0.6rem; }
.page-head p { color: #A8C6B8; max-width: 60ch; margin-inline: auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8FB1A1;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--brass-soft); }

/* -------------------------------------------------------------------------
   07 · QUICK PICK BAR
   ---------------------------------------------------------------------- */
.quickpick {
  position: relative;
  margin-top: -2.5rem;
  z-index: 5;
}
.quickpick__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .quickpick__card { grid-template-columns: repeat(3, 1fr) auto; align-items: end; }
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.field select,
.field input {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--marble);
  color: var(--ink);
  width: 100%;
}
.field select:focus, .field input:focus { border-color: var(--dome); }

/* Date range picker */
.field--date { position: relative; }
.field--date input { cursor: pointer; }
.datepicker {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 300px;
  max-width: 90vw;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  text-align: left;
}
.datepicker[hidden] { display: none; }
.datepicker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.datepicker__title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--night);
}
.datepicker__nav-btn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--marble);
  color: var(--night);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.datepicker__nav-btn:hover { border-color: var(--dome); color: var(--dome); }
.datepicker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.datepicker__weekday {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.3rem 0;
}
.datepicker__day {
  border: none;
  background: none;
  padding: 0.45rem 0;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
}
.datepicker__day:hover:not(:disabled) { background: var(--mist); }
.datepicker__day:disabled { color: #C3C7BE; cursor: not-allowed; }
.datepicker__day.is-today { font-weight: 700; color: var(--dome); }
.datepicker__day.is-in-range { background: rgba(140, 100, 8, 0.14); border-radius: 0; }
.datepicker__day.is-selected { background: var(--dome); color: var(--white); border-radius: 999px; }
.datepicker__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.datepicker__clear {
  border: none;
  background: none;
  padding: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  text-decoration: underline;
  cursor: pointer;
}
.datepicker__hint { font-size: var(--fs-xs); color: var(--muted); }

/* -------------------------------------------------------------------------
   08 · CARDS
   ---------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C7D3CE; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--mist);
  color: var(--dome);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }

/* Numbered steps — used only where order genuinely matters */
.step { position: relative; padding-left: 3.5rem; }
.step__num {
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--brass);
  color: var(--brass);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--muted); margin-bottom: 0; }

/* Package card */
.pkg {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg__media { position: relative; aspect-ratio: 16 / 10; background: var(--night); }
.pkg__media img { width: 100%; height: 100%; object-fit: cover; }
.pkg__badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: rgba(20, 35, 26, 0.85);
  color: var(--brass-soft);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.pkg__body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.pkg__code {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.pkg__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.pkg__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.pkg__list { display: grid; gap: 0.45rem; margin-bottom: 1.25rem; }
.pkg__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.pkg__list svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--dome-2); }
.pkg__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;               /* price drops above the button on narrow cards */
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.pkg__price span {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pkg__foot .btn { white-space: nowrap; }
.pkg__price strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--night);
  font-weight: 400;
}
.pkg__price small {
  display: block;
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Hotel / vehicle card variants reuse .pkg with a shorter media area */
.pkg--compact .pkg__media { aspect-ratio: 16 / 9; }

.tagrow { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--dome);
  background: var(--mist);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

/* Split feature (image + text) */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { border-radius: var(--radius); width: 100%; }

/* A real photo dropped into a .split section — contained to a fixed frame
   instead of running to its full (portrait) height, unlike the landscape
   illustrations .split__media is normally used with. */
.split__media--photo { aspect-ratio: 3 / 4; overflow: hidden; }
.split__media--photo img { height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .split__media--photo { aspect-ratio: 4 / 5; }
}

/* Checklist */
.check { display: grid; gap: 0.7rem; margin: 1.25rem 0; }
.check li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--muted); }
.check svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--dome-2); }

/* Route list */
.route-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0.9rem;
}
.route-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--night);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.route-list li:hover { border-color: #C7D3CE; box-shadow: var(--shadow-sm); }
.route-list svg { width: 22px; height: 22px; flex: none; color: var(--dome-2); }

/* -------------------------------------------------------------------------
   09 · TABS, CHIPS & ACCORDION
   ---------------------------------------------------------------------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.chip {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--night);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip:hover { border-color: var(--dome); color: var(--dome); }
.chip[aria-pressed="true"] {
  background: var(--night);
  border-color: var(--night);
  color: var(--white);
}
.chips--center { justify-content: center; }

.is-hidden { display: none !important; }

.empty-note {
  text-align: center;
  color: var(--muted);
  padding: 2rem 0;
}

/* Hotel list — dense filterable rows, no photos, built from JSON data */
.hotel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.hotel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}
.hotel-list .hotel-row:last-child { border-bottom: 0; }
.hotel-row:hover { background: var(--marble); }
.hotel-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1 1 240px;
  min-width: 200px;
}
.hotel-row__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--night); }
.hotel-row__area { font-size: var(--fs-xs); color: var(--muted); }
.hotel-row__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.25rem;
  flex: 2 1 360px;
  justify-content: flex-end;
}
.hotel-row__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.5rem;
  align-items: baseline;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.hotel-row__distance { font-weight: 700; color: var(--dome); white-space: nowrap; }
.hotel-row__access,
.hotel-row__rating { white-space: nowrap; }
.hotel-row__enquire { white-space: nowrap; }
@media (max-width: 620px) {
  .hotel-row__aside { justify-content: flex-start; }
}

/* Pagination for the hotel list */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.pager button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Shared light-background enquiry form: umrah-transport.html and hotels.html */
.enquiry-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .enquiry-form { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .enquiry-form { grid-template-columns: repeat(5, 1fr); align-items: end; }
}
.enquiry-form__submit { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 1040px) {
  /* Route values can run long (multi-leg trips) — give that field double
     width so more of the text is visible without scrolling inside it. */
  .enquiry-form .field--wide { grid-column: span 2; }
}

/* Route suggestions — hand-built dropdown so long multi-leg routes can wrap
   onto multiple lines. A native <datalist> can't be restyled at all, so its
   popup always truncates long options with no way to override it. */
.field--suggest { position: relative; }
.route-suggest {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.route-suggest[hidden] { display: none; }
.route-suggest li {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--ink);
  white-space: normal;
  line-height: 1.4;
  cursor: pointer;
}
.route-suggest li:hover { background: var(--marble); }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--night);
  cursor: pointer;
}
.accordion__btn::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--brass);
  transition: transform 0.25s var(--ease);
  flex: none;
}
.accordion__btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.accordion__panel { display: none; padding: 0 0 1.25rem; color: var(--muted); max-width: 75ch; }
.accordion__panel.is-open { display: block; }

/* -------------------------------------------------------------------------
   10 · TABLES (fare & price lists)
   ---------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 0.95rem 1.15rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--mist);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night);
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FAFAF7; }
td strong { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }

.note {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 1rem;
}

/* -------------------------------------------------------------------------
   11 · TESTIMONIALS
   ---------------------------------------------------------------------- */
.quotes { position: relative; }
.quotes__viewport { overflow: hidden; }
.quotes__track {
  display: flex;
  align-items: stretch;          /* keeps side-by-side quotes the same height */
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.quote {
  display: flex;
  flex: 0 0 100%;
  padding: 0 0.25rem;
}
@media (min-width: 780px) {
  .quote { flex-basis: 50%; }
}
.quote__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.quote__card a { color: var(--brass-soft); }
.quote__card a:hover { color: var(--brass); }

.map-embed {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  aspect-ratio: 21 / 9;
}
.map-embed iframe { width: 100%; height: 100%; display: block; border: 0; }
@media (max-width: 620px) {
  .map-embed { aspect-ratio: 4 / 5; }
}
.quote__mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--brass);
  display: block;
  margin-bottom: 1rem;
}
.quote__text { color: #DCECE5; font-size: var(--fs-md); }
.quote__who { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.5rem; }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--night);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex: none;
}
.quote__name { color: var(--white); font-weight: 700; font-size: var(--fs-sm); }
.quote__from { color: #94B6A6; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; }

.quotes__nav { display: flex; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.quotes__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), width 0.2s var(--ease);
}
.quotes__dot[aria-selected="true"] { background: var(--brass); width: 26px; border-radius: 999px; }

.rating-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.rating-strip__score {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}
.rating-strip__stars { color: var(--brass); letter-spacing: 0.2em; font-size: 1.1rem; }
.rating-strip p { color: #A9C4B7; margin: 0; font-size: var(--fs-sm); }

/* -------------------------------------------------------------------------
   12 · CTA BAND & FOOTER
   ---------------------------------------------------------------------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(140,100,8,0.96), rgba(20,35,26,0.96));
  color: #E0DED6;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 820px) {
  .cta-band { grid-template-columns: 1.4fr auto; }
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { margin: 0; color: #C5C7B6; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.site-footer {
  background: var(--night);
  color: #9FBEB0;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: var(--fs-sm);
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer a { color: #B7D3C6; }
.site-footer a:hover { color: var(--brass-soft); }
.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 3rem;
}
.footer__about p { color: #92B2A4; max-width: 34ch; }
.footer__brand { margin-bottom: 1.2rem; }
.footer__brand .brand__name { color: var(--white); }
.footer__brand .brand__tag { color: #7DA08F; }
.footer__list { display: grid; gap: 0.6rem; }
.footer__office { margin-bottom: 1.4rem; color: #92B2A4; }
.footer__office strong { color: #D5E8E0; display: block; font-weight: 700; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
}
.socials a:hover { background: rgba(255,255,255,0.08); border-color: var(--brass); }
.socials svg { width: 17px; height: 17px; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #7FA091;
}
.footer__bar ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* -------------------------------------------------------------------------
   13 · FLOATING ACTIONS
   ---------------------------------------------------------------------- */
.floaters {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.6rem;
  z-index: 50;
}
.floaters a, .floaters button {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), opacity 0.25s var(--ease);
}
.floaters a:hover, .floaters button:hover { transform: translateY(-3px); }
.float-wa { background: #25D366; color: #06331A; }
.float-top {
  background: var(--night);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
}
.float-top.is-visible { opacity: 1; visibility: visible; }
.floaters svg { width: 24px; height: 24px; }

/* -------------------------------------------------------------------------
   14 · MOTION
   ---------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   15 · PRINT
   ---------------------------------------------------------------------- */
@media print {
  .site-header, .topbar, .floaters, .quickpick, .cta-band, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
