/* =========================================================
   Umrah Ramadan – Hero Section
   Brand: #00CB8B
   Ukuran design asal: 1120 x 630 (16:9).
   Desktop: hero sentiasa muat dalam viewport. Semua saiz guna
   --u (1 piksel design), dikira ikut lebar ATAU tinggi skrin –
   mana yang lebih kecil – supaya tiada apa yang terpotong.
   ========================================================= */
:root {
  --header-h: 72px;
  --brand: #00cb8b;
  --brand-dark: #00b37a;
  --ink: #0b0b0b;
  --ink-green: #0d3326;
  --ink-soft: #3a3a3a;
  --bg-soft: #f3fbf8;
  --bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  /* pautan anchor tidak terlindung oleh header */
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Hero (desktop) ---------- */

.hero {
  position: relative;
  background-color: var(--bg);
  background-image: url("assets/pattern-bg.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero__inner {
  container-type: size;
  position: relative;
  width: 100%;
  /* penuh skrin, tapi tidak lebih tinggi dari nisbah 16:9 */
  height: min(calc(100vh - var(--header-h)), 56.25vw);
  height: min(calc(100svh - var(--header-h)), 56.25vw);
}

/* 1 piksel design (1120 x 630) + garisan kiri kolum kandungan */
.hero__inner > * {
  --u: min(100cqw / 1120, 100cqh / 630);
  --col-left: calc(75 * var(--u));

  /* Skala teks (nisbah ~1.25): tajuk > heading kedua > paragraf = CTA */
  --fs-title: calc(37 * var(--u));
  --fs-sub: max(15px, calc(20 * var(--u)));
  --fs-body: max(14px, calc(16 * var(--u)));
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: var(--col-left);
  top: calc(165 * var(--u));
  /* kolum 1 = separuh kiri (50%) */
  width: calc(50% - var(--col-left));
}

.hero__title {
  margin: 0 0 0 -0.04em; /* optik: imbangi ruang kiri huruf besar */
  font-weight: 600;
  font-size: var(--fs-title);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero__title .accent {
  color: var(--brand);
}

.hero__text {
  margin: calc(20 * var(--u)) 0 0;
  max-width: max(320px, calc(420 * var(--u)));
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: calc(32 * var(--u));
  width: max(140px, calc(176 * var(--u)));
  height: max(42px, calc(50 * var(--u)));
  padding: 0 1.5em;
  background: var(--brand);
  color: #0a1f17;
  font-weight: 600;
  font-size: var(--fs-body);
  text-decoration: none;
  /* bentuk "leaf": kanan-atas & kiri-bawah melengkung */
  border-radius: 0 45% 0 32% / 0 100% 0 100%;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(0, 203, 139, 0.7);
}

.hero__btn:focus-visible {
  outline: 3px solid var(--ink-green);
  outline-offset: 3px;
}

.hero__badge {
  position: absolute;
  z-index: 2;
  left: var(--col-left);
  bottom: calc(64 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  font-weight: 600;
  font-size: var(--fs-sub);
  letter-spacing: 0.02em;
  color: var(--ink-green);
}

.hero__badge img {
  width: max(26px, calc(34 * var(--u)));
  height: auto;
}

/* Kolum 2 = separuh kanan (50%), dipotong lurus di garisan tengah */
.hero__visual {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Masjid + kaligrafi sebagai satu kumpulan, memenuhi lebar kolum 2.
   --sw = lebar gambar: sekurang-kurangnya saiz design (662u), dilebarkan
   hingga penuh kolum (50cqw) pada skrin yang lebih lebar daripada 16:9,
   dan dihadkan 124cqh supaya bahagian atas (kaligrafi) tidak terpotong.
   Kedudukan atas dikira supaya garis bawah sama seperti design (Kaabah
   kekal kelihatan): top = tinggi hero − 0.9428 × lebar gambar. */
.hero__scene {
  --sw: min(max(calc(662 * var(--u)), calc(50cqw + 4px)), 124cqh);
  position: absolute;
  left: 50%;
  top: calc(100cqh - 0.9428 * var(--sw));
  width: var(--sw);
  aspect-ratio: 1122 / 1402;
  translate: -50% 0;
}

.hero__calligraphy {
  position: absolute;
  left: 20.5%;
  top: 11.4%;
  width: 60.4%;
  height: auto;
}

.hero__masjid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
}

/* ---------- Animasi masuk ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero__content > *,
  .hero__badge {
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero__title { animation-delay: 0.1s; }
  .hero__text  { animation-delay: 0.25s; }
  .hero__btn   { animation-delay: 0.4s; }
  .hero__badge { animation-delay: 0.55s; }

  .hero__calligraphy {
    opacity: 0;
    animation: callig 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  }

  .hero__masjid {
    opacity: 0;
    animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  /* selepas animasi, butang guna transition hover biasa */
  .hero__btn {
    animation-fill-mode: backwards;
    opacity: 1;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(6%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes callig {
  from { opacity: 0; transform: scale(0.9) rotate(-4deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}

/* ---------- Tablet & mobile: susun menegak, muat satu skrin ---------- */

@media (max-width: 960px) {
  .hero__inner {
    container-type: normal;
    height: auto;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    padding: 48px 24px 0;
  }

  .hero__content {
    position: static;
    width: 100%;
    max-width: 560px;
  }

  .hero__title {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.2;
  }

  .hero__text {
    margin-top: 14px;
    max-width: 440px;
    font-size: 16px;
  }

  .hero__btn {
    margin-top: 22px;
    width: 176px;
    height: 48px;
    font-size: 16px;
  }

  .hero__badge {
    position: static;
    order: 2;
    margin-top: 24px;
    gap: 10px;
    font-size: 17px;
  }

  .hero__badge img {
    width: 30px;
  }

  /* visual selebar skrin (tepi ke tepi); tinggi ikut lebar.
     margin-top:auto meletakkannya di bawah jika skrin masih ada ruang */
  .hero__visual {
    container-type: inline-size;
    position: relative;
    left: auto;
    right: auto;
    order: 3;
    flex: none;
    width: auto;
    aspect-ratio: 1 / 1.05;
    max-height: none;
    margin: auto -24px 0;
  }

  /* gambar sedikit lebih lebar daripada skrin supaya tiada ruang kosong
     di tepi; bahagian bawah (jemaah) dipotong sedikit; tiada kesan pudar */
  .hero__scene {
    left: 50%;
    top: auto;
    bottom: 0;
    width: 108cqw;
    translate: -50% 14.4%;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* tablet: skrin lebar – gambar penuh lebar akan terlalu tinggi, jadi
   saiznya dihadkan dan tepinya dipudarkan ke corak latar */
@media (min-width: 561px) and (max-width: 960px) {
  .hero__visual {
    aspect-ratio: 1 / 0.82;
  }

  .hero__scene {
    width: 74cqw;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
}

@media (max-width: 480px) {
  .hero__inner {
    padding: 36px 16px 0;
  }

  .hero__visual {
    margin: auto -16px 0;
  }
}

/* =========================================================
   Section 2 – Kenapa Jemaah Pilih Shahmie Travel?
   Dua kolum sama lebar; garisan kiri sama seperti hero.
   ========================================================= */

.why {
  container-type: inline-size;
  background: var(--bg-soft);

  /* unit & skala teks sama seperti hero */
  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
  --fs-h2: calc(32 * var(--u));
  --fs-sub: max(16px, calc(20 * var(--u)));
  --fs-body: max(15px, calc(16 * var(--u)));
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(64 * var(--u));
  align-items: stretch;
  padding: calc(96 * var(--u)) var(--col-left);
}

/* Kolum 1: video berbentuk "leaf" seperti butang Tempah */
.why__media {
  position: relative;
  min-height: calc(460 * var(--u));
  overflow: hidden;
  border-radius: 0 calc(120 * var(--u)) 0 calc(120 * var(--u));
  isolation: isolate;
}

.why__video {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  max-width: none;
  object-fit: cover;
}

.why__stat {
  position: absolute;
  right: calc(20 * var(--u));
  bottom: calc(20 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  padding: calc(14 * var(--u)) calc(20 * var(--u));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 0 calc(20 * var(--u)) 0 calc(20 * var(--u));
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}

.why__stat strong {
  font-size: max(22px, calc(28 * var(--u)));
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}

.why__stat span {
  font-size: max(12px, calc(13 * var(--u)));
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-green);
}

/* Kolum 2: kandungan */
.why__content {
  align-self: center;
}

.why__title {
  margin: 0 0 0 -0.04em;
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

.why__title .accent {
  color: var(--brand);
}

/* ikon verified di depan "Shahmie Travel?" – baris kedua, seperti tajuk hero */
.why__brand {
  display: block;
  white-space: nowrap;
}

.why__verified {
  display: inline-block;
  width: 0.82em;
  height: auto;
  margin-right: 0.22em;
  vertical-align: -0.08em;
}

.why__subtitle {
  margin: calc(12 * var(--u)) 0 0;
  font-weight: 500;
  font-size: var(--fs-sub);
  line-height: 1.4;
  color: var(--ink-green);
  text-wrap: balance;
}

.why__list {
  list-style: none;
  margin: calc(32 * var(--u)) 0 0;
  padding: 0;
  display: grid;
  gap: calc(18 * var(--u));
}

.why__list li {
  display: flex;
  align-items: flex-start;
  gap: calc(14 * var(--u));
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.why__list img {
  flex: none;
  width: max(22px, calc(24 * var(--u)));
  height: auto;
  /* tengahkan ikon dengan baris pertama teks */
  margin-top: calc((1.55em - max(22px, calc(24 * var(--u)))) / 2);
}

.why__list strong {
  font-weight: 600;
  color: var(--ink);
}

/* Animasi muncul semasa scroll – kelas "reveal-on" hanya ditambah selepas
   skrip animasi berjaya dimulakan, jadi kandungan tidak hilang jika JS gagal */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Section 2: tablet & mobile ---------- */

@media (max-width: 960px) {
  .why__inner {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 64px 24px;
  }

  .why__media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    max-height: 560px;
    border-radius: 0 72px 0 72px;
  }

  .why__stat {
    right: 16px;
    bottom: 16px;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 0 16px 0 16px;
  }

  .why__title {
    font-size: clamp(26px, 6.5vw, 34px);
  }

  .why__subtitle {
    margin-top: 10px;
    font-size: 18px;
  }

  .why__list {
    margin-top: 24px;
    gap: 16px;
  }

  .why__list li {
    gap: 12px;
    font-size: 16px;
  }

  .why__list img {
    width: 22px;
    margin-top: calc((1.55em - 22px) / 2);
  }
}

@media (max-width: 480px) {
  .why__inner {
    padding: 48px 16px;
  }
}

/* =========================================================
   Section 3 – Panduan Ibadah
   Video latar penuh & jernih dengan lapisan hitam menyeluruh.
   ========================================================= */

.guide {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.guide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.guide__video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* lapisan hitam menyeluruh di atas video */
.guide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.guide__inner {
  container-type: size;
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(100vh, 56.25vw);
  height: min(100svh, 56.25vw);
}

.guide__inner > * {
  --u: min(100cqw / 1120, 100cqh / 630);
  --col-left: calc(75 * var(--u));
}

.guide__headline {
  position: absolute;
  left: var(--col-left);
  bottom: calc(56 * var(--u));
  margin: 0 0 0 -0.05em;
  font-weight: 400;
  font-size: calc(76 * var(--u));
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--brand);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.guide__intro {
  position: absolute;
  left: var(--col-left);
  top: calc(88 * var(--u));
  width: calc(395 * var(--u));
  margin: 0;
  font-weight: 400;
  font-size: max(15px, calc(19 * var(--u)));
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* Kad hijau berbentuk "leaf" seperti butang Tempah */
.guide__card {
  position: absolute;
  right: var(--col-left);
  top: calc(60 * var(--u));
  width: calc(411 * var(--u));
  padding: calc(28 * var(--u)) calc(52 * var(--u)) calc(52 * var(--u));
  background: var(--brand);
  color: #fff;
  border-radius: 0 calc(90 * var(--u)) 0 calc(90 * var(--u));
  box-shadow: 0 24px 60px -30px rgba(0, 120, 80, 0.55);
}

.guide__label {
  display: inline-block;
  padding: calc(9 * var(--u)) calc(26 * var(--u));
  background: #fff;
  color: var(--brand);
  font-weight: 500;
  font-size: max(11px, calc(12.5 * var(--u)));
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
}

.guide__card-title {
  margin: calc(22 * var(--u)) 0 0;
  font-weight: 400;
  font-size: calc(37 * var(--u));
  line-height: 1.2;
}

.guide__card-text {
  margin: calc(26 * var(--u)) 0 0;
  max-width: calc(275 * var(--u));
  font-weight: 500;
  font-size: max(14px, calc(15.5 * var(--u)));
  line-height: 1.45;
}

/* ---------- Section 3: tablet & mobile ---------- */

@media (max-width: 960px) {
  .guide__inner {
    container-type: normal;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 72px 24px;
  }

  .guide__headline,
  .guide__intro,
  .guide__card {
    position: static;
    width: auto;
  }

  .guide__headline {
    font-size: clamp(42px, 11vw, 72px);
  }

  .guide__intro {
    max-width: 520px;
    font-size: 17px;
  }

  .guide__card {
    margin-top: 16px;
    max-width: 460px;
    padding: 28px 32px 40px;
    border-radius: 0 64px 0 64px;
  }

  .guide__label {
    padding: 8px 20px;
    font-size: 12px;
  }

  .guide__card-title {
    margin-top: 18px;
    font-size: clamp(28px, 7.5vw, 36px);
  }

  .guide__card-text {
    margin-top: 18px;
    max-width: 340px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .guide__inner {
    padding: 56px 16px;
  }
}

/* =========================================================
   Section 4 – Pilihan Pakej Umrah Ramadan
   ========================================================= */

.packages {
  container-type: inline-size;
  background: var(--bg);

  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
  --line: #e2ebe7;
  --tint: #e6f9f1;
}

.packages__inner {
  padding: calc(96 * var(--u)) var(--col-left);
}

/* Atas: tajuk (kiri) + intro (kanan), dua kolum sama lebar */
.packages__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(64 * var(--u));
  align-items: end;
}

.packages__title {
  margin: 0 0 0 -0.04em;
  font-weight: 600;
  font-size: calc(44 * var(--u));
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.packages__title .accent {
  color: var(--brand);
}

.packages__intro {
  margin: 0;
  max-width: calc(470 * var(--u));
  font-size: max(15px, calc(16 * var(--u)));
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Jadual */
.packages__table-wrap {
  position: relative;
  isolation: isolate;
  margin-top: calc(48 * var(--u));
}

/* Satu blok latar untuk seluruh kolum WAKTU (kolum ke-2: 24% → 46%),
   di belakang sel jadual supaya kaligrafi bersambung tanpa putus */
.packages__col-bg {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 24%;
  width: 22%;
  overflow: hidden;
  background: var(--brand);
  border-radius: 0 calc(20 * var(--u)) 0 calc(20 * var(--u));
}

.packages__col-bg::after {
  content: "";
  position: absolute;
  inset: -6%;
  background: url("assets/umrah-calligraphy.png") center / cover no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.16;
}

.packages__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: max(14px, calc(15.5 * var(--u)));
  line-height: 1.5;
}

.packages__table thead th:nth-child(1) { width: 24%; }
.packages__table thead th:nth-child(2) { width: 22%; }
.packages__table thead th:nth-child(3) { width: 34%; }
.packages__table thead th:nth-child(4) { width: 20%; }

.packages__table th,
.packages__table td {
  padding: calc(22 * var(--u)) calc(24 * var(--u));
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.packages__table thead th {
  padding-top: calc(16 * var(--u));
  padding-bottom: calc(16 * var(--u));
  background: var(--tint);
  border-bottom: 0;
  font-weight: 600;
  font-size: max(12px, calc(12.5 * var(--u)));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-green);
}

.packages__table thead th:first-child {
  border-radius: 0 0 0 calc(20 * var(--u));
}

.packages__table thead th:last-child {
  border-radius: 0 calc(20 * var(--u)) 0 0;
}

.packages__table tbody th {
  font-weight: 600;
  font-size: max(15px, calc(17 * var(--u)));
  color: var(--ink);
}

.packages__table tbody td {
  color: var(--ink-soft);
}

/* Kolum ditonjolkan (Waktu) – sel lutsinar, latar dari .packages__col-bg */
.packages__table .is-highlight {
  background: transparent;
  color: #062b1f;
  font-weight: 600;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.packages__table thead .is-highlight {
  background: transparent;
  color: #062b1f;
}

.packages__table tbody td.is-highlight {
  font-size: max(15px, calc(17 * var(--u)));
}

/* Teks Waktu bercahaya (glow putih lembut, berdenyut perlahan) */
.packages__glow {
  color: #fff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.75),
    0 0 16px rgba(255, 255, 255, 0.55),
    0 0 32px rgba(255, 255, 255, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .packages__glow {
    animation: glow 2.8s ease-in-out infinite;
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.75),
      0 0 16px rgba(255, 255, 255, 0.55),
      0 0 32px rgba(255, 255, 255, 0.35);
  }
  50% {
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.95),
      0 0 22px rgba(255, 255, 255, 0.75),
      0 0 44px rgba(255, 255, 255, 0.5);
  }
}

.packages__table tbody tr:last-child .is-highlight {
  border-bottom: 0;
}

/* Butang kecil "Hubungi Kami" */
.packages__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: calc(10 * var(--u)) calc(18 * var(--u));
  border: 1.5px solid var(--brand);
  border-radius: 0 calc(16 * var(--u)) 0 calc(16 * var(--u));
  color: var(--ink-green);
  font-weight: 600;
  font-size: max(13px, calc(14 * var(--u)));
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.packages__action:hover {
  background: var(--brand);
  color: #062b1f;
}

.packages__action:focus-visible,
.packages__cta:focus-visible {
  outline: 3px solid var(--ink-green);
  outline-offset: 3px;
}

/* Bawah: teks sokongan + CTA */
.packages__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(32 * var(--u));
  margin-top: calc(40 * var(--u));
}

.packages__note {
  margin: 0;
  max-width: calc(470 * var(--u));
  font-size: max(15px, calc(16 * var(--u)));
  line-height: 1.6;
  color: var(--ink-soft);
}

.packages__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: max(46px, calc(54 * var(--u)));
  padding: 0 calc(40 * var(--u));
  background: var(--brand);
  color: #0a1f17;
  font-weight: 600;
  font-size: max(14px, calc(15 * var(--u)));
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0 calc(28 * var(--u)) 0 calc(28 * var(--u));
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.packages__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(0, 203, 139, 0.7);
}

/* ---------- Section 4: tablet ---------- */

@media (max-width: 960px) {
  .packages__inner {
    padding: 72px 24px;
  }

  .packages__head {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .packages__title {
    font-size: clamp(30px, 7.5vw, 42px);
  }

  .packages__intro,
  .packages__note {
    max-width: 560px;
    font-size: 16px;
  }

  .packages__table-wrap {
    margin-top: 36px;
  }

  .packages__table th,
  .packages__table td {
    padding: 18px 16px;
  }

  .packages__table thead th {
    padding: 14px 16px;
    font-size: 12px;
  }

  .packages__table tbody th,
  .packages__table tbody td.is-highlight {
    font-size: 16px;
  }

  .packages__action {
    padding: 9px 14px;
    font-size: 14px;
  }

  .packages__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 32px;
  }

  .packages__cta {
    height: 52px;
    padding: 0 32px;
    font-size: 14px;
  }
}

/* ---------- Section 4: mobile – setiap pakej jadi kad ---------- */

@media (max-width: 680px) {
  .packages__inner {
    padding: 56px 16px;
  }

  .packages__table,
  .packages__table tbody,
  .packages__table tr,
  .packages__table th,
  .packages__table td {
    display: block;
    width: auto !important;
  }

  .packages__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .packages__table tbody {
    display: grid;
    gap: 16px;
  }

  .packages__table tbody tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0 28px 0 28px;
    background: #fff;
  }

  .packages__table tbody th {
    padding: 18px 20px;
    background: var(--tint);
    border-bottom: 0;
    font-size: 18px;
  }

  .packages__table tbody td {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
  }

  .packages__table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-green);
    opacity: 0.75;
  }

  .packages__table tbody td.is-highlight::before {
    color: #062b1f;
  }

  /* kad mobile: setiap baris Waktu ada latar hijau + kaligrafi sendiri */
  .packages__col-bg {
    display: none;
  }

  .packages__table tbody td.is-highlight {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--brand);
  }

  .packages__table tbody td.is-highlight::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    right: -12px;
    width: 120px;
    aspect-ratio: 1514 / 1461;
    translate: 0 -50%;
    background: url("assets/umrah-calligraphy.png") center / contain no-repeat;
    filter: brightness(0) invert(1);
    opacity: 0.2;
  }

  .packages__table tbody tr:last-child .is-highlight {
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0;
  }

  .packages__table tbody td:last-child {
    border-bottom: 0;
  }

  .packages__action {
    justify-self: start;
  }

  .packages__cta {
    width: 100%;
  }
}

/* =========================================================
   Section 5 – Kemudahan Pakej (4 kolum, ton hijau menurun)
   ========================================================= */

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

.features {
  /* kapal terbang boleh "terbang" keluar dari tepi tanpa scroll mendatar */
  overflow: clip;
}

.features__inner {
  position: relative;
  container-type: size;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* ikon, nombor, tajuk, subtajuk, teks, butang – baris dikongsi semua kolum
     supaya setiap elemen bermula pada garisan yang sama */
  grid-template-rows: repeat(5, auto) 1fr;
  width: 100%;
  height: min(100vh, 56.25vw);
  height: min(100svh, 56.25vw);
}

.feature {
  --u: min(100cqw / 1120, 100cqh / 630);
  position: relative;
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  align-content: start;
  padding: calc(84 * var(--u)) calc(40 * var(--u)) calc(56 * var(--u));
  color: var(--feature-ink);
  background: var(--feature-bg);
}

/* Teks hijau gelap sekeluarga dengan latar – kontras ≥ 7:1 pada setiap kolum
   (putih sebelum ini hanya 1.2–2.1:1, sukar dibaca) */
.feature--1 { --feature-bg: #00cb8b; --feature-ink: #042a1d; }
.feature--2 { --feature-bg: #26eaaa; --feature-ink: #053323; }
.feature--3 { --feature-bg: #5af2c1; --feature-ink: #063b29; }
.feature--4 { --feature-bg: #bef5e2; --feature-ink: #07432e; }

.feature__icon {
  justify-self: center;
  width: calc(84 * var(--u));
  height: auto;
  fill: currentColor;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature:hover .feature__icon {
  transform: translateY(calc(-8 * var(--u)));
}

.feature__head {
  display: contents;
}

/* Ritma jarak kandungan kolum (unit design):
   ikon → 44 → nombor → 8 → tajuk → 12 → subtajuk → 28 → penerangan */
.feature__num {
  margin-top: calc(44 * var(--u));
  font-size: max(12px, calc(13 * var(--u)));
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.feature__num::after {
  content: " —";
}

.feature__title {
  margin: calc(8 * var(--u)) 0 0;
  font-weight: 400;
  font-size: calc(30 * var(--u));
  line-height: 1.15;
  letter-spacing: -0.01em;
  align-self: start;
}

.feature__sub {
  margin: calc(12 * var(--u)) 0 0;
  font-weight: 400;
  font-size: max(15px, calc(18 * var(--u)));
  line-height: 1.3;
  align-self: start;
}

.feature__text {
  margin: calc(28 * var(--u)) 0 0;
  max-width: calc(200 * var(--u));
  font-weight: 400;
  font-size: max(14px, calc(15 * var(--u)));
  line-height: 1.45;
}

/* ---------- Section 5: tablet (2 x 2) & mobile (1 kolum) ---------- */

@media (max-width: 960px) {
  .features__inner {
    container-type: normal;
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .feature {
    grid-row: auto;
    grid-template-rows: none;
    padding: 48px 28px 56px;
  }

  .feature__icon {
    justify-self: start;
    width: 64px;
  }

  .feature:hover .feature__icon {
    transform: translateY(-6px);
  }

  .feature__num {
    margin-top: 28px;
    font-size: 12px;
  }

  .feature__title {
    font-size: clamp(26px, 5vw, 32px);
  }

  .feature__sub {
    font-size: 17px;
  }

  .feature__text {
    margin-top: 20px;
    max-width: 300px;
    font-size: 15px;
  }
}

@media (max-width: 560px) {
  .features__inner {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 40px 16px 44px;
  }
}

/* ---------- Section 5: panel syarikat penerbangan (kolum 01) ---------- */

/* Corak "expanding panels": kolum yang dibuka melebar di tempatnya sendiri,
   kolum lain mengecil jadi jalur ikon. Panel kandungan berada DALAM kolum
   yang dibuka (tiada lapisan bertindih, tiada kolum melompat). */
.has-panel {
  position: relative;
}

@media (min-width: 961px) {
  .features__inner {
    transition: grid-template-columns 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .features__inner[data-open="1"] { grid-template-columns: 85fr 5fr 5fr 5fr; }
  .features__inner[data-open="2"] { grid-template-columns: 5fr 85fr 5fr 5fr; }
  .features__inner[data-open="3"] { grid-template-columns: 5fr 5fr 85fr 5fr; }
  .features__inner[data-open="4"] { grid-template-columns: 5fr 5fr 5fr 85fr; }

  .feature {
    min-width: 0;
    overflow: hidden;
    transition: padding 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* ikon: tengah kolum biasa; lebar teks tetap supaya tidak "reflow" semasa animasi */
  .feature__icon {
    justify-self: start;
    margin-left: calc(50% - 42 * var(--u));
    transition: margin 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .feature__num,
  .feature__title,
  .feature__sub,
  .feature__text {
    min-width: calc(200 * var(--u));
  }

  .feature__title,
  .feature__sub,
  .feature__text {
    width: calc(200 * var(--u));
  }

  /* kolum dibuka: jarak 40u kiri + teks 200u + jarak 40u kanan,
     jadi panel bermula pada 280u (kiri & kanan seimbang) */
  .feature.is-open .feature__icon {
    margin-left: 0;
  }

  /* kolum lain: jalur sempit, hanya ikon kecil */
  .features__inner[data-open] .feature:not(.is-open) {
    padding-left: 0;
    padding-right: 0;
    cursor: pointer;
  }

  /* jalur = 5% daripada 1120 = 56u; ikon 32u di tengah jalur */
  .features__inner[data-open] .feature:not(.is-open) .feature__icon {
    width: calc(32 * var(--u));
    margin-left: calc(12 * var(--u));
  }

  /* teks kolum jalur dibuang dari susun atur, supaya baris grid dikongsi
     hanya ikut kandungan kolum yang dibuka (jarak kekal rapat & sekata) */
  .features__inner[data-open] .feature:not(.is-open) .feature__num,
  .features__inner[data-open] .feature:not(.is-open) .feature__title,
  .features__inner[data-open] .feature:not(.is-open) .feature__sub,
  .features__inner[data-open] .feature:not(.is-open) .feature__text,
  .features__inner[data-open] .feature:not(.is-open) .feature__more {
    display: none;
  }
}

.feature__more {
  grid-row: 6;
  align-self: end;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  font-size: max(13px, calc(13.5 * var(--u)));
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0.9;
  border-bottom: 1px solid color-mix(in srgb, currentColor 55%, transparent);
  padding-bottom: 4px;
}

.feature__more span {
  transition: transform 0.3s ease;
}

.has-panel:hover .feature__more span,
.has-panel.is-open .feature__more span {
  transform: translateX(4px);
}

.feature__more:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.flights {
  --u: min(100cqw / 1120, 100cqh / 630);
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  /* panel di dalam kolum yang dibuka, di sebelah kanan kandungan asal */
  left: calc(280 * var(--u));
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(30 * var(--u)) calc(40 * var(--u)) 0;
  background: #fff;
  color: var(--ink);
  cursor: default;
  opacity: 0;
  visibility: hidden;
  /* tutup serta-merta; buka selepas kolum hampir siap melebar */
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.has-panel.is-open .fpanel {
  transition: opacity 0.35s ease 0.25s, visibility 0.35s ease 0.25s;
}

.feature--1.is-open .flights {
  opacity: 1;
  visibility: visible;
}

.flights__card {
  position: relative;
  z-index: 1;
  width: min(100%, calc(640 * var(--u)));
  border-top: calc(4 * var(--u)) solid #1f4a3d;
  transform: translateY(calc(12 * var(--u)));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature--1.is-open .flights__card {
  transform: none;
}

.flights__table {
  width: 100%;
  border-collapse: collapse;
  font-size: max(12px, calc(13 * var(--u)));
  line-height: 1.25;
}

.flights__table thead th {
  padding: calc(11 * var(--u)) calc(14 * var(--u));
  background: #eef3f1;
  text-align: left;
  font-weight: 600;
  font-size: max(10px, calc(10.5 * var(--u)));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34413c;
}

.flights__table thead th:first-child,
.flights__no {
  width: calc(44 * var(--u));
  text-align: center;
}

.flights__table td {
  padding: calc(6 * var(--u)) calc(14 * var(--u));
  vertical-align: middle;
  border-bottom: 1px solid #edf2f0;
}

.flights__table tbody tr:nth-child(odd) {
  background: #f7faf9;
}

.flights__no {
  font-weight: 500;
  color: #5b6762;
}

.flights__airline {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
}

/* logo syarikat penerbangan dalam kotak putih seragam */
.flights__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: max(64px, calc(76 * var(--u)));
  height: max(28px, calc(31 * var(--u)));
  padding: 2px 5px;
  background: #fff;
  border: 1px solid #e6eeeb;
  border-radius: 0 calc(12 * var(--u)) 0 calc(12 * var(--u));
}

.flights__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* (lama) kod IATA – tidak digunakan lagi */
.flights__code {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: max(28px, calc(34 * var(--u)));
  height: max(28px, calc(34 * var(--u)));
  border-radius: 0 calc(12 * var(--u)) 0 calc(12 * var(--u));
  background: var(--brand);
  color: #062b1f;
  font-weight: 700;
  font-size: max(10px, calc(11.5 * var(--u)));
  letter-spacing: 0.02em;
}

.flights__airline strong {
  display: block;
  font-weight: 600;
  font-size: max(12.5px, calc(13.5 * var(--u)));
  color: var(--ink);
}

.flights__airline a {
  font-size: max(11px, calc(11 * var(--u)));
  font-weight: 500;
  color: #00a874;
  text-decoration: none;
}

.flights__airline a:hover {
  text-decoration: underline;
}

.flights__route {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
}

.flights__route svg {
  flex: none;
  width: max(14px, calc(16 * var(--u)));
  height: auto;
  fill: #4a5a55;
  rotate: 45deg;
}

.flights__route strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
}

.flights__route small {
  display: block;
  font-size: max(10.5px, calc(11 * var(--u)));
  color: #6b7a75;
}

.flights__type {
  display: inline-block;
  padding: calc(5 * var(--u)) calc(14 * var(--u));
  border-radius: 999px;
  font-weight: 600;
  font-size: max(11px, calc(11.5 * var(--u)));
  white-space: nowrap;
}

.flights__type.is-direct {
  background: #d7f7e8;
  color: #047a55;
}

.flights__type.is-transit {
  background: #e2eefc;
  color: #1d5fb8;
}

.flights__note {
  margin: calc(8 * var(--u)) 0 0;
  font-size: max(10.5px, calc(11 * var(--u)));
  color: #6b7a75;
}

/* kapal terbang "terbang masuk" dari kanan bawah */
.flights__plane {
  position: absolute;
  z-index: 2;
  right: -6%;
  bottom: -3%;
  width: 36%;
  pointer-events: none;
  opacity: 0;
  transform: translate(22%, 14%) rotate(-3deg);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, opacity 0.5s ease 0.1s;
}

.flights__plane img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
}

.feature--1.is-open .flights__plane {
  opacity: 1;
  transform: none;
}

/* ---------- panel penerbangan: tablet & mobile (klik untuk buka) ---------- */

@media (max-width: 960px) {
  .feature--1 {
    grid-column: 1 / -1;
  }

  /* kolum boleh di-tap; butang lebih besar untuk jari */
  .has-panel {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .has-panel .fpanel {
    cursor: auto;
  }

  .feature__more {
    grid-row: auto;
    margin-top: 20px;
    min-height: 44px;
    padding: 0;
    border-bottom: 0;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 55%, transparent);
    text-underline-offset: 6px;
  }

  .has-panel.is-open .feature__more span {
    transform: rotate(90deg);
  }

  .flights {
    position: static;
    display: none;
    transition: none;
    margin-top: 24px;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
  }

  .feature--1.is-open .flights {
    display: block;
  }

  .flights__card {
    width: 100%;
    overflow: hidden;
    transform: none;
    border-top-width: 4px;
    border-radius: 0 0 0 20px;
    background: #fff;
  }

  .flights__table {
    font-size: 13px;
  }

  .flights__table thead th,
  .flights__table td {
    padding-left: 12px;
    padding-right: 12px;
  }

  .flights__table td {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .flights__note {
    margin: 0;
    padding: 10px 12px 12px;
  }

  .flights__plane {
    display: none;
  }
}

@media (max-width: 680px) {
  .flights__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .flights__table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid #edf2f0;
  }

  .flights__table td {
    padding: 0;
    border: 0;
  }

  .flights__no {
    display: none;
  }

  .flights__table td:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 8px;
    /* sejajar dengan nama syarikat (lebar logo + jarak) */
    padding-left: calc(64px + 12px);
  }

  .flights__airline {
    gap: 12px;
  }
}

/* ---------- Section 5: panel hotel (kolum 02) – menutup kolum 3 & 4 ---------- */

.hotels {
  --u: min(100cqw / 1120, 100cqh / 630);
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: calc(280 * var(--u));
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(30 * var(--u)) calc(40 * var(--u)) calc(18 * var(--u));
  background: #fff;
  color: var(--ink);
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.feature--2.is-open .hotels {
  opacity: 1;
  visibility: visible;
}

.hotels > * {
  width: min(100%, calc(720 * var(--u)));
}

.hotels__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--u));
  padding-top: calc(14 * var(--u));
  border-top: calc(4 * var(--u)) solid #1f4a3d;
}

.hotels__title {
  margin: 0;
  font-weight: 600;
  font-size: max(16px, calc(20 * var(--u)));
  color: var(--ink);
}

.hotels__tabs {
  display: inline-flex;
  padding: calc(4 * var(--u));
  background: #eef3f1;
  border-radius: 999px;
}

.hotels__tabs button {
  padding: calc(7 * var(--u)) calc(16 * var(--u));
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4a5a55;
  font: inherit;
  font-weight: 600;
  font-size: max(12px, calc(12.5 * var(--u)));
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hotels__tabs button[aria-selected="true"] {
  background: var(--brand);
  color: #062b1f;
}

.hotels__tabs button:focus-visible {
  outline: 2px solid var(--ink-green);
  outline-offset: 2px;
}

/* senarai boleh di-scroll dalam panel */
.hotels__scroll {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: calc(8 * var(--u));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfdcd7 transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent);
}

.hotels__list {
  list-style: none;
  margin: 0;
  padding: 0 calc(8 * var(--u)) calc(24 * var(--u)) 0;
}

.hotel {
  display: grid;
  grid-template-columns: calc(40 * var(--u)) 1fr;
  gap: calc(12 * var(--u));
  padding: calc(14 * var(--u)) 0;
  border-bottom: 1px solid #edf2f0;
}

.hotel__no {
  font-weight: 300;
  font-size: max(18px, calc(22 * var(--u)));
  line-height: 1;
  color: var(--brand);
}

.hotel__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(6 * var(--u)) calc(10 * var(--u));
}

.hotel__name {
  margin: 0;
  font-weight: 600;
  font-size: max(14px, calc(15 * var(--u)));
  line-height: 1.3;
  color: var(--ink);
}

.hotel__tag {
  padding: calc(3 * var(--u)) calc(10 * var(--u));
  border-radius: 999px;
  background: #d7f7e8;
  color: #047a55;
  font-weight: 600;
  font-size: max(10.5px, calc(11 * var(--u)));
  white-space: nowrap;
}

.hotel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: calc(4 * var(--u)) calc(14 * var(--u));
  margin: calc(6 * var(--u)) 0 0;
  font-size: max(11.5px, calc(12 * var(--u)));
  color: #5b6762;
}

.hotel__meta svg {
  width: max(12px, calc(13 * var(--u)));
  height: auto;
  flex: none;
}

.hotel__rating,
.hotel__dist,
.hotel__price {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
}

.hotel__rating svg {
  fill: #f5a524;
}

.hotel__rating strong,
.hotel__price strong {
  font-weight: 600;
  color: var(--ink);
}

.hotel__rating > span {
  color: #8a9792;
}

.hotel__dist svg {
  fill: var(--brand);
}

.hotel__addr {
  flex-basis: 100%;
  font-size: max(11px, calc(11.5 * var(--u)));
  color: #8a9792;
}

.hotel__desc {
  margin: calc(6 * var(--u)) 0 0;
  font-size: max(13px, calc(13 * var(--u)));
  line-height: 1.5;
  color: var(--ink-soft);
}

.hotels__note {
  margin: calc(10 * var(--u)) 0 0;
  font-size: max(10.5px, calc(11 * var(--u)));
  color: #6b7a75;
}

/* ---------- panel hotel: tablet & mobile (klik untuk buka) ---------- */

@media (max-width: 960px) {
  .feature--2 {
    grid-column: 1 / -1;
  }

  .hotels {
    position: static;
    display: none;
    transition: none;
    margin-top: 24px;
    padding: 16px 16px 12px;
    border-radius: 0 0 0 20px;
    opacity: 1;
    visibility: visible;
  }

  .feature--2.is-open .hotels {
    display: flex;
  }

  .hotels__head {
    padding-top: 12px;
    border-top-width: 4px;
  }

  .hotels__tabs {
    padding: 4px;
  }

  .hotels__tabs button {
    padding: 7px 16px;
    font-size: 13px;
  }

  .hotels__scroll {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hotels__list {
    padding: 0;
  }

  .hotel {
    grid-template-columns: 34px 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .hotel__meta,
  .hotel__top {
    gap: 4px 10px;
  }

  .hotel__meta svg {
    width: 13px;
  }
}

/* ---------- Section 5: panel senarai kad (kolum 03 mutawwif & 04 pengangkutan) ---------- */

.duties {
  --u: min(100cqw / 1120, 100cqh / 630);
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: calc(280 * var(--u));
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(30 * var(--u)) calc(40 * var(--u)) 0;
  background: #fff;
  color: var(--ink);
  cursor: default;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.has-panel.is-open .duties {
  opacity: 1;
  visibility: visible;
}

.duties > * {
  width: min(100%, calc(720 * var(--u)));
}

.duties__head {
  padding-top: calc(14 * var(--u));
  border-top: calc(4 * var(--u)) solid #1f4a3d;
}

.duties__title {
  margin: 0;
  font-weight: 600;
  font-size: max(16px, calc(20 * var(--u)));
  color: var(--ink);
}

.duties__scroll {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: calc(16 * var(--u));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #cfdcd7 transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 28px), transparent);
}

/* 2 kolum kad; nombor + tajuk + penerangan */
.duties__list {
  list-style: none;
  margin: 0;
  padding: 0 calc(6 * var(--u)) calc(28 * var(--u)) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(12 * var(--u));
}

.duty {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: calc(12 * var(--u));
  align-content: start;
  padding: calc(16 * var(--u)) calc(18 * var(--u));
  background: #f5faf8;
  border-radius: 0 calc(18 * var(--u)) 0 calc(18 * var(--u));
}

.duty__no {
  grid-row: span 2;
  min-width: 1.4em;
  font-weight: 300;
  font-size: max(18px, calc(22 * var(--u)));
  line-height: 1;
  color: var(--brand);
}

.duty__title {
  margin: 0;
  font-weight: 600;
  font-size: max(13.5px, calc(14.5 * var(--u)));
  line-height: 1.3;
  color: var(--ink);
}

.duty__desc {
  margin: calc(6 * var(--u)) 0 0;
  font-size: max(12.5px, calc(12.5 * var(--u)));
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- panel mutawwif: tablet & mobile ---------- */

@media (max-width: 960px) {
  .feature--3,
  .feature--4 {
    grid-column: 1 / -1;
  }

  .duties {
    position: static;
    display: none;
    margin-top: 24px;
    padding: 16px 16px 12px;
    border-radius: 0 0 0 20px;
    opacity: 1;
    visibility: visible;
    transition: none;
  }

  .has-panel.is-open .duties {
    display: flex;
  }

  .duties > *,
  .hotels > * {
    width: 100%;
  }

  .duties__head {
    padding-top: 12px;
    border-top-width: 4px;
  }

  .duties__scroll {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .duties__list {
    padding: 0;
    gap: 10px;
  }

  .duty {
    padding: 14px 16px;
    border-radius: 0 16px 0 16px;
  }
}

@media (max-width: 680px) {
  .duties__list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Section 6 – 5 Langkah Mudah (garis masa)
   ========================================================= */

.steps {
  container-type: inline-size;
  background: var(--bg-soft);

  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
}

.steps__inner {
  padding: calc(96 * var(--u)) var(--col-left);
}

.steps__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: calc(64 * var(--u));
  align-items: end;
}

.steps__title {
  margin: 0 0 0 -0.04em;
  font-weight: 600;
  font-size: calc(38 * var(--u));
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);  text-wrap: balance;
}

.steps__title .accent {
  color: var(--brand);
}

.steps__intro {
  margin: 0;
  max-width: calc(420 * var(--u));
  font-size: max(15px, calc(18 * var(--u)));
  line-height: 1.5;
  color: var(--ink-soft);
}

/* 5 langkah sebaris, disambung garis */
.steps__list {
  --badge: max(44px, calc(56 * var(--u)));
  position: relative;
  list-style: none;
  margin: calc(64 * var(--u)) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: calc(28 * var(--u));
}

.steps__list::before {
  content: "";
  position: absolute;
  top: calc(var(--badge) / 2);
  left: calc(var(--badge) / 2);
  right: calc(20% - var(--badge) / 2);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 14px);
  opacity: 0.6;
}

.step {
  position: relative;
}

.step__no {
  display: grid;
  place-items: center;
  width: var(--badge);
  height: var(--badge);
  border-radius: 0 calc(var(--badge) * 0.4) 0 calc(var(--badge) * 0.4);
  background: #fff;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 600;
  font-size: max(15px, calc(18 * var(--u)));
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.step:hover .step__no,
.step:first-child .step__no {
  background: var(--brand);
  color: #062b1f;
}

.step:hover .step__no {
  transform: translateY(-3px);
}

.step__title {
  margin: calc(24 * var(--u)) 0 0;
  font-weight: 600;
  font-size: max(16px, calc(18 * var(--u)));
  line-height: 1.3;
  color: var(--ink);
}

.step__text {
  margin: calc(10 * var(--u)) 0 0;
  font-size: max(14px, calc(15 * var(--u)));
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- Section 6: tablet & mobile – garis masa menegak ---------- */

@media (max-width: 960px) {
  .steps__inner {
    padding: 72px 24px;
  }

  .steps__head {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .steps__title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .steps__intro {
    max-width: 560px;
    font-size: 17px;
  }

  .steps__list {
    --badge: 48px;
    margin-top: 40px;
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  /* garis menegak: dari bawah setiap lencana ke lencana seterusnya */
  .steps__list::before {
    display: none;
  }

  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: var(--badge);
    bottom: -28px;
    left: calc(var(--badge) / 2 - 1px);
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--brand) 0 8px, transparent 8px 14px);
    opacity: 0.6;
  }

  .step {
    display: grid;
    grid-template-columns: var(--badge) 1fr;
    column-gap: 18px;
  }

  .step__no {
    grid-row: span 2;
  }

  .step__title {
    margin-top: 4px;
    font-size: 18px;
  }

  .step__text {
    margin-top: 6px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .steps__inner {
    padding: 56px 16px;
  }
}

/* =========================================================
   Section 7 – Alat Perancangan (Trip Planner, Kalkulator, Senarai Semak)
   ========================================================= */

.tools {
  container-type: inline-size;
  /* corak Islamik yang sama seperti hero */
  background: var(--bg) url("assets/pattern-bg.png") center / cover no-repeat;

  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
  --line: #e2ebe7;
}

.tools__inner {
  padding: calc(96 * var(--u)) var(--col-left);
}

.tools__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: calc(64 * var(--u));
  align-items: end;
}

.tools__title {
  margin: 0 0 0 -0.04em;
  font-weight: 600;
  font-size: calc(38 * var(--u));
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.tools__title .accent {
  color: var(--brand);
}

.tools__intro {
  margin: 0;
  max-width: calc(420 * var(--u));
  font-size: max(15px, calc(16 * var(--u)));
  line-height: 1.6;
  color: var(--ink-soft);
}

/* tab */
.tools__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: calc(40 * var(--u));
  padding: 5px;
  background: #eef3f1;
  border-radius: 999px;
}

.tools__tabs button {
  padding: calc(10 * var(--u)) calc(22 * var(--u));
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4a5a55;
  font: inherit;
  font-weight: 600;
  font-size: max(14px, calc(15 * var(--u)));
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tools__tabs button[aria-selected="true"] {
  background: var(--brand);
  color: #062b1f;
}

.tools__tabs button:focus-visible {
  outline: 2px solid var(--ink-green);
  outline-offset: 2px;
}

.tools__panels {
  margin-top: calc(24 * var(--u));
}

/* setiap alat: borang (kiri) + hasil (kanan), dua kolum sama lebar */
.tool {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(64 * var(--u));
  align-items: start;
}

.tool[hidden] {
  display: none;
}

.tool__form {
  display: grid;
  gap: calc(24 * var(--u));
}

.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field__label {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-weight: 600;
  font-size: max(15px, calc(16 * var(--u)));
  color: var(--ink);
}

.field__hint {
  margin: -4px 0 10px;
  font-size: 13px;
  color: #6b7a75;
}

.field__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

/* pilihan berbentuk "chip" */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: 0 16px 0 16px;
  background: #fff;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.chip:hover span {
  border-color: var(--brand);
}

.chip input:checked + span {
  border-color: var(--brand);
  background: #e6f9f1;
  color: #047a55;
  font-weight: 600;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--ink-green);
  outline-offset: 2px;
}

.input {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 203, 139, 0.18);
}

.money {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.money span {
  padding: 0 12px;
  align-self: stretch;
  display: grid;
  place-items: center;
  background: #f3f7f5;
  font-weight: 600;
  font-size: 14px;
  color: #4a5a55;
}

.money .input {
  border: 0;
  border-radius: 0;
  width: 160px;
}

.money:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 203, 139, 0.18);
}

.money .input:focus {
  box-shadow: none;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.stepper__btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: #f3f7f5;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
}

.stepper__btn:hover {
  background: #e6f9f1;
}

.stepper__input {
  width: 64px;
  height: 44px;
  border: 0;
  text-align: center;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  -moz-appearance: textfield;
}

.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* kad hasil */
.tool__result {
  position: sticky;
  top: 24px;
  padding: calc(28 * var(--u)) calc(32 * var(--u));
  background: var(--bg-soft);
  border: 1px solid #dcefe7;
  border-radius: 0 calc(36 * var(--u)) 0 calc(36 * var(--u));
}

.result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result__eyebrow {
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-green);
}

.result__count {
  font-size: 13px;
  font-weight: 600;
  color: #047a55;
}

.result__reset {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #047a55;
  text-decoration: underline;
  cursor: pointer;
}

.progress {
  height: 6px;
  margin-top: 12px;
  border-radius: 999px;
  background: #d6ece3;
  overflow: hidden;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
  transition: width 0.4s ease;
}

.summary {
  margin: 18px 0 0;
}

.summary > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid #dcefe7;
}

.summary dt {
  font-size: 14px;
  color: #5b6762;
}

.summary dd {
  margin: 0;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  text-align: right;
}

.summary .is-empty dd {
  color: #a3b0ab;
  font-weight: 500;
}

.result__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  min-height: 50px;
  padding: 0 24px;
  background: var(--brand);
  color: #0a1f17;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 0 24px 0 24px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.result__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.result__cta:focus-visible {
  outline: 3px solid var(--ink-green);
  outline-offset: 3px;
}

.result__note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #6b7a75;
  text-align: center;
}

.result__alert {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7e6;
  color: #7a5200;
  font-size: 13.5px;
  line-height: 1.5;
}

/* kalkulator */
.calc__main {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 0 20px 0 20px;
  background: #fff;
}

.calc__main span {
  display: block;
  font-size: 13.5px;
  color: #5b6762;
}

.calc__main strong {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  font-size: max(28px, calc(34 * var(--u)));
  color: var(--ink);
}

/* senarai semak */
.tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.task {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 0 18px 0 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.task:hover {
  border-color: var(--brand);
}

.task input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.task__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid #b9cbc4;
  border-radius: 7px;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.task__box svg {
  width: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.task input:checked ~ .task__box {
  background: var(--brand);
  border-color: var(--brand);
}

.task input:checked ~ .task__box svg {
  opacity: 1;
}

.task:has(input:checked) {
  border-color: var(--brand);
  background: #f3fbf8;
}

.task:has(input:checked) strong {
  color: #047a55;
}

.task input:focus-visible ~ .task__box {
  outline: 2px solid var(--ink-green);
  outline-offset: 2px;
}

.task__body strong {
  display: block;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
}

.task__body small {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #6b7a75;
}

/* cincin peratus */
.ring {
  position: relative;
  width: 168px;
  margin: 20px auto 0;
}

.ring svg {
  display: block;
  width: 100%;
  rotate: -90deg;
}

.ring circle {
  fill: none;
  stroke-width: 10;
}

.ring__track {
  stroke: #d6ece3;
}

.ring__value {
  stroke: var(--brand);
  stroke-linecap: round;
  stroke-dasharray: calc(var(--p) * 1) 100;
  transition: stroke-dasharray 0.5s ease;
}

.ring strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 34px;
  color: var(--ink);
}

.check__msg {
  margin: 16px 0 0;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink);
}

/* ---------- Section 7: tablet & mobile ---------- */

@media (max-width: 960px) {
  .tools__inner {
    padding: 72px 24px;
  }

  .tools__head {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .tools__title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .tools__intro {
    max-width: 560px;
    font-size: 16px;
  }

  .tools__tabs {
    margin-top: 28px;
  }

  .tools__tabs button {
    padding: 8px 16px;
    font-size: 14px;
  }

  .tool {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .tool__form {
    gap: 22px;
  }

  .tool__result {
    position: static;
    padding: 24px 20px;
    border-radius: 0 28px 0 28px;
  }
}

@media (max-width: 480px) {
  .tools__inner {
    padding: 56px 16px;
  }

  .tools__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .tools__tabs button {
    padding: 8px 4px;
    font-size: 13px;
  }
}

/* =========================================================
   Section 8 – Testimoni (karusel mendatar)
   ========================================================= */

.reviews {
  container-type: inline-size;
  background: var(--bg-soft);
  overflow: hidden;

  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
}

.reviews__inner {
  padding: calc(96 * var(--u)) 0;
}

.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--col-left);
}

.reviews__title,
.faq__title {
  margin: 0 0 0 -0.04em;
  font-weight: 600;
  font-size: calc(38 * var(--u));
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.reviews__title .accent,
.faq__title .accent {
  color: var(--brand);
}

.reviews__intro,
.faq__intro {
  margin: 12px 0 0;
  max-width: 420px;
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.55;
  color: var(--ink-soft);
}

.reviews__nav {
  display: flex;
  gap: 10px;
}

.reviews__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--brand);
  border-radius: 0 16px 0 16px;
  background: #fff;
  color: var(--ink-green);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.reviews__btn svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reviews__btn:hover {
  background: var(--brand);
}

.reviews__btn:focus-visible,
.reviews__track:focus-visible {
  outline: 2px solid var(--ink-green);
  outline-offset: 3px;
}

.reviews__track {
  list-style: none;
  margin: calc(40 * var(--u)) 0 0;
  padding: 4px var(--col-left) 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(360px, 80vw);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--col-left);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

.review {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  background: #fff;
  border: 1px solid #dcefe7;
  border-radius: 0 32px 0 32px;
}

.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review__stars {
  display: inline-flex;
  gap: 2px;
}

.review__stars svg {
  width: 17px;
  fill: #f5a524;
}

.review__stars svg.is-off {
  fill: #dde5e2;
}

/* label "Contoh" – buang selepas diganti dengan testimoni sebenar */
.review__sample {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff3d6;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review__text {
  flex: 1;
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}

.review__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf2f0;
}

.review__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 0 14px 0 14px;
  background: var(--brand);
  color: #062b1f;
  font-weight: 600;
  font-size: 17px;
}

.review__by strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.review__by small {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #6b7a75;
}

/* =========================================================
   Section 9 – FAQ
   ========================================================= */

.faq {
  container-type: inline-size;
  background: var(--bg);

  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  column-gap: calc(64 * var(--u));
  align-items: start;
  padding: calc(96 * var(--u)) var(--col-left);
}

.faq__side {
  position: sticky;
  top: 32px;
}

.faq__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-height: 50px;
  padding: 0 30px;
  background: var(--brand);
  color: #0a1f17;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 0 24px 0 24px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.faq__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.faq__list {
  border-top: 1px solid #e2ebe7;
}

.faq__item {
  border-bottom: 1px solid #e2ebe7;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  font-weight: 600;
  font-size: max(16px, calc(17 * var(--u)));
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: #047a55;
}

.faq__q:focus-visible {
  outline: 2px solid var(--ink-green);
  outline-offset: 4px;
}

/* ikon + yang bertukar jadi − */
.faq__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 0 11px 0 11px;
  background: #e6f9f1;
  transition: background-color 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: #047a55;
  transition: transform 0.3s ease;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__icon {
  background: var(--brand);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: #062b1f;
}

.faq__item[open] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__a p {
  margin: 0;
  padding: 0 52px 24px 0;
  font-size: max(15px, calc(15.5 * var(--u)));
  line-height: 1.65;
  color: var(--ink-soft);
}

/* =========================================================
   Section 10 – CTA akhir
   ========================================================= */

.final {
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  background: var(--brand);
  isolation: isolate;

  --u: min(100cqw / 1120, 100svh / 630);
}

/* kaligrafi Umrah sebagai tera air */
.final::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -4%;
  width: min(48%, 620px);
  aspect-ratio: 1514 / 1461;
  translate: 0 -50%;
  background: url("assets/umrah-calligraphy.png") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.14;
}

.final__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: calc(110 * var(--u)) 24px;
  text-align: center;
}

.final__eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  color: #047a55;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}

.final__title {
  margin: 22px 0 0;
  font-weight: 600;
  font-size: clamp(30px, calc(44 * var(--u)), 56px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #062b1f;
  text-wrap: balance;
}

.final__text {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: max(16px, calc(17 * var(--u)));
  line-height: 1.6;
  color: #0b3a2a;
}

.final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.final__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 0 26px 0 26px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.final__btn:hover {
  transform: translateY(-2px);
}

.final__btn--primary {
  background: #062b1f;
  color: #fff;
}

.final__btn--primary:hover {
  background: #0d3d2c;
}

.final__btn--ghost {
  border: 2px solid #062b1f;
  color: #062b1f;
}

.final__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.final__btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  container-type: inline-size;
  background: #062b1f;
  color: #c8ddd5;

  --u: min(100cqw / 1120, 100svh / 630);
  --col-left: calc(75 * var(--u));
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  padding: calc(72 * var(--u)) var(--col-left) calc(48 * var(--u));
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer__logo img {
  width: auto;
  height: 56px;
}

.footer__logo span {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.1;
}

.footer__logo small {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: #8fb3a6;
}

.footer__about {
  margin: 18px 0 0;
  max-width: 340px;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer__license {
  margin: 12px 0 0;
  font-size: 13px;
  color: #8fb3a6;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 0 13px 0 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background-color 0.2s ease;
}

.footer__social[hidden] {
  display: none;
}

.footer__social svg {
  width: 19px;
  fill: currentColor;
}

.footer__social:hover {
  background: var(--brand);
  color: #062b1f;
}

.footer__heading {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.footer__col ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer__col li {
  font-size: 14.5px;
  line-height: 1.5;
}

.footer__col a {
  color: #c8ddd5;
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--brand);
}

.footer a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.footer__contact li[hidden] {
  display: none;
}

.footer__bottom {
  padding: 20px var(--col-left);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: #8fb3a6;
}

/* ---------- Section 8–10 & footer: tablet & mobile ---------- */

@media (max-width: 960px) {
  .reviews__inner {
    padding: 72px 0;
  }

  .reviews__head,
  .faq__inner,
  .footer__inner,
  .footer__bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .reviews__track {
    margin-top: 32px;
    padding-left: 24px;
    padding-right: 24px;
    scroll-padding-inline: 24px;
  }

  .reviews__title,
  .faq__title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .faq__inner {
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .faq__side {
    position: static;
  }

  .faq__a p {
    padding-right: 0;
  }

  .final__inner {
    padding: 80px 24px;
  }

  .final::before {
    right: -20%;
    width: 80%;
    opacity: 0.1;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    padding-top: 56px;
    padding-bottom: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .reviews__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .reviews__head,
  .faq__inner,
  .footer__inner,
  .footer__bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .reviews__track {
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-inline: 16px;
  }

  .final__btn {
    width: 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* =========================================================
   Header (sticky)
   ========================================================= */

.skip-link {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink-green);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  border-bottom-color: #e6efeb;
  box-shadow: 0 8px 24px -18px rgba(6, 43, 31, 0.35);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  /* sebaris dengan garisan kiri kandungan (75/1120) */
  padding: 0 max(16px, 6.7vw);
}

.header__logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.header__logo img {
  width: auto;
  height: 44px;
}

.header__logo span {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.05;
}

.header__logo small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #5b6762;
}

.header__nav {
  margin-left: auto;
}

.header__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.header__nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.header__nav ul a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.header__nav a:hover,
.header__nav a.is-active {
  color: var(--ink);
}

.header__nav ul a:hover::after,
.header__nav a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  background: var(--brand);
  color: #0a1f17;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 0 20px 0 20px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.header__cta svg {
  width: 18px;
  fill: currentColor;
}

.header__cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.header__nav .header__cta--menu {
  display: none;
}

.header a:focus-visible,
.header__toggle:focus-visible {
  outline: 2px solid var(--ink-green);
  outline-offset: 2px;
}

/* butang hamburger */
.header__toggle {
  display: none;
  flex: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 0 14px 0 14px;
  background: #e6f9f1;
  cursor: pointer;
}

.header__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-green);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.header__toggle span:nth-child(1) { top: 15px; }
.header__toggle span:nth-child(2) { top: 21px; }
.header__toggle span:nth-child(3) { top: 27px; }

.header.is-menu-open .header__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header.is-menu-open .header__toggle span:nth-child(2) { opacity: 0; }
.header.is-menu-open .header__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* skrin sederhana: sorok sebahagian pautan supaya tidak sesak */
@media (max-width: 1180px) {
  .header__nav li:nth-child(5),
  .header__nav li:nth-child(6) {
    display: none;
  }
}

/* ---------- Header: tablet & mobile (menu hamburger) ---------- */

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .header__inner {
    padding: 0 24px;
  }

  .header__logo img {
    height: 38px;
  }

  .header__toggle {
    display: block;
  }

  .header > .header__inner > .header__cta {
    display: none;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 24px;
    background: #fff;
    border-bottom: 1px solid #e6efeb;
    box-shadow: 0 24px 40px -24px rgba(6, 43, 31, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .header.is-menu-open .header__nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 0;
  }

  .header__nav li:nth-child(5),
  .header__nav li:nth-child(6) {
    display: block;
  }

  .header__nav ul a {
    padding: 14px 0;
    border-bottom: 1px solid #edf2f0;
    border-radius: 0;
    font-size: 17px;
  }

  .header__nav ul a::after {
    display: none;
  }

  .header__nav a.is-active {
    color: #047a55;
    font-weight: 600;
  }

  .header__nav .header__cta--menu {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50px;
    margin-top: 18px;
    padding: 0 20px;
    color: #0a1f17;
    font-weight: 600;
    border-radius: 0 20px 0 20px;
  }
}

@media (max-width: 480px) {
  .header__inner {
    padding: 0 16px;
  }

  .header__nav {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* petikan hadis dalam CTA akhir */
.final__quote {
  margin: 26px auto 0;
  max-width: 560px;
  padding: 16px 22px;
  border-radius: 0 22px 0 22px;
  background: rgba(255, 255, 255, 0.22);
}

.final__quote blockquote {
  margin: 0;
  font-weight: 600;
  font-size: max(16px, calc(17 * var(--u)));
  line-height: 1.5;
  color: #062b1f;
}

.final__quote figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: #0b3a2a;
}

/* kalkulator: bar julat harga pada skala pasaran */
.calc__main strong {
  font-size: max(24px, calc(28 * var(--u)));
}

.calc__range {
  position: relative;
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: #e2efe9;
}

.calc__range span {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: inherit;
  background: var(--brand);
  transition: left 0.35s ease, width 0.35s ease;
}

.calc__scale {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 11.5px;
  color: #8a9792;
}

.calc .summary dd {
  max-width: 62%;
}

/* nota bajet di bawah pilihan julat */
.field__warn {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff7e6;
  color: #7a5200;
  font-size: 13.5px;
  line-height: 1.5;
}

.field__warn[hidden] {
  display: none;
}
