
:root {

  --navy: #043042;

  --cerise: #ed1858;

  --grey: #a8a8a8;

  --maroon: #3d0020;

  --pink: #ff93ac;

  --off-white: #faf8f5;

  --white: #ffffff;

  --body: #2a2a2a;

}

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

html { scroll-behavior: smooth; }

body {

  font-family: 'Source Sans 3', sans-serif;

  background: var(--off-white);

  color: var(--body);

  -webkit-font-smoothing: antialiased;

}

a { text-decoration: none; color: inherit; }

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



/* â”€â”€ TEXTURE BACKGROUND â”€â”€ */

body::before {

  content: '';

  position: fixed;

  inset: 0;

  background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);

  background-size: 24px 24px;

  pointer-events: none;

  z-index: 0;

}



/* â”€â”€ NAV â”€â”€ */

.nav {

  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;

  background: var(--navy);

  height: var(--nav-height);

  display: flex; align-items: center; justify-content: space-between;

  padding: 0 48px;

  border-bottom: 1px solid rgba(255,255,255,0.07);

}

.nav-logo {

  display: flex; align-items: center;

}

.nav-links {

  display: flex; align-items: center; gap: 40px;

}

.nav-links a {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 700; letter-spacing: 0.5px;

  text-transform: uppercase; color: rgba(255,255,255,0.75);

  transition: color 0.2s;

}

.nav-links a:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-signin {

  padding: 8px 20px;

  border: 1px solid rgba(255,255,255,0.3);

  color: rgba(255,255,255,0.8);

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 400;

  background: none; cursor: pointer;

  border-radius: 0; transition: all 0.2s;

}

.btn-signin:hover { border-color: #fff; color: #fff; }

.btn-subscribe {

  padding: 8px 20px;

  background: var(--cerise);

  color: #fff;

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 700;

  letter-spacing: 0.5px; text-transform: uppercase;

  border: none; cursor: pointer;

  border-radius: 0; transition: background 0.2s;

}

.btn-subscribe:hover { background: #c4144e; }



/* â”€â”€ HERO â”€â”€ */

.hero {

  position: relative;

  min-height: 100vh;

  display: flex; align-items: center;

  overflow: hidden;

  background: var(--navy);

  padding-top: 120px;

  padding-bottom: 100px;

}

.hero-slides {

  position: absolute; inset: 0;

}

.hero-slide {

  position: absolute; inset: 0;

  background: center/cover no-repeat;

  opacity: 0;

  transition: opacity 2s ease-in-out;

}

.hero-slide.active { opacity: 1; }
/* Previous / next arrows: phones only (the 768px block below). */
.hero-arrow { display: none; }

/* Each slide sets --slide-img (the full photo) and, when one exists,
   WordPress's 1536px copy in --slide-img-sm (template-parts/home-content.php).
   A browser downloads only the image it actually shows.
   The photo is drawn on the slide's own ::before layer, so it can zoom while the photo
   credit, a child of the slide, stays where it is. */
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: center/cover no-repeat;
  background-image: var(--slide-img);
}

@media (max-width: 768px) {
  /* The landscape band (max 300px tall, see the 768px block below): the
     1536px copy is sharper than the band needs, at a fraction of the bytes. */
  .hero-slide::before { background-image: var(--slide-img-sm, var(--slide-img)); }
}

/* A slow zoom on each photo while it is on screen, with no pointer needed, so phones and
   tablets get it too. The client asked for the hero zoom back (24 Nov 2026, 16:53: "Please
   let's reinstate the zoom function for the hero banners too"); it was a hover zoom, and it
   became automatic the same evening (agency decision, so that the effect does not depend
   on a pointer).
   A photo is on screen for about 8s: shown for 6s (setInterval in home.js), then a 2s
   crossfade (.hero-slide above). It grows from 100% to 106% over those 8s. home.js keeps
   .leaving on the outgoing slide during its fade-out, so it goes on zooming as it fades
   instead of jumping back; just after the fade .leaving is dropped and it returns to
   100% unseen, ready for its next turn. Swapping .active for .leaving keeps the same
   animation name, so the running animation carries on rather than restarting.
   Off where the device asks for reduced motion: the photos then stay still. */
@keyframes jt-hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.active::before,
  .hero-slide.leaving::before { animation: jt-hero-zoom 8s linear forwards; }
}

.hero-dots {

  position: absolute; bottom: 140px; left: 50%;

  transform: translateX(-50%);

  z-index: 10;

  display: flex; gap: 10px; align-items: center;

}

.hero-dot {

  width: 8px; height: 8px; border-radius: 50%;

  background: rgba(255,255,255,0.4);

  border: none; cursor: pointer; padding: 0;

  transition: background 0.3s, transform 0.3s;

}

.hero-dot.active {

  background: var(--cerise);

  transform: scale(1.3);

}

@property --mask-opacity {

  syntax: '<number>';

  inherits: false;

  initial-value: 0.92;

}

.hero-overlay {

  position: absolute; inset: 0; z-index: 1;

  background: linear-gradient(90deg,

    rgba(0,0,0,var(--mask-opacity)) 0%,

    rgba(0,0,0,0.4) 55%,

    transparent 100%);

  transition: --mask-opacity 0.8s ease;

}

.hero-content-top {

  position: absolute;

  top: 200px;

  left: 48px;

  z-index: 2;

  max-width: 960px;

}

/* The buttons follow the subtitle inside .hero-content-top (client, 24 Nov 2026, points 6
   and 11: they sat pinned near the foot of the hero, far below the text; the tour pages put
   them straight under it). They used to be their own block, absolute at bottom: 200px. */

.hero-badge {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: rgba(0,0,0,0.11);

  border: 1px solid #ffffff;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;

  font-size: 13px;

  font-weight: 300;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  padding: 6px 14px;

  border-radius: 2px;

  margin-bottom: 24px;

}

.hero h1 {

  font-family: 'Playfair Display', serif;

  font-size: 68px; font-weight: 900;

  color: #fff; line-height: 1.0;

  letter-spacing: -2px; margin-bottom: 20px;

}

.hero h1 em {

  font-style: italic; color: var(--cerise);

}

.hero-logo-inline {

  height: 80px;

  width: auto;

  display: inline-block;

  vertical-align: middle;

  margin-top: 5px;

}

.hero-sub {

  font-family: 'Source Sans 3', sans-serif;

  font-size: 24px;

  font-weight: 400;

  color: rgba(255,255,255,1);

  line-height: 1.3;

  white-space: normal;

  max-width: 900px;

  width: 100%;

  margin-bottom: 40px;

}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {

  display: inline-flex; align-items: center; gap: 12px;

  padding: 14px 28px;

  background: var(--cerise); color: #fff;

  font-family: 'Montserrat', sans-serif;

  font-size: 16px; font-weight: 700;

  letter-spacing: 0; text-transform: none;

  border: none; cursor: pointer; border-radius: 0;

  transition: background 0.2s;

}

.btn-primary:hover { background: #c4144e; }


.btn-outline {

  display: inline-flex; align-items: center; gap: 8px;

  padding: 14px 28px;

  background: transparent;

  border: 1px solid #ffffff;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;

  font-size: 16px; font-weight: 700;

  letter-spacing: 0; text-transform: none;

  cursor: pointer; border-radius: 0;

  opacity: 1;

  backdrop-filter: blur(7px) brightness(1);

  -webkit-backdrop-filter: blur(7px) brightness(1);

  transition: all 0.2s;

}

.btn-outline:hover { background: rgba(255,255,255,0.1); }



/* â”€â”€ SCROLL HINT â”€â”€ */

.scroll-hint {

  position: absolute;

  right: 48px;

  bottom: 150px;

  z-index: 10;

  opacity: 0.7;

  animation: scrollBounce 1.8s ease-in-out infinite;

}

.scroll-hint:hover { opacity: 1; cursor: pointer; }

@keyframes scrollBounce {

  0%, 100% { transform: translateY(0); }

  50%       { transform: translateY(8px); }

}



/* â”€â”€ STATS BAR â”€â”€ */

.stats-bar {

  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;

  background: rgba(0,0,0,0.35);

  backdrop-filter: blur(6px);

  -webkit-backdrop-filter: blur(6px);

  padding: 0;

  height: 120px;

  display: flex;

  align-items: stretch;

  border-top: 1px solid rgba(255,255,255,0.3);

}

.stat-item {

  flex: 1;

  display: flex; flex-direction: row;

  align-items: center; justify-content: center;

  gap: 12px;

  padding: 0;

  border-right: 1px solid rgba(255,255,255,0.3);

}

.stat-item:last-child { border-right: none; }

.stat-num {

  font-family: 'Playfair Display', serif;

  font-size: 48px; font-weight: 700; color: #ED1858;

  line-height: 1; margin-bottom: 7px;

}

.stat-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 16px; font-weight: 300;

  color: #ffffff;

  line-height: 1.2;

  text-transform: uppercase;

}



/* â”€â”€ SECTION COMMON â”€â”€ */

section { position: relative; z-index: 1; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.section-label {

  display: inline-flex; align-items: center; gap: 8px;

  font-size: 11px; font-weight: 300;

  letter-spacing: 2px; text-transform: uppercase;

  color: var(--cerise); margin-bottom: 30px;

}

/* The dash was removed site-wide on 7 Aug 2026 — see the note in global.css.
   This was a second copy of the same rule, which is why the homepage needed
   seven of its own `display: none` overrides to cancel it. */

.section-heading {

  font-family: 'Playfair Display', serif;

  font-size: 48px; font-weight: 700;

  color: var(--navy); line-height: 1.1;

  letter-spacing: -1px; margin-bottom: 20px;

}

.section-heading em { font-style: italic; color: var(--cerise); }



/* â”€â”€ WHY JACQTOURS â”€â”€ */

.why-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px;

  font-weight: 300;

  text-transform: uppercase;

  letter-spacing: 0.15em;

}


.why-section .section-heading {

  font-family: 'Playfair Display', serif;

  font-size: 48px;

  font-weight: 900;

  border: none;

  background: none;

  box-shadow: none;

}

.why-section {

  padding: var(--section-v) 0;

  background-color: #FAF8F5;

  background-image: url('../images/bg-pattern.svg');

  background-repeat: repeat;

  background-size: auto;

}

.why-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "image heading"
    "image content";

  gap: 0 60px; align-items: start;

}

.why-heading-group { grid-area: heading; }
.why-image { grid-area: image; }
.why-content { grid-area: content; }

.section-geo-pattern {

  width: 74px;

  height: auto;

  margin-bottom: 16px;

  display: block;

}

.why-image {

  height: 100%;

  border-radius: 4px; overflow: hidden;

  position: relative;

}

.why-image-inner {

  width: 100%;

  height: 100%;

  min-height: 480px;

  /* Client's photo, 20 Nov 2026 (Morocco 2025). */
  background-image: url('../images/why-jacqtours-morocco-2025.jpg');

  background-size: cover;

  background-position: center;

  border-radius: 4px;

}

.why-features {

  display: grid; grid-template-columns: 1fr 1fr;

  gap: 20px; margin-top: 20px;

}

.why-feature {

  display: flex; align-items: flex-start; gap: 5px;

}

.why-feature-icon {

  width: 12px; height: 12px; flex-shrink: 0;

  border-radius: 50%;

  border: 1.5px solid var(--cerise);

  background: transparent;

  margin-top: 5px;

}

.why-feature h4 {

  font-family: 'Source Sans 3', sans-serif;

  font-size: 16px; font-weight: 600;

  color: var(--navy); margin-bottom: 0;

}

.why-feature p {

  font-size: 16px;

  font-weight: 400;

  line-height: 1.5;

}



/* â”€â”€ FEATURED TOURS â”€â”€ */

.tours-section {

  padding: var(--section-v) 0;

  background: #043042;

}

.tours-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 300;

  text-transform: uppercase;

  letter-spacing: 0.15em;

  color: #ffffff;

}


.tours-section .section-heading {

  font-family: 'Playfair Display', serif;

  font-size: 48px; font-weight: 900;

  color: #ffffff;

}

.tours-section .section-heading em { color: #ed1858; }

.tours-header {

  display: flex; justify-content: space-between;

  align-items: flex-end; margin-bottom: 40px;

}

.tours-view-all {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 400;

  color: #ffffff; text-decoration: none;

  white-space: nowrap;

  /* The heading carries a 20px margin-bottom, so flex-end aligns this link
     ~20px below the heading's visual baseline. Mirror that margin to lift the
     link's bottom edge level with the heading text. */
  margin-bottom: 20px;

}

.tours-filters {

  display: inline-flex; gap: 0; margin-bottom: 40px;

  background: rgba(255, 255, 255, 0.08);

  padding: 6px;

  border-radius: 3px;

}

.filter-pill {

  display: inline-block; text-decoration: none; line-height: 1;

  padding: 15px 20px;

  border-radius: 0;

  font-family: 'Montserrat', sans-serif;

  font-size: 14px;

  text-transform: uppercase;

  cursor: pointer; transition: all 0.2s;

  border: none;

  background: transparent; color: rgba(255,255,255,0.6);

}

.filter-pill.active { background: var(--cerise); color: #fff; }

.filter-pill:hover:not(.active) { color: #fff; }

.tour-cards {

  display: grid; grid-template-columns: repeat(3, 1fr);

  gap: 24px;

}

/* Homepage "Rides Worth Booking Now": one card group per pill, JS toggles. */
.home-tour-group { display: none; }
.home-tour-group.active { display: grid; }

.tour-card {

  background: rgba(255, 255, 255, 0.09);

  border: 1px solid transparent;

  border-radius: 6px;

  overflow: hidden;

  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;

  cursor: pointer;

}

.tour-card:hover {

  transform: translateY(-4px);

  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);

  border: 1px solid #ED1858;

}

.card-image {

  position: relative;

  padding-bottom: 55%;

  overflow: hidden;

}

.card-image-inner {

  position: absolute; inset: 0;

  background: center/cover no-repeat;

  transition: transform 0.4s;

}

.tour-card:hover .card-image-inner { transform: scale(1.04); }

.card-badge {

  position: absolute; top: 12px; left: 12px;

  font-family: 'Montserrat', sans-serif;

  font-size: 9px; font-weight: 400;

  letter-spacing: 0; text-transform: uppercase;

  padding: 10px 10px; border-radius: 3px;

  background: var(--cerise); color: #fff;

}

.card-duration-badge {

  position: absolute; top: 12px; right: 12px;

  font-family: 'Montserrat', sans-serif;

  font-size: 10px; font-weight: 400;

  letter-spacing: 0; text-transform: uppercase;

  padding: 10px 10px; border-radius: 3px;

  background: rgba(0,0,0,0.55); color: #fff;

}

.card-body { padding: 20px 24px; }

.card-dest {

  font-family: 'Montserrat', sans-serif;

  font-size: 11px;

  letter-spacing: 2px; text-transform: uppercase;

  color: var(--cerise); margin-bottom: 4px;

}

/* Tour titles in Playfair Display, the site's heading font (client, 18 Nov 2026:
   "maintain the same font for the tour titles across the entire site"). Lining
   figures so "2D1N" sits level. Montserrat stays for labels and buttons. */
.card-title {

  font-family: var(--font-heading); font-variant-numeric: lining-nums;

  font-size: 22px; font-weight: 700;

  color: #ffffff; margin-bottom: 12px;

  line-height: 1.2;

}

.card-date, .card-meta-item {

  font-family: 'Montserrat', sans-serif;

  font-size: 11px; font-weight: 400;

  letter-spacing: 0.5px; text-transform: uppercase;

  color: rgba(255,255,255,0.75);

  display: flex; align-items: center; gap: 6px;

  margin-bottom: 24px;

}

.card-divider {

  border: none; border-top: 1px solid rgba(255,255,255,0.1);

  margin-bottom: 24px;

}

.card-footer {

  display: flex; justify-content: space-between; align-items: center;

}

.card-price-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 11px; font-weight: 400;

  color: rgba(255,255,255,0.75); text-transform: uppercase;

  letter-spacing: 0.5px; margin-bottom: 2px;

}

.card-price {

  font-family: 'Playfair Display', serif;

  font-size: 28px; font-weight: 900;

  color: #ffffff;

}

/* "Price on request" is a label, not a headline figure (added 2026-07-21). */
.card-price.card-price-request {
  font-family: var(--font-card);
  font-size: 15px; font-weight: 700;
  white-space: nowrap;
}

/* Photo credits, "Photo: John Lee Pictures" (client, 23 Nov 2026; inc/photo-credit.php).
   Small and quiet in the photo's bottom-right corner, bottom-left on Our Story, where the
   quote box has the right. A light shadow keeps it legible on a bright patch of sky. */
.photo-credit {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  letter-spacing: 0.02em; line-height: 1.2;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,0.75);
  white-space: nowrap; pointer-events: none;
}
.photo-credit--left { right: auto; left: 12px; }
.bespoke-image,
.about-image-inner { position: relative; }
/* Homepage slides: bottom right, clear of the stats band across the hero's foot, and left
   of the bouncing scroll arrow (right: 48px). Not bottom left: the hero's dark gradient
   (.hero-overlay, above the slides) would all but hide it there. */
.hero-slide .photo-credit { right: 96px; bottom: 132px; }
.hero.hero--no-stats .hero-slide .photo-credit { bottom: 16px; }
@media (max-width: 768px) {
  /* Phones show the slides as a band of their own, with the stats below it. */
  .hero-slide .photo-credit,
  .hero.hero--no-stats .hero-slide .photo-credit { right: 12px; bottom: 10px; }
  /* Smaller and quieter on phones, on every photo (client, 25 Nov 2026: the photographer
     found the credits large and a distraction; they were 11-12px). */
  .photo-credit { font-size: 9px; letter-spacing: 0.03em; color: rgba(255,255,255,0.8); }
}
/* Our Story: on phones and upright tablets the quote box spans most of the photo's foot
   and cut the credit off (client, 24 Nov 2026, point 7), so the credit moves to the top left. */
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
  .about-image .photo-credit--left { top: 10px; bottom: auto; }
}

/* Dates large, price small, as on the Tours page cards (client, 23 Nov 2026: "Swop
   the size of price & dates", "homepage cards too"). The duration badge on the
   photo is unchanged. These come after the rules above so they win. */
.tour-card .card-date {
  font-family: var(--font-heading); font-variant-numeric: lining-nums;
  font-size: 20px; font-weight: 700;
  letter-spacing: 0; text-transform: none; line-height: 1.25;
  color: #ffffff;
  gap: 8px;
}
.tour-card .card-date svg { flex-shrink: 0; width: 16px; height: 16px; }
.tour-card .card-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  line-height: 1.6;
}

.btn-book {

  padding: 10px 20px;

  background: transparent; color: #fff;

  font-family: 'Montserrat', sans-serif;

  font-size: 11px; font-weight: 700;

  letter-spacing: 0.5px; text-transform: uppercase;

  border: 1px solid #fff; cursor: pointer; border-radius: 0;

  transition: all 0.2s;

}

.btn-book:hover { background: #fff; color: #043042; }



/* â”€â”€ DESTINATIONS â”€â”€ */

.destinations-section {

  padding: var(--section-v) 0;

  background-color: #FAF8F5;

  background-image: url('../images/bg-pattern.svg');

  background-repeat: repeat;

  background-size: auto;

}

.destinations-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 300;

  text-transform: uppercase;

  letter-spacing: 0.15em;

  color: var(--cerise);

  display: block;

}


.destinations-section .section-heading {

  font-family: 'Playfair Display', serif;

  font-size: 48px; font-weight: 900;

  color: var(--navy);

}

.dest-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  grid-template-rows: auto auto;

  gap: 8px;

  margin-top: 48px;

}

.dest-card {

  position: relative; border-radius: 6px;

  overflow: hidden; cursor: pointer;

  display: block; text-decoration: none; color: inherit;

}

.dest-card:first-child {

  grid-row: span 2; grid-column: span 1;

}

.dest-card-inner {

  width: 100%; padding-bottom: 70%;

  background: center/cover no-repeat;

  transition: transform 0.4s;

}

.dest-card:first-child .dest-card-inner {

  padding-bottom: 0; height: 100%; min-height: 340px;

}

.dest-card:hover .dest-card-inner { transform: scale(1.04); }

.dest-overlay {

  position: absolute; inset: 0;

  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);

}

.dest-label {

  position: absolute; bottom: 0; left: 0; right: 0;

  padding: 20px;

}

.dest-country {

  font-family: 'Montserrat', sans-serif;

  font-size: 20px; font-weight: 700; color: #fff;

  margin-bottom: 3px;

  text-shadow: 0 1px 4px rgba(0,0,0,0.5);

}

.dest-count {

  font-family: 'Montserrat', sans-serif;

  font-size: 13px; font-weight: 400;

  color: rgba(255,255,255,0.85);

  text-shadow: 0 1px 4px rgba(0,0,0,0.5);

}



/* ── TOUR HIGHLIGHTS ──
   Moved from the About page (client, 23 Nov 2026), with the video modal below. Label, heading and
   pattern use the homepage's own classes so they size like the neighbouring sections; the rest is
   the About page's styling unchanged. */

.highlights-section {

  padding: var(--section-v) 0;

  background: var(--navy);

}

.highlights-section .section-geo-pattern { width: 88px; height: auto; }

.highlights-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 300;

  text-transform: uppercase; letter-spacing: 0.15em;

  color: #ffffff;

}

.highlights-section .section-heading { font-weight: 900; color: #ffffff; }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.highlight-card {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.25s;
  position: relative;
}
.highlight-card:hover { transform: translateY(-4px); }
.highlight-thumb {
  aspect-ratio: 16/9;
  background: center/cover no-repeat;
  position: relative;
}
/* An Instagram Reel has no thumbnail of its own — Meta removed `thumbnail_url`
   from Instagram oEmbed on 3 Nov 2025 — so when no cover image is set the card
   leads with its title instead of showing an empty box. Keeps the 16/9 ratio
   so the three-card row stays even. */
.highlight-card--titled .highlight-thumb {
  background: linear-gradient(150deg, #0b5670 0%, var(--navy) 55%, #0a2f3f 100%);
  display: flex;
  flex-direction: column;   /* title ABOVE the play button, not behind it */
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 22px;
  text-align: center;
}
.highlight-card--titled .highlight-play {
  position: static;
  transform: none;
  flex: 0 0 auto;
}
.highlight-card--titled:hover .highlight-play { transform: scale(1.1); }
/* Montserrat at its normal weight, the same as the video titles in the Gallery (gallery.css
   .video-title / .video-thumb-titletext; client, 23 Nov 2026 18:57, point 2). */
.highlight-thumb-title {
  font-family: var(--font-card);
  font-size: 17px; font-weight: 400; line-height: 1.35;
  color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* The title is already the poster — repeating it below would be noise. */
.highlight-card--titled .highlight-meta { display: none; }
.highlight-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--cerise); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.highlight-card:hover .highlight-play { background: var(--cerise-dk); transform: translate(-50%, -50%) scale(1.1); }
.highlight-play svg { margin-left: 4px; }
.highlight-meta { padding: 14px 16px 18px; }
.highlight-title {
  font-family: var(--font-card); font-size: 18px; font-weight: 400;
  color: #fff; margin-bottom: 0;
}

/* Video modal (Tour Highlights) */
.video-modal {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  align-items: center; justify-content: center;
}
.video-modal.active { display: flex; }
.video-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.82);
}
.video-modal-box {
  position: relative; z-index: 1;
  width: 90%; max-width: 900px;
}
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 36px; line-height: 1; cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s;
}
.video-modal-close:hover { color: var(--cerise); }
.video-modal-player {
  position: relative; padding-bottom: 56.25%;
  background: #000; border-radius: 4px; overflow: hidden;
}
/* A Reel plays inside Instagram's embed card, sized to the screen so the whole
   card shows (client, 23 Nov 2026: Reels "enlarged to fit screen"). The working
   is in gallery.css, which has the same rule. */
.video-modal-box--portrait {
  --reel-w: min(92vw, calc((100vh - 304px) * 0.8));
  width: var(--reel-w);
  max-width: none;
}
@supports (height: 100dvh) {
  .video-modal-box--portrait { --reel-w: min(92vw, calc((100dvh - 304px) * 0.8)); }
}
.video-modal-player--portrait {
  padding-bottom: 0;
  height: calc(var(--reel-w) * 1.25 + 204px);
  background: #fff;   /* Instagram's card is white; black would frame it oddly */
}
.video-modal-player iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}



/* â”€â”€ TESTIMONIALS â”€â”€ */

.testimonials-section {

  padding: var(--section-v) 0;

  background: var(--navy);

}

.testimonials-section .section-geo-pattern {

  width: 80px; height: auto; opacity: 1;

}

.testimonials-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 300;

  text-transform: uppercase; letter-spacing: 0.15em;

  color: #ffffff;

}


.testimonials-section .section-heading { color: #ffffff; }

.testimonials-section .section-heading em { font-style: italic; color: #ffffff; }

.testi-cards {

  display: grid; grid-template-columns: repeat(3, 1fr);

  gap: 24px; margin-top: 48px;

}

.testi-card {

  background: rgba(255,255,255,0.07);

  border-radius: 6px; padding: 32px;

  display: flex; flex-direction: column;

  transition: background 0.2s;

}

.testi-card:hover { background: rgba(255,255,255,0.11); }

.testi-stars {

  color: #ED1858; font-size: 15px;

  letter-spacing: 2px; margin-bottom: 16px;

}

.testi-quote {

  font-family: 'Source Sans 3', sans-serif;

  font-size: 16px; font-style: italic;

  color: #ffffff;

  line-height: 1.7; margin-bottom: 24px;

}

.testi-author {

  display: flex; align-items: center; gap: 12px;

  margin-bottom: 24px;

}

.testi-avatar {

  width: 42px; height: 42px; border-radius: 50%;

  background: var(--maroon);

  display: flex; align-items: center; justify-content: center;

  font-size: 13px; font-weight: 700; color: #fff;

  flex-shrink: 0;

}

.testi-name {

  font-family: 'Source Sans 3', sans-serif;

  font-size: 15px; font-weight: 600; color: #ffffff;

  margin-bottom: 0;

}

.testi-location {

  font-size: 13px; color: rgba(255,255,255,0.55);

  margin-top: 0; line-height: 1.2;

}

.testi-tour {

  font-family: 'Montserrat', sans-serif;

  font-size: 11px; font-weight: 400;

  text-transform: uppercase; letter-spacing: 0.15em;

  color: var(--cerise);

  margin-top: auto; padding-top: 0;

  border-top: none;

}



/* â”€â”€ BESPOKE CTA â”€â”€ */

.bespoke-section {

  /* Our Story follows on the same background (client's order, 23 Nov 2026 13:28): 64 + 64
     between them. The full section padding above, where Tour Highlights (navy) ends. */
  padding: var(--section-v) 0 64px;

  background-color: #FAF8F5;

  background-image: url('../images/bg-pattern.svg');

}

.bespoke-section .section-geo-pattern {

  width: 110px; height: auto;

}

.bespoke-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "heading image"
    "content image";

  gap: 0 60px; align-items: start;

}

.bespoke-heading-group { grid-area: heading; margin-bottom: 24px; }
.bespoke-image { grid-area: image; }
.bespoke-content { grid-area: content; }

.bespoke-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 300;

  text-transform: uppercase; letter-spacing: 0.15em;

  color: var(--cerise);

}


.bespoke-section .section-heading {

  font-size: 48px; font-weight: 900;

}

.bespoke-content p { margin-bottom: 32px; }

.bespoke-image {

  border-radius: 6px; overflow: hidden;

}

.bespoke-image-inner {

  width: 100%; padding-bottom: 70%;

  /* Client's photo, 20 Nov 2026 (Morocco 2025, image 114). Aligned to its left edge: the riders
     sit on the left two-thirds, and the narrower phone slot would otherwise cut the rider on the
     left in half (only the back of the car is trimmed instead). Jacqtours-Shikoku-00.jpg remains
     the tour-card and destination fallback. */
  background: url('../images/bespoke-morocco-2025.jpg') left center/cover;

  border-radius: 6px;

}

.btn-bespoke {

  display: inline-flex; align-items: center; gap: 10px;

  padding: 14px 28px;

  background: var(--cerise); color: #ffffff;

  font-family: 'Montserrat', sans-serif;

  font-size: 16px; font-weight: 700;

  border: none; cursor: pointer; border-radius: 0;

  transition: background 0.2s;

  text-decoration: none;

}

.btn-bespoke:hover { background: var(--cerise-dk); }



/* â”€â”€ OUR STORY â”€â”€ */

.about-section {

  /* 64px on top: Bespoke Tours sits directly above on the same background (client, 23 Nov 2026
     13:28). The full section padding below, where Testimonials (navy) begins. */
  padding: 64px 0 var(--section-v);

  background-color: #FAF8F5;

  background-image: url('../images/bg-pattern.svg');

}

.about-section .section-geo-pattern {

  width: 87px; height: auto;

}

.about-grid {

  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "image heading"
    "image content";

  gap: 0 60px; align-items: stretch;

}

.about-heading-group { grid-area: heading; margin-bottom: 24px; }
.about-image { grid-area: image; }
.about-content { grid-area: content; }

.about-image {

  position: relative;

  /* Hug the photo rather than stretch to the text column, so the quote below stays on the
     photo's bottom edge whatever the photo's height. The 88px is the part of the quote that
     hangs below the photo (it overlaps the photo by about 32px). Top-aligned, like the Why
     Jacqtours and Bespoke Tours photos (user, 20 Nov 2026): centred against the client's longer
     copy, it started well below the section's pattern and label. The spare height sits below
     the quote instead. */
  align-self: start;

  padding-bottom: 88px; padding-right: 40px;

}

.about-image-inner {

  /* Client's photo, 20 Nov 2026 (Morocco 2025, image 117); also the About page Meet Jacqtours
     image. The slot takes the photo's own shape (1200 x 900 = 4:3) at every screen size, so the
     whole group shows: a fixed 480px height made it square and cut the riders at the edges.
     Change the ratio if the photo is replaced with one of a different shape. */
  width: 100%; aspect-ratio: 4 / 3;

  background: url('../images/our-story-morocco-2025.jpg') center/cover;

  border-radius: 6px;

}

.about-quote {

  position: absolute; bottom: 0; right: 0;

  width: 280px;

  background: #043042;

  padding: 18px 22px;

  border-radius: 0;

  z-index: 2;

}

.about-quote p {

  font-family: 'Playfair Display', serif;

  font-size: 20px; font-weight: 700; font-style: italic;

  color: #ffffff; line-height: 1.4;

  margin-bottom: 10px;

}

/* The quote now runs without an attribution (client, 20 Nov 2026): no space under its last line. */
.about-quote p:last-child { margin-bottom: 0; }
/* Right-aligned, like the Meet Jacqtours quote on the About page (client, 23 Nov 2026 18:57:
   "let's also try Right justified"). */
.about-quote p { text-align: right; }
/* Three set lines at every width, as on a laptop (client, 24 Nov 2026: "along the way" on
   the 3rd line on phones too). */
.about-quote .quote-line { display: block; }

.about-quote-attr {

  display: block;

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 400;

  letter-spacing: 0.1em; text-transform: uppercase;

  color: #ffffff;

  margin-top: 0;

}

.about-section .section-label {

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 300;

  text-transform: uppercase; letter-spacing: 0.15em;

  color: var(--cerise);

}


.about-section .section-heading {

  font-size: 48px; font-weight: 900;

}

.about-content p { margin-bottom: 24px; }

.link-story {

  display: inline-flex; align-items: center; gap: 10px;

  margin-top: 32px;

  color: var(--cerise);

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 600;

  text-decoration: none;

  transition: color 0.2s;

}

.link-story:hover { color: var(--cerise-dk); }



/* â”€â”€ NEWSLETTER â”€â”€ */

.newsletter-section {

  padding: 64px 0;

  background: #ED1858;

}

.newsletter-inner {

  display: flex; align-items: center;

  justify-content: space-between; gap: 80px;

}

.newsletter-text h3 {

  font-family: 'Playfair Display', serif;

  font-size: 48px; font-weight: 900; color: #ffffff;

  line-height: 1.1; max-width: 420px;

  margin-bottom: 16px;

}

.newsletter-text p {

  font-family: 'Source Sans 3', sans-serif;

  font-size: 18px; font-weight: 400;

  color: rgba(255,255,255,0.85); max-width: 420px;

}

.newsletter-form {

  display: flex; flex-wrap: wrap; flex-shrink: 0;

  /* A definite width so the status line (flex-basis:100%) resolves against it and
     wraps INSIDE the form, instead of inflating the form's content width and
     squeezing the heading column. Fits the 340px field + Subscribe button; the
     tablet/mobile rules below reset it to 100%. */
  width: 520px; max-width: 100%;

}

/* The confirm / error message sits on the cerise band, where the modal's
   on-white greens and reds are near-invisible. Force it white here (scoped to the
   band, so the modal on its white dialog keeps its readable colours). */
.newsletter-section .jt-subscribe-status,
.newsletter-section .jt-subscribe-status.is-ok,
.newsletter-section .jt-subscribe-status.is-error { color: #fff; }

.newsletter-input {

  height: 56px; width: 340px;

  padding: 0 20px;

  border: none; outline: none;

  border-radius: 0;

  background: #ffffff;

  font-family: 'Source Sans 3', sans-serif;

  font-size: 16px; color: #333;

}

.newsletter-input::placeholder { color: #aaa; }

/* The optional alias box: a row of its own above the email box and Subscribe button
   (client, 25 Nov 2026). Two classes, so the tablet and phone rules further down that
   reset .newsletter-input to share the row (flex: 1) do not pull it back beside the
   email box. A basis of auto, not 100%, so it also stacks correctly where the form
   becomes a column (480px and below). Scoped to the homepage band: the Subscribe
   pop-up lays out its own fields (global.css). */
.newsletter-form .newsletter-input--alias { flex: 0 0 auto; width: 100%; margin-bottom: 10px; }

/* The email box takes up the rest of its row, so Email + Subscribe end where Alias
   ends (client, 25 Nov 2026: on a computer the alias box ran past the button). */
.newsletter-form input[name="email"] { flex-grow: 1; }

.newsletter-btn {

  height: 56px;

  padding: 0 28px;

  background: #043042; color: #ffffff;

  font-family: 'Montserrat', sans-serif;

  font-size: 14px; font-weight: 700;

  text-transform: uppercase; letter-spacing: 0.1em;

  border: none; cursor: pointer; border-radius: 0;

  display: inline-flex; align-items: center; gap: 10px;

  transition: background 0.2s;

}

.newsletter-btn:hover { background: #021e2a; }



/* â”€â”€ FOOTER â”€â”€ */



/* â”€â”€ GEOMETRIC PATTERN (inner pages only, not used on hero) â”€â”€ */

/* used in pattern block top-right for inner page hero bands */



/* ============================================================
   RESPONSIVE — page-specific overrides (global.css handles nav/footer)
   Desktop (>=1280) unchanged. Only max-width rules below.
   ============================================================ */

/* ---- 769-1199px (tablets, two columns): balance photo and text ----
   Our Story: the photo keeps its own shape (4:3), so beside the heading AND the text it ended
   well short of the text column. The heading moves above both columns; the photo then sits
   beside the two paragraphs, which are about its height.
   Bespoke Tours: the same heading row as Our Story (user, 20 Nov 2026), then the text and
   button beside the photo, both starting just under the heading. The photo is the taller of
   the two; centring them pushed the text about 70px below the heading. */
@media (min-width: 769px) and (max-width: 1199px) {
  .about-grid {
    grid-template-areas:
      "heading heading"
      "image content";
    grid-template-rows: auto auto;
  }
  .about-heading-group { margin-bottom: 32px; }
  .bespoke-grid {
    grid-template-areas:
      "heading heading"
      "content image";
    grid-template-rows: auto auto;
  }
  .bespoke-heading-group { margin-bottom: 32px; }
  .bespoke-image,
  .bespoke-content { align-self: start; }
}

/* ---- 769-999px (portrait tablets, narrow windows): Why Jacqtours ----
   Beside the heading AND the text, the photo stretched into a tall strip (388 x 579 at 900px)
   of a 3:2 photo. The heading moves above both columns and the photo takes the height of the
   text beside it (388 x 365 at 900px). From 1024px the original layout reads well. */
@media (min-width: 769px) and (max-width: 999px) {
  .why-grid {
    grid-template-areas:
      "heading heading"
      "image content";
    grid-template-rows: auto auto;
  }
  .why-heading-group { margin-bottom: 24px; }
  .why-image { align-self: stretch; height: auto; }
  .why-image-inner { min-height: 0; height: 100%; }
}

/* ---- 1024px: collapse 3-col grids to 2-col ---- */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }

  /* Tour & testimonial cards stay 3-col through the tablet band (they read
     fine at ~230px, and there are 3 of each so 2-col would orphan one);
     destinations collapse to 2-col. */
  .tour-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .highlights-grid { gap: 20px; }

  .hero h1 { font-size: 56px; }
  .section-heading,
  .why-section .section-heading,
  .tours-section .section-heading,
  .destinations-section .section-heading,
  .bespoke-section .section-heading,
  .about-section .section-heading,
  .newsletter-text h3 { font-size: 40px; }

  /* Newsletter: the fixed 340px input + 80px gap starves the heading, cramming
     it into a narrow column (word-per-line). Stack it — heading full width,
     form full-width below. */
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .newsletter-text h3,
  .newsletter-text p { max-width: none; }
  .newsletter-form { width: 100%; }
  .newsletter-input { width: auto; flex: 1; }
}

/* ── Tablet PORTRAIT: shorten the full-bleed hero to 50vh so it isn't an
   over-tall band on upright tablets (e.g. Galaxy Tab S6 Lite ~800px).
   Landscape tablets and desktop keep the full 100vh. In the shorter box the
   two absolutely-positioned content blocks (top text / bottom CTAs, tuned
   for the 100vh desktop) collide — so let them FLOW as a natural column
   instead: badge → headline → subtitle → CTAs, top-aligned under the nav. ── */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero {
    min-height: 50vh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 150px;
    /* leave room at the bottom for the absolute stats bar (~84px) so the
       flowing content never tucks under it */
    padding-bottom: 108px;
  }
  /* Text group + CTAs FLOW as one natural column from the top under the nav —
     height-independent, so it works on both tall (S6 Lite) and short (iPad
     Air) portrait viewports without the CTAs overlapping the subtitle. */
  .hero-content-top {
    position: static; top: auto; bottom: auto; left: auto;
    padding: 0 32px;
  }
  /* Logo in the headline: base 80px towers over the 56px tablet H1 text;
     sit it roughly in line with the headline cap height. */
  .hero-logo-inline { height: 62px; }
  /* Dots (base bottom:140px) would land over the CTAs in the flow layout —
     hide them here; the slideshow still auto-advances. */
  .hero-dots { display: none; }
  /* Stat numbers + labels: base 48/16px is heavy in the 4-across tablet row —
     dial both down proportionately. */
  .stat-num { font-size: 40px; }
  .stat-label { font-size: 13px; }
  /* Base stats bar is a fixed 120px — too tall for the smaller tablet content,
     leaving dead space. Shrink to fit with modest padding. */
  .stats-bar { height: auto; }
  .stat-item { padding: 18px 10px; }
  /* Our Story quote: the desktop 280px card hanging 40px past the photo is too wide for the
     2-column tablet photo. Pin the photo to its own height (align-self:start) and sit a narrower
     card on its bottom-right corner, straddling the bottom edge as on desktop (client, 20 Nov
     2026: quote on the right, consistent with the laptop view; it was centred here). */
  .about-image { padding-right: 0; padding-bottom: 88px; align-self: start; }
  .about-quote {
    left: auto; right: 0;
    transform: none;
    bottom: 0;
    width: 260px;
    padding: 16px 18px;
  }
}

/* Our Story keeps two columns at 769-999px, photo top-aligned beside the text like Bespoke Tours.
   Wrapping the text around the photo was tried (20 Nov 2026) and dropped: so little text runs past
   the photo that, at some widths, it ended with one stranded line under it. */

/* ---- 768px: single-column stacks, tablet/mobile ---- */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 20px; }

  /* Section vertical rhythm */
  .why-section,
  .tours-section,
  .bespoke-section,
  .highlights-section,
  .destinations-section,
  .testimonials-section { padding: 56px 0; }
  .newsletter-section { padding: 48px 0; }
  /* Bespoke Tours and Our Story share a background, so the padding between them reads as
     an empty gap rather than a change of section: 24 + 24 between the button and Our
     Story's pattern (client, 25 Nov 2026; was 48 + 48). */
  .bespoke-section { padding-bottom: 24px; }
  .about-section { padding: 24px 0 56px; }

  /* MOBILE HERO — "landscape band + text below" layout.
     The slideshow becomes a fixed landscape band at the top so the
     photos display correctly (no vertical crop of the subject); the
     headline, subtitle, buttons and stats sit on solid navy below it. */
  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: var(--nav-height) 0 0; /* clear fixed nav; content flows below */
    min-height: auto;
    background: var(--navy);
  }
  /* slideshow → landscape band (~16:9) at the top.
     position:relative so the absolute .hero-slide children are
     contained within the band (not the whole hero). */
  .hero-slides {
    position: relative;
    width: 100%;
    height: 56vw;            /* landscape band, ~16:9 of viewport width */
    max-height: 300px;
    order: 1;
    flex: none;
    overflow: hidden;
  }
  .hero-overlay { display: none; }   /* no dark gradient over the band */
  /* Dots anchored to the BOTTOM of the image band. The band starts at
     nav-height and is min(56vw, 300px) tall; sit the dots ~16px above
     its bottom edge. */
  .hero-dots {
    position: absolute; bottom: auto;
    top: calc(var(--nav-height) + min(56vw, 300px) - 26px);
    left: 50%; transform: translateX(-50%); z-index: 10;
  }
  /* Phones: the dots show which photo is on screen (the portrait-tablet rule above hides
     them, and phones are portrait too), with an arrow each side of the band and a swipe
     (home.js). Client, 25 Nov 2026: buttons to scroll the photos by hand. */
  .hero .hero-dots { display: flex; }
  /* On the photo itself the 40% white dots vanish against a bright road or sky. */
  .hero-dot { background: rgba(255, 255, 255, 0.75); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45); }
  .hero-dot.active { background: var(--cerise); }
  .hero-arrow {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 50%; z-index: 3;
    width: 36px; height: 36px; margin-top: -18px;
    padding: 0; border: 0; border-radius: 50%;
    background: rgba(4, 48, 66, 0.45);
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .hero-arrow svg { width: 16px; height: 16px; }
  .hero-arrow--prev { left: 10px; }
  .hero-arrow--next { right: 10px; }
  .hero-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  /* A photo chosen by hand fades in 0.6s rather than the slideshow's 2s. */
  .hero-slides--quick .hero-slide { transition-duration: 0.6s; }
  /* text block on navy below the band */
  .hero-content-top {
    position: static; left: auto; top: auto;
    order: 2; padding: 26px 20px 0; max-width: 100%; width: 100%;
  }
  .hero h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-logo-inline { height: 48px; }
  .hero-badge {
    font-size: 10px; letter-spacing: 0.05em;
    padding: 6px 12px; margin-bottom: 20px;
    white-space: nowrap;
  }
  .hero-sub { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 22px; }
  .hero-ctas { flex-wrap: nowrap; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    flex: 1 1 0; justify-content: center; white-space: nowrap;
    font-size: 14px; gap: 8px; padding: 12px 10px;
  }
  .scroll-hint { display: none; }

  /* Stats bar → normal flow below the content (not an overlay anymore) */
  .stats-bar {
    position: static; order: 4;
    width: 100%; height: auto;
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: rgba(255,255,255,0.04);
    border-top: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .stat-item {
    flex: none; min-width: 0;
    flex-direction: column; gap: 7px;
    padding: 14px 10px;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stat-num { font-size: 40px; margin-bottom: 0; }
  .stat-label { text-align: center; font-size: 13px; letter-spacing: 0.02em; }

  /* Two-column image+text sections → stack */
  /* About grid → single column, ordered: heading → image → content (matches Why/Bespoke) */
  .about-grid {
    display: flex; flex-direction: column; gap: 28px;
    grid-template-columns: none; grid-template-areas: none;
  }
  .about-heading-group { order: 1; margin-bottom: 0; }
  .about-image { order: 2; width: 100%; align-self: stretch; }
  .about-content { order: 3; }
  /* Bespoke grid → single column, ordered: content → image → button */
  .bespoke-grid {
    display: flex; flex-direction: column; gap: 28px;
    grid-template-columns: none; grid-template-areas: none;
  }
  .bespoke-heading-group { order: 1; margin-bottom: 0; }
  .bespoke-image { order: 2; width: 100%; align-self: stretch; }
  .bespoke-content { order: 3; display: flex; flex-direction: column; align-items: flex-start; }
  .bespoke-image-inner { width: 100%; min-height: 300px; height: 300px; }
  .bespoke-content .btn-bespoke { align-self: start; }
  /* Why grid → single column, ordered: heading above the image, then content */
  .why-grid {
    display: flex; flex-direction: column; gap: 28px;
    grid-template-columns: none; grid-template-areas: none;
  }
  .why-heading-group { order: 1; }
  .why-image { order: 2; height: auto; width: 100%; align-self: stretch; }
  .why-content { order: 3; }
  .why-features { grid-template-columns: 1fr 1fr; }
  .why-image-inner { width: 100%; min-height: 300px; height: 300px; }

  /* Featured tours */
  .tour-cards { grid-template-columns: 1fr; }
  .tours-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tours-filters { flex-wrap: wrap; }

  /* Destinations */
  .dest-grid { grid-template-columns: 1fr; }
  .dest-card:first-child { grid-row: auto; grid-column: auto; }
  /* Standardise all cards to the same fixed height on mobile */
  .dest-card .dest-card-inner,
  .dest-card:first-child .dest-card-inner {
    padding-bottom: 0 !important;
    height: 240px !important;
    min-height: 0 !important;
  }

  /* Testimonials */
  .testi-cards { grid-template-columns: 1fr; }

  /* Tour Highlights */
  .highlights-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Our Story quote → smaller card on the photo's bottom-right corner, straddling its bottom edge
     (client, 20 Nov 2026: on the right, consistent with the laptop view; it was centred). */
  .about-image { padding-right: 0; padding-bottom: 44px; position: relative; }
  .about-quote {
    position: absolute;
    bottom: 0; left: auto; right: 0;
    transform: none;
    width: 240px;
    padding: 14px 16px;
    margin-top: 0;
  }
  .about-quote p { font-size: 15px; margin-bottom: 6px; }
  .about-quote-attr { font-size: 11px; }

  /* Newsletter → heading above the form, and the form in three full-width rows:
     Alias, Email, Subscribe, 10px apart (client, 25 Nov 2026; until then only 480px
     and below stacked). 44px tall, like the hero buttons. flex: none, because in a
     column a flex basis of 0 would size the boxes by their content, not 44px. */
  .newsletter-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .newsletter-form { width: 100%; flex-direction: column; gap: 10px; }
  .newsletter-input { width: 100%; flex: none; height: 44px; }
  .newsletter-form .newsletter-input--alias { margin-bottom: 0; }
  .newsletter-btn { width: 100%; height: 44px; justify-content: center; }

  /* Hero subtitle: the full width of the text column, so "Exceptional Rides. Extraordinary
     Vibes." keeps to one line (client, 24 Nov 2026, point 5, iPhone 16 portrait). It was held
     to 300px, and that line is 322px at 20px. */
  .hero-content-top .hero-sub { max-width: none; }
  .newsletter-text h3,
  .newsletter-text p { max-width: 100%; }
}

/* ---- 480px: phone tightening ---- */
@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .hero h1 { font-size: 32px; }
  .hero-logo-inline { height: 42px; }
  /* 20px, a touch smaller where the column is narrower than that line needs: it is 16.1 times
     the font size wide, 16.6 with room for browsers' font rendering. 20px from a 372px-wide
     screen up (iPhone 16: 393), about 19.3px on a 360px one. */
  .hero-sub { font-size: min(20px, calc((100vw - 40px) / 16.6)); }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { flex: 1; justify-content: center; }

  .section-heading,
  .why-section .section-heading,
  .tours-section .section-heading,
  .destinations-section .section-heading,
  .bespoke-section .section-heading,
  .about-section .section-heading,
  .newsletter-text h3 { font-size: 30px; }

  /* Stats bar → single column on the smallest screens */
  .stat-num { font-size: 34px; }

  /* Why features stack fully */
  .why-features { grid-template-columns: 1fr; }

  .highlight-title { font-size: 16px; }

  /* Filter pills full-width friendly */
  .filter-pill { padding: 12px 16px; font-size: 13px; }

  /* Newsletter: stacked from 768px down (see that block). */
}

/* ══════════════════════════════════════
   STATS BAR SWITCHED OFF
   Homepage › Stats Bar › "Show the stats bar" unticked (client, 19 Nov 2026).
   The buttons, slide dots and scroll arrow were placed to clear the 120px
   band; without it they move down into its space.
   ══════════════════════════════════════ */
@media (min-width: 769px) {
  .hero.hero--no-stats .hero-dots { bottom: 28px; }
  .hero.hero--no-stats .scroll-hint { bottom: 40px; }
}
/* Portrait tablet: the text flows from the top and 108px was kept free for the
   bar at the bottom. */
@media (max-width: 1024px) and (orientation: portrait) {
  .hero.hero--no-stats { padding-bottom: 48px; }
}
/* Phone: the stats were the last block on the navy panel; keep breathing room
   under the buttons instead. */
@media (max-width: 768px) {
  .hero.hero--no-stats { padding-bottom: 32px; }
}
