/* ================================================================
   Alipsa Ventures — Public Website CSS
   Brand colours are injected as CSS variables in partials/head.php:
     --green  (primary, e.g. #1B4332)
     --gold   (accent,  e.g. #C9A227)
================================================================ */

/* ── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c2c2c;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: var(--green); text-decoration: none; }
a:hover { opacity: .82; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: #1a1a1a;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { margin-bottom: 1em; color: #555; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 88px 0; }
.section-ivory { background: #f9f6f0; }
.section-dark  { background: var(--green); color: #fff; }
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p  { color: rgba(255,255,255,.76); }

/* ── Section header ─────────────────────────────────────────── */
.section-header        { text-align: center; margin-bottom: 56px; }
.section-header h2     { margin-bottom: 14px; }
.section-header.light h2 { color: #fff; }
.eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-intro {
  font-size: 1.02rem;
  color: #666;
  max-width: 640px;
  margin: .6rem auto 0;
  line-height: 1.75;
}
.section-link {
  font-size: .9rem;
  font-weight: 700;
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  display: inline-block;
  margin-top: 14px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 6px;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.btn:hover  { opacity: .86; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-gold          { background: var(--gold);  color: #fff; }
.btn-green         { background: var(--green); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.65); }
.btn-outline-white:hover { border-color: #fff; opacity: 1; }
.btn-sm            { padding: 9px 18px; font-size: .82rem; }

/* ════════════════════════════════════════════════════════════
   NAVIGATION — z-index stack (desktop → mobile)
   500  .site-header        (fixed bar background)
   501  .nav-inner          (logo + links row — always visible)
   400  .site-nav.open      (full-screen overlay when open)
   600  .nav-toggle         (hamburger/X — always on top of overlay)
════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 10px 0;
}

/* This row must always sit above the mobile nav overlay */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 501;
}
.site-logo img {
  max-height: 45px; /* Adjust this number to make it bigger or smaller */
  width: auto;
  object-fit: contain;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  transition: color .3s;
}
.site-header.scrolled .logo-text { color: var(--green); }

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.9);
  transition: color .2s;
}
.site-header.scrolled .site-nav a { color: #444; }
.site-nav a.active,
.site-nav a:hover                  { color: var(--gold); opacity: 1; }
.site-header.scrolled .site-nav a:hover { color: var(--green); }
.nav-cta { padding: 9px 20px !important; color: #fff !important; }

/* Translate button */
.translate-btn {
  background: none;
  border: 1.5px solid rgba(255,255,255,.5);
  color: rgba(255,255,255,.9);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: .2s;
  white-space: nowrap;
}
.site-header.scrolled .translate-btn { border-color: var(--green); color: var(--green); }
.translate-btn:hover { opacity: .8; }
.translate-panel {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #e8e8e8;
  position: relative;
  z-index: 499;
}

/* Mobile controls — hidden on desktop */
.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-whatsapp { color: #25D366; display: flex; align-items: center; }

/* Hamburger button — always above the nav overlay when it opens */
.nav-toggle {
  display: none; /* shown only in mobile breakpoint */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 600; /* above .site-nav overlay (400) */
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: #333; }

/* Animate three lines → X when nav is open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--green);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--green);
}

/* ════════════════════════════════════════════════════════════
   HERO — 4-SLIDE CAROUSEL
════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  /* Same natural-media-ratio model as Safari Trips in Kenya. */
  aspect-ratio: var(--hero-media-ratio, 16/9);
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  /* Image is rendered only by ::before. Two differently scaled copies of
     the same image were producing horizontal bands on portrait screens. */
  background-size: 0 0;
  background-position: center;
  background-color: var(--green, #163d2d);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1.2s ease;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 30, 20, .48);
  z-index: 2;
}
.hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .8s ease;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}
.hero-slide-video.is-playing .hero-video-media {
  opacity: 1;
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  color: #fff;
  z-index: 3;
}
.hero-eyebrow {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-title  { color: #fff; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(0,0,0,.3); max-width: 780px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.hero-sub    { font-size: clamp(.95rem, 1.35vw, 1.08rem); color: rgba(255,255,255,.88); margin-bottom: 30px; max-width: 580px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Prev / Next arrows */
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 2.2rem;
  width: 48px;
  height: 64px;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-prev:hover,
.hero-next:hover { background: rgba(255,255,255,.3); }

/* Dots — moved to bottom of hero, no longer competing with search bar */
.hero-dots {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: transparent;
  cursor: pointer;
  transition: .3s;
  padding: 0;
}
.hero-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-video-media { transition: none; }
}

/* Scroll cue */
.hero-scroll {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  z-index: 3;
}
.hero-scroll span {
  width: 4px;
  height: 9px;
  background: rgba(255,255,255,.7);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: translateY(0);   opacity: .8; }
  50%       { transform: translateY(7px); opacity: .2; }
}

/* Weather widget */
.weather-widget {
  position: absolute;
  top: 90px;
  right: 20px;
  z-index: 4;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 170px;
  font-size: .82rem;
  border: 1px solid rgba(255,255,255,.15);
}
.weather-loading { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); font-size: .78rem; }
.weather-inner   { display: flex; flex-direction: column; gap: 2px; }
.weather-city    { display: flex; align-items: center; gap: 4px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 4px; }
.weather-main    { font-size: 1.4rem; font-weight: 700; }
.weather-desc    { font-size: .72rem; color: rgba(255,255,255,.7); }

/* ── Trust bar ───────────────────────────────────────────────── */
.trust-bar   { background: var(--green); padding: 18px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.trust-item  { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: .82rem; font-weight: 700; }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ── Features grid (why-choose-us cards) ────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.feature-card  { text-align: center; padding: 32px 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.feature-icon  { display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--green); }
.feature-card p  { font-size: .9rem; color: #666; margin: 0; }

/* ── Packages grid ───────────────────────────────────────────── */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.package-card  { border-radius: 12px; overflow: hidden; box-shadow: 0 3px 18px rgba(0,0,0,.09); transition: transform .2s, box-shadow .2s; background: #fff; }
.package-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.14); }
.package-card-img { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.package-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.package-card:hover .package-card-img img { transform: scale(1.04); }
.package-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.6), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.package-days  { font-size: .76rem; font-weight: 700; color: var(--gold); background: rgba(0,0,0,.4); padding: 3px 10px; border-radius: 20px; }
.package-dest  { font-size: .76rem; color: rgba(255,255,255,.85); }
.package-card-body { padding: 20px; }
.package-card-body h3   { font-size: 1.05rem; margin-bottom: 8px; }
.package-card-body h3 a { color: #1a1a1a; }
.package-card-body p    { font-size: .875rem; color: #666; margin-bottom: 16px; line-height: 1.65; }
.package-card-footer    { display: flex; align-items: center; justify-content: space-between; }
.package-price          { font-size: 1rem; font-weight: 700; color: var(--green); }

/* ── Destinations grid ───────────────────────────────────────── */
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.dest-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; display: block; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dest-card:hover img { transform: scale(1.06); }
.dest-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 18px;
  background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #fff;
}
.dest-card-body h3 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.dest-card-body p  { font-size: .8rem; color: rgba(255,255,255,.72); margin: 0; }

/* ── Services grid ───────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card  {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  border: 1px solid #eee;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.service-icon {
  width: 64px;
  height: 64px;
  background: #e8f4ec; /* fallback if --green-lt not set */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--green);
}
.service-card h3   { font-size: 1.1rem; margin-bottom: 12px; color: #1a1a1a; }
.service-card p    { font-size: .9rem; color: #666; line-height: 1.72; margin-bottom: 16px; }
.service-link      { font-size: .85rem; font-weight: 700; color: var(--green); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.service-card-cta  { background: var(--green); }
.service-card-cta .service-icon { background: rgba(255,255,255,.15); color: #fff; }
.service-card-cta h3 { color: #fff; }
.service-card-cta p  { color: rgba(255,255,255,.82); }

/* ── Why us ──────────────────────────────────────────────────── */
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.why-us-text p { font-size: .97rem; color: #555; line-height: 1.8; margin-bottom: 16px; }
.why-us-stats  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.stat-box      { background: #f9f6f0; border-radius: 10px; padding: 18px 20px; }
.stat-num      { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--green); line-height: 1; }
.stat-num sup  { font-size: 1rem; }
.stat-lbl      { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #888; margin-top: 6px; }
.why-us-features { display: flex; flex-direction: column; gap: 24px; }
.feature-item  { display: flex; gap: 16px; align-items: flex-start; }
.feature-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e8f4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.feature-item-icon svg { width: 22px; height: 22px; }
.feature-item h4 { font-family: 'Playfair Display', serif; font-size: .95rem; margin-bottom: 5px; color: #1a1a1a; }
.feature-item p  { font-size: .875rem; color: #666; margin: 0; line-height: 1.65; }

/* ── Reviews ─────────────────────────────────────────────────── */
.reviews-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.review-card   { background: #fff; padding: 28px; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.review-stars  { font-size: 1.1rem; color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.review-card h4  { font-size: .95rem; margin-bottom: 10px; }
.review-text     { font-size: .875rem; color: #555; font-style: italic; line-height: 1.72; margin-bottom: 16px; }
.review-author strong { font-size: .85rem; color: var(--green); display: block; }
.review-author span   { font-size: .78rem; color: #888; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-columns   { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.faq-item      { border-bottom: 1px solid #e8e8e8; }
.faq-question  {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.35;
}
.faq-question:hover { color: var(--green); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8f4ec;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-family: monospace;
  transition: .2s;
}
.faq-item.open .faq-icon { background: var(--green); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { padding: 0 0 18px; font-size: .93rem; color: #555; line-height: 1.78; margin: 0; }
.faq-answer strong { color: #1a1a1a; font-weight: 700; }

/* ── CTA band ────────────────────────────────────────────────── */
.cta-band   { background: var(--green); padding: 72px 0; }
.cta-inner  { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p  { color: rgba(255,255,255,.8); margin: 0; }
.cta-buttons  { display: flex; gap: 16px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Enquiry form ────────────────────────────────────────────── */
.form-wrap { max-width: 680px; margin: 0 auto; }
.site-form .field { margin-bottom: 22px; }
.site-form label  {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 8px;
}
.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d4d0c8;
  border-radius: 7px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: #333;
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus { border-color: var(--green); }
.site-form textarea { min-height: 130px; resize: vertical; }
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.success-msg { background: #ecfdf5; border: 1px solid #86efac; border-radius: 8px; padding: 20px 24px; color: #166534; font-weight: 600; margin-bottom: 24px; }
.error-msg   { background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 20px 24px; color: #991b1b;  font-weight: 600; margin-bottom: 24px; }

/* ── Blog ────────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.blog-card { border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; }
.blog-card-meta { font-size: .75rem; color: #888; margin-bottom: 10px; }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card-body p  { font-size: .875rem; color: #666; margin-bottom: 14px; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer  { background: #0d1f14; color: #ccc; padding: 70px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo-text { font-size: 1.3rem; color: #fff; }
.footer-brand p { font-size: .875rem; color: #999; margin: 12px 0 20px; }
.social-links   { display: flex; gap: 14px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.social-links a:hover { background: var(--gold); }
.social-links svg { width: 16px; height: 16px; color: #fff; }
.footer-links h4,
.footer-contact h4 {
  font-family: 'Lato', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links a,
.footer-contact a   { display: block; font-size: .875rem; color: #aaa; margin-bottom: 10px; transition: color .2s; }
.footer-links a:hover,
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: #666; flex-wrap: wrap; gap: 8px; }

/* ── Package detail page ──────────────────────────────────────── */
.package-hero { height: 55vh; min-height: 400px; position: relative; background: #1a1a1a; }
.package-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.package-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff;
}
.package-hero-content h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.8rem); }
.package-meta { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.package-meta span { font-size: .85rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 6px; }
.itinerary-day { border-left: 3px solid var(--gold); padding: 20px 0 20px 24px; margin-bottom: 8px; }
.day-num { font-size: .72rem; font-weight: 700; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.itinerary-day h4 { font-size: 1.02rem; margin-bottom: 7px; }
.itinerary-day p  { font-size: .9rem; color: #555; margin-bottom: 7px; }
.day-meta { font-size: .8rem; color: #888; display: flex; gap: 18px; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */

/* Large tablet */
@media (max-width: 1100px) {
  .why-us-grid  { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}

/* Tablet */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-inner    { flex-direction: column; text-align: center; }
  .cta-buttons  { justify-content: center; }
  .form-row     { grid-template-columns: 1fr; }
  .faq-columns  { grid-template-columns: 1fr; }
  .why-us-stats { grid-template-columns: 1fr 1fr; }
  .hero-prev,
  .hero-next    { display: none; }
  .trust-inner  { justify-content: center; gap: 20px; }
}

/* ── Mobile nav breakpoint ── */
@media (max-width: 768px) {

  /* Reveal hamburger + WhatsApp icon */
  .nav-mobile-controls { display: flex; }
  .nav-toggle          { display: flex; }

  /* The desktop .site-nav is hidden on mobile — the drawer handles navigation */
  .site-nav { display: none !important; }

  /* Prevent body scroll while nav is open (toggled via JS) */
  body.nav-open { overflow: hidden; }

  /* Layout */
  .packages-grid     { grid-template-columns: 1fr; }
  .destinations-grid { grid-template-columns: 1fr 1fr; }
  .services-grid     { grid-template-columns: 1fr; }
  .weather-widget    { display: none; }
}

/* Small mobile */
@media (max-width: 560px) {
  .section              { padding: 60px 0; }
  .hero-content         { padding-top: 80px; }
  .hero-wrap            { min-height: 460px; }
  .hero-title           { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero-sub             { font-size: .95rem; }
  .hero-actions         { flex-direction: column; align-items: center; }
  .hero-actions .btn    { width: 100%; max-width: 300px; justify-content: center; }
  .features-grid        { grid-template-columns: 1fr; }
  .destinations-grid    { grid-template-columns: 1fr; }
  .reviews-grid         { grid-template-columns: 1fr; }
  .footer-inner         { grid-template-columns: 1fr; gap: 24px; }
  .trust-inner          { flex-direction: column; align-items: flex-start; gap: 12px; }
  .why-us-stats         { grid-template-columns: 1fr 1fr; }
  .package-hero-content { padding: 24px 20px; }
  .faq-question         { font-size: .95rem; }
}

/* Very small (iPhone SE etc.) */
@media (max-width: 380px) {
  .container    { padding: 0 16px; }
  .hero-dots    { bottom: 16px; }
  .hero         { height: 72vh; min-height: 420px; }
  .why-us-stats { grid-template-columns: 1fr; }
}

/* ── Floating Custom Translate Dropdown ── */
.floating-lang {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 8px 14px 8px 16px;
  gap: 8px;
  color: var(--green);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-lang:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.floating-lang select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  cursor: pointer;
  outline: none;
  padding-right: 18px;
  /* Custom tiny dropdown arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 8px auto;
}

#google_translate_element {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}
/* ── Hero search wrap ───────────────────────────────── */
/* ── Hero Search — lives OUTSIDE the hero section ────────────────
   Desktop: negative top margin pulls it up to overlap the hero edge
   Mobile:  flows naturally below the hero, no overlap with buttons
   ────────────────────────────────────────────────────────────────── */
.hero-search-outer {
  position: relative;
  z-index: 10;
  width: 92%;
  max-width: 900px;
  margin: -44px auto 0;   /* overlap the hero by 44px on desktop */
}
.hero-search-wrap {
  position: relative;
  width: 100%;
}
.hero-search-form {
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
  padding: 6px 8px;
  backdrop-filter: blur(6px);
}
.hero-search-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 0;
}
.hs-field {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.hs-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  white-space: nowrap;
  cursor: default;
}
.hs-select,
.hs-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
}
.hs-select option { color: #1a1a1a; background: #fff; }
.hs-input::placeholder { color: #aaa; font-weight: 400; }
.hs-input[type=month] { cursor: pointer; }
.hs-divider {
  width: 1px;
  height: 40px;
  background: #e8e8e8;
  flex-shrink: 0;
}
.hs-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  margin: 4px;
  transition: opacity 0.15s, transform 0.12s;
  white-space: nowrap;
  flex-shrink: 0;
}
.hs-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Tablet: 2-column grid, shorter hero so search is in view ── */
@media (max-width: 820px) {
  .hero { height: 88vh; }
  .hero-search-outer {
    margin-top: -44px;
    width: 94%;
  }
  .hero-search-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .hs-divider { display: none; }
  .hs-field { border-bottom: 1px solid #f0f0f0; padding: 10px 14px; }
  .hs-field:nth-child(1), .hs-field:nth-child(3) { border-right: 1px solid #f0f0f0; }
  .hs-btn { grid-column: 1 / -1; justify-content: center; border-radius: 8px; margin: 6px 8px 8px; padding: 13px; font-size: 0.92rem; }
}

/* ── Mobile: single column, hero shorter so search is visible without scrolling ── */
@media (max-width: 520px) {
  .hero {
    height: 78vh;
    min-height: 460px;
  }
  .hero-search-outer {
    margin-top: -20px;
    width: 96%;
  }
  .hero-search-form {
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    padding: 4px 6px;
  }
  .hero-search-grid { grid-template-columns: 1fr; }
  .hs-field { border-right: none !important; border-bottom: 1px solid #f0f0f0; }
  .hs-field:last-of-type { border-bottom: none; }
  .hs-btn { grid-column: 1; border-radius: 8px; margin: 6px 8px 8px; padding: 13px; }
}

/* ── Country tabs ──────────── */
.country-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; }
.country-tab {
  padding: 8px 20px; border-radius: 24px; border: 1.5px solid transparent; background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit;
}
.country-tab:hover { background: rgba(255,255,255,0.18); color: #fff; }
.country-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.country-tab.light { background: #f5f2ec; color: #666; border-color: #e8e8e8; }
.country-tab.light:hover { border-color: var(--primary); color: var(--primary); }
.country-tab.light.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.country-panel { display: none; }
.country-panel.active { display: block; }

/* ── Accommodations section ─────────────────────────── */
.hotels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.hotel-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.07); transition: transform 0.18s, box-shadow 0.18s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.hotel-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.13); }
.hotel-card-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.hotel-card-img-placeholder { width: 100%; height: 190px; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); display: flex; align-items: center; justify-content: center; color: #4caf50; }
.hotel-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hotel-card-name { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin: 0; }
.hotel-card-loc { font-size: 0.8rem; color: #888; display: flex; align-items: center; gap: 4px; }
.hotel-card-category { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }
.hotel-cat-luxury { background: #fff8e1; color: #b45309; }
.hotel-cat-ultra_luxury { background: #fdf2f8; color: #9c27b0; }
.hotel-cat-mid_range { background: #e8f5e9; color: #2e7d32; }
.hotel-cat-budget { background: #e3f2fd; color: #1565c0; }
.hotel-stars { color: var(--accent); font-size: 0.82rem; letter-spacing: -1px; }

/* ── Shared filter tab bar ──────────────────────────────── */
.filter-tab-bar { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.filter-tab-bar.left-align { justify-content: flex-start; }
.ftab { padding: 8px 20px; border-radius: 24px; border: 1.5px solid transparent; background: #f5f2ec; color: #666; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.15s; font-family: inherit; border-color: #e8e8e8; display: inline-flex; align-items: center; gap: 6px; }
.ftab:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.ftab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.ftab.dark-variant { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.2); }
.ftab.dark-variant:hover { background: rgba(255,255,255,0.22); color: #fff; border-color: rgba(255,255,255,0.5); }
.ftab.dark-variant.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.ftab-count { font-size: 0.7rem; font-weight: 700; background: rgba(0,0,0,0.1); border-radius: 10px; padding: 1px 7px; }
.ftab.active .ftab-count { background: rgba(255,255,255,0.22); }
.ftab-panel { display: none; }
.ftab-panel.active { display: block; }

/* ── Centered flex grid for packages ───────────────────── */
.pkg-home-grid { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.pkg-home-grid .package-card { flex: 0 0 calc(25% - 17px); min-width: 0; }
@media (max-width: 1100px) { .pkg-home-grid .package-card { flex: 0 0 calc(50% - 11px); } }
@media (max-width: 580px) { .pkg-home-grid .package-card { flex: 0 0 100%; } }

/* ── Centered flex grid for destinations ────────────────── */
.dest-home-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.dest-home-grid .dest-card { flex: 0 0 calc(25% - 14px); min-width: 0; }
@media (max-width: 1000px) { .dest-home-grid .dest-card { flex: 0 0 calc(33.333% - 12px); } }
@media (max-width: 700px) { .dest-home-grid .dest-card { flex: 0 0 calc(50% - 9px); } }
@media (max-width: 420px) { .dest-home-grid .dest-card { flex: 0 0 100%; } }

/* ── Centered flex grid for hotels ─────────────────────── */
.hotel-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .hotel-home-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .hotel-home-grid { grid-template-columns: 1fr; } }

/* ── Homepage Blog Grid ─────────────────────────────────── */
.blog-home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .blog-home-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .blog-home-grid { grid-template-columns: 1fr; } }
.blog-home-card { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 2px 18px rgba(0,0,0,0.08); transition: transform 0.18s, box-shadow 0.18s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.blog-home-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.13); }
.blog-home-card-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; display: block; position: relative; }
.blog-home-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-home-card:hover .blog-home-card-img img { transform: scale(1.05); }
.blog-home-card-img-placeholder { width: 100%; aspect-ratio: 16/10; background: linear-gradient(135deg, #e8f5e9, #c8e6c9); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.blog-home-card-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.blog-home-card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.blog-home-card-meta { font-size: 0.74rem; color: #999; display: flex; align-items: center; gap: 8px; }
.blog-home-card-meta svg { flex-shrink: 0; }
.blog-home-card-body h4 { font-size: 0.97rem; font-weight: 700; color: #1a1a1a; margin: 0; line-height: 1.4; }
.blog-home-card-body p { font-size: 0.82rem; color: #666; line-height: 1.6; margin: 0; flex: 1; }
.blog-home-card-read { font-size: 0.8rem; font-weight: 600; color: var(--primary); margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.blog-home-card:hover .blog-home-card-read { gap: 8px; }

/* ── Service Modal ────────────────────────────── */
.svc-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:9500; padding:20px; overflow-y:auto; backdrop-filter:blur(4px); }
.svc-overlay.open { display:flex; align-items:flex-start; justify-content:center; }
.svc-modal { background:#fff; border-radius:20px; width:100%; max-width:600px; margin:auto; box-shadow:0 20px 60px rgba(0,0,0,.22); animation:svcIn .2s ease; overflow:hidden; }
@keyframes svcIn { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
.svc-head { padding:24px 28px 18px; position:relative; }
.svc-head h3 { font-size:1.2rem; font-weight:700; color:#fff; margin:0 0 4px; }
.svc-head p  { font-size:.85rem; color:rgba(255,255,255,.82); margin:0; line-height:1.5; }
.svc-close { position:absolute; top:16px; right:18px; background:rgba(255,255,255,.15); border:none; border-radius:50%; width:30px; height:30px; cursor:pointer; color:#fff; display:flex; align-items:center; justify-content:center; }
.svc-body { padding:22px 28px; }
.svc-divider { height:1px; background:#f0f0f0; margin:14px 0; }
.svc-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.svc-row.single { grid-template-columns:1fr; }
@media(max-width:480px) { .svc-row { grid-template-columns:1fr; } }
.svc-field label { display:block; font-size:.72rem; font-weight:700; color:#666; margin-bottom:4px; text-transform:uppercase; letter-spacing:.05em; }
.svc-field input, .svc-field select, .svc-field textarea { width:100%; padding:9px 12px; border:1.5px solid #e0e0e0; border-radius:8px; font-size:.875rem; color:#222; background:#fafafa; outline:none; font-family:inherit; transition:border-color .15s; }
.svc-field input:focus, .svc-field select:focus, .svc-field textarea:focus { border-color:var(--accent); background:#fff; }
.svc-field textarea { resize:vertical; min-height:72px; }
.svc-submit { width:100%; padding:13px; color:#fff; border:none; border-radius:10px; font-size:.95rem; font-weight:700; cursor:pointer; transition:opacity .15s; margin-top:4px; }
.svc-submit:hover { opacity:.88; }
.svc-success { text-align:center; padding:36px 28px; }
.svc-success h3 { font-size:1.15rem; margin:14px 0 8px; }
.svc-success p { color:#666; font-size:.88rem; line-height:1.6; }

/* ── Cookie Consent Modal ────────────────────────────── */
.cookie-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(4px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.4s ease; }
.cookie-overlay.show { display: flex; opacity: 1; }
.cookie-modal { background: #f8f9fa; width: 100%; max-width: 650px; border-radius: 8px; padding: 32px 36px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); transform: translateY(20px); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cookie-overlay.show .cookie-modal { transform: translateY(0); }
.cookie-title { font-family: 'Lato', sans-serif; font-size: 1.1rem; font-weight: 700; color: #333; margin-bottom: 12px; }
.cookie-text { font-size: 0.9rem; color: #555; line-height: 1.6; margin-bottom: 24px; }
.cookie-buttons { display: flex; gap: 12px; justify-content: flex-end; }
.cookie-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; font-family: 'Lato', sans-serif; font-size: 0.9rem; font-weight: 700; border-radius: 4px; cursor: pointer; transition: all 0.2s ease; flex: 1; max-width: 200px; }
.cookie-btn-outline { background: transparent; border: 1px solid var(--green); color: var(--green); }
.cookie-btn-outline:hover { background: rgba(27, 67, 50, 0.05); }
.cookie-btn-solid { background: var(--green); border: 1px solid var(--green); color: #fff; }
.cookie-btn-solid:hover { opacity: 0.9; transform: translateY(-1px); }
@media (max-width: 500px) { .cookie-modal { padding: 24px 20px; } .cookie-buttons { flex-direction: column; } .cookie-btn { max-width: 100%; width: 100%; } }

/* ══════════════════════════════════════════════════════════════
   PARTNERS & MEMBERSHIPS MARQUEE
   ══════════════════════════════════════════════════════════════ */
.partners-section {
  padding: 60px 0;
  overflow: hidden;
  background: #fff;
}
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
  will-change: transform;
}
.marquee-track:hover,
.marquee-track:focus-within {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  border-right: 1px solid #e8e4de;
}
.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
}
.partner-logo-link:focus-visible {
  outline: 2px solid var(--green, #1b6b35);
  outline-offset: 4px;
  border-radius: 4px;
}
.marquee-item img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.marquee-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}
@media (max-width: 600px) {
  .marquee-item { padding: 0 24px; }
  .marquee-item img { height: 40px; max-width: 110px; }
  .marquee-track { animation-duration: 20s; }
}


/* ══════════════════════════════════════════════════════════════
   BIG 5 MOSAIC SECTION
   ══════════════════════════════════════════════════════════════ */
.big5-section {
  padding: 80px 0 0;
  background: #f9f6f2;
}
.big5-section .container { margin-bottom: 40px; }

.big5-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 6px;
  max-width: 100%;
}

/* Position 1 — large left tile spanning full height */
.big5-tile-1 { grid-column: 1 / 6; grid-row: 1 / 3; }
/* Position 2 — top-right large */
.big5-tile-2 { grid-column: 6 / 10; grid-row: 1 / 2; }
/* Position 3 — top far-right */
.big5-tile-3 { grid-column: 10 / 13; grid-row: 1 / 2; }
/* Position 4 — bottom-right mid */
.big5-tile-4 { grid-column: 6 / 9; grid-row: 2 / 3; }
/* Position 5 — bottom far-right */
.big5-tile-5 { grid-column: 9 / 13; grid-row: 2 / 3; }

.big5-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.big5-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.big5-tile:hover img { transform: scale(1.05); }

.big5-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.68) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.big5-tile:hover .big5-overlay { opacity: 1; }
.big5-tile-1 .big5-overlay { opacity: 1; } /* Always show on hero tile */

.big5-label {
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.big5-tile-1 .big5-label { font-size: 1.8rem; }

.big5-caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .big5-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 220px);
  }
  .big5-tile-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .big5-tile-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .big5-tile-3 { grid-column: 2 / 3; grid-row: 2 / 3; }
  .big5-tile-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .big5-tile-5 { grid-column: 2 / 3; grid-row: 3 / 4; }
  .big5-tile-1 .big5-overlay { opacity: 1; }
}

@media (max-width: 560px) {
  .big5-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
    gap: 4px;
  }
  .big5-tile-1 .big5-label { font-size: 1.3rem; }
  .big5-overlay { opacity: 1 !important; }
  .big5-label { font-size: 1rem; }
}

/* ================================================================
   SIGNATURE HOMEPAGE HERO — RESPONSIVE NATURAL MEDIA + COPY
   Desktop: full-width media at its native aspect ratio with overlay copy.
   Mobile: media at its native ratio, then a light text section below.
   These rules follow the Safari Trips in Kenya homepage hero approach.
================================================================ */
@media (max-width: 1100px) {
  /* At intermediate widths the full desktop navigation becomes cramped. */
  .site-nav { display: none !important; }
  .nav-mobile-controls { display: flex; }
  .nav-toggle { display: flex; }
  .site-header .nav-inner { gap: 12px; }
  .site-logo img { max-width: min(43vw, 190px); }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
  }
  .hero-slides {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .hero-slide::before {
    position: relative;
    inset: auto;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: var(--hero-media-ratio, 16/9);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
  }
  .hero-video-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: var(--hero-media-ratio, 16/9);
    object-fit: contain;
  }
  .hero-overlay {
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: var(--hero-media-ratio, 16/9);
    background: rgba(8, 30, 20, .15);
  }
  .hero-content {
    position: relative;
    inset: auto;
    flex: 1;
    width: 100%;
    min-height: 405px;
    height: auto;
    padding: 28px max(20px, 5vw) 56px;
    justify-content: center;
    background: #f9f6f0;
    color: #1b352a;
    text-align: center;
  }
  .hero-eyebrow {
    color: var(--green, #163d2d);
    font-size: clamp(.68rem, 2.3vw, .78rem);
    letter-spacing: .13em;
    line-height: 1.4;
    margin: 0 0 9px;
  }
  .hero-title {
    color: #173927;
    text-shadow: none;
    font-size: clamp(1.6rem, 5vw, 2.35rem);
    line-height: 1.18;
    max-width: 25ch;
    margin: 0 auto 12px;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  .hero-sub {
    color: #505750;
    font-size: clamp(.9rem, 2.5vw, 1rem);
    line-height: 1.5;
    max-width: 42ch;
    margin: 0 auto 18px;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 340px);
    margin: 0 auto;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: none;
    min-height: 44px;
    padding: 11px 16px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }
  .hero-actions .btn-gold { color: #163527; }
  .hero-actions .btn-outline-white { color: var(--green, #163d2d); border-color: var(--green, #163d2d); }
  .hero-dots { bottom: 17px; gap: 10px; }
  .hero-dot { border-color: var(--green, #163d2d); }
  .hero-dot.active { background: var(--green, #163d2d); border-color: var(--green, #163d2d); }
  .hero-prev, .hero-next { display: none; }
  .hero-search-outer { margin-top: 0; }
  .weather-widget { display: none; }
}

@media (max-width: 480px) {
  .hero-content { min-height: 430px; padding: 24px 20px 53px; }
  .hero-title { font-size: clamp(1.56rem, 6.5vw, 2rem); }
  .hero-sub { font-size: .92rem; }
  .hero-actions .btn { font-size: .86rem; }
}

@media (max-width: 370px) {
  .hero-content { min-height: 450px; padding-inline: 16px; }
  .hero-title { font-size: 1.56rem; }
  .hero-sub { font-size: .87rem; }
}
