/* =========================================================================
   Ssesa Business Safaris — brand layer on top of Bootstrap 5 (CDN).
   Loaded after bootstrap.min.css, so rules here win on equal specificity.
   ========================================================================= */

:root {
  --color-primary: #1B5E20;
  --color-primary-light: #2E7D32;
  --color-secondary: #F9A825;
  --color-accent: #C62828;
  --color-dark: #1A1A1A;
  --color-neutral: #FAF6EF;
  --color-whatsapp: #25D366;
  /* Darker derivative of --color-secondary used only for the focus ring:
     the raw gold (#F9A825) is only ~2:1 against white/sand — well under
     the 3:1 AA minimum for non-text UI indicators — while this shade
     clears 3:1 against white, sand and the dark header/hero alike. */
  --color-focus: #B37005;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --header-height: 76px;
  --shadow-soft: 0 8px 24px rgba(26, 26, 26, 0.12);
  --radius: 14px;
}

/* ---- base -------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background-color: var(--color-neutral);
  line-height: 1.6;
}

h1, h2, h3, h4, .brand-word {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
}

section[id] {
  scroll-margin-top: var(--header-height);
}

a {
  color: var(--color-primary);
}

.section-eyebrow {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.section-lede {
  color: #4a4a4a;
  max-width: 640px;
}

/* Safety net: any inline icon SVG dropped into a .btn (whatever the
   button's own variant) gets a sane default size instead of the SVG
   replaced-element default (~300x150px). */
.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  vertical-align: -0.15em;
}

.btn-brand-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
}
.btn-brand-primary:hover,
.btn-brand-primary:focus {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
}

.btn-brand-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-dark);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
}
.btn-brand-secondary:hover,
.btn-brand-secondary:focus {
  background-color: #ffb833;
  border-color: #ffb833;
  color: var(--color-dark);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
  color: #fff;
  /* Bootstrap's own .btn class normally resets this; set it explicitly
     here too since coming-soon.php reuses .btn-whatsapp without loading
     Bootstrap at all. */
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #1ebc59;
  border-color: #1ebc59;
  color: #fff;
}
.btn-whatsapp svg { width: 1.1em; height: 1.1em; flex: none; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

/* Bootstrap 5.3 ships its own same-or-higher-specificity :focus-visible
   (and, for .btn-close, :focus) rules on these components that zero out
   the outline above and substitute a low-alpha blue ring — measured at
   only ~1.4-2.1:1 against white, sand and the dark hero/footer here, well
   under the 3:1 AA minimum for non-text focus indicators. Restore a real,
   high-contrast outline on exactly the components Bootstrap overrides. */
.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible,
.btn-close:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  box-shadow: none;
}

/* ---- header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  /* A step darker than --color-neutral (#FAF6EF) so the header reads as
     its own layer rather than blending into the page background. */
  background: rgba(237, 227, 205, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(27, 94, 32, 0.12);
  min-height: var(--header-height);
}

/* Bootstrap's default .navbar padding (0.5rem top/bottom) left the brand
   and nav links sitting flush against the very top of the sticky header
   instead of using its min-height. (Making .site-header itself display:flex
   was tried first and reverted — that turns .navbar into a flex item that
   shrinks to its content width instead of block-filling the header, which
   broke the internal justify-content:space-between that spreads the brand
   left / nav+WhatsApp button right.) Padding directly on .navbar adds the
   same breathing room without touching how it's sized. */
.site-header .navbar {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
/* The client's logo is a square, full-colour illustration on a sky
   background (not transparent), so it sits in a rounded tile rather than
   floating on the sand header. Its own lettering is unreadable at this
   size, which is why the text brand stays beside it. */
.brand-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(26, 26, 26, 0.15);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 0.1rem;
}
.brand:hover { text-decoration: none; }
.brand-word {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
/* Phones: logo, name and hamburger must share ~360px without wrapping. */
@media (max-width: 400px) {
  .brand { gap: 0.5rem; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-word { font-size: 1.15rem; }
}
.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
}
/* The header's tagline sits on the sand header background, where the raw
   --color-secondary gold is only ~1.8:1 (fails AA's 4.5:1 for text). The
   same class on the dark footer keeps the brighter gold, which already
   passes there (~8.8:1) — only the header instance needs a darker shade. */
.site-header .brand-tagline {
  color: #8B5704;
}

.site-header .nav-link {
  font-weight: 600;
  color: var(--color-dark);
  padding: 0.5rem 0.9rem;
}
.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--color-primary);
}

.header-whatsapp-btn {
  padding: 0.5rem 1.15rem;
  font-size: 0.92rem;
}

/* Matches .navbar-expand-lg in index.php — the drawer styling has to apply
   at every width where the hamburger is showing, so this breakpoint and
   that class move together. */
@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    background: var(--color-neutral);
    margin-top: 0.75rem;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }
}

/* ---- hero -------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-kenburns 7s ease-in-out forwards;
}

@keyframes hero-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 2rem 1.25rem 4rem;
}

/* Extra horizontal breathing room beyond Bootstrap's default ~12px
   container gutter on phone/tablet/small-laptop widths, where the hero
   wordmark and CTAs otherwise sit uncomfortably close to the screen edge. */
@media (min-width: 576px) {
  .hero-content { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 992px) {
  .hero-content { padding-left: 3rem; padding-right: 3rem; }
}

.hero-wordmark {
  font-size: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  max-width: 560px;
  margin-bottom: 2rem;
  color: #f4f0e6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Reserve room so the fixed floating WhatsApp button (56px + 20px offset,
   bottom-right) never sits under the stacked hero CTAs on narrow screens. */
@media (max-width: 575.98px) {
  .hero-content { padding-bottom: calc(4rem + 76px); }
}

/* .hero has display:flex with no flex-direction set (so row, the default),
   and .hero-slides is taken out of flow via position:absolute — so without
   its own positioning, .hero-dots was simply the next flex item after
   .hero-content, landing vertically centered on the right edge of the
   viewport instead of anywhere near the slides it controls. Absolute +
   explicit placement fixes that regardless of .hero's own layout. */
.hero-dots {
  position: absolute;
  top: 1.5rem;
  left: 1.25rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
@media (min-width: 576px) {
  .hero-dots { left: 2rem; }
}
@media (min-width: 992px) {
  .hero-dots { left: 3rem; }
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-active {
  background: var(--color-secondary);
  width: 26px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active { animation: none; transform: none; }
}

/* ---- about --------------------------------------------------------------- */

.about-copy p {
  margin-bottom: 1.1rem;
  color: #3a3a3a;
}

/* Mission statement, sitting between the about copy and the trust strip.
   Gold left rule rather than a filled panel: the about section already sits
   on sand, so a tinted box would barely separate from it. */
.mission-callout {
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255, 255, 255, 0.6);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.mission-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.mission-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-dark);
  margin-bottom: 0;
}

/* ---- shared icon list (services / destinations / why-us) --------------- */

/* One component, three sections: each is the same icon-plus-label card, so
   they share this grid rather than carrying three near-identical rulesets.
   auto-fit + minmax reflows 3 -> 2 -> 1 column on its own, no media queries. */
/* Explicit 1 / 2 / 3 columns rather than auto-fit: the lists are 9, 9 and 6
   items, which fill a 3-wide grid exactly (3x3, 3x3, 2x3). auto-fit picked
   4 columns on a wide screen and left a single orphan card stranded on the
   last row of every section. */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 576px) {
  .icon-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .icon-list { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}

.icon-list-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  /* Barely-there wash rather than flat #fff — enough to give the card an
     edge against the white services section without reading as grey. */
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  border: 1px solid rgba(27, 94, 32, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.45rem;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  /* Same lift and easing as .trip-card, so everything on the page that
     responds to a pointer responds the same way. */
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Gold rule that wipes up the left edge on hover — the same accent the
   mission callout uses, borrowed here as the hover tell. */
.icon-list-item::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--color-secondary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.18s ease;
}

.icon-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26, 26, 26, 0.18);
  border-color: rgba(27, 94, 32, 0.18);
}
.icon-list-item:hover::before { transform: scaleY(1); }

/* Circular badge in the same visual language as .social-icons a and the
   trip modal's .day-number — a filled disc carrying a white glyph, rather
   than a bare outline icon sitting loose in the card. */
.icon-list-badge {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  /* Coloured drop shadow so the disc sits above the card rather than being
     painted onto it — the same trick .whatsapp-float uses. */
  box-shadow: 0 6px 14px rgba(27, 94, 32, 0.28);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.icon-list-badge svg { width: 25px; height: 25px; }

.icon-list-item:hover .icon-list-badge {
  background: var(--color-secondary);
  color: var(--color-dark);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(249, 168, 37, 0.45);
}

/* Destinations invert the badge — gold at rest, green on hover — so the
   three grids read as one family without looking like three copies. */
.icon-list--gold .icon-list-badge {
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 6px 14px rgba(249, 168, 37, 0.4);
}
.icon-list--gold .icon-list-item:hover .icon-list-badge {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(27, 94, 32, 0.35);
}

/* Why-us badges carry a numeral instead of a glyph, in the same serif
   treatment .day-number uses for itinerary days. */
.icon-list-badge.is-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
}

/* ---- scroll reveal ----------------------------------------------------- */

/* Scoped to .js-reveal, a class an inline <head> script adds only when JS
   runs (see index.php). Without that gate a JS failure would leave every
   revealed element permanently invisible on a page that is otherwise
   fully server-rendered and works fine without scripting.
   main.js swaps in .is-visible via IntersectionObserver. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(20px);
  /* --reveal-i is set per item in index.php, so a grid cascades in rather
     than snapping in as one block. Capped there so late items don't stall. */
  transition:
    opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--reveal-i, 0) * 70ms),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* main.js already skips the animation under reduced motion by marking
   everything visible up front; this makes the same guarantee in CSS, so
   the elements can never be caught mid-transition. */
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Services sits between two sand sections, so it takes the white treatment
   (see .trips-section) to keep the page banding alternating. */
.services-section { background: #fff; }

.trust-strip {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(27, 94, 32, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 2.5rem;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
/* height:auto width, not a fixed square: the placeholder SVGs happened to
   be roughly square so a fixed 56x56 box never showed the problem, but a
   real logo (e.g. a wide UTB badge) would get stretched/squished without
   object-fit or an aspect-ratio-preserving size. max-width guards against
   an unusually wide replacement dominating the strip. */
.trust-badges img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.9;
}
/* <figcaption> is block-level by default, so it was stacking below the
   image rather than sitting beside it — with the old fixed 56x56 square
   placeholder that was narrow enough to look intentional, but under the
   real (wider) logo the centered, 90px-capped caption wrapped awkwardly
   onto two lines. Laying the figure out as an inline row instead. */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.trust-badges figcaption {
  font-size: 0.72rem;
  color: #6a6a6a;
  text-align: left;
  max-width: 140px;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}
.social-icons a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.social-icons a:hover, .social-icons a:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
  transform: translateY(-2px);
}
.social-icons svg { width: 20px; height: 20px; }

/* ---- trips --------------------------------------------------------------- */

.trips-section { background: #fff; }

.trip-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(27,94,32,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.trip-card:hover, .trip-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(26,26,26,0.18);
}

.trip-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.trip-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-ribbon {
  position: absolute;
  top: 0.9rem;
  left: -0.4rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.9rem;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.trip-card-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trip-title {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.trip-meta {
  color: #5a5a5a;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.trip-price {
  color: var(--color-primary);
  font-weight: 700;
}

.trip-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.tag-chip {
  background: var(--color-neutral);
  border: 1px solid rgba(27,94,32,0.2);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  text-transform: capitalize;
}

.trip-card-body .btn {
  margin-top: auto;
}

/* ---- trip modal ------------------------------------------------------ */

#tripModal .modal-content {
  border-radius: var(--radius);
  border: none;
  overflow: hidden;
}
#tripModal .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}
#tripModal .trip-modal-hero {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}
#tripModal .modal-body { padding: 1.5rem 1.75rem 2rem; }

.day-list { list-style: none; padding: 0; margin: 0; }
.day-list li {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(27,94,32,0.18);
}
.day-list li:last-child { border-bottom: none; }
.day-number {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
}
.day-copy h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.day-copy p { font-size: 0.92rem; color: #4a4a4a; margin-bottom: 0; }

.incl-excl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 575.98px) {
  .incl-excl-grid { grid-template-columns: 1fr; }
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.checklist.is-included svg { color: var(--color-primary); }
.checklist.is-excluded svg { color: var(--color-accent); }
.checklist svg { flex: none; width: 1.1em; height: 1.1em; margin-top: 0.15em; }

/* ---- tailor-made strip --------------------------------------------------- */

.tailor-strip {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 3rem 0;
}
.tailor-strip h2 { color: #fff; }
.tailor-strip p { color: #e8f1e8; max-width: 560px; }

/* ---- gallery --------------------------------------------------------------- */

.gallery-grid {
  columns: 3 260px;
  column-gap: 1rem;
}
@media (max-width: 767.98px) {
  .gallery-grid { columns: 2 180px; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
  display: block;
  width: 100%;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.gallery-item:hover img, .gallery-item:focus img {
  transform: scale(1.04);
}
.gallery-item .zoom-hint {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.45), transparent 45%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.gallery-item:hover .zoom-hint, .gallery-item:focus .zoom-hint { opacity: 1; }

/* ---- lightbox -------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(10, 10, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox[hidden] { display: none; }

.lightbox-figure {
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: #f0ece2;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lightbox-btn:hover, .lightbox-btn:focus { background: rgba(255,255,255,0.28); }
.lightbox-btn svg { width: 22px; height: 22px; }

.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 575.98px) {
  .lightbox { padding: 0.75rem; }
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
}

/* ---- footer -------------------------------------------------------------- */

.site-footer {
  background: var(--color-dark);
  color: #d8d3c8;
  padding: 3.5rem 0 2rem;
}
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer a { color: #d8d3c8; }
.site-footer a:hover { color: var(--color-secondary); }

.footer-contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.footer-contact-list svg { flex: none; width: 1.1em; height: 1.1em; color: var(--color-secondary); }

.footer-logo {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 14px;
}
.footer-badges { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
/* Same aspect-ratio-preserving sizing as .trust-badges img (see that rule
   for why: a fixed square box squishes a real, non-square logo). These
   two logos are also dark-on-transparent, which would be nearly invisible
   directly on the footer's near-black background — a small white chip
   behind each keeps them legible, like a real partner-badge treatment. */
.footer-badges img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  background: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.visa-note {
  font-size: 0.85rem;
  color: #b7b2a5;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.copyright {
  font-size: 0.82rem;
  color: #8f8a7d;
  margin-top: 1rem;
}

/* ---- floating whatsapp button --------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  height: 56px;
  min-width: 56px;
  border-radius: 999px;
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  overflow: hidden;
  padding: 0 0;
}
.whatsapp-float-icon {
  width: 56px;
  height: 56px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float-icon svg { width: 30px; height: 30px; }
.whatsapp-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.92rem;
  transition: max-width 0.25s ease, padding 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover .whatsapp-float-label,
  .whatsapp-float:focus-visible .whatsapp-float-label {
    max-width: 160px;
    padding-right: 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .whatsapp-float { right: 14px; bottom: 14px; }
}

/* Keep the floating button clear of the tailor-made banner's own CTA. */
.tailor-strip { padding-bottom: calc(3rem + 64px); }
@media (min-width: 768px) {
  .tailor-strip { padding-bottom: 3rem; }
}