/* ==========================================================================
   Diani Bikes - Design System
   Primary: brand blue (CTAs, links) · Secondary: brand pink (accents only)
   Tertiary: brand yellow (badges/small highlights only) · one button pattern
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --color-blue: #1E6FD9;
  --color-blue-dark: #16549F;
  --color-pink: #E8397C;
  --color-yellow: #F5C518;
  --color-sand: #FAF6F0;
  --color-sand-deep: #F1E8D8;
  --color-charcoal: #1B2733;
  --color-charcoal-soft: #3A4652;
  --color-white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', Arial, sans-serif;

  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 30px rgba(27, 39, 51, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(27, 39, 51, 0.14);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }

/* ---------- Image skeleton shimmer + lazy fade-in ----------
   Every real photo fades in from a shimmering placeholder once it has
   actually loaded, instead of popping in abruptly or (before a real photo
   is uploaded in the admin) sitting on the raw placeholder SVG art. Wired
   up generically in js/main.js, so this covers every img site-wide except
   the small partner-logo strip (auto-width, no fixed box to shimmer in). */
img.js-img {
  background: linear-gradient(100deg, var(--color-sand-deep) 30%, var(--color-sand) 50%, var(--color-sand-deep) 70%);
  background-size: 200% 100%;
  animation: img-shimmer 1.4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.35s ease;
}
img.js-img.is-loaded { opacity: 1; animation: none; background: none; }
@keyframes img-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  img.js-img { animation: none; }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-2); color: var(--color-charcoal); }
p { margin: 0 0 var(--space-2); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: var(--space-5) 0; }
.section-tight { padding: var(--space-4) 0; }
.bg-white { background: var(--color-white); }
.bg-charcoal { background: var(--color-charcoal); color: var(--color-sand); }
.bg-charcoal h2, .bg-charcoal h3 { color: var(--color-white); }
.bg-sand-deep { background: var(--color-sand-deep); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: var(--space-1);
}
.bg-charcoal .eyebrow { color: var(--color-yellow); }

.section-head { max-width: 640px; margin-bottom: var(--space-4); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--color-charcoal-soft); font-size: 1.05rem; }
.bg-charcoal .section-head p { color: #C9D3DC; }

/* ---------- Buttons (single primary pattern site-wide) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(30, 111, 217, 0.32);
}
.btn-primary:hover { background: var(--color-blue-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(30, 111, 217, 0.38); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-charcoal);
}
.btn-outline:hover { background: var(--color-charcoal); color: var(--color-white); transform: translateY(-2px); }
.bg-charcoal .btn-outline { color: var(--color-white); }
.bg-charcoal .btn-outline:hover { background: var(--color-white); color: var(--color-charcoal); }
.btn-link {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  color: var(--color-blue);
  font-weight: 700;
  border-bottom: 2px solid transparent;
}
.btn-link:hover { border-bottom-color: var(--color-blue); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.65em 1.3em; font-size: 0.85rem; }

/* ---------- Badges / tags ---------- */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  background: rgba(232, 57, 124, 0.1);
  color: var(--color-pink);
}
.tag + .tag { margin-left: 0.4em; }
.tag-yellow { background: rgba(245, 197, 24, 0.18); color: #8A6B00; }
.tag-blue { background: rgba(30, 111, 217, 0.1); color: var(--color-blue); }
.tag-offer { background: var(--color-pink); color: var(--color-white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* No backdrop-filter here on purpose: .primary-nav and .nav-scrim are
     position:fixed descendants of this header, and backdrop-filter creates a
     new containing block for fixed-position children per spec. Desktop
     Chromium doesn't visibly break (the sticky header stays pinned at y:0
     regardless), but mobile Safari does - the mobile nav drawer renders
     confined to the header's own box instead of the full viewport, with no
     scrim overlay. Solid background only; opacity raised slightly to keep
     the same visual weight the blur was providing. */
  background: rgba(250, 246, 240, 0.97);
  border-bottom: 1px solid rgba(27, 39, 51, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: var(--container-w);
  margin: 0 auto;
}
.logo { display: flex; align-items: center; }
.logo-mark { height: 52px; width: auto; display: block; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  z-index: 110;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { margin: 5px 0; }
.nav-toggle[aria-expanded="true"] { position: relative; }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-7.5px) rotate(-45deg); }

.primary-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 30%;
  height: 100vh;
  height: 100dvh;
  background: var(--color-white);
  padding: 5.5rem 1.75rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 105;
  box-shadow: -10px 0 30px rgba(0,0,0,0.12);
}
.primary-nav.is-open { transform: translateX(0); }
.nav-list { display: flex; flex-direction: column; gap: 0.2rem; }
.nav-list > li { border-bottom: 1px solid rgba(27,39,51,0.08); }
.nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.1rem;
  font-weight: 700;
  font-size: 1.05rem;
  width: 100%;
  background: none;
  border: none;
  color: var(--color-charcoal);
}
.nav-list a.active { color: var(--color-blue); }

.nav-scrim {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(27,39,51,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 104;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }
  .primary-nav {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    height: auto;
    transform: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-list { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.35rem 1.15rem; }
  .nav-list > li { border-bottom: none; position: relative; }
  .nav-list > li > a { padding: 0.4rem 0; font-size: 0.92rem; }
}

/* ---------- WhatsApp floating button (single contact widget) ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}
.hero.hero-inner { min-height: 46vh; align-items: center; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1; /* keep the darkening gradient above the stacked slider images */
  background: linear-gradient(180deg, rgba(27,39,51,0.15) 0%, rgba(27,39,51,0.78) 100%);
}

/* Homepage hero slider: all slides stacked, crossfaded by js/main.js */
.hero-slider img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}
.hero-slider img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-slider img { transition: none; }
}
.hero-inner .hero-media::after { background: linear-gradient(120deg, rgba(27,39,51,0.82) 20%, rgba(27,39,51,0.45) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: var(--space-5); padding-bottom: var(--space-4); width: 100%; }
.hero-content .eyebrow { color: var(--color-yellow); }
.hero-content h1 { color: var(--color-white); max-width: 780px; }
.hero-content p.lead { max-width: 560px; font-size: 1.15rem; color: #F1EEE8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--space-3); }
/* The default outline button is charcoal-on-transparent, which disappears over
   the hero photo - and the homepage hero now cycles five different images, so
   it needs to hold up over all of them. Frosted panel, same treatment as the
   tags over tour card photos. */
.hero .btn-outline {
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
  background: rgba(27,39,51,0.3);
  backdrop-filter: blur(4px);
}
.hero .btn-outline:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-charcoal);
}
.breadcrumb { font-size: 0.85rem; color: #E3DFD6; margin-bottom: 0.75rem; }
.breadcrumb a:hover { color: var(--color-yellow); }

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--color-yellow);
  font-weight: 700;
}
.stat-label { font-size: 0.85rem; color: #C9D3DC; letter-spacing: 0.02em; }
@media (min-width: 700px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Cards (one consistent pattern site-wide) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.tour-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.tour-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tour-card:hover .tour-card-media img { transform: scale(1.06); }
.tour-card-tags { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tour-card-tags .tag { backdrop-filter: blur(4px); background: rgba(255,255,255,0.88); color: var(--color-charcoal); }
.tour-card-tags .tag-offer { backdrop-filter: none; background: var(--color-pink); color: var(--color-white); }
.tour-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.tour-card-body h3 { margin-bottom: 0; }
.tour-card-body h3 a { color: inherit; text-decoration: none; }
.tour-card-body h3 a:hover { color: var(--color-blue); }
.tour-card-body p { color: var(--color-charcoal-soft); font-size: 0.95rem; margin-bottom: 0; flex: 1; }
.tour-card-price { color: var(--color-charcoal); font-weight: 700; font-size: 1rem; flex: 0; }
.tour-card-price s, .tour-price-badge s { color: var(--color-charcoal-soft); font-weight: 400; margin-right: 0.3em; }
.tour-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }

.card-grid.single { grid-template-columns: 1fr; }

/* Horizontal list-style card, used for rental rate cards next to a sidebar */
.rate-card { flex-direction: column; }
.rate-card .tour-card-media { aspect-ratio: 4/3; }
@media (min-width: 560px) {
  .rate-card { flex-direction: row; align-items: stretch; }
  .rate-card .tour-card-media { width: 38%; aspect-ratio: auto; flex-shrink: 0; }
  .rate-card .tour-card-media img { height: 100%; }
}

/* ---------- Highlight / feature cards (home) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 560px) { .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.feature-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.feature-card .body { padding: 1.25rem 1.4rem 1.5rem; }
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--color-charcoal-soft); font-size: 0.92rem; }

/* ---------- Icon list (rentals inclusions, services) ---------- */
.icon-list { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .icon-list.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .icon-list.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.icon-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-card);
}
/* Base badge: a <span> is display:inline by default, so any .icon-badge that
   only sets width/height (the admin stat cards and quick links) was ignoring
   both and letting its icon sit on the text baseline, off in the top-left
   corner. Centering belongs here rather than in each component that uses it. */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.icon-item .icon-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30,111,217,0.1);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-item h4 { margin: 0 0 0.25rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.icon-item p { margin: 0; font-size: 0.9rem; color: var(--color-charcoal-soft); }

/* ---------- Testimonials ---------- */
.testimonial-carousel { position: relative; max-width: 720px; margin: 0 auto; }
.testimonial-track { overflow: hidden; }
.testimonial-slides { display: flex; transition: transform 0.4s ease; }
.testimonial-slide { flex: 0 0 100%; padding: 0 0.5rem; }
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.stars { color: var(--color-yellow); letter-spacing: 0.15em; margin-bottom: 0.75rem; font-size: 1.1rem; }
.testimonial-quote { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-source { font-size: 0.8rem; color: var(--color-charcoal-soft); }
.testimonial-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.25rem; }
.testimonial-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(27,39,51,0.2); border: none; padding: 0;
}
.testimonial-dot.active { background: var(--color-blue); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-sand-deep);
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; aspect-ratio: 1/1; }
.gallery-item.tall img { aspect-ratio: 1/1.9; }
@media (min-width: 700px) { .gallery-item.tall img { aspect-ratio: 1/2.15; } }
.gallery-item:hover img { transform: scale(1.08); }

/* Homepage gallery: fixed 6-photo bento (2 tall bookend columns + 4 filling the middle) */
.gallery-grid-home { grid-auto-flow: dense; }
@media (min-width: 1000px) {
  .gallery-grid-home { grid-auto-flow: row; }
  .gallery-grid-home .gallery-item:nth-child(1) { grid-column: 2; grid-row: 1; }
  .gallery-grid-home .gallery-item:nth-child(2) { grid-column: 1; grid-row: 1 / 3; }
  .gallery-grid-home .gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .gallery-grid-home .gallery-item:nth-child(4) { grid-column: 2; grid-row: 2; }
  .gallery-grid-home .gallery-item:nth-child(5) { grid-column: 4; grid-row: 1 / 3; }
  .gallery-grid-home .gallery-item:nth-child(6) { grid-column: 3; grid-row: 2; }
}
.gallery-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-3); }
.filter-btn {
  background: var(--color-white);
  border: 1px solid rgba(27,39,51,0.12);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-charcoal-soft);
}
.filter-btn.active { background: var(--color-blue); border-color: var(--color-blue); color: var(--color-white); }

/* ---------- Homepage explore filter (location / activity type) ---------- */
.explore-filters { display: flex; flex-direction: column; gap: var(--space-3); align-items: center; margin-bottom: var(--space-4); }
.filter-group { text-align: center; }
.filter-group-label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-charcoal-soft); margin-bottom: 0.5rem; }
.filter-group .gallery-filter { justify-content: center; margin-bottom: 0; }

.lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(15, 20, 26, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius-sm); }
.lightbox-caption { color: var(--color-white); text-align: center; margin-top: 1rem; font-size: 0.95rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--color-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 720px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) { .team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.team-card { text-align: center; }
.team-photo { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; margin-bottom: 0.9rem; box-shadow: var(--shadow-card); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { margin: 0 0 0.15rem; font-size: 1rem; }
.team-card .role { font-size: 0.82rem; color: var(--color-pink); font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid rgba(27,39,51,0.12); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-charcoal);
}
.faq-question svg { flex-shrink: 0; transition: transform 0.25s ease; color: var(--color-blue); }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 1.2rem; color: var(--color-charcoal-soft); margin: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) { .form-row-2 { grid-template-columns: 1fr 1fr; display: grid; gap: 1.1rem; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.85rem; font-weight: 700; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1.5px solid rgba(27,39,51,0.16);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  background: var(--color-white);
  color: var(--color-charcoal);
}
/* A dragged-wide textarea (resize defaults to "both") can be pulled past its
   own container's edge on a device with a mouse or trackpad attached. */
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.15);
}
.form-note { font-size: 0.82rem; color: var(--color-charcoal-soft); }
.field-error { display: block; color: var(--color-pink); font-size: 0.78rem; margin-top: 0.35rem; min-height: 1em; }
.form-field input.is-invalid, .form-field textarea.is-invalid, .form-field select.is-invalid { border-color: var(--color-pink); }

.bike-qty-list { display: flex; flex-direction: column; gap: 0.6rem; }
.bike-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.bike-qty-row label { font-size: 0.9rem; font-weight: 500; color: var(--color-charcoal-soft); }
.bike-qty-row input[type="number"] {
  width: 60px;
  padding: 0.4em 0.5em;
  text-align: center;
  border: 1.5px solid rgba(27,39,51,0.16);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-charcoal);
}
.bike-qty-row input[type="number"]:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.15);
}

/* ---------- Contact info block ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .icon-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(232,57,124,0.1); color: var(--color-pink);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item h4 { margin: 0 0 0.2rem; font-size: 0.95rem; }
.contact-info-item p { margin: 0; color: var(--color-charcoal-soft); font-size: 0.92rem; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); border: none; width: 100%; height: 320px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-charcoal); color: #C9D3DC; padding: var(--space-5) 0 var(--space-2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-white); margin-bottom: 0.6rem; }
.footer-logo span { color: var(--color-yellow); }
.footer-about p { font-size: 0.9rem; color: #A9B4BE; }
.footer-col h4 { color: var(--color-white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.92rem; color: #C9D3DC; }
.footer-col a:hover { color: var(--color-yellow); }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #8C97A2;
  text-align: center;
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 1em;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8C97A2;
  white-space: nowrap;
}
.footer-admin-btn svg { flex-shrink: 0; }
.footer-admin-btn:hover { border-color: var(--color-yellow); color: var(--color-yellow); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-blue) 0%, var(--color-blue-dark) 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-3);
  text-align: center;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--color-white); color: var(--color-blue); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--color-sand); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); color: var(--color-white); }
.cta-band .btn-outline:hover { background: var(--color-white); color: var(--color-blue-dark); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: var(--space-3); }

/* ---------- Two column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split.reverse .split-media { order: -1; }
@media (min-width: 860px) { .split.reverse .split-media { order: 2; } }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.quote-block {
  border-left: 4px solid var(--color-yellow);
  padding-left: 1.3rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-charcoal-soft);
  margin: var(--space-3) 0;
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  background: rgba(245,197,24,0.2);
  color: #7A5E00;
  padding: 0.3em 0.8em;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  z-index: 300;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Partners logo marquee (About page) ----------
   Full-bleed edge-to-edge, breaking out of .container via the classic
   100vw + negative-margin trick, with a seamless auto-scroll: the track's
   logo set is duplicated by JS and animated exactly -50% so the loop point
   is invisible. */
.partners-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.partners-strip {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: partners-scroll 30s linear infinite;
}
.partners-marquee:hover .partners-strip { animation-play-state: paused; }
.partners-strip img {
  height: 76px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.partners-strip img:hover { filter: grayscale(0); opacity: 1; }
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-strip { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ---------- Tour detail page: main + sticky booking sidebar ---------- */
.tour-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.tour-main { min-width: 0; }
.tour-sidebar { display: flex; flex-direction: column; gap: var(--space-3); }
@media (min-width: 960px) {
  .tour-layout { grid-template-columns: 2fr 1fr; align-items: start; }
  .tour-main { order: 1; }
  .tour-sidebar { order: 2; position: sticky; top: 90px; }
}

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.sidebar-card h3, .sidebar-card h4 { margin-bottom: 1rem; }
.tour-price-badge { font-size: 1.3rem; font-weight: 700; color: var(--color-blue); margin: -0.3rem 0 1rem; }
.sidebar-card.muted { background: var(--color-sand-deep); box-shadow: none; }
.sidebar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.88rem; color: var(--color-charcoal-soft); }
.sidebar-list li { display: flex; gap: 0.5rem; align-items: flex-start; }
.sidebar-list li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--color-blue); }

.tour-tags-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.tour-tags-row a, .tour-tags-row span { text-decoration: none; }

/* Included / Not included / What to carry */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.5rem;
}
.info-box h4 { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; margin-bottom: 0.9rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.92rem; color: var(--color-charcoal-soft); }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list.included li svg { color: #1F9D55; flex-shrink: 0; margin-top: 0.15rem; }
.check-list.excluded li svg { color: var(--color-pink); flex-shrink: 0; margin-top: 0.15rem; }
.carry-box { margin-top: 1rem; }
.carry-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.55rem; font-size: 0.92rem; color: var(--color-charcoal-soft); }
@media (min-width: 640px) { .carry-list { grid-template-columns: 1fr 1fr; } }
.carry-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.carry-list li svg { color: var(--color-yellow-deep, #B98900); flex-shrink: 0; margin-top: 0.15rem; }

/* Small "glimpses" gallery on detail pages (no lightbox, just a grid) */
.mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
@media (min-width: 640px) { .mini-gallery { grid-template-columns: repeat(4, 1fr); } }
.mini-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-card); }
