/* ==========================================================================
   MCW Tour & Travel - Design System & Custom Stylesheet
   Design Read: Warm tropical-editorial Indonesian hospitality
   Palette: Sky Blue (#1E88E5 / #1565C0), Teal (#16A085 / #0F766E),
            Crimson Red (#E53935 / #C62828), Leaf Green (#43A047 / #2E7D32)
   All text/surface pairings verified >= 4.5:1 WCAG AA.
   ========================================================================== */

:root {
  --bg-main: #ffffff;
  --bg-soft: #f8fafc;
  --bg-teal-soft: #f0fdfa;
  --bg-blue-soft: #eff6ff;
  --bg-amber-soft: #fefce8;
  --primary-blue: #1e88e5;
  --primary-blue-dark: #1565c0;
  --primary-blue-deep: #0d47a1;
  --primary-teal: #16a085;
  --primary-teal-dark: #0f766e;
  --accent-red: #e53935;
  --accent-red-dark: #c62828;
  --accent-yellow: #fbc02d;
  --accent-green: #43a047;
  --accent-green-dark: #2e7d32;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --border-subtle: #e2e8f0;
  --border-strong: #cbd5e1;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-elevated: 0 12px 28px rgba(15, 23, 42, 0.1);
  --container-max: 1240px;
}

/* Reset & Base Layer */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

main,
.topbar,
.site-header,
.site-footer {
  overflow-x: clip;
  max-width: 100%;
}

/* Prevent CSS Grid children from forcing horizontal overflow */
.hero-grid > *,
.services-asymmetric > *,
.packages-grid > *,
.why-split > *,
.detail-layout > *,
.include-exclude-grid > *,
.grid-2 > *,
.grid-3 > *,
.footer-grid > *,
.gallery-grid > *,
.testimonials-grid > *,
.quick-search-bar > * {
  min-width: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.25;
  margin-top: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 700;
}

p {
  margin-top: 0;
}

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

/* Pointer cursor & interactive affordances (R-39) */
a[href],
button,
summary,
select,
label[for],
label:has(> input[type="checkbox"], > input[type="radio"]),
[role="button"],
[role="link"],
[role="tab"],
[role="menuitem"],
[role="option"],
[role="switch"],
input[type="checkbox"],
input[type="radio"],
input[type="submit"],
input[type="button"],
input[type="reset"] {
  cursor: pointer;
}

:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
}

/* High-contrast focus ring (R-32) */
:focus-visible {
  outline: 3px solid var(--primary-blue-dark);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--text-dark);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

/* Container & Section Rhythm (RHYTHM 3: varied vertical rhythm) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 28px;
  }
}

.section-pad {
  padding-block: 48px;
}

.section-pad-lg {
  padding-block: 64px;
}

@media (min-width: 900px) {
  .section-pad {
    padding-block: 68px;
  }
  .section-pad-lg {
    padding-block: 88px;
  }
}

.bg-soft {
  background-color: var(--bg-soft);
}

.bg-teal-soft {
  background-color: var(--bg-teal-soft);
}

/* Typography helpers */
.text-muted {
  color: var(--text-muted);
}

.section-kicker {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-blue-dark);
  margin-bottom: 8px;
}

.section-kicker--teal {
  color: var(--primary-teal-dark);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 62ch;
}

/* ==========================================================================
   Buttons & Links (44px min tap target, distinct states)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease;
  line-height: 1.25;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--accent-red-dark);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #b71c1c;
}

.btn-blue {
  background-color: var(--primary-blue-dark);
  color: #ffffff;
}

.btn-blue:hover {
  background-color: var(--primary-blue-deep);
}

.btn-teal {
  background-color: var(--primary-teal-dark);
  color: #ffffff;
}

.btn-teal:hover {
  background-color: #115e59;
}

.btn-wa {
  background-color: var(--accent-green-dark);
  color: #ffffff;
}

.btn-wa:hover {
  background-color: #1b5e20;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-dark);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--primary-blue-dark);
  color: var(--primary-blue-dark);
  background-color: var(--bg-blue-soft);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
}

.btn-sm {
  min-height: 44px;
  padding: 9px 15px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Global Header: Top Bar + Compact Sticky Navbar
   ========================================================================== */
.topbar {
  background-color: var(--text-dark);
  color: #f8fafc;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 8px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  text-decoration: none;
}

.topbar-item:hover {
  color: #ffffff;
  text-decoration: underline;
}

#site-header-mount {
  display: contents;
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 68px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dark);
  min-height: 44px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: clamp(0.86rem, 3.6vw, 1rem);
  color: var(--text-dark);
  overflow-wrap: break-word;
}

@media (min-width: 480px) {
  .navbar-inner {
    gap: 16px;
    min-height: 70px;
  }
  .brand-link {
    gap: 10px;
    flex: 0 0 auto;
    flex-shrink: 0;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
  }
  .brand-name,
  .brand-sub {
    white-space: nowrap;
  }
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-blue-dark);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover {
  color: var(--primary-blue-dark);
  background-color: var(--bg-blue-soft);
}

.nav-link[aria-current="page"] {
  color: var(--primary-blue-dark);
  background-color: var(--bg-blue-soft);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 6px;
  height: 2.5px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta-desktop {
  display: none;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-menu-btn:hover {
  background-color: var(--bg-soft);
  border-color: var(--primary-blue-dark);
}

@media (min-width: 1120px) {
  .navbar-inner {
    gap: 10px;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 0.92rem;
  }
  .brand-sub {
    font-size: 0.72rem;
  }
  .nav-desktop {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 2px;
    min-width: 0;
  }
  .nav-link {
    padding: 8px 7px;
    font-size: 0.82rem;
  }
  .nav-link[aria-current="page"]::after {
    left: 7px;
    right: 7px;
  }
  .nav-cta-desktop {
    display: inline-flex;
    white-space: nowrap;
    padding: 9px 13px;
    font-size: 0.84rem;
  }
  .mobile-menu-btn {
    display: none;
  }
}

@media (min-width: 1280px) {
  .navbar-inner {
    gap: 14px;
  }
  .brand-logo {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 0.96rem;
  }
  .brand-sub {
    font-size: 0.74rem;
  }
  .nav-desktop {
    gap: 4px;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.875rem;
  }
  .nav-link[aria-current="page"]::after {
    left: 10px;
    right: 10px;
  }
  .nav-cta-desktop {
    padding: 9px 14px;
    font-size: 0.86rem;
  }
}

/* Mobile Navigation Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.52);
  z-index: 120;
  display: flex;
  justify-content: flex-end;
}

.mobile-drawer-backdrop[hidden] {
  display: none;
}

.mobile-drawer {
  width: min(340px, 88vw);
  height: 100%;
  background-color: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.18);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-dark);
  font-weight: 700;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
  background-color: var(--bg-soft);
}

.mobile-nav-link[aria-current="page"] {
  background-color: var(--bg-blue-soft);
  color: var(--primary-blue-dark);
  border-left-color: var(--accent-red);
}

/* ==========================================================================
   Hero & Page Headers (Identity Motif: MCW Horizon Arc)
   ========================================================================== */
.hero-home {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 36px 48px;
}

@media (min-width: 900px) {
  .hero-home {
    padding-block: 52px 64px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 48px;
  }
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 24px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  aspect-ratio: 4 / 3;
  background-color: #e2e8f0;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle MCW horizon arc accent on hero image frame */
.hero-arc-accent {
  position: relative;
}

.hero-arc-accent::before {
  content: "";
  position: absolute;
  inset: -8px 0 auto auto;
  width: 72%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-teal) 58%, var(--accent-red) 100%);
  border-radius: 999px;
  z-index: 2;
}

.hero-photo-caption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Quick Search / Filter Bar */
.quick-search-bar {
  background-color: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
}

@media (min-width: 640px) {
  .quick-search-bar {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) auto;
    gap: 14px;
    padding: 18px;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: #ffffff;
  text-overflow: ellipsis;
  transition: border-color 0.15s ease;
}

.field-textarea {
  min-height: 96px;
  resize: vertical;
}

.field-input:hover,
.field-select:hover,
.field-textarea:hover {
  border-color: var(--primary-blue);
}

.field-input[aria-invalid="true"],
.field-select[aria-invalid="true"],
.field-textarea[aria-invalid="true"] {
  border-color: var(--accent-red-dark);
  background-color: #fef2f2;
}

.field-error {
  font-size: 0.82rem;
  font-weight: 600;
  color: #b91c1c;
  margin-top: 2px;
}

/* Sub-page Header */
.page-banner {
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 36px 40px;
}

.page-banner--umrah {
  background: linear-gradient(135deg, #f0fdfa 0%, #eff6ff 100%);
  border-bottom-color: #ccfbf1;
}

.page-banner--corporate {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--primary-blue-dark);
  text-decoration: none;
  font-weight: 600;
}

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

/* ==========================================================================
   Asymmetric Service Shortcuts (Home Section 2)
   ========================================================================== */
.services-asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 700px) {
  .services-asymmetric {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services-asymmetric {
    grid-template-columns: 1.15fr 1.15fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
  .service-card--flagship {
    grid-row: span 2;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background-color: #ffffff;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.service-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.service-card--blue-tint {
  background-color: var(--bg-blue-soft);
  border-color: #bfdbfe;
}

.service-card--teal-tint {
  background-color: var(--bg-teal-soft);
  border-color: #99f6e4;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--primary-blue-dark);
}

.service-card--teal-tint .service-icon-wrap {
  color: var(--primary-teal-dark);
  border-color: #99f6e4;
}

.service-link-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary-blue-dark);
}

.service-card--teal-tint .service-link-label {
  color: var(--primary-teal-dark);
}

/* ==========================================================================
   Package Cards & Catalog Grids (3-state responsive: 1 -> 2 -> 3 cols)
   ========================================================================== */
.packages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.package-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.package-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-color: #e2e8f0;
  overflow: hidden;
}

.package-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.package-card:hover .package-card-media img {
  transform: scale(1.03);
}

.package-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--primary-blue-dark);
}

.package-badge--teal {
  background-color: var(--primary-teal-dark);
}

.package-badge--red {
  background-color: var(--accent-red-dark);
}

.package-badge--dark {
  background-color: var(--text-dark);
}

.package-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.package-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.package-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.package-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.package-price-wrap {
  display: flex;
  flex-direction: column;
}

.package-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.package-price-value {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--accent-red-dark);
}

/* ==========================================================================
   Filter Controls (Paket Wisata & Galeri)
   ========================================================================== */
.filter-panel {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-group-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 44px;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--primary-blue-dark);
  background-color: var(--bg-blue-soft);
}

.filter-btn[aria-pressed="true"] {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  color: #ffffff;
}

/* ==========================================================================
   Why MCW Split Editorial Section (Home Section 4)
   ========================================================================== */
.why-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .why-split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }
}

.pillar-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .pillar-list {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar-item {
  padding: 22px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
}

.pillar-num {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  background-color: var(--bg-blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

/* ==========================================================================
   Gallery Preview & Demo Testimonials
   ========================================================================== */
.home-gallery-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .home-gallery-strip {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 170px 170px;
    gap: 14px;
  }
  .home-gallery-strip .gallery-thumb-first {
    grid-row: span 2;
  }
}

.gallery-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #e2e8f0;
  min-height: 150px;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption-bar {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.85) 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.demo-note-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  background-color: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.star-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #b45309;
}

/* ==========================================================================
   CTA Banner (High Contrast Deep Blue)
   ========================================================================== */
.cta-banner {
  background-color: var(--primary-blue-dark);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    padding: 44px 48px;
  }
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-banner p {
  color: #e2e8f0;
  margin: 0;
  max-width: 56ch;
}

/* ==========================================================================
   Package Detail Page & Sticky Booking Widget
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 960px) {
  .detail-layout {
    grid-template-columns: 1.5fr 1fr;
    gap: 36px;
  }
}

.gallery-showcase-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border-subtle);
  background-color: #e2e8f0;
  margin-bottom: 12px;
}

.gallery-showcase-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #e2e8f0;
}

.thumb-btn[aria-pressed="true"] {
  border-color: var(--primary-blue-dark);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ARIA Tabs */
.tablist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.tab-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text-dark);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}

.tab-btn[aria-selected="true"] {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  color: #ffffff;
}

/* Itinerary Timeline */
.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.itinerary-day {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  background-color: #ffffff;
}

.itinerary-day-badge {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-blue-dark);
  background-color: var(--bg-blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.include-exclude-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .include-exclude-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.booking-sidebar {
  background-color: var(--bg-soft);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

@media (min-width: 960px) {
  .booking-sidebar {
    position: sticky;
    top: 90px;
  }
}

/* ==========================================================================
   UI States: Loading, Empty, Error, Feedback (R-27)
   ========================================================================== */
.state-box {
  border: 1.5px dashed var(--border-strong);
  background-color: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
}

.state-box--error {
  border-color: #fca5a5;
  background-color: #fef2f2;
}

.feedback-banner {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  border: 1px solid #86efac;
  background-color: #f0fdf4;
  color: #14532d;
}

.feedback-banner a {
  color: #14532d;
  font-weight: 700;
}

.feedback-banner--error {
  border-color: #fca5a5;
  background-color: #fef2f2;
  color: #991b1b;
}

/* ==========================================================================
   Gallery Masonry/Grid & Lightbox Dialog
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.gallery-card-btn {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  width: 100%;
  display: block;
}

.gallery-card-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e2e8f0;
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.gallery-card-btn:hover img {
  transform: scale(1.03);
}

.gallery-card-cap {
  padding: 14px 16px;
}

dialog.lightbox-dialog {
  max-width: min(860px, 94vw);
  width: 100%;
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
}

dialog.lightbox-dialog::backdrop {
  background: rgba(15, 23, 42, 0.78);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.lightbox-body img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background-color: #0f172a;
}

.lightbox-footer {
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   Cards & Utility Grids for Sub-Pages
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.surface-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.umrah-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
}

.umrah-spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Footer & Floating WhatsApp Button
   ========================================================================== */
.site-footer {
  background-color: var(--text-dark);
  color: #e2e8f0;
  padding-top: 56px;
  padding-bottom: 92px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 48px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 40px;
  }
}

.footer-brand-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  background-color: #ffffff;
  color: var(--text-dark);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.site-footer a,
.site-footer p {
  overflow-wrap: anywhere;
}

.footer-heading {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px 14px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-block;
  padding-block: 4px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  border-radius: 999px;
  background-color: var(--accent-green-dark);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  border: 2px solid #ffffff;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.floating-wa:hover {
  background-color: #1b5e20;
  transform: translateY(-2px);
}

.floating-wa-text {
  display: none;
}

@media (min-width: 640px) {
  .floating-wa {
    right: 18px;
    bottom: 18px;
    padding: 10px 18px;
  }
  .floating-wa-text {
    display: inline;
  }
}

/* Scroll Up & Down Floating Controls */
.scroll-nav-group {
  position: fixed;
  right: 16px;
  bottom: 76px;
  z-index: 79;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .scroll-nav-group {
    right: 18px;
    bottom: 78px;
  }
}

.scroll-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background-color: #ffffff;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.15s ease;
}

.scroll-nav-btn:hover:not(:disabled) {
  background-color: var(--bg-blue-soft);
  border-color: var(--primary-blue-dark);
  color: var(--primary-blue-dark);
  transform: translateY(-1px);
}

.scroll-nav-btn:active:not(:disabled) {
  transform: translateY(0);
}

.scroll-nav-btn:disabled {
  opacity: 0.45;
  box-shadow: none;
}

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

/* Print Layout for Itinerary */
@media print {
  .topbar,
  .site-header,
  .scroll-nav-group,
  .floating-wa,
  .booking-sidebar,
  .site-footer {
    display: none !important;
  }
  body {
    color: #000000;
  }
}
