﻿@charset "UTF-8";
/* =======================================================
   TYPE & FONTS
   ======================================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;600&display=swap");
.arabic {
  font-family: "Noto Naskh Arabic", serif;
  direction: rtl;
}

/* =======================================================
   COLOR TOKENS â€” FINAL PALETTE
   ======================================================= */
:root {
  /* Brand */
  --primary: #0d6f57; /* Emerald */
  --primary-dark: #0a5a46; /* Hover */
  --primary-pale: #eaf4f1; /* Light tint */

  /* Premium accent */
  --gold: #c5a15e;
  --gold-200: #f1e7d3;
  --gold-700: #9e824c;

  /* Trust depth */
  --midnight: #0c3552;
  --midnight-900: #0a2b43;

  /* Neutrals */
  --bg-offwhite: #f9f9f7;
  --surface: #ffffff;
  --section: #f1f2f3;
  --ink: #333333;
  --ink-700: #4a4a4a;
  --ink-500: #777777;
  --border: #eeeeee;

  /* Semantics */
  --success: #16a34a;
  --warning: #eab308;
  --error: #ef4444;

  /* Back-compat aliases used in your HTML */
  --bg: var(--bg-offwhite);
  --fg: var(--ink);
  --muted: var(--ink-500);
  --brand: var(--primary);
  --brand-700: var(--primary-dark);
  --green: var(--primary);
  --orange: var(--gold);
  --card: var(--surface);

  /* Header sizing */
  --hdr-h-base: 96px; /* nav height at top */
  --hdr-h-scrolled: 64px; /* after scroll */
  --logo-h-base: 120px; /* keep logo big */
  --logo-h-scrolled: 92px; /* compact logo */
  --hdr-pad-v-base: 6px;
  --hdr-pad-v-scrolled: 2px;
}

/* =======================================================
   GLOBAL
   ======================================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}
.section {
  padding: 56px 0;
}
.lead {
  color: var(--ink-500);
  max-width: 820px;
  font-size: 18px;
  line-height: 1.8;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 20px;
  }
}

/* =======================================================
   HEADER & NAV (smooth, no leak)
   ======================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow: hidden; /* stops oversized-logo spill */
}
.site-header .container {
  padding-top: var(--hdr-pad-v-base);
  padding-bottom: var(--hdr-pad-v-base);
  transition: padding 220ms ease, background-color 220ms ease,
    border-color 220ms ease;
  will-change: padding;
}
.nav {
  height: var(--hdr-h-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 220ms ease;
  will-change: height;
}
/* Logo stays big, bounded by header */
.logo {
  height: var(--logo-h-base);
  max-height: var(--logo-h-base);
  display: block;
  object-fit: contain;
  transition: height 240ms ease, transform 240ms ease;
}

/* brand group */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 6px;
}
.brand::after {
  content: "";
  width: 1px;
  height: calc(var(--hdr-h-base) - 24px);
  background: #e5e7eb;
  display: block;
}

/* menu */
.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-centered .menu {
  flex: 1;
  justify-content: center;
}
.menu a {
  color: var(--gold-700);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color 0.2s ease;
}
.menu a:hover {
  color: var(--primary);
}
.menu a.active {
  color: var(--ink);
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease,
    background-color 180ms ease;
}
.menu a:hover::after,
.menu a.active::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Compact state on scroll */

/* Burger / mobile menu */
.burger {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
}

/* Mobile nav panel (full-height, scrollable, closes on overlay via JS) */
@media (max-width: 980px) {
  .burger {
    display: block;
  }
  .menu {
    display: none; /* hidden until .mobile-open */
  }
  /* mobile-open state */
  .mobile-open .menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--hdr-h-scrolled);
    height: calc(100svh - var(--hdr-h-scrolled));
    background: #fff;
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 60;
  }
  .mobile-open .menu a {
    padding: 12px 6px;
    font-size: 18px;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 55;
    display: block;
  }
}
/* default overlay hidden on desktop */
.nav-overlay {
  display: none;
}

/* Utility bar (optional) */
.utility-bar {
  background: var(--primary);
  color: #eafbf6;
  font-size: 13px;
}
.utility-bar .container {
  padding: 6px 0;
}
.util {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.util-left,
.util-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.utility-bar a {
  color: #fff;
  font-weight: 600;
}
.utility-bar a:hover {
  text-decoration: underline;
}

/* =======================================================
   HERO (video stacking fixed)
   ======================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--midnight) 0%, var(--primary) 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55));
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.hero-inner h1 {
  font-size: 46px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}
.hero-inner p {
  font-size: 18px;
  margin: 0 0 14px;
  color: #f3f4f6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 16px 0 8px;
}
.hero-icons {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 0;
}
.hero-icons li {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #ecf7f3;
}
.hero-icons i,
.hero-icons svg {
  width: 28px;
  height: 28px;
}

/* =======================================================
   BUTTONS
   ======================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  background: var(--primary);
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(12, 53, 82, 0.15);
}
.btn.gold-hover:hover {
  background: var(--gold);
  color: #fff;
}
.btn-outline {
  background: #fff;
  color: var(--gold-700);
  border: 2px solid var(--gold-700);
}
.btn-outline:hover {
  background: var(--primary-pale);
}
.btn-secondary {
  background: #fff;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-secondary:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-call {
  min-width: 140px;
  height: 44px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
  border: 0;
}
.btn-call:hover {
  background: var(--primary-dark);
}
a.link,
.menu a.link {
  color: var(--gold-700);
}
a.link:hover {
  color: var(--midnight);
}

/* =======================================================
   ACCREDITATION BAR
   ======================================================= */
.accreditation {
  background: var(--section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.acc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  align-items: center;
}
.acc-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.acc-item img {
  height: 120px;

  border: 1px solid var(--border);
  border-radius: 6px;
}

/* =======================================================
   FEATURE CARDS / ABOUT
   ======================================================= */
.feature-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 8, 20, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.fc-copy {
  padding: 24px;
}
.fc-copy h3 {
  margin: 0 0 6px;
  color: var(--ink);
}
.fc-copy p {
  color: var(--ink-500);
}
.fc-art {
  min-height: 240px;
}
.ph-a {
  background-image: linear-gradient(
    135deg,
    var(--gold-200),
    var(--primary-pale)
  );
}
.ph-b {
  background-image: linear-gradient(
    135deg,
    var(--primary-pale),
    var(--gold-200)
  );
}

/* Layout */
.section {
  overflow: visible;
} /* allow overlap outside the section */
.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 520px) 1fr; /* wider text column like reference */
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

/* Text styles (keep your colors) */

/* Image cluster */
.about-art {
  position: relative;
  min-height: clamp(
    420px,
    58vw,
    500px
  ); /* enough room for the tall portraits */
  overflow: visible;
}

/* Shared â€œcardâ€ look */
.about-art .img {
  position: absolute;
  background-size: cover;
  background-position: center;
  border-radius: 28px;
  /* white frame to mimic thick card edge in the reference */
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);

  will-change: transform;
  transition: transform 0.25s ease;
}

/* FRONT (left) portrait â€” slightly smaller, a bit lower */
.about-art .ab1 {
  /* portrait sizing */
  width: clamp(260px, 28vw, 420px);
  height: calc(1.35 * clamp(260px, 28vw, 420px)); /* keep portrait proportion */
  top: clamp(20px, 3vw, 40px);
  left: 0;
  z-index: 2s;
  background-image: url("/images/kaaba-portrait.jpg"); /* <-- replace path */
}

/* BACK (right) portrait â€” larger, pushed right */
.about-art .ab2 {
  width: clamp(300px, 34vw, 520px);
  height: calc(1.31 * clamp(300px, 34vw, 520px));
  top: 0;
  left: clamp(160px, 20vw, 340px); /* pushes it to the right like your ref */
  z-index: 1;
  background-image: url("/images/madina-portrait.jpg"); /* <-- replace path */
  /* allow the right card to hang outside the container like in the screenshot */
  transform: translateX(clamp(0px, 6vw, 40px));
}

/* subtle hover lift (optional) */
.about-art .img:hover {
  transform: translateY(-4px) scale(1.01);
}

/* Responsive stacking (tablet & down) */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-art {
    margin-top: 1.25rem;
    min-height: auto;
    height: auto;
    padding-right: 24px;
  }
  .about-art .img {
    position: relative;
    outline-width: 8px;
    display: block;
    margin: 0;
  }
  .about-art .ab1 {
    width: clamp(240px, 56vw, 360px);
    height: calc(1.35 * clamp(240px, 56vw, 360px));
    top: 0;
    left: 0;
    margin-bottom: clamp(16px, 3vw, 22px);
  }
  .about-art .ab2 {
    width: clamp(240px, 60vw, 380px);
    height: calc(1.31 * clamp(240px, 60vw, 380px));
    top: 0;
    left: 0;
    transform: none;
  }
}

/* === ABOUT art overrides (place AFTER the previous CSS) === */
.section {
  overflow: visible;
} /* let cards hang outside on the left if needed */

.about-art {
  position: relative;
  overflow: visible;
  /* shrink overall cluster a bit */
  margin-right: 0;
}

/* one size for both cards (portrait) */
:root {
  --about-card-w: clamp(220px, 24vw, 320px); /* smaller than before */
  --about-card-h: calc(1.35 * var(--about-card-w));
}

/* shared card look (keeps rounded corners + white frame + shadow) */
.about-art .img {
  width: var(--about-card-w);
  height: var(--about-card-h);
  border-radius: 28px;
  background-size: cover;
  background-position: center;

  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  position: absolute;
}

/* FRONT (left/top) */
.about-art .ab1 {
  top: 18px;
  left: -24px; /* shifts the whole stack to the LEFT */
  z-index: 1;
  background-image: url("/assets/img/women-umrah.avif");
}

/* BACK (right/bottom) â€“ same size, slight overlap */
.about-art .ab2 {
  top: 50px;
  left: clamp(
    90px,
    12vw,
    150px
  ); /* small offset to the right but still left-weighted */
  z-index: 2;
  background-image: url("/assets/img/Umbrellas.avif");
}

/* Tablet & down: stack nicely */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-art {
    margin-top: 1rem;
    min-height: auto;
    height: auto;
  }
  .about-art .img {
    position: relative;
    outline-width: 8px;
    left: 0;
    top: 0;
  }
  .about-art .ab1 {
    margin-bottom: 16px;
  }
}

/* =======================================================
   PRICING
   ======================================================= */
.pricing .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.price-card {
  border: 1px solid var(--border);
  padding: 22px;
  background: #fff;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.price-card.light {
  background: #fafafa;
}
.price-card.dark {
  background: var(--midnight-900);
  color: #fff;
}
.price-card.featured {
  outline: 2px solid var(--primary);
}
.price-card header .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.9;
  font-weight: 700;
}
.price-card.dark header .label {
  color: #fff;
  opacity: 0.85;
}
.price-card h3 {
  margin: 4px 0 2px;
  font-size: 28px;
  color: var(--ink);
}
.price-card.dark h3 {
  color: #fff;
}
.price-card .price {
  font-size: 26px;
  font-weight: 800;
  margin-top: 6px;
  color: var(--ink);
}
.price-card.dark .price {
  color: #fff;
}
.price-card ul li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  text-align: center;
}

@media (max-width: 992px) {
  .pricing .pricing-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    grid-template-columns: 1fr;
  }
  .fc-art {
    min-height: 160px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   REVIEWS (slider fixes)
   ======================================================= */
.reviews {
  background: var(--primary-pale);
  color: var(--ink);
}
.slider-wrap {
  padding: 20px 0 28px;
}
.slider {
  position: relative;
  overflow: hidden; /* FIX: prevent page from widening on mobile */
  contain: content; /* performance hint */
}
.slides {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.slide {
  min-width: calc(50% - 8px);
}
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 6px;
  min-height: 180px;
}
.person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* arrows */
.slider-nav {
  position: absolute;
  top: calc(50% - 20px);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--midnight);
  color: #fff;
  opacity: 0.96;
  transition: transform 0.15s ease, background 0.15s ease;
}
.slider-nav:hover {
  transform: scale(1.05);
  background: var(--primary);
}
.slider-nav.prev {
  left: -52px;
}
.slider-nav.next {
  right: -52px;
}
.dots {
  display: none !important;
}

/* Mobile slider: no gap to avoid overflow; full-width slides */
@media (max-width: 992px) {
  .slides {
    gap: 0;
  }
  .slide {
    min-width: 100%;
  }
  .slider-nav.prev {
    left: -8px;
  }
  .slider-nav.next {
    right: -8px;
  }
}

/* =======================================================
   FAQ (single-open + neighbour bleed fix)
   ======================================================= */
.faq {
  background: #f3f4f6;
  padding: 16px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  border-left: 3px solid var(--gold-700);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px;
  list-style: none;
  position: relative;
  font-weight: 700;
  color: var(--ink);
}
.faq-item summary::after {
  content: "â–¾";
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--primary);
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    0deg,
    #fff 0%,
    #fff 55%,
    var(--primary-pale) 100%
  );
}
/* HARD stop any layout share: close bodies when not open */
.faq-item:not([open]) .faq-body {
  display: none !important;
}
.faq-item .faq-body {
  padding: 0 16px 16px;
  color: var(--ink-700);
  animation: faqOpen 0.22s ease;
}
@keyframes faqOpen {
  from {
    opacity: 0.6;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =======================================================
   FORM (phone field â€œsmushedâ€ fix)
   ======================================================= */
.section-form .grid,
.lead-form .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.section-form label span,
.lead-form label span {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-700);
  margin-bottom: 6px;
  font-weight: 600;
}
.section-form input,
.section-form textarea,
.section-form select,
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.35;
}
.section-form input:focus,
.section-form textarea:focus,
.section-form select:focus,
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 111, 87, 0.12);
}
.section-form h2 {
  font-size: 34px;
  color: var(--ink);
}
.error {
  display: block;
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 4px;
  min-height: 1em;
}
.section-form input[aria-invalid="true"],
.lead-form input[aria-invalid="true"],
.lead-form select[aria-invalid="true"],
.lead-form textarea[aria-invalid="true"] {
  border-color: #f87171;
  outline: 2px solid rgba(248, 113, 113, 0.25);
}
.form-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-status {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.form-status.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #86efac;
}

.form-status.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

/* Lead form specific styles - match original */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lead-form label {
  display: flex;
  flex-direction: column;
}

.lead-form label.full {
  grid-column: 1 / -1;
}

.lead-form label.phone {
  position: relative;
}

.lead-form .invalid {
  border-color: #f87171 !important;
}

/* Success message styling - match original compact style */
.form-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: min(100%, 640px);
  height: auto !important;
  margin: 12px auto 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #86efac;
  align-self: flex-start;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .form-success {
    width: 100%;
    margin-inline: 0;
  }
}

/* Intl-tel-input compatibility - restore original styling */
.iti {
  width: 100%;
}
.iti__flag-container {
  inset: auto;
}
.iti input {
  padding-left: 56px !important; /* room for flag dial code */
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
input[type="tel"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* =======================================================
   SCROLLABLE CONTENT
   ======================================================= */
.scroll-box {
  max-height: 280px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--border);
  background: #fff;
}

/* =======================================================
   TICKER
   ======================================================= */
.ticker {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  --ticker-gap: 40px;
  --ticker-speed: 28s;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: var(--ticker-gap);
  white-space: nowrap;
  animation: marquee var(--ticker-speed) linear infinite;
}
.ticker-track.mirror {
  position: absolute;
  left: 100%;
  top: 0;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.2;
}
.ticker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
}
.ticker-text {
  display: inline-block;
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }
}

/* =======================================================
   FOOTER (Midnight base, gold accents)
   ======================================================= */
.site-footer {
  background: var(--midnight);
  color: #fff;
  margin: 0;
  padding: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 28px;
  padding: 36px 20px 22px;
}
.footer-brand .footer-logo {
  height: 84px;
}
.footer-brand .muted {
  margin-top: 8px;
  color: #d9e3ea;
}
.footer-grid h4 {
  margin: 0 0 10px;
  font-weight: 800;
  color: #fff;
}
.site-footer a {
  color: #ebddc1;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
ul.clean {
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-stack li + li {
  margin-top: 6px;
}
.contact-icons li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}
.contact-icons i,
.contact-icons svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: 0 0 22px;
  color: #f7efd9;
}
.footnote {
  background: var(--midnight-900);
  color: #d9e3ea;
  padding: 10px 20px;
  text-align: center;
  margin: 0;
  line-height: 1.25;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
html,
body {
  margin: 0;
  padding: 0;
}
body > :last-child {
  margin-bottom: 0 !important;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================================================
   WHATSAPP FAB
   ======================================================= */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(2, 8, 20, 0.25), 0 2px 8px rgba(2, 8, 20, 0.15);
  z-index: 100;
  transition: transform 0.15s, box-shadow 0.15s;
}
.whatsapp-fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(2, 8, 20, 0.28), 0 2px 10px rgba(2, 8, 20, 0.18);
}
.whatsapp-fab svg {
  display: block;
}
@media (max-width: 480px) {
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}
.whatsapp-float,
.fixed-chat,
.fixed-icon-left,
a.floating-left,
div.floating-left {
  display: none !important;
}

/* =======================================================
   UTIL BLOCKS
   ======================================================= */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.package-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gold-300);
}
.package-card.featured {
  border: 2px solid var(--primary);
}
.package-card.featured::before {
  content: "PREMIUM";
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold);
  color: #fff;
  padding: 4px 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transform: rotate(45deg);
}

.review {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary);
}
.review-stars {
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 4px;
}
.review-text {
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
}
.review-author {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}
.review-meta {
  color: var(--ink-500);
  font-size: 13px;
}

/* Price display */
.price-display {
  text-align: center;
  padding: 24px;
  background: var(--primary-pale);
  border-radius: 8px;
  margin: 20px 0;
}
.price-currency {
  font-size: 20px;
  color: var(--ink-500);
  vertical-align: top;
}
.price-amount {
  font-size: 42px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.price-period {
  display: block;
  color: var(--ink-500);
  font-size: 14px;
  margin-top: 8px;
}
.price-original {
  text-decoration: line-through;
  color: var(--ink-500);
  font-size: 18px;
  margin-right: 8px;
}

/* Subtle entrance animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.feature-card,
.price-card,
.card {
  animation: fadeInUp 0.6s ease forwards;
}

/* =======================================================
   ACCESSIBILITY
   ======================================================= */
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
@media (prefers-contrast: high) {
  :root {
    --border: #000;
    --ink-500: #444;
  }
}

/* keep burger clickable over everything */
.burger {
  position: relative;
  z-index: 120;
}

/* lock scroll when menu is open */
body.mobile-open {
  overflow: hidden;
}

/* overlay should only show when menu is open */
.nav-overlay {
  display: none;
}
@media (max-width: 980px) {
  .mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 55;
    display: block;
  }
}

/* ensure mobile panel is hidden by default at mobile, shown only when .mobile-open */
@media (max-width: 980px) {
  .menu {
    display: none;
  }
  .mobile-open .menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--hdr-h-scrolled);
    height: calc(100svh - var(--hdr-h-scrolled));
    background: #fff;
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 60;
  }
}

/* Keep header above the sliding panel */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav {
  position: relative;
  z-index: 120;
}
.burger {
  position: relative;
  z-index: 121;
}

/* Overlay hidden by default */
.nav-overlay {
  display: none;
}

/* Phone behavior */
@media (max-width: 980px) {
  /* Hide desktop menu by default on mobile */
  .menu {
    display: none;
  }

  /* When open, show a full-height panel BELOW the header */
  body.mobile-open .menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0; /* panel at viewport top... */
    height: 100svh; /* ...full viewport height */
    padding: 16px;
    padding-top: var(--hdr-h-scrolled); /* ...but we create space for header */
    background: #fff;
    flex-direction: column; /* <<< vertical list */
    align-items: stretch;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 110; /* under header/burger but over page */
  }

  /* Make each nav link a full-width row */
  body.mobile-open .menu a {
    display: block; /* <<< prevents horizontal layout */
    width: 100%;
    padding: 14px 8px;
    font-size: 18px;
    color: var(--ink);
  }

  /* Show the dark overlay only when open */
  body.mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 105;
    display: block;
  }

  /* Lock page scroll when menu is open */
  body.mobile-open {
    overflow: hidden;
  }
}
/* Keep header above the sliding panel */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav {
  position: relative;
  z-index: 120;
}
.burger {
  position: relative;
  z-index: 121;
}

/* Overlay hidden by default */
.nav-overlay {
  display: none;
}

/* Phone behavior */
@media (max-width: 980px) {
  /* Hide desktop menu by default on mobile */
  .menu {
    display: none;
  }

  /* When open, show a full-height panel BELOW the header */
  body.mobile-open .menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0; /* panel at viewport top... */
    height: 100svh; /* ...full viewport height */
    padding: 16px;
    padding-top: var(--hdr-h-scrolled); /* ...but we create space for header */
    background: #fff;
    flex-direction: column !important; /* <<< vertical list */
    align-items: stretch;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 110; /* under header/burger but over page */
  }

  /* Make each nav link a full-width row */
  body.mobile-open .menu a {
    display: block; /* <<< prevents horizontal layout */
    width: 100%;
    padding: 14px 8px;
    font-size: 18px;
    color: var(--ink);
  }

  /* Show the dark overlay only when open */
  body.mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 105;
    display: block;
  }

  /* Lock page scroll when menu is open */
  body.mobile-open {
    overflow: hidden;
  }
}

/* Keep header above the sliding panel */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav {
  position: relative;
  z-index: 120;
}
.burger {
  position: relative;
  z-index: 121;
}

/* Overlay hidden by default */
.nav-overlay {
  display: none;
}

/* Phone behavior */
@media (max-width: 980px) {
  /* Hide desktop menu by default on mobile */
  .menu {
    display: none;
  }

  /* When open, show a full-height panel BELOW the header */
  body.mobile-open .menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0; /* panel at viewport top... */
    height: 100svh; /* ...full viewport height */
    padding: 16px;
    padding-top: var(--hdr-h-scrolled); /* ...but we create space for header */
    background: #fff;
    flex-direction: column; /* <<< vertical list */
    align-items: stretch;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 110; /* under header/burger but over page */
  }

  /* Make each nav link a full-width row */
  body.mobile-open .menu a {
    display: block; /* <<< prevents horizontal layout */
    width: 100%;
    padding: 14px 8px;
    font-size: 18px;
    color: var(--ink);
  }

  /* Show the dark overlay only when open */
  body.mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 105;
    display: block;
  }

  /* Lock page scroll when menu is open */
  body.mobile-open {
    overflow: hidden;
  }
}

/* ========== MOBILE MENU HOTFIX (place LAST in your CSS) ========== */
@media (max-width: 980px) {
  /* Hide desktop row nav by default on phones */
  header .menu {
    display: none !important;
  }

  /* Neutralize desktop centering that forces horizontal layout */
  header .nav-centered .menu {
    flex: unset !important;
    justify-content: flex-start !important;
  }

  /* Open state: full-height vertical sheet below header */
  body.mobile-open header .menu {
    display: flex !important;
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0; /* panel from viewport top */
    height: 100svh; /* full viewport height */
    padding: 16px;
    padding-top: var(--hdr-h-scrolled); /* leave space for header */
    background: #fff;
    flex-direction: column !important; /* vertical stack */
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 110; /* under header, over page */
  }

  /* Links as full-width rows */
  body.mobile-open header .menu a {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 18px;
    color: var(--ink);
  }

  /* Dark overlay when open */
  body.mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 105;
    display: block;
  }

  /* Keep header & burger above the panel; allow page lock */
  header.site-header {
    z-index: 200;
    overflow: visible;
  }
  .nav {
    z-index: 120;
  }
  .burger {
    z-index: 121;
    position: relative;
  }
  body.mobile-open {
    overflow: hidden;
  }
}

/* ===================== MOBILE DRAWER + BURGER ANIMATION (OVERRIDES) ===================== */
@media (max-width: 980px) {
  /* Hide desktop nav on phones */
  header .menu {
    display: none !important;
  }

  /* OPEN: right drawer (not full width) */
  body.mobile-open header .menu {
    display: flex !important;
    position: fixed !important;
    top: 0;
    right: 0;
    left: auto;
    width: min(78vw, 340px);
    height: 100svh;
    background: #fff;
    padding: 20px 16px 16px;
    padding-top: calc(var(--hdr-h-scrolled) + 8px);
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0; /* dividers will create rhythm */
    overflow: auto;
    box-shadow: -24px 0 48px rgba(2, 8, 20, 0.18);
    border-left: 1px solid var(--border);
    z-index: 110;
  }

  /* Overlay only when open */
  body.mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 105;
    display: block;
  }

  /* Give the panel a subtle header strip so it feels "full" */
  body.mobile-open header .menu::before {
    content: "Menu";
    display: block;
    color: var(--ink-500);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 6px 2px;
  }

  /* Links: full width rows with comfortable hit area */
  body.mobile-open header .menu a {
    display: block;
    width: 100%;
    padding: 14px 8px;
    font-size: 18px;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  body.mobile-open header .menu a:last-of-type:not(.menu-cta) {
    border-bottom: none;
  }

  /* Hover / active feedback */
  body.mobile-open header .menu a:hover {
    background: var(--primary-pale);
    color: var(--primary);
  }

  /* Optional sticky CTA at the bottom of drawer */
  body.mobile-open header .menu .menu-cta {
    position: sticky;
    bottom: 0;
    margin-top: 12px;
    border: none;
    text-align: center;
  }

  /* Lock page scroll when drawer open */
  body.mobile-open {
    overflow: hidden;
  }
}

/* Keep header above panel */
header.site-header {
  z-index: 200;
}
.nav {
  z-index: 120;
}

/* ---------------------- Burger -> X animation ---------------------- */
.burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.burger:hover {
  box-shadow: 0 4px 12px rgba(2, 8, 20, 0.08);
}

/* the three lines */
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease,
    background-color 0.25s ease;
}
.burger span + span {
  margin-top: 5px;
}

/* morph to X */
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ensure burger always on top */
.burger {
  position: relative;
  z-index: 121;
}

/* Burger button visual + animation */
.burger {
  display: none; /* shown via media query */
  width: 44px;
  height: 44px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 200; /* above overlay */
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 200ms ease, opacity 200ms ease,
    background-color 200ms ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer: hidden by default, slides down smoothly */
@media (max-width: 980px) {
  .burger {
    display: block;
  }

  .menu {
    display: none; /* desktop default; drawer controlled below */
  }

  /* Drawer panel */
  .mobile-open .menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 100svh;
    padding: 16px;
    padding-top: var(--hdr-h-scrolled); /* leave room for sticky header */
    background: #fff;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 150;
    /* animation */
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  body.mobile-open .menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Links feel less â€œemptyâ€ */
  body.mobile-open .menu a {
    display: block;
    padding: 14px 8px;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
  }
  body.mobile-open .menu a:last-child {
    border-bottom: 0;
  }

  /* Dimmed backdrop */
  .nav-overlay {
    display: none;
  }
  body.mobile-open .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 140;
    display: block;
    opacity: 0;
    transition: opacity 220ms ease;
  }
  body.mobile-open .nav-overlay {
    opacity: 1;
  }

  /* Prevent page scroll when open */
  body.mobile-open {
    overflow: hidden;
  }
}

/* Keep header above everything */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
}

/* ========== Drawer animation override (keeps layout untouched) ========== */
@media (max-width: 980px) {
  /* Mount the panel so it can animate; keep it non-interactive when closed */
  .menu {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    height: 100svh;
    padding: 16px;
    padding-top: var(--hdr-h-scrolled);
    background: #fff;
    flex-direction: column !important;
    gap: 8px;
    overflow: auto;
    box-shadow: 0 10px 24px rgba(2, 8, 20, 0.12);
    z-index: 150;

    /* CLOSED state (but still mounted for transition) */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    will-change: transform, opacity;
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 240ms ease, visibility 0s linear 320ms; /* hide after anim completes */
  }

  /* OPEN state */
  body.mobile-open .menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
      opacity 260ms ease, visibility 0s; /* show immediately */
  }

  /* Overlay fade in/out smoothly without layout jumps */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 140;

    opacity: 0;
    visibility: hidden;
    transition: opacity 240ms ease, visibility 0s linear 240ms;
  }
  body.mobile-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 260ms ease, visibility 0s;
  }
}

/* ========== intl-tel-input spacing fix ========== */
.section-form .iti {
  position: relative;
  width: 100%;
}

.section-form .iti__flag-container {
  position: absolute; /* anchor inside input */
  top: 0;
  bottom: 0;
  background: transparent;
}

.section-form .iti__selected-flag {
  height: 100%;
  padding: 0 8px;
  border-radius: 6px 0 0 6px; /* match your input radius edge */
}

.section-form input[type="tel"] {
  height: 44px; /* same as other inputs */
  line-height: 44px;
  padding-left: 100px !important; /* room for flag + dial (+spacing) */
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Make cross-month days look selectable, not disabled */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #111 !important; /* same as normal day */
  opacity: 1 !important;
}

.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
  background: #eaf4f1 !important; /* your --primary-pale */
  border-color: #0d6f57 !important; /* your --primary */
  color: #0d6f57 !important;
  cursor: pointer;
}

/* Only truly unavailable (disabled) dates should look disabled */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #bbb !important;
  background: transparent !important;
  cursor: not-allowed;
}

.ph-a {
  background-image: url("/assets/img/umrahMan.avif") !important;
  background-repeat: no-repeat;
  background-position: center center; /* keep subject centered */
  background-size: cover; /* fill box, crop excess */
  border-radius: inherit; /* keep rounded corners if any */
}

.ph-b {
  background-image: url("/assets/img/masjidenabwi.avif") !important;
  background-repeat: no-repeat;
  background-position: center center; /* keep subject centered */
  background-size: cover; /* fill box, crop excess */
  border-radius: inherit; /* keep rounded corners if any */
}

/* One card per row on mobile */
@media (max-width: 992px) {
  .feature-pairs {
    /* parent grid */
    grid-template-columns: 1fr !important;
    gap: 16px; /* a little breathing room */
  }
  .feature-card {
    /* ensure card content stacks too */
    grid-template-columns: 1fr !important;
  }
  .fc-art {
    /* optional: shorter art area on phones */
    min-height: 180px;
  }
}

/* 1) Kill expensive blur only on phones */
@media (max-width: 992px) {
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* 2) Make hero video GPU-friendly (no filter); darken via overlay instead */
.hero-video {
  filter: none !important;
  transform: translateZ(0); /* own compositor layer */
  backface-visibility: hidden;
  will-change: transform;
}
.hero-overlay {
  /* slightly darker to compensate for removing video filter */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  ) !important;
}

/* 3) Fixed/animated bits: promote + soften shadows on mobile */
.whatsapp-fab,
.nav-overlay,
.slider .slides {
  will-change: transform;
  transform: translateZ(0);
}
@media (max-width: 992px) {
  .card,
  .price-card,
  .feature-card {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }
}

/* 4) Isolate paints so a change in one card doesnâ€™t invalidate others */
.feature-card,
.price-card,
.card {
  contain: paint;
}

/* 5) Pause ticker animation off-screen (needs tiny JS below to toggle) */
.ticker-track {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }
}

/* Optional: only Chromium supports this â€“ guard it */
@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
  }
}

/* FAQ polish */
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary {
  list-style: none;
}

/* --- FAQ: keep existing look; just control marker + chevron --- */
details.faq-item > summary,
.faq-item details > summary {
  position: relative;
  list-style: none; /* hide bullets in Firefox */
  padding-right: 40px; /* space for chevron */
}

/* Hide native marker so it doesn't fight our chevron */
details.faq-item > summary::-webkit-details-marker,
.faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* If you previously added a summary::after arrow, neutralize it */
.faq-item summary::after {
  content: none !important;
}

/* Chevron SVG injected by JS */
.faq-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  color: currentColor; /* inherit text color */
  pointer-events: none; /* clicks go to summary */
}

/* Rotate on open (down -> up) */
details.faq-item[open] > summary .faq-chevron,
.faq-item details[open] > summary .faq-chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* Hide native marker so it doesn't fight our chevron */
details.faq-item > summary::-webkit-details-marker,
.faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* Make sure summary can position the chevron */
details.faq-item > summary,
.faq-item details > summary {
  position: relative;
  padding-right: 40px; /* space for the chevron */
  list-style: none; /* avoids bullets on Firefox */
}

/* Chevron injected by JS */
.faq-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  color: currentColor;
  pointer-events: none;
}

/* Rotate chevron when open (down -> up) */
details[open] > summary .faq-chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* Keep your styling, only ensure marker hidden + chevron rotation */
details.faq-item > summary::-webkit-details-marker,
.faq-item details > summary::-webkit-details-marker {
  display: none;
}

details.faq-item > summary,
.faq-item details > summary {
  position: relative;
  padding-right: 40px;
  list-style: none;
}

.faq-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* Match your scriptâ€™s expectation: .faq-content/.faq-arrow get .active */
.faq-arrow.active {
  transform: translateY(-50%) rotate(180deg);
}

/* If you want smooth reveal (optional) */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-content.active {
  max-height: 800px;
} /* adjust height to fit longest answer */

/* Section wrapper adopts your global spacing */
.faq-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Two-column responsive grid aligned to your container system */
.faq-wrapper {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .faq-wrapper {
    grid-template-columns: 1fr;
  }
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card look that blends with your theme */
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Head button (inherits your font + colors) */
.faq-button {
  width: 100%;
  text-align: left;
  padding: 18px 52px 18px 20px; /* room for chevron */
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 600; /* slightly bolder for question */
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-button:hover {
  background: #f8f9fa;
}

/* Chevron arrow â€” matches your sample */
.faq-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: currentColor; /* keep in sync with text color */
}
.faq-arrow.active {
  transform: rotate(180deg);
}

/* Content panel with smooth height animation */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 20px;
}
.faq-content.active {
  padding-bottom: 16px;
}

/* Space inside content */
.faq-content p {
  margin: 12px 0 8px;
}
.faq-content ul {
  margin: 0 0 8px;
  padding-left: 18px;
}
.faq-content li {
  margin: 6px 0;
}

/* === FAQ minimal patch (keep original styles) ============================= */
/* Scope everything to #faq to avoid touching other details/summary on site */
#faq details.faq-item > summary,
#faq .faq-item details > summary {
  position: relative; /* anchor for chevron */
  padding-right: 40px; /* space for the chevron */
  list-style: none; /* hide FF bullets */
}

/* Hide native marker so it doesn't fight our SVG chevron */
#faq details.faq-item > summary::-webkit-details-marker,
#faq .faq-item details > summary::-webkit-details-marker {
  display: none;
}

/* If your old CSS added a pseudo arrow, neutralize it just in this section */
#faq .faq-item summary::after {
  content: none !important;
}

/* Chevron svg alignment â€” absolutely positioned, wonâ€™t affect your layout */
#faq .faq-chevron {
  position: absolute;
  right: 16px; /* tweak if you want more/less gap */
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.25s ease;
  color: currentColor; /* match text color */
  pointer-events: none; /* clicks still hit <summary> */
}

/* Rotate chevron only when the item is open */
#faq details[open] > summary .faq-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.faq {
  background: #f3f4f6;
  padding: 16px;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item {
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  border-left: 3px solid var(--gold-700);
}
.faq-item summary {
  cursor: pointer;
  padding: 16px;
  list-style: none;
  position: relative;
  font-weight: 700;
  color: var(--ink);
}
.faq-item summary::after {
  content: "â–¾";
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--primary);
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    0deg,
    #fff 0%,
    #fff 55%,
    var(--primary-pale) 100%
  );
}
/* HARD stop any layout share: close bodies when not open */
.faq-item:not([open]) .faq-body {
  display: none !important;
}
.faq-item .faq-body {
  padding: 0 16px 16px;
  color: var(--ink-700);
  animation: faqOpen 0.22s ease;
}
@keyframes faqOpen {
  from {
    opacity: 0.6;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* FAQ section container */
.faq {
  background: #f3f4f6;
  padding: 16px;
}

/* Two-column grid (stacks at 992px) */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 992px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ card */
.faq-item {
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  border-left: 3px solid var(--gold-700);
}

/* Question row */
.faq-item summary {
  cursor: pointer;
  padding: 16px;
  list-style: none;
  position: relative;
  font-weight: 700;
  color: var(--ink);
}

/* Original caret (â–¾) â€” same as your Hugo CSS */
.faq-item summary::after {
  content: "â–¾";
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--primary);
}

/* Visual style when open (kept identical) */
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    0deg,
    #fff 0%,
    #fff 55%,
    var(--primary-pale) 100%
  );
}

/* Keep bodies fully hidden when not open (prevents neighbor â€œbleedâ€) */
.faq-item:not([open]) .faq-body {
  display: none !important;
}

/* Answer body */
.faq-item .faq-body {
  padding: 0 16px 16px;
  color: var(--ink-700);
  animation: faqOpen 0.22s ease;
}

/* Subtle open animation */
@keyframes faqOpen {
  from {
    opacity: 0.6;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Prevent neighbor FAQ cards from stretching to match the tallest one */
#faq .faq-grid {
  /* or your wrapper: .faq-wrapper */
  align-items: start; /* grid default is 'stretch' â€“ this stops it */
}

#faq .faq-item {
  align-self: start; /* ensure each card sizes to its own content */
  height: auto; /* in case a global card style forces 100% */
  overflow: hidden; /* keeps backgrounds/borders tidy */
}

/* If your layout uses flex columns instead of CSS grid, also add: */
#faq .faq-wrapper {
  align-items: flex-start;
}
#faq .faq-column {
  align-items: stretch;
} /* normal card width, no height sync */

/* 1) Kill expensive blur only on phones */
@media (max-width: 992px) {
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* 2) Make hero video GPU-friendly (no filter); darken via overlay instead */
.hero-video {
  filter: none !important;
  transform: translateZ(0); /* own compositor layer */
  backface-visibility: hidden;
  will-change: transform;
}
.hero-overlay {
  /* slightly darker to compensate for removing video filter */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  ) !important;
}

/* 3) Fixed/animated bits: promote + soften shadows on mobile */
.whatsapp-fab,
.nav-overlay,
.slider .slides {
  will-change: transform;
  transform: translateZ(0);
}
@media (max-width: 992px) {
  .card,
  .price-card,
  .feature-card {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }
}

/* 4) Isolate paints so a change in one card doesnâ€™t invalidate others */
.feature-card,
.price-card,
.card {
  contain: paint;
}

/* 5) Pause ticker animation off-screen (needs tiny JS below to toggle) */
.ticker-track {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
  }
}

/* Optional: only Chromium supports this â€“ guard it */
@supports (content-visibility: auto) {
  .section {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
  }
}
/* ===== Site-wide slim bar ===== */
.trust-bar {
  width: 100%;
  background: #0f172a; /* slate-900 */
  color: #e2e8f0; /* slate-200 */
  padding: 8px 16px;
  font-size: 12.5px; /* small, readable */
  line-height: 1.45;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-bar p {
  margin: 0;
}

/* ===== Logos / Trust section ===== */
.trust-section {
  max-width: 1100px;
  margin: 28px auto 24px;
  padding: 0 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.trust-item {
  background: #ffffff;
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 14px;
  padding: 18px 16px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.05);
}

.trust-logo {
  display: inline-block;
  height: 44px;
  width: auto;
  margin-bottom: 10px;
  filter: grayscale(20%); /* subtle, professional */
}

.trust-title {
  font-size: 16px;
  line-height: 1.25;
  margin: 2px 0 6px;
  font-weight: 700;
  color: #0f172a;
}

.trust-copy {
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
  margin: 0;
}

.trust-footnote {
  font-size: 12px; /* small asterisk line */
  color: #475569; /* slate-600 */
  margin: 12px 4px 0;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-item {
    text-align: left;
  }
  .trust-logo {
    margin-bottom: 8px;
  }
  .trust-title {
    margin-top: 0;
  }
  .trust-footnote {
    text-align: left;
  }
}
/* ===== TRUST SECTION (shared styles for both versions) ===== */
.trust-section {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
/* .trust-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.05);
} */
.trust-logo {
  display: inline-block;
  height: 100px;
  width: auto;
  filter: grayscale(20%);
  margin-bottom: 8px;
}
.trust-mini-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
} /* tiny per-logo line */

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-item {
    text-align: left;
  }
}

:root {
  --header-h: 96px;
} /* bump to 110â€“120px if needed */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
.section-anchor {
  scroll-margin-top: var(--header-h);
}

@supports (content-visibility: auto) {
  .section {
    content-visibility: visible !important;
    contain-intrinsic-size: auto !important;
  }
}

@media (max-width: 768px) {
  .trust-item,
  .acc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding: 16px;
    min-height: 140px; /* square-ish card */
  }
}

#reviewsSlider,
#reviewsSlider .slides {
  touch-action: pan-y;
}

/* === Keep the overlapping/staggered look on mobile too === */
:root {
  /* base portrait ratio (already in your CSS) */
  --about-card-w: clamp(220px, 24vw, 320px);
  --about-card-h: calc(1.35 * var(--about-card-w));
}

.about-art {
  position: relative;
  min-height: calc(var(--about-card-h) + 70px); /* space for the second card */
  overflow: visible;
}

/* Desktop/default: absolute overlap (you already have similar) */
.about-art .img {
  position: absolute;
  width: var(--about-card-w);
  height: var(--about-card-h);
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.about-art .ab1 {
  top: 18px;
  left: -24px;
  z-index: 2;
}
.about-art .ab2 {
  top: 50px;
  left: clamp(90px, 12vw, 150px);
  z-index: 1;
}

/* Mobile: still overlapped, just smaller + centered */
@media (max-width: 900px) {
  :root {
    --about-card-w: clamp(170px, 62vw, 240px); /* scale down on phones */
    --about-card-h: calc(1.35 * var(--about-card-w));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-art {
    min-height: calc(var(--about-card-h) + 60px);
  }

  /* keep absolute positioning and center the stack */
  .about-art .img {
    position: absolute !important; /* override any earlier rule */
    left: 40%;
    transform: translateX(-50%);
  }

  /* slight stagger so both are visible */
  .about-art .ab1 {
    top: 0;
    z-index: 2;
    transform: translateX(-58%) rotate(0deg);
  }
  .about-art .ab2 {
    top: 36px;
    z-index: 1;
    transform: translateX(-2%) rotate(0deg);
  }
}

/* =========================
   FOOTER (symmetry + polish)
   ========================= */
/* ===== Base (unchanged structure) ===== */
/* === Footer (structure preserved) =================================== */
/* ===== HajjGuider Footer (serious theme, aligned, brand is a peer) ===== */
.site-footer {
  background: var(--midnight, #0c3552);
  color: #e6eef6;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 161, 94, 0.35),
    transparent
  );
}

/* Container */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-main {
  padding: 0px 0 0px;
}

/* Desktop: 4 columns (brand is a normal peer) */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr; /* Brand | Services | Company | Contact */
  gap: 40px;
  margin-bottom: 36px;
  align-items: start;
}

/* Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.brand-logo img {
  height: 77px;
  width: auto;
  display: block;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #f8fafc;
  font-size: 20px;
}
.brand-tagline {
  color: #cdd9e3;
  line-height: 1.55;
  font-size: 15px;
  margin: 8px 0 18px;
  max-width: 48ch;
}

/* Social (plain outline, subtle) */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #dbe7f1;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s, color 0.2s;
}
.social-link:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

/* Columns */
.footer-column h3 {
  margin: 0 0 14px;
  color: #f8fafc;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2px;
  position: relative;
}
.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold, #c5a15e), transparent);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li + li {
  margin-top: 10px;
}
.footer-links a {
  color: #d5e2ee;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover {
  color: var(--gold, #c5a15e);
  transform: translateX(3px);
}

/* Contact */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #d5e2ee;
  font-size: 15px;
}
.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--gold, #c5a15e);
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-item a {
  color: inherit;
  text-decoration: none;
}
.contact-item a:hover {
  color: var(--gold, #c5a15e);
}
.contact-item span {
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 44ch;
}

/* Bottom line */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--midnight-900, #0a2b43);
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--midnight-900, #0a2b43); /* full-bleed now */
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
  /* margin-left: 13%;
  margin-right: 10%; */
}

.copyright {
  color: #b9c9d8;
  font-size: 14px;
}
.footer-legal {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.footer-legal a {
  color: #b9c9d8;
  text-decoration: none;
  font-size: 14px;
}
.footer-legal a:hover {
  color: #fff;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Mobile: 2Ã—2 grid (brand is just another cell) */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* two per row */
    gap: 22px;
  }
  .brand-tagline {
    max-width: unset;
  }
  .footer-column h3::after {
    left: 0;
  } /* keep left-aligned for neatness */
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .social-link,
  .footer-links a {
    transition: none;
  }
}

/* Reuse the same container sizing everywhere in the footer */
.site-footer {
  --container-max: 1200px; /* match your top container */
  --container-pad: clamp(16px, 4vw, 24px); /* side padding */
}

/* Top part already uses .footer-container; keep as-is */

/* Bottom bar stays full-bleed */
.footer-bottom {
  background: rgba(0, 0, 0, 0.22);
}

/* Align content with the top container */
.footer-bottom-content {
  max-width: var(--container-max);
  margin-inline: auto; /* centers within full-width bar */
  padding-inline: var(--container-pad);
  padding-block: 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .footer-bottom-content {
    justify-content: center;
    text-align: center;
    gap: 12px 20px;
  }
}

@media (max-width: 640px) {
  /* Keep 2 columns but give them space and avoid collisions */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px; /* row gap, col gap */
    align-items: start; /* headings align nicely */
  }
  .footer-grid > * {
    min-width: 0;
  } /* prevent overflow/collisions */

  /* Brand block: scale down a touch and tighten spacing */
  .footer-brand {
    padding-right: 6px;
  } /* a little buffer from the next column */
  .brand-logo {
    gap: 8px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .brand-name {
    font-size: clamp(18px, 5.2vw, 20px);
    line-height: 1.15;
    letter-spacing: 0.2px;
    /* allow normal wrapping without weird breaks */
    white-space: normal;
    word-break: normal;
  }
  .brand-tagline {
    font-size: 14px;
    margin-top: 8px;
  }

  /* Column headings and links: slightly smaller to match the scale */
  .footer-column h3 {
    font-size: clamp(15px, 4.2vw, 17px);
    margin-bottom: 12px;
  }
  .footer-links a {
    font-size: 15px;
  }

  /* Contact row center alignment if youâ€™re centering others */
  .contact-item {
    justify-content: center;
  } /* or center if you prefer */
}

/* ---------- Mobile polish for the 2Ã—2 footer (â‰¤640px) ---------- */

/* Optional: if things still feel tight on very narrow devices (â‰¤360px),
   temporarily go 1 column for the brand, then 2Ã—2 below */

/* /* */
@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    margin-bottom: 8px;
  }
}

/* ===== Mobile: single-column footer (<= 680px) ===== */
@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 column */
    gap: 28px; /* comfy vertical rhythm */
    align-items: start;
    text-align: center;
  }

  /* Keep brand first, then sections; center everything nicely */
  .footer-brand {
    align-items: center;
  }
  .brand-logo {
    gap: 10px;
  }
  .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .brand-name {
    font-size: 20px;
    line-height: 1.2;
  }

  .brand-tagline {
    max-width: 42ch;
    margin-inline: auto;
    font-size: 15px;
  }

  /* Headings & underline centered */
  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Links: keep left-aligned while column is centered */
  .footer-links {
    display: inline-block; /* allows centering the blockâ€¦ */
    text-align: left; /* â€¦but links remain left-aligned */
  }

  /* Social row */
  .social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Contact items centered, readable widths */
  .contact-item {
    justify-content: center;
    text-align: left;
  }
  .contact-item span,
  .contact-item a {
    max-width: 36ch;
  }

  /* Subtle separators between sections (optional; remove if you prefer) */
  .footer-grid > * {
    padding-block: 2px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-grid > *:last-child {
    border-bottom: 0;
  }

  /* Bottom bar: keep content width aligned with container on mobile too */
  .footer-bottom-content {
    padding-inline: 20px; /* match .footer-container padding */
    justify-content: center; /* stack & center items */
    text-align: center;
  }
}

/* Centered, aligned contact rows (mobile) */

/* Center the entire contact block on mobile, keep icon/text aligned */
@media (max-width: 768px) {
  /* make the column content center itself */
  .footer-column {
    display: grid;
    justify-items: center;
  }

  /* contact rows become a centered, fixed-width grid */
  .footer-column .contact-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;

    width: clamp(260px, 88vw, 40ch); /* centered card-like width */
    margin: 10px auto; /* centers the block */
    text-align: left; /* readable rag */
  }

  .footer-column .contact-item .contact-icon,
  .footer-column .contact-item svg.lucide {
    width: 22px;
    height: 22px;
    margin-top: 2px; /* optical top align */
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .footer-column--contact {
    display: grid;
    justify-items: center; /* centers the column's content */
  }

  .footer-column--contact .contact-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;

    width: clamp(260px, 88vw, 40ch);
    margin: 10px auto;
    text-align: left;
  }

  .footer-column--contact .contact-icon,
  .footer-column--contact svg.lucide {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }
}

/* MOBILE: center the entire contact block under the heading */
@media (max-width: 768px) {
  /* Keep the column flowing normally but center its children */

  /* Each contact row becomes a fixed-width, centered grid */
  .footer-column .contact-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    text-align: left;

    /* ðŸ‘‡ This pair guarantees perfect centering regardless of parent layout */
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    /* Consistent readable width + side gutters */
    width: min(40ch, calc(100% - 56px));
    margin: 10px 0;
  }

  .footer-column .contact-item .contact-icon,
  .footer-column .contact-item svg.lucide {
    width: 22px;
    height: 22px;
    margin-top: 2px; /* optical alignment with first text line */
    flex-shrink: 0;
  }
}

/* Mobile only */
@media (max-width: 768px) {
  /* Widen the centered contact stack */
  .footer-column--contact .contact-wrap {
    /* was ~40ch â€” give it more room */
    width: min(56ch, calc(100% - 56px));
    margin-inline: auto;
    justify-items: right;
  }

  /* Keep phone & email from breaking mid-item */
  .footer-column--contact .contact-item a[href^="tel"],
  .footer-column--contact .contact-item a[href^="mailto"] {
    white-space: nowrap;
  }

  /* Slightly roomier line-height for multi-line address */
  .footer-column--contact .contact-item span {
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-column--contact .contact-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    text-align: left;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(56ch, calc(100% - 56px));
    margin: 10px 0;
  }
  .footer-column--contact .contact-item .contact-icon,
  .footer-column--contact .contact-item svg.lucide {
    width: 22px;
    height: 22px;
    margin-top: 2px;
  }
  .footer-column--contact .contact-item a[href^="tel"],
  .footer-column--contact .contact-item a[href^="mailto"] {
    white-space: nowrap;
  }
  .footer-column--contact .contact-item span {
    line-height: 1.6;
  }
  .trust-item,
  .acc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px;
    min-height: 140px;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
  .brand-logo {
    gap: 10px;
  }
  .brand-logo img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }
  .brand-name {
    font-size: 20px;
    line-height: 1.2;
  }
  .brand-tagline {
    max-width: 42ch;
    margin-inline: auto;
    font-size: 15px;
  }
  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  .footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-links {
    display: inline-block;
    text-align: left;
  }
  .social-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .contact-item {
    justify-content: center;
    text-align: left;
  }
  .contact-item span,
  .contact-item a {
    max-width: 36ch;
  }
  .footer-grid > * {
    padding-block: 2px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-grid > *:last-child {
    border-bottom: 0;
  }
  .footer-bottom-content {
    padding-inline: 20px;
    justify-content: center;
    text-align: center;
  }
}

/* Package cards grid layout - hide summary on listing pages */
.cards-grid .package-card .card-summary,
.pkg-grid .package-card .card-summary {
  display: none;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Package grid improvements */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .pkg-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Ensure cards have equal height */
.pkg-grid .pkg-card,
.pkg-grid .package-card {
  height: 100%;
}

/* Improve spacing in packages sections */
.section-pricing {
  padding: 60px 0;
}

.section-pricing .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

/* ===== About Page (scoped) ===== */
/* ===== About Page (scoped) ===== */
:root {
  --primary: #0d6f57;
  --primary-600: #0a5a46;
  --gold: #c5a15e;
  --gold-300: #e9d9b8;
  --ink: #0f172a;
  --ink-500: #475569;
  --ink-300: #64748b;
  --bg: #f8faf9;
  --surface: #ffffff;
  --border: #e5e7eb;
}

/* PAGE */
.about-page.v2 {
  background: var(--bg);
  color: var(--ink);
}
.about-page.v2 .container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 24px);
}

/* LINK STYLE (matches footer tone) */
.about-page.v2 a {
  color: var(--gold);
  text-decoration: none;
}
.about-page.v2 a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* HERO */
.about-hero {
  background: radial-gradient(
      900px 360px at 6% -10%,
      rgba(13, 111, 87, 0.1),
      transparent
    ),
    linear-gradient(#fff, #fff);
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 6vw, 64px) 0;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(16px, 4vw, 28px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
}
.about-hero h1 {
  font-size: clamp(28px, 4.2vw, 40px);
  margin: 0 0 0.45rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.lead {
  color: var(--ink-500);
  max-width: 60ch;
  margin: 0 0 0.75rem;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.4rem;
}
.hero-points li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--ink-500);
}
.hero-points i {
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 0.15rem;
}
.legal-note {
  margin-top: 0.7rem;
  color: var(--ink-300);
  font-size: 0.95rem;
  border-left: 2px solid rgba(197, 161, 94, 0.35);
  padding-left: 0.6rem;
}
.hero-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}
.hero-media {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(2, 8, 20, 0.1);
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1rem;
  border-radius: 12px;
  font-weight: 700;
}
.btn i {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--primary-600);
}
.btn-ghost {
  background: #fff;
  color: var(--gold);
  border: 1px solid rgba(197, 161, 94, 0.55);
}
.btn-ghost:hover {
  background: rgba(197, 161, 94, 0.06);
}

/* TRUST */
.trust {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}
@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
.trust-item {
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.trust-logo {
  height: 60px;
  width: auto;
  filter: grayscale(15%);
}
.trust-note {
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 6px;
}

/* LEGAL */
.legal {
  background: linear-gradient(#fff, #f6fbf8);
  border-bottom: 1px solid var(--border);
  padding: clamp(22px, 5vw, 36px) 0;
}
.legal-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(16px, 3.6vw, 24px);
  align-items: start;
}
@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}
.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
}
.legal p {
  color: var(--ink-500);
  margin: 0 0 0.5rem;
}
.legal-points {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  display: grid;
  gap: 0.3rem;
}
.legal-points i {
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-right: 0.35rem;
}
.legal-card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px dashed rgba(13, 111, 87, 0.35);
  border-radius: 999px;
  color: var(--primary-600);
  background: #f0f7f4;
  font-weight: 600;
}
.legal-chip i {
  width: 18px;
  height: 18px;
  color: var(--primary-600);
}

/* STORY */
.story {
  background: #fff;
  padding: clamp(22px, 6vw, 44px) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 4vw, 28px);
  align-items: start;
}
@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}
.story-copy p {
  color: var(--ink-500);
  margin: 0.35rem 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(2, 8, 20, 0.04);
}
.step span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 6px;
}
.step h3 {
  margin: 0.2rem 0 0.1rem;
  color: var(--ink);
  font-size: 1.02rem;
}
.step p {
  margin: 0;
  color: var(--ink-500);
}

/* METRICS */
.metrics {
  background: linear-gradient(#f6fbf8, #fff);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(16px, 4vw, 28px) 0;
}
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}
@media (max-width: 800px) {
  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }
}
.metric {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.metric .num {
  display: block;
  font-weight: 800;
  font-size: clamp(20px, 3.4vw, 28px);
  color: var(--ink);
}
.metric .lbl {
  color: var(--ink-500);
  font-size: 0.95rem;
}

/* VALUES */
.values {
  background: #fff;
  padding: clamp(22px, 6vw, 44px) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}
.value {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(2, 8, 20, 0.04);
}
.value h3 {
  color: var(--ink);
  margin: 0.2rem 0 0.1rem;
}
.value p {
  color: var(--ink-500);
}
.value i {
  color: var(--gold);
  width: 22px;
  height: 22px;
}

/* TEAM */
.team {
  background: linear-gradient(#fff, #f8fafc);
  border-top: 1px solid var(--border);
  padding: clamp(22px, 6vw, 44px) 0;
}
.team h2 {
  margin: 0 0 0.6rem;
  color: var(--ink);
}
.team-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 760px) {
  .team-row {
    grid-template-columns: 1fr;
  }
}
.member {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(2, 8, 20, 0.04);
}
.member figcaption {
  padding: 10px;
  color: var(--ink-500);
}
.member figcaption strong {
  color: var(--ink);
  display: block;
}

/* CTA */
.cta {
  background: #fff;
  padding: clamp(24px, 6vw, 44px) 0;
}
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(
    180deg,
    rgba(13, 111, 87, 0.06),
    rgba(13, 111, 87, 0.03)
  );
}
@media (max-width: 760px) {
  .cta-box {
    flex-direction: column;
    align-items: stretch;
  }
}
.cta-copy h2 {
  margin: 0 0 0.25rem;
  color: var(--ink);
}
.cta-copy p {
  margin: 0;
  color: var(--ink-500);
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ACCESSIBILITY */
.about-page.v2 a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Page hero (light theme, matches site + footer accents) */
.page-hero {
  background: linear-gradient(180deg, #f9f9f7 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(28px, 6vw, 56px) 0;
}
.page-hero .eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.page-hero h1 {
  color: var(--midnight);
  margin: 6px 0;
}
.page-hero .lead {
  color: var(--ink-700);
}

/* Breadcrumbs */
.breadcrumbs {
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 8px 20px;
  display: flex;
  gap: 8px;
}
.breadcrumbs a {
  color: var(--gold-700);
}
.breadcrumbs li + li::before {
  content: ".";
  color: var(--ink-500);
  margin: 0 4px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Package cards */
.package-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.package-card .package-media img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}
.package-card .package-body {
  padding: 16px;
}
.package-card h2 {
  margin: 2px 0 6px;
  font-size: 20px;
}
.pill {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  border: 1px solid var(--gold-700);
  color: var(--gold-700);
  border-radius: 999px;
}
.mini-points {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  color: var(--ink-700);
  display: grid;
  gap: 6px;
}
.package-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.package-cta .price {
  color: var(--ink);
}
.package-cta .amount {
  font-weight: 800;
}

/* Packages single */
.package-layout {
  display: grid;
  grid-template-columns: 0.9fr 2fr;
  gap: 24px;
}
@media (max-width: 992px) {
  .package-layout {
    grid-template-columns: 1fr;
  }
}
.pkg-aside .sticky-card {
  position: sticky;
  top: 84px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}
.pkg-aside .cover {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.sticky-price {
  margin: 8px 0;
  font-weight: 800;
  color: var(--midnight);
}
.tick,
.dash {
  padding-left: 18px;
  margin: 10px 0;
}
.tick li::before {
  content: ".";
}
.dash li {
  list-style: "“ ";
}
.note {
  background: var(--primary-pale);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink-700);
}

/* Enquiry / Contact */
.form-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
@media (max-width: 992px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}
.form-grid .card,
.contact .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.slab,
.slab-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.w-full {
  width: 100%;
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-700);
  background: #fff;
  border-radius: 8px;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px;
  font-weight: 700;
}
.faq-item .faq-body {
  padding: 0 14px 14px;
  color: var(--ink-700);
}

/* Blog */
.post-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card .cover img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.post-card .body {
  padding: 14px;
}

/* Prose */
.prose-wrap {
  max-width: 800px;
}
.prose-light,
.prose-legal {
  color: var(--ink-700);
}

.info .cta-bottom .btn {
  display: none;
}

/* ===== Price pill â€” works with your current markup =====
   Targets the price line inside .pkg-card (your card wrapper) */
.pkg-card .mt-4.font-semibold {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary, #0d6f57) 10%, white);
  border: 1px solid color-mix(in srgb, var(--primary, #0d6f57) 25%, transparent);
  color: var(--midnight, #0c3552);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  /* Big & responsive */
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03),
    0 8px 16px -12px rgba(13, 111, 87, 0.35);
}

/* If that line wraps, keep it tidy */
.pkg-card .mt-4.font-semibold {
  white-space: nowrap;
}

/* Slight hover lift for the whole card increases emphasis */
.pkg-card:hover .mt-4.font-semibold {
  transform: translateY(-1px);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04),
    0 12px 18px -12px rgba(13, 111, 87, 0.4);
}

/* ===== Optional enhanced markup (recommended if you can add spans) =====
   Use this HTML inside your card price block:
   <div class="price-pill">
     <span class="price-label">From</span>
     <span class="price-amount">Â£1,299</span>
     <span class="price-note">pp</span>
   </div>
*/
.pkg-card .price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--primary, #0d6f57) 10%, white);
  border: 1px solid color-mix(in srgb, var(--primary, #0d6f57) 25%, transparent);
  line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03),
    0 8px 16px -12px rgba(13, 111, 87, 0.35);
}
.pkg-card .price-label {
  font-size: 0.625rem; /* 10px-ish */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: color-mix(in srgb, var(--primary, #0d6f57) 60%, black);
}
.pkg-card .price-amount {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 900;
  color: var(--midnight, #0c3552);
  font-variant-numeric: tabular-nums;
}
.pkg-card .price-note {
  font-size: 0.75rem;
  color: #475569; /* slate-600 */
}

/* ===== Dark-mode tweak (optional) ===== */
@media (prefers-color-scheme: dark) {
  .pkg-card .mt-4.font-semibold,
  .pkg-card .price-pill {
    background: color-mix(in srgb, var(--primary, #0d6f57) 20%, black);
    border-color: color-mix(in srgb, var(--primary, #0d6f57) 35%, transparent);
    color: #e2e8f0; /* slate-200 */
  }
  .pkg-card .price-amount {
    color: #fff;
  }
}

.cards-grid {
  display: grid;
  gap: 16px; /* space between cards */
  grid-template-columns: 1fr; /* mobile: 1 column */
}

@media (min-width: 640px) {
  /* sm: 2 columns */
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  /* lg: 3 columns */
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Prevent overflow from child content (very important for grids) */
.cards-grid > * {
  min-width: 0;
}

/* Make each card stretch nicely in its grid cell */
.package-card {
  height: 100%;
}

/* If your card partial sets a max-width or display:block on wrappers, neutralize it: */
.cards-grid .package-card,
.cards-grid .package-card-wrapper {
  max-width: none;
  width: 100%;
}

/* --- Mini bullet list: force visible bullets + indent regardless of resets --- */
.mini-points {
  margin: 0;
  padding-left: 1rem; /* visible indent */
  list-style: none; /* avoid double markers from UA */
}
.mini-points li {
  position: relative;
  margin: 0.35rem 0;
  padding-left: 0.85rem; /* space for our custom bullet */
  line-height: 1.45;
}
/* Drawn dot avoids encoding issues with content: "•" */
.mini-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em; /* aligns with first baseline */
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--gold, #c5a15e);
  transform: translateY(-50%);
}

/* nested list support (optional) */
.mini-points ul,
.mini-points ol {
  margin-top: 0.35rem;
  margin-bottom: 0;
  padding-left: 1rem;
}
/* Level-2: small square marker for subtle visual hierarchy */
.mini-points ul li::before {
  content: "";
  width: 0.38em;
  height: 0.38em;
  border-radius: 2px;
  background: var(--midnight, #0c3552);
}

/* === Site Ticker (global) === */
.site-ticker,
#siteTicker {
  --ticker-height: 44px;
  --ticker-bg: var(--primary, #0d6f57);
  --ticker-fg: #fff;
  --ticker-gap: 48px;
  --ticker-speed: 30s; /* overwritten by inline style from YAML */
}
.site-ticker-spacer {
  height: var(--ticker-height);
}
.site-ticker {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--ticker-bg);
  color: var(--ticker-fg);
  height: var(--ticker-height);
  display: block;
}
.site-ticker.at-bottom {
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.site-ticker.at-top {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.site-ticker__mask {
  overflow: hidden;
  height: 100%;
}
.site-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: var(--ticker-gap);
  white-space: nowrap;
  padding-inline: 16px;
  height: 100%;
  animation: ticker-scroll var(--ticker-speed) linear infinite;
}
.site-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1;
}
.site-ticker__icon {
  display: inline-block;
  width: 1.25em;
  text-align: center;
  opacity: 0.95;
}
.site-ticker__text {
  display: inline-block;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* rely on duplicated items for seamless loop */
}
/* Pause on hover (desktop) */
@media (hover: hover) {
  .site-ticker:hover .site-ticker__track {
    animation-play-state: paused;
  }
}
/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .site-ticker__track {
    animation: none;
  }
}
/* Mobile tweaks */
@media (max-width: 639.98px) {
  .site-ticker {
    --ticker-height: 40px;
    --ticker-gap: 32px;
  }
  .site-ticker__item {
    font-size: 13px;
  }
}
.site-ticker__icon i {
  width: 1.25em;
  height: 1.25em;
}

/* Inline variant: above footer (non-fixed) */
.site-ticker.inline {
  position: static;
  height: var(--ticker-height);
}

#packagesGrid {
  scroll-margin-top: 60px;
}

@media (max-width: 639.98px) {
  #packagesGrid {
    scroll-margin-top: 50px;
  }
}

/* === Package cards: 10% shrink (scoped, non-destructive) === */
/* 1) Define sizing tokens used only by package cards */
:root {
  --pkg-scale: 1; /* default scale */
  --pkg-pad: 16px; /* base body padding */
  --pkg-gap: 12px; /* vertical spacing inside card body */
  --pkg-title: 1.125rem; /* card title font */
  --pkg-text: 0.98rem; /* body text */
}

/* 2) Scope: try common selectors used in this project.
   If your outer class differs, add it to the list.
   This avoids touching other .card components. */
.packages-grid .package-card,
.package-grid .package-card,
.ug-packages .package-card,
.package-card {
  --pkg-scale: 0.9; /* 10% smaller */
}

/* 3) Apply the scale only to typography and inner padding (not buttons/hover rows) */
.package-card .package-body,
.package-card .pkg-body {
  padding: calc(var(--pkg-pad) * var(--pkg-scale));
}

.package-card h3,
.package-card .pkg-title {
  font-size: calc(var(--pkg-title) * var(--pkg-scale));
  line-height: 1.2;
  margin-bottom: calc(var(--pkg-gap) * var(--pkg-scale));
}

.package-card .mini-points {
  font-size: calc(var(--pkg-text) * var(--pkg-scale));
}

/* Keep trusted row & buttons spacing the same by NOT scaling them */
.package-card .trust-row,
.package-card .actions,
.package-card .cta-row {
  font-size: 1rem; /* lock font-size so padding/spacing stays as before */
}

/* 4) Grid gaps slightly tighter to match the smaller cards */
.packages-grid,
.package-grid,
.ug-packages .packages-grid {
  row-gap: 18px;
  column-gap: 18px;
}

/* 5) Mobile tuning: a hair narrower without affecting layout */
@media (max-width: 639.98px) {
  .package-card {
    max-width: 92vw;
    margin-inline: auto;
  }
  .packages-grid,
  .package-grid,
  .ug-packages .packages-grid {
    row-gap: 16px;
    column-gap: 16px;
    padding-inline: 8px;
  }
}

/* (Optional but safe) Make sure the media stays full-bleed inside cards */
.package-card .package-media img,
.package-card .pkg-media img,
.package-card .media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* keeps full-bleed feel if a fixed container height is used */
}

/* === Shrink package cards globally by ~10% === */
/* Adjust selector if your card root is different */
.package-card,
.packages .card {
  zoom: 0.9; /* Chrome/Edge/Win */
}

/* Fallback for browsers without `zoom` (Firefox/Safari) */
@supports not (zoom: 1) {
  .package-card,
  .packages .card {
    transform: scale(0.9);
    transform-origin: top center; /* shrink from the top */
  }

  /* Give a little extra bottom space so scaled cards don't visually bump into the next row */
  .package-card,
  .packages .card {
    margin-bottom: 12px;
  }
}

a.logo,
.brand,
.site-logo {
  -webkit-tap-highlight-color: transparent; /* remove iOS tap halo */
}

/* Remove focus ring when it was triggered by mouse/touch */
a.logo:focus:not(:focus-visible),
.brand:focus:not(:focus-visible),
.site-logo:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Compact success message shown after lead form submits */
.form-success {
  display: inline-flex; /* size to content (no vertical stretch) */
  align-items: center;
  gap: 8px;
  width: min(100%, 640px); /* cap width; still responsive */
  height: auto !important; /* kill any inherited min/100% heights */
  margin: 12px auto 0; /* center in the column */
  padding: 12px 14px; /* slightly tighter than default */
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #86efac;
  align-self: flex-start; /* don’t stretch in flex parents */
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .form-success {
    width: 100%;
    margin-inline: 0;
  }
}

/* Fix phone code dropdown for new forms (contact, hotel, careers) without affecting lead form */
#contactForm .iti,
#hotelSearchForm .iti,
#careersForm .iti {
  width: 100%;
}

#contactForm .iti input,
#hotelSearchForm .iti input,
#careersForm .iti input {
  padding-left: 90px !important;
  width: 100% !important;
}

/* Ensure proper positioning for the country dropdown in new forms */
#contactForm .iti__flag-container,
#hotelSearchForm .iti__flag-container,
#careersForm .iti__flag-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 0 8px;
  border-right: 1px solid var(--border);
  background: #f8fafc;
  border-radius: 6px 0 0 6px;
  display: flex;
  align-items: center;
  z-index: 1;
}

#contactForm .iti__selected-flag,
#hotelSearchForm .iti__selected-flag,
#careersForm .iti__selected-flag {
  padding: 0 8px 0 0;
  background: transparent;
  height: 100%;
  display: flex;
  align-items: center;
}

#contactForm .iti__arrow,
#hotelSearchForm .iti__arrow,
#careersForm .iti__arrow {
  border-top: 4px solid #666;
  margin-left: 4px;
}

#contactForm .iti__country-list,
#hotelSearchForm .iti__country-list,
#careersForm .iti__country-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
}

#contactForm .iti__country,
#hotelSearchForm .iti__country,
#careersForm .iti__country {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

#contactForm .iti__country:hover,
#hotelSearchForm .iti__country:hover,
#careersForm .iti__country:hover {
  background: #f1f5f9;
}

#contactForm .iti__dial-code,
#hotelSearchForm .iti__dial-code,
#careersForm .iti__dial-code {
  color: var(--ink-500);
  margin-left: auto;
}

/* -------- Global safety for very small screens -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Avoid 100vw overflow on iOS; keep wrappers fluid */
header,
footer,
.pagebar,
.fullwidth,
[data-fullwidth] {
  width: 100%;
  max-width: 100%;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
li,
.badge,
.price-pill {
  overflow-wrap: anywhere;
}

/* Shared container padding that scales down */
/* --- Ultra-narrow phones: fix packages right-stagger (<=380px) --- */
@media (max-width: 380px) {
  /* Prevent any horizontal scrolling */
  html,
  body {
    overflow-x: hidden;
  }

  /* Keep padding symmetric and small to avoid drift */
  .container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  /* Scope to packages section only (match common wrappers) */
  .section-packages,
  .umrah-packages,
  #packages,
  .packages {
    overflow: hidden; /* clip tiny overflows */
  }

  /* Center the grid and force single column */
  .section-packages :is(.packages-grid, .grid, .cards, .list),
  .umrah-packages :is(.packages-grid, .grid, .cards, .list),
  #packages :is(.packages-grid, .grid, .cards, .list),
  .packages :is(.packages-grid, .grid, .cards, .list) {
    display: grid;
    grid-template-columns: 1fr !important;
    justify-items: center;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Ensure each card can’t be wider than the viewport */
  .section-packages :is(.package-card, .card, article),
  .umrah-packages :is(.package-card, .card, article),
  #packages :is(.package-card, .card, article),
  .packages :is(.package-card, .card, article) {
    width: 100%;
    max-width: 320px; /* fits Z Fold cover / small iPhones */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  /* Neutralize any negative row/gutter tricks inside packages */
  .section-packages :is(.row, .grid),
  .umrah-packages :is(.row, .grid),
  #packages :is(.row, .grid),
  .packages :is(.row, .grid) {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Slightly wider small phones (<=480px): keep centered and tidy */
@media (max-width: 480px) {
  .section-packages :is(.packages-grid, .grid, .cards, .list),
  .umrah-packages :is(.packages-grid, .grid, .cards, .list),
  #packages :is(.packages-grid, .grid, .cards, .list),
  .packages :is(.packages-grid, .grid, .cards, .list) {
    justify-items: center;
  }
}

html,
body {
  overflow-x: hidden;
}
.iti {
  max-width: 100%;
  box-sizing: border-box;
}
input,
select,
textarea {
  font-size: 16px; /* prevents iPhone zoom */
}
input[type="date"] {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  -webkit-appearance: none;
}
