/* =========================================================
   Mountain Voyage Morocco — "v1" design
   Palette:  bg #0C0B09 · gold #CDA45E · panel #1A1814 / #282520
   Fonts:    Open Sans (body) · Poppins (UI) · Playfair Display (accents)
   ========================================================= */

:root {
  --bg:        #0c0b09;
  --bg-alt:    #1a1814;
  --panel:     #282520;
  --panel-2:   #37332a;
  --gold:      #cda45e;
  --gold-soft: #d9ba85;
  --text:      #ffffff;
  --muted:     #aaaaaa;
  --muted-2:   #bab3a6;
  --line:      rgba(255, 255, 255, .12);

  --f-body:    "Open Sans", system-ui, sans-serif;
  --f-ui:      "Poppins", system-ui, sans-serif;
  --f-accent:  "Playfair Display", Georgia, serif;

  --topbar-h:  40px;
  --header-h:  76px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-soft); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { font-family: var(--f-ui); font-weight: 400; margin: 0 0 .6em; }

p { margin: 0 0 1em; }

::selection { background: var(--gold); color: #0c0b09; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Minimal grid (Bootstrap-compatible class names) ---------- */
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 20px; }

.row { display: flex; flex-wrap: wrap; margin-inline: -15px; }
/* Single-class specificity so the col-* widths below can win. */
[class*="col-"] { width: 100%; padding-inline: 15px; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.text-center { text-align: center; }
.position-relative { position: relative; }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
  .mt-md-0 { margin-top: 0; }
}

@media (min-width: 992px) {
  .col-lg-2 { width: 16.6667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-8 { width: 66.6667%; }
  .mt-lg-0 { margin-top: 0; }
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
}

@media (max-width: 991.98px) {
  .order-1 { order: 1; }
  .order-2 { order: 2; }
}

/* ---------- Sections ---------- */
section { padding: 90px 0; overflow: hidden; }
.section-bg { background: var(--bg-alt); }

.section-title { text-align: center; padding-bottom: 40px; }
.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  margin-bottom: 20px;
}
.section-title h2::after {
  content: "";
  width: 120px; height: 1px;
  display: block;
  background: var(--gold);
  margin: 6px auto 0;
}
.section-title p {
  margin: 0;
  font-family: var(--f-accent);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-intro {
  max-width: 760px;
  margin: -10px auto 45px;
  text-align: center;
  color: var(--muted-2);
  font-size: 16px;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .5s, visibility .5s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 46px; height: 46px;
  border: 3px solid rgba(205, 164, 94, .25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Top bar ---------- */
#topbar {
  position: fixed; inset: 0 0 auto 0;
  height: var(--topbar-h);
  z-index: 999;
  background: var(--bg);
  font-size: 13px;
  transition: top .3s;
}
#topbar.topbar-scrolled { top: calc(var(--topbar-h) * -1); }
#topbar .contact-info i { color: var(--gold); margin-right: 8px; }
#topbar .contact-info i:nth-child(3) { margin-left: 24px; }
#topbar .contact-info a, #topbar .contact-info span { color: var(--text); }
#topbar .contact-info a { min-height: 26px; display: inline-flex; align-items: center; }
#topbar .languages ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
#topbar .languages li + li { border-left: 1px solid var(--line); padding-left: 12px; }
#topbar .languages .active { color: var(--gold); }
#topbar .languages a { min-height: 26px; display: inline-flex; align-items: center; }

/* ---------- Header ---------- */
#header {
  position: fixed; inset: var(--topbar-h) 0 auto 0;
  height: var(--header-h);
  z-index: 998;
  background: rgba(12, 11, 9, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: top .3s, background .3s, border-color .3s;
}
#header.header-scrolled { top: 0; background: rgba(12, 11, 9, .97); border-bottom-color: var(--line); }

/* ---- Transparent variant used on the home page, over the hero ---- */
#topbar.topbar-over { background: transparent; }
#topbar.topbar-over .contact-info a,
#topbar.topbar-over .contact-info span { color: rgba(255, 255, 255, .88); }

#header.header-over { background: transparent; backdrop-filter: none; }
/* Once scrolled past the hero it turns solid so the menu stays readable. */
#header.header-over.header-scrolled {
  background: rgba(12, 11, 9, .97);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

/* Three columns so the nav is optically centred regardless of logo width. */
.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.header-grid .navbar { justify-self: center; }
.header-grid .nav-cta { justify-self: end; }

/* ---- Nav dropdown (Our Trips) ---- */
.navbar > ul > li.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link i { font-size: 11px; margin-left: 3px; }
.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: rgba(12, 11, 9, .98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s;
  z-index: 999;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: var(--f-ui);
  font-size: 14px;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.dropdown-menu a:hover { color: var(--gold); background: rgba(255, 255, 255, .04); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: color .3s, gap .3s;
}
.nav-cta:hover { color: var(--gold); gap: 16px; }

.header-over .navbar .nav-link {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.3px;
  color: rgba(255, 255, 255, .82);
}
.header-over .navbar .nav-link:hover,
.header-over .navbar .nav-link.active { color: #fff; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo img { max-height: 46px; width: auto; }

/* ---------- Navigation ---------- */
.navbar > ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.navbar .nav-link {
  display: block;
  padding: 10px 12px;
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
  position: relative;
}
.navbar .nav-link::before {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--text); }
.navbar .nav-link:hover::before, .navbar .nav-link.active::before { transform: scaleX(1); }

.book-a-table-btn {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .6px;
  padding: 9px 22px;
  border-radius: 50px;
  border: 2px solid var(--gold);
  color: var(--text);
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.book-a-table-btn:hover { background: var(--gold); color: #0c0b09; }

.mobile-nav-toggle { display: none; font-size: 28px; color: var(--text); cursor: pointer; }

@media (max-width: 1199px) {
  .navbar > ul { gap: 0; }
  .navbar .nav-link { padding: 10px 8px; font-size: 12px; }
}

@media (max-width: 991px) {
  .book-a-table-btn,
  .nav-cta { display: none; }
  .mobile-nav-toggle { display: block; }
  /* The 3-column grid collapses to logo | burger once the nav is a drawer. */
  .header-grid { grid-template-columns: auto 1fr; }
  /* Burger/menu pinned to the right on mobile, not centred. */
  .header-grid .navbar { justify-self: end; text-align: right; }
  /* backdrop-filter would make #header a containing block for the fixed
     drawer below, trapping it inside the header's box. Kill it in EVERY
     state (incl. header-over.header-scrolled) so the drawer stays viewport-fixed. */
  #header,
  #header.header-over,
  #header.header-scrolled,
  #header.header-over.header-scrolled { backdrop-filter: none; }
  /* Over the hero video the header stays transparent on mobile too;
     it only turns solid once the page is scrolled past the hero. */
  #header.header-over { background: transparent; }
  #header.header-scrolled,
  #header.header-over.header-scrolled { background: rgba(12, 11, 9, .97); }
  .navbar > ul {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 80vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 30px;
    background: var(--bg-alt);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 9997;
  }
  .navbar.navbar-mobile > ul { transform: translateX(0); }
  .navbar .nav-link { font-size: 15px; padding: 12px 10px; }
  .mobile-nav-toggle { position: relative; z-index: 9998; }
  /* Dropdown flattens into an indented list inside the drawer */
  .dropdown-menu {
    position: static; transform: none;
    opacity: 1; visibility: visible;
    min-width: 0; padding: 0 0 6px 16px;
    background: transparent; border: 0; box-shadow: none;
  }
  .dropdown-menu a { padding: 8px 10px; }
  .nav-dropdown > .nav-link i { display: none; }
}

@media (max-width: 767px) {
  #topbar .contact-info i:nth-child(3),
  #topbar .contact-info span { display: none; }
}

/* =========================================================
   HERO — editorial, video background, white type
   ========================================================= */
/* Full-height hero with the content centred. The padding is symmetric so the
   block lands on the true optical centre rather than being pushed down by a
   heavier top padding; it also guarantees clearance under the fixed header
   on short screens. */
#hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  /* The extra top value sits ONLY on top, which nudges the centred block a
     little below the true centre and opens up breathing room under the
     header. Half the extra is the actual downward shift. */
  padding: calc(var(--topbar-h) + var(--header-h) + 24px + clamp(30px, 6vh, 96px)) 0
           calc(var(--topbar-h) + var(--header-h) + 24px);
  overflow: hidden;
  isolation: isolate;
}

/* ---- Background layers ---- */
.hero-media { position: absolute; inset: 0; z-index: -1; }

.hero-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Self-hosted <video> covering the hero. The clip is the real 2.37:1 footage,
   so object-fit:cover is all it takes — no letterbox trick needed. */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;     /* the hero stays clickable, not the video */
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 9, .72) 0%, rgba(12, 11, 9, .34) 32%, rgba(12, 11, 9, .88) 100%),
    linear-gradient(90deg, rgba(12, 11, 9, .62) 0%, rgba(12, 11, 9, 0) 62%);
}

/* ---- Content, centred ---- */
.hero-inner {
  position: relative;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

#hero h1 {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: clamp(38px, 7.4vw, 86px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -1px;
  color: #fff;
  margin: 0 0 24px;
}
#hero h1 em {
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 46ch;
  margin: 0 auto 34px;
  font-family: "Instrument Sans", var(--f-body), sans-serif;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .82);
}

/* Underlined link with arrow, rather than a pill button. */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .45);
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  transition: border-color .3s, gap .3s, color .3s;
}
.hero-cta:hover { color: var(--gold); border-bottom-color: var(--gold); gap: 20px; }

@media (max-width: 767px) {
  #hero { min-height: 100svh; }
  .hero-inner { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* ---------- About ---------- */
.about-row { align-items: center; }
.about-content { padding-left: 12px; }

.about-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}
.about-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
/* Beat `.about-content p` (muted) so the eyebrow stays white like the others */
.about-content .about-eyebrow { color: #fff; }

.about-content h3 {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.5px;
  margin-bottom: 24px;
  color: #fff;
}
.about-content h3 em {
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.lead-serif { font-size: 16px; color: var(--muted-2); }
.about-content p { color: var(--muted); margin-bottom: 16px; }
.about-list { list-style: none; margin: 26px 0; padding: 0; }
.about-list li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--muted-2); }
.about-list i { color: var(--gold); font-size: 18px; flex: none; margin-top: 4px; }

.about-learn-more {
  display: inline-block;
  margin-top: 8px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(205, 164, 94, .45);
  transition: color .3s, border-color .3s;
}
.about-learn-more span { display: inline-block; margin-left: 8px; transition: transform .3s; }
.about-learn-more:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.about-learn-more:hover span { transform: translateX(5px); }

/* ---------- About band (full-width image) ---------- */
.about-band {
  position: relative;
  padding: 48px 0;
  background-image: url("../img/about_cover2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,11,9,.82) 0%, rgba(12,11,9,.74) 50%, rgba(12,11,9,.86) 100%);
}
.about-band .container { position: relative; z-index: 1; text-align: center; }

.about-band-eyebrow {
  margin: 0 0 18px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}
.about-band-title {
  margin: 0 auto 24px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.5px;
  color: #fff;
}
.about-band-text {
  max-width: 760px;
  margin: 0 auto;
}
.about-band-text p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .82);
}
.about-band-text p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .about-band { padding: 55px 0; }
}

.img-stack { position: relative; padding: 0 0 60px 0; }
.img-stack .img-main { width: 100%; border-radius: 4px; object-fit: cover; aspect-ratio: 7 / 8; }
.img-stack .img-float {
  position: absolute;
  right: -10px; bottom: 0;
  width: 45%;
  border: 8px solid var(--bg);
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 1;
}
.years-badge {
  position: absolute;
  left: -12px; bottom: 40px;
  background: var(--gold);
  color: #0c0b09;
  padding: 16px 22px;
  border-radius: 4px;
  text-align: center;
  font-family: var(--f-ui);
  line-height: 1.1;
}
.years-badge strong { display: block; font-size: 38px; font-weight: 700; }
.years-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 991px) {
  .about-images { margin-bottom: 45px; }
  .years-badge { left: 10px; }
}

/* ---------- Why us ---------- */
.why-us { background: var(--bg); }

.why-head { text-align: center; max-width: 720px; margin: 0 auto 58px; }
.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}
.why-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.why-title {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.5px;
  color: #fff;
  margin: 0 0 18px;
}
.why-title em {
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.why-sub { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted-2); }

.why-card {
  position: relative;
  height: 100%;
  padding: 46px 34px 40px;
  background: transparent;
  border: 1px solid rgba(205, 164, 94, .16);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .45s, box-shadow .45s, background .45s;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 48px; height: 3px;
  background: var(--gold);
  transition: width .5s cubic-bezier(.2,.7,.2,1);
}
.why-num {
  position: absolute;
  top: 6px; right: 24px;
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-size: 92px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(205, 164, 94, .22);
  pointer-events: none;
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.why-card-body { position: relative; margin-top: 34px; }
.why-card h4 {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  margin: 0 0 14px;
}
.why-card p { margin: 0; color: var(--muted); line-height: 1.78; }

.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(205, 164, 94, .5);
  box-shadow: 0 26px 55px -26px rgba(0, 0, 0, .85);
  background: linear-gradient(158deg, rgba(205,164,94,.09) 0%, rgba(255,255,255,.015) 60%, rgba(255,255,255,0) 100%);
}
.why-card:hover::before { width: 100%; }
.why-card:hover .why-num { color: rgba(205, 164, 94, .07); -webkit-text-stroke-color: rgba(205, 164, 94, .42); }

/* ---------- Services ---------- */
.services .icon-box {
  height: 100%;
  padding: 34px 30px;
  background: var(--bg);
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color .3s, transform .3s;
}
.services .icon-box:hover { border-color: var(--gold); transform: translateY(-5px); }
.services .icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(205, 164, 94, .12);
  color: var(--gold);
  font-size: 24px;
  margin-bottom: 20px;
}
.services .icon-box h4 { font-size: 19px; font-weight: 500; margin-bottom: 10px; }
.services .icon-box h4 a { color: var(--text); }
.services .icon-box:hover h4 a { color: var(--gold); }
.services .icon-box p { color: var(--muted); margin: 0; font-size: 14.5px; }

/* ---------- Destinations ---------- */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dest-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  min-height: 260px;
  display: flex;
}
.dest-card.dest-lg { grid-column: span 2; grid-row: span 2; }
.dest-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.dest-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, .1) 30%, rgba(12, 11, 9, .92) 100%);
  transition: background .4s;
}
.dest-card:hover img { transform: scale(1.07); }
.dest-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 26px 24px;
}
.dest-body h4 {
  font-family: var(--f-accent);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}
.dest-body h4::after {
  content: "";
  display: block;
  width: 40px; height: 2px;
  background: var(--gold);
  margin-top: 10px;
}
.dest-body p {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
}
.dest-card:hover .dest-body p { max-height: 120px; opacity: 1; }
.dest-lg .dest-body h4 { font-size: 34px; }

@media (max-width: 991px) {
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-card.dest-lg { grid-column: span 2; grid-row: auto; min-height: 300px; }
}
@media (max-width: 575px) {
  .destinations-grid { grid-template-columns: 1fr; }
  .dest-card.dest-lg { grid-column: auto; }
  .dest-body p { max-height: 120px; opacity: 1; }
}

/* ---------- Discover Morocco (services-style split) ---------- */
.jservices { padding: 0; background: var(--bg); }
.js-text { max-width: 520px; }
.js-text p { margin: 0 0 18px; color: var(--muted); line-height: 1.85; font-size: 16px; }
.js-text .about-learn-more { margin-top: 8px; }
.jservices-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.jservices-content {
  padding: 90px clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.js-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #fff;
}
.js-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.js-title {
  margin: 0 0 40px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.5px;
  color: #fff;
}
.js-title em {
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-weight: 400;
}

.js-list { list-style: none; margin: 0; padding: 0; }
.js-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.js-item:first-child { border-top: 0; padding-top: 0; }
.js-num {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  color: var(--gold);
  padding-top: 6px;
  flex: none;
  min-width: 22px;
}
.js-body { flex: 1; }
.js-body h4 {
  margin: 0 0 10px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 21px;
  font-weight: 500;
  color: #fff;
}
.js-body p { margin: 0; color: var(--muted); line-height: 1.7; }
.js-arrow {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
  transition: background .3s, border-color .3s, color .3s, transform .3s;
}
.js-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0c0b09;
  transform: translateX(3px);
}

.jservices-media { position: relative; overflow: hidden; min-height: 100%; }
.jservices-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Self-hosted <video> covering the column — real 2.37:1 footage, so
   object-fit:cover is enough. Sits over the poster <img> below it. */
.jvideo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 991px) {
  .jservices-inner { grid-template-columns: 1fr; }
  .jservices-content { padding: 64px 24px; order: 2; }
  .jservices-media { order: 1; min-height: 320px; }
}

/* ---------- Quotes (Testimonials style) ---------- */
.quotes { position: relative; overflow: hidden; }
.quotes-bg {
  position: absolute;
  inset: 0;
  background: url("../img/about-bg.jpg") center/cover no-repeat;
}
.quotes-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,11,9,.86) 0%, rgba(12,11,9,.8) 45%, rgba(12,11,9,.9) 100%);
}
.quotes .container { position: relative; z-index: 1; }

.quotes-head { text-align: center; margin-bottom: 40px; }
.quotes-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
}
.quotes-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.quotes-title {
  margin: 0;
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.5px;
  color: #fff;
}
.quotes-title em {
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.quotes-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.quotes-panels { position: relative; flex: 1; max-width: 900px; min-height: 420px; }
.quote-panel {
  display: none;
  text-align: center;
  padding: 10px 12px;
}
.quote-panel.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn .55s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* Order: portrait first, then the quote, then the name */
.quote-panel .q-avatar   { order: 1; }
.quote-panel .q-mark     { order: 2; }
.quote-panel blockquote  { order: 3; }
.quote-panel figcaption  { order: 4; }
.quote-panel .q-mark {
  display: block;
  font-size: 48px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 22px;
}
.quote-panel blockquote {
  margin: 0 auto 40px;
  max-width: 760px;
  font-family: "Instrument Serif", var(--f-accent), serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.5;
  color: #fff;
}
.q-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  display: block;
  border: 2px solid rgba(205, 164, 94, .55);
}
.quote-panel figcaption { display: flex; flex-direction: column; gap: 6px; }
.q-name {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.q-role {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.q-arrow {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.q-arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(205, 164, 94, .1); }

.quotes-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.q-dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.q-dot:hover { background: rgba(255, 255, 255, .55); }
.q-dot.active { background: var(--gold); transform: scale(1.25); }

@media (max-width: 767px) {
  .quotes-slider { gap: 4px; }
  .q-arrow { width: 38px; height: 38px; font-size: 18px; }
  .quotes-panels { min-height: 460px; }
}

/* ---------- Trips ---------- */
.trip-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
  position: relative;
}
.trip-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.trip-img { position: relative; aspect-ratio: 7 / 5; overflow: hidden; }
.trip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.trip-card:hover .trip-img img { transform: scale(1.06); }
.trip-days {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gold);
  color: #0c0b09;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
  padding: 4px 14px;
  border-radius: 50px;
}
.trip-body { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.trip-body h4 { font-family: var(--f-accent); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.trip-body h4 a { color: var(--text); }
.trip-body h4 a::after { content: ""; position: absolute; inset: 0; }
.trip-card:hover h4 a { color: var(--gold); }
.trip-route {
  font-size: 12.5px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.trip-summary { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.trip-itinerary { list-style: none; margin: 0 0 22px; padding: 0; }
.trip-itinerary li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.trip-itinerary li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.trip-itinerary strong { color: var(--text); font-weight: 600; }
.trip-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.trip-price { font-size: 13px; color: var(--muted); }
.trip-price strong { font-family: var(--f-ui); font-size: 20px; color: var(--text); font-weight: 500; }
.btn-book-now {
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .5px;
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--gold);
  color: #0c0b09;
  transition: background .3s;
}
.btn-book-now:hover { background: var(--gold-soft); color: #0c0b09; }

/* ---------- Forms ---------- */
.form-control,
.booking-form textarea,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid transparent;
  border-radius: 3px;
  outline: none;
  transition: border-color .3s;
}
.form-control::placeholder { color: #8f8a7f; }
.form-control:focus { border-color: var(--gold); }
select.form-control option { background: var(--panel); color: var(--text); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8); cursor: pointer; }

.booking-form button,
.contact-form button {
  margin-top: 22px;
  font-family: var(--f-ui);
  font-size: 14px;
  letter-spacing: .6px;
  padding: 12px 42px;
  border: 0;
  border-radius: 50px;
  background: var(--gold);
  color: #0c0b09;
  cursor: pointer;
  transition: background .3s;
}
.booking-form button:hover,
.contact-form button:hover { background: var(--gold-soft); }

.form-status { text-align: center; }
.form-status .loading,
.form-status .error-message,
.form-status .sent-message { display: none; padding: 12px 15px; border-radius: 3px; font-size: 14px; }
.form-status .loading { background: var(--panel); color: var(--muted-2); }
.form-status .error-message { background: #b93b2f; color: #fff; }
.form-status .sent-message { background: #1f7a4d; color: #fff; }
.form-status.loading-on .loading { display: block; }
.form-status.error-on .error-message { display: block; }
.form-status.sent-on .sent-message { display: block; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 3px;
  border: 3px solid var(--panel);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item::after {
  content: "\F52A";
  font-family: "bootstrap-icons";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 30px;
  color: var(--gold);
  background: rgba(12, 11, 9, .6);
  opacity: 0;
  transition: opacity .35s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }

@media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed; inset: 0;
  z-index: 9998;
  display: none;
  place-items: center;
  background: rgba(12, 11, 9, .95);
  padding: 40px;
}
#lightbox.open { display: grid; }
#lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; object-fit: contain; border-radius: 3px; }
#lightbox button {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  transition: color .3s;
}
#lightbox button:hover { color: var(--gold); }
.lb-close { top: 22px; right: 30px; font-size: 40px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 32px; padding: 20px; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* ---------- Blog ---------- */
.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
}
.post-card > img { aspect-ratio: 7 / 4.5; object-fit: cover; width: 100%; transition: transform .5s; }
.post-card:hover > img { transform: scale(1.04); }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--gold);
}
.post-body h4 { font-size: 19px; font-weight: 500; line-height: 1.45; margin: 10px 0 10px; }
.post-body h4 a { color: var(--text); }
.post-body h4 a:hover { color: var(--gold); }
.post-body p { color: var(--muted); font-size: 14.5px; }
/* min-height keeps the tap target at the 24px WCAG 2.5.8 minimum. */
.post-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .5px;
}
.post-more i { transition: transform .3s; display: inline-block; }
.post-more:hover i { transform: translateX(5px); }

/* ---------- Contact ---------- */
/* Per-trip booking form on tour pages */
.tour-booking .booking-form { max-width: 840px; margin: 0 auto; }

/* Contact page: 2×2 info cards beside the form, matched heights */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-cards .info-box {
  height: 100%;
  margin: 0;
  padding: 26px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.contact-form-wrap { display: flex; }
.contact-form-wrap .contact-form { width: 100%; }
@media (max-width: 991px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .contact-cards { grid-template-columns: 1fr; } }

.map-wrap { margin-top: 10px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

.info-box {
  padding: 26px 30px;
  background: var(--bg-alt);
  border-radius: 4px;
  text-align: center;
}
.info-box i { font-size: 30px; color: var(--gold); }
.info-box h3 {
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 12px 0 8px;
}
.info-box p { margin: 0; color: var(--muted); font-size: 14px; }
.info-box a { color: var(--muted); display: inline-block; padding-block: 3px; }
.info-box a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
#footer { background: #0a0908; font-size: 14px; }
.footer-top { padding: 60px 0 30px; border-top: 1px solid var(--line); }
.footer-info img { max-height: 48px; width: auto; margin-bottom: 14px; }
.footer-info p, .footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold); }

.social-links { display: flex; gap: 8px; }
.social-links a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  transition: background .3s, color .3s;
}
.social-links a:hover { background: var(--gold); color: #0c0b09; }

#footer h4 {
  font-family: var(--f-ui);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-bottom: 10px;
  margin-bottom: 16px;
  position: relative;
}
#footer h4::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { display: flex; align-items: baseline; gap: 6px; }
.footer-links i { color: var(--gold); font-size: 12px; }
.footer-links a { display: inline-block; padding-block: 6px; }

.partners span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6f6a60;
  margin-bottom: 10px;
}
.partner-logos { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.partner-logos img { height: 38px; width: auto; opacity: .65; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.partner-logos img:hover { opacity: 1; filter: none; }

.footer-bottom {
  padding: 22px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.copyright { color: var(--muted); }
.copyright strong { color: var(--text); font-weight: 600; }
.credits { color: #6f6a60; font-size: 13px; }

@media (max-width: 991px) {
  .footer-top .col-lg-2, .footer-top .col-lg-3, .footer-top .col-lg-4 { margin-bottom: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 996;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 4px;
  background: var(--gold);
  color: #0c0b09;
  font-size: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, background .3s;
}
.back-to-top.active { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold-soft); color: #0c0b09; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   TOUR DETAIL PAGE — same design language, new page type
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--topbar-h) + var(--header-h) + 40px) 0 60px;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 11, 9, .6) 0%, rgba(12, 11, 9, .55) 40%, rgba(12, 11, 9, .95) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted-2); }
.crumbs a:hover { color: var(--gold); }
.page-hero h1 {
  font-family: var(--f-accent);
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero .trip-route { margin: 0; }
/* New-style page-hero title (Instrument Sans + gold serif-italic accent) */
.page-hero .why-eyebrow { margin-bottom: 14px; }
.page-hero h1.page-hero-title { font-family: "Instrument Sans", var(--f-ui), sans-serif; font-weight: 400; letter-spacing: -.5px; }
.page-hero h1.page-hero-title em { font-family: "Instrument Serif", var(--f-accent), serif; font-style: italic; font-weight: 400; color: var(--gold); }

/* Single blog article */
.post-single .post-article { max-width: 760px; margin: 0 auto; }
.post-lead { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 34px; }
.post-article .lead-serif { font-size: 18px; color: var(--muted-2); margin-bottom: 20px; }
.post-article p { color: var(--muted); line-height: 1.85; margin: 0 0 18px; }
.post-article h3 {
  font-family: "Instrument Sans", var(--f-ui), sans-serif;
  font-size: 24px; font-weight: 500; color: #fff; margin: 32px 0 12px;
}
.post-article em { font-style: italic; color: var(--gold); }
.post-article .post-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--gold); font-family: var(--f-ui); }
.post-article .post-more:hover { color: var(--gold-soft); }
.post-cta {
  margin: 34px 0 8px;
  padding: 26px 28px;
  border: 1px solid rgba(205, 164, 94, .22);
  border-radius: 12px;
  background: linear-gradient(158deg, rgba(205,164,94,.06), rgba(255,255,255,0));
}
.post-cta p { margin: 0 0 14px; color: #fff; font-size: 17px; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { background: var(--bg); padding: 22px 18px; text-align: center; }
.fact span {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.fact strong {
  display: block;
  margin-top: 5px;
  font-family: var(--f-accent);
  font-size: 21px;
  font-weight: 700;
}

.tour-layout { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 992px) {
  .tour-layout { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
}

.tour-block { margin-bottom: 46px; }
.tour-block h3 {
  font-family: var(--f-accent);
  font-size: 26px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tour-block p { color: var(--muted); }

.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li, .crosses li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: var(--muted-2);
}
.ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--gold); }
.crosses li::before { content: "\F62A"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--muted); }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  position: relative;
  padding-left: 32px;
  padding-bottom: 30px;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: "";
  position: absolute; left: -6px; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
}
.tl-day {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.timeline h4 { font-family: var(--f-accent); font-size: 22px; font-weight: 700; margin: 4px 0 8px; }
.timeline p { color: var(--muted); margin: 0; }

.aside-box {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 30px 26px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}
.aside-box .label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.aside-box .price {
  font-family: var(--f-accent);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin: 6px 0 2px;
}
.aside-box .per { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.aside-box .btn-book-now { display: block; width: 100%; padding: 13px 0; }
.aside-contact { margin-top: 18px; font-size: 14px; color: var(--muted); }
.aside-contact a { display: inline-block; padding-block: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}



/* ---------- Page Itineraries : cartes de documents ---------- */
.doc-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s, border-color .35s;
}
.doc-card:hover { transform: translateY(-5px); border-color: var(--gold); }

.doc-media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.doc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.doc-card:hover .doc-media img { transform: scale(1.05); }
.doc-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(12, 11, 9, .85);
  color: var(--gold);
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.doc-body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 24px; }
.doc-body h3 { font-family: var(--f-accent); font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.doc-route {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.doc-desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.doc-meta {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0 0 22px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}
.doc-meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
}
.doc-meta i { color: var(--gold); font-size: 14px; }

.doc-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-doc, .btn-doc-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 50px;
  font-family: var(--f-ui);
  font-size: 13px;
  letter-spacing: .5px;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-doc { background: var(--gold); color: #0c0b09; border: 1px solid var(--gold); }
.btn-doc:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: #0c0b09; }
.btn-doc-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-doc-ghost:hover { border-color: var(--gold); color: var(--gold); }

.doc-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 22px 26px;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
}
.doc-note i { color: var(--gold); font-size: 20px; flex: none; margin-top: 2px; }
.doc-note p { margin: 0; color: var(--muted-2); font-size: 14.5px; }

@media (max-width: 575px) {
  .doc-actions { flex-direction: column; }
  .btn-doc, .btn-doc-ghost { width: 100%; }
}

/* ---------- Itinerary detail : intro + day photos in the timeline ---------- */
.itin-intro { margin-bottom: 46px; }
.itin-intro .lead-serif { font-size: 19px; color: var(--muted-2); margin-bottom: 18px; }
.itin-intro p { color: var(--muted); }
.itin-figure {
  position: relative;
  margin: 0 0 30px;
  border-radius: 14px;
  overflow: hidden;
}
.itin-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.itin-map {
  display: block;
  width: 190px;
  max-width: 42%;
  margin: 6px 0 26px auto;
  border-radius: 10px;
  border: 1px solid var(--line);
}

/* Photos attached to a day in the vertical timeline */
.tl-media {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  grid-template-columns: 1fr;
}
.tl-media.two   { grid-template-columns: 1fr 1fr; }
.tl-media.three { grid-template-columns: 1fr 1fr 1fr; }
.tl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  display: block;
}
.tl-media.one img { aspect-ratio: 16 / 9; }
@media (max-width: 640px) {
  .tl-media.two, .tl-media.three { grid-template-columns: 1fr; }
}

/* Compact inclusions list inside the sticky aside */
.aside-box .aside-title {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.aside-includes { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.aside-includes li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 13.5px;
  color: var(--muted-2);
  line-height: 1.5;
}
.aside-includes li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 1px;
  color: var(--gold);
}
