/* ============================================
   JC Tours — Monteverde Cloud Forest Guide
   Design System & Styles
   Developed by TyT Software & Solutions
   ============================================ */

/* --- CSS Variables --- */
:root {
  --black:    #080c05;
  --deep:     #0e1a0a;
  --forest:   #1a2e10;
  --moss:     #2d4a1e;
  --sage:     #4a7a35;
  --leaf:     #6aab4a;
  --mist:     #a8c898;
  --cream:    #eef4ea;
  --white:    #f8faf6;
  --pure:     #ffffff;

  /* Extended surface + hairline tokens (added for the rework) */
  --surface:        #0c1608;          /* intermediate tinted surface */
  --surface-raised: #122109;          /* slightly lifted surface for hover */
  --hairline:        rgba(106,171,74,0.16);
  --hairline-strong: rgba(106,171,74,0.32);
  --label:           #7a9c5e;         /* small-caps labels (mockup sage) */

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', Helvetica, Arial, sans-serif;

  /* Motion tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);   /* entrances / hover */
  --ease-io:  cubic-bezier(0.77, 0, 0.175, 1);  /* on-screen movement */

  --max-width: 1280px;
  --section-padding: 120px 0;
  --section-padding-mobile: 72px 0;
}

h1, h2, h3, h4, .hero-title, .section-title {
  font-family: 'Cormorant Garamond', serif;
}
body, p, nav, button, input, label, span, .btn {
  font-family: 'Outfit', sans-serif;
}
/* Visually hidden, but readable by screen readers and crawlers (SEO/a11y) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.section-tag, .eyebrow {
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Custom Cursor --- */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--leaf);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
}

.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(106,171,74,0.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-ring.expand {
  width: 52px; height: 52px;
  border-color: var(--leaf);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

/* --- Eyebrow Label --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 24px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--leaf);
}

/* --- Navbar (hero-nav) --- */
.hero-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 60px;
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--leaf);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-links a.active {
  color: var(--cream);
}

.nav-cta {
  position: relative;
  overflow: hidden;
  display: inline-block;
  background: var(--leaf) !important;
  color: var(--black) !important;
  border: 1px solid var(--leaf) !important;
  padding: 10px 24px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(106,171,74,0.22);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover {
    background: #7cbf5b !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(106,171,74,0.34);
  }
  .nav-cta:hover::before { left: 150%; }
}

.nav-cta:active { transform: scale(0.97); }
.nav-cta:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  background: none;
  border: 1px solid var(--hairline-strong);
  color: var(--leaf);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .lang-btn:hover {
    background: var(--leaf);
    color: var(--black);
    border-color: var(--leaf);
  }
}

.lang-btn:active { transform: scale(0.97); }
.lang-btn:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.hamburger:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }

/* --- Old navbar (for guide/places pages) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(8, 12, 5, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../images/hero/hero-bridge.jpg');
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(8,12,5,0.92) 0%,
      rgba(8,12,5,0.65) 55%,
      rgba(8,12,5,0.20) 100%),
    linear-gradient(to top,
      rgba(8,12,5,0.95) 0%,
      transparent 45%);
  pointer-events: none;
}

.hero-canvas,
.hero .orb-1,
.hero .orb-2,
.hero .orb-3 {
  display: none;
}

.hero-nav,
.hero-content,
.hero-tag,
.hero-title,
.hero-sub,
.hero-actions,
.hero-stats,
.scroll-indicator {
  position: relative;
  z-index: 2;
}

.hero-title {
  text-shadow: 0 2px 30px rgba(0,0,0,0.7);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 { width: 600px; height: 600px; background: #1e3410; top: -200px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: #6aab4a; top: 20%; right: -100px; opacity: 0.08; animation-delay: -4s; }
.orb-3 { width: 500px; height: 500px; background: #0d1509; bottom: -100px; left: 30%; animation-delay: -8s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.05); }
  66% { transform: translate(-20px,30px) scale(0.95); }
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}

/* Home page hero is full-bleed (direct child of .hero); two-column wrapper */
.hero > .hero-content {
  gap: 44px;
  padding: 48px 60px;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-copy { min-width: 0; }

.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-tag span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--leaf);
}

/* Generic hero title (subpage heros: line-1 + line-2 em) */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}

.hero-title .line-1 { color: var(--mist); font-weight: 400; }
.hero-title .line-2 em { font-style: italic; color: var(--mist); }

/* Home page slogan: serif italic line over a bold sans line */
.hero-title--slogan {
  gap: 14px;
}

.hero-title--slogan .line-1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.6vw, 84px);
  font-weight: 500;
  line-height: 1.0;
  color: var(--cream);
}

.hero-title--slogan .line-1 em {
  font-style: italic;
  color: var(--mist);
}

.hero-title--slogan .line-2 {
  font-family: var(--font-body);
  font-size: clamp(19px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--mist);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--leaf);
  color: var(--black);
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(106,171,74,0.22);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: #7cbf5b;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(106,171,74,0.34);
  }
  .btn-primary:hover::before { left: 150%; }
}

.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.btn-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
}

.btn-text svg { transition: transform 0.3s var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn-text:hover { color: var(--cream); border-bottom-color: var(--leaf); }
  .btn-text:hover svg { transform: translateX(4px); }
}

.btn-text:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

/* --- Hero Stats Strip (asymmetric, hairline separators) --- */
.hero-stats {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 28px;
  position: relative;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--leaf), transparent);
  opacity: 0.55;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 30px;
  transition: transform 0.4s var(--ease-out);
}

.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--hairline); }

.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--mist);
  line-height: 1;
  transition: color 0.3s var(--ease-out);
}

.stat--lead .stat-num {
  font-size: clamp(40px, 4vw, 52px);
}

.stat-label {
  font-family: var(--font-body);
  font-variant: small-caps;
  text-transform: lowercase;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--label);
}

@media (hover: hover) and (pointer: fine) {
  .stat:hover { transform: translateY(-3px); }
  .stat:hover .stat-num { color: var(--cream); }
}

/* --- Hero Showcase: Fauna Spotlight --- */
.hero-showcase { position: relative; min-width: 0; }

.fauna-spotlight {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--moss), var(--deep));
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.spotlight-media { position: absolute; inset: 0; z-index: 1; }

.spotlight-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.1s var(--ease-out), transform 6s linear;
}

.spotlight-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.spotlight-img.img-missing { display: none; }

/* atmosphere: drifting mist + rising light particles */
.spotlight-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.spotlight-mist {
  position: absolute;
  width: 170%;
  height: 170%;
  top: -35%;
  left: -35%;
  background: radial-gradient(ellipse at 32% 42%, rgba(168,200,152,0.12), transparent 55%);
  animation: mistDrift 18s ease-in-out infinite;
}

.spotlight-particles i {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(168,200,152,0.65);
  opacity: 0;
  animation: floatUp 7s linear infinite;
}

.spotlight-particles i:nth-child(1) { left: 12%; animation-delay: 0s; }
.spotlight-particles i:nth-child(2) { left: 26%; animation-delay: 1.4s; }
.spotlight-particles i:nth-child(3) { left: 40%; animation-delay: 2.8s; }
.spotlight-particles i:nth-child(4) { left: 55%; animation-delay: 0.8s; }
.spotlight-particles i:nth-child(5) { left: 68%; animation-delay: 3.6s; }
.spotlight-particles i:nth-child(6) { left: 80%; animation-delay: 2.1s; }
.spotlight-particles i:nth-child(7) { left: 90%; animation-delay: 4.3s; }

@keyframes mistDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6%, -4%); }
}

@keyframes floatUp {
  0% { opacity: 0; transform: translateY(0) scale(1); }
  15% { opacity: 0.85; }
  85% { opacity: 0.45; }
  100% { opacity: 0; transform: translateY(-360px) scale(0.4); }
}

.spotlight-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(to top, rgba(8,12,5,0.86) 0%, transparent 44%);
}

.spotlight-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(8,12,5,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--hairline);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream);
}

.spotlight-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  animation: spotlightPulse 2.4s ease-out infinite;
}

@keyframes spotlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(106,171,74,0.55); }
  70% { box-shadow: 0 0 0 8px rgba(106,171,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(106,171,74,0); }
}

.spotlight-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.spotlight-common {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.15;
}

.spotlight-sci {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.spotlight-counter {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--leaf);
  white-space: nowrap;
  padding-bottom: 2px;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--leaf), transparent);
  animation: scrollDrop 2s ease infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mist);
  writing-mode: vertical-rl;
}

/* --- Old hero elements (for guide/places sub-pages) --- */
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(30, 52, 16, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(17, 30, 9, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(8, 12, 5, 0.9) 0%, transparent 80%),
    linear-gradient(180deg, #080c05 0%, #0d1509 20%, #111e09 40%, #1e3410 60%, #0d1509 100%);
  z-index: 0;
}

/* --- Trust Bar (Social Proof) --- */
.trust-bar {
  background: var(--black);
  padding: 44px 48px;
}

.trust-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  padding: 24px 28px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  transition: transform 0.4s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.trust-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .trust-item:hover {
    transform: translateY(-4px);
    background: rgba(106,171,74,0.06);
    border-color: var(--hairline-strong);
  }
  .trust-item:hover::before {
    transform: scaleX(1);
  }
  .trust-item:hover .trust-cta {
    color: var(--leaf);
  }
  .trust-item:hover .trust-arrow {
    transform: translateX(4px);
  }
}

.trust-item:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

.trust-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-platform {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.trust-rating {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-stars {
  color: var(--leaf);
  font-size: 13px;
  letter-spacing: 2px;
}

.trust-score {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--mist);
  letter-spacing: 0.02em;
}

.trust-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  transition: color 0.25s var(--ease-out);
}

.trust-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

/* --- Experience Cards --- */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.exp-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 48px 36px;
  border-radius: 14px;
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .exp-card:hover {
    background: var(--surface-raised);
    border-color: var(--hairline-strong);
    transform: translateY(-4px);
  }
}

.exp-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: block;
  color: var(--leaf);
  line-height: 0;
}

.exp-icon svg { display: block; }

.exp-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 16px;
}

.exp-card p {
  font-size: 0.92rem;
  color: var(--mist);
  line-height: 1.7;
  margin-bottom: 20px;
}

.exp-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.exp-meta span {
  font-size: 0.78rem;
  color: var(--sage);
  letter-spacing: 0.05em;
}

.exp-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--leaf);
}

.exp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-top: 16px;
  transition: color 0.25s var(--ease-out);
}

.exp-link .exp-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .exp-link:hover { color: var(--cream); }
  .exp-link:hover .exp-arrow { transform: translateX(4px); }
}

.exp-link:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

/* --- Section Headers --- */
.section-header {
  margin-bottom: 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 16px;
}

.section-header h2 em {
  color: var(--mist);
}

.section-header p {
  font-size: 1rem;
  color: var(--mist);
  max-width: 520px;
}

/* --- Testimonials (editorial) --- */
.testimonials-section {
  background: var(--forest);
}

.testimonials {
  display: grid;
  gap: 28px;
}

.tm-feature {
  position: relative;
  padding: 52px 44px 40px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
}

.tm-feature::before {
  content: '\201C';
  position: absolute;
  top: -52px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 16rem;
  line-height: 1;
  color: var(--leaf);
  opacity: 0.14;
  pointer-events: none;
}

.tm-quote {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.3rem, 2.1vw, 1.55rem);
  line-height: 1.55;
  color: var(--cream);
  max-width: 900px;
  margin-bottom: 28px;
}

.tm-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.tm-stars {
  color: var(--leaf);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.tm-author {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
}

.tm-origin {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--mist);
}

.tm-origin::before {
  content: '\00B7';
  margin-right: 14px;
  color: var(--sage);
}

.tm-flag {
  font-size: 1.15rem;
  margin-left: auto;
}

.tm-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.tm-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-card:hover {
    border-color: var(--hairline-strong);
    transform: translateY(-4px);
  }
}

.tm-quote-sm {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 22px;
}

/* --- TripAdvisor Button --- */
.btn-tripadvisor {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid #34E0A1;
  color: #34E0A1;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.btn-tripadvisor .ta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn-tripadvisor:hover {
    background: #34E0A1;
    color: var(--black);
  }
  .btn-tripadvisor:hover .ta-arrow {
    transform: translateX(4px);
  }
}

.btn-tripadvisor:active { transform: scale(0.97); }
.btn-tripadvisor:focus-visible { outline: 2px solid #34E0A1; outline-offset: 3px; }

/* --- Booking / Contact Section --- */
.booking-section {
  background: var(--black);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.booking-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 24px;
}

.booking-info h2 em {
  color: var(--mist);
}

.booking-info > p {
  color: var(--mist);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* --- Direct Contact --- */
.direct-contact {
  margin-top: 28px;
}

.direct-contact > p {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 16px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.25s;
}

.contact-method:hover {
  color: var(--leaf);
}

.cancel-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--sage);
  letter-spacing: 0.05em;
}

/* --- Buttons --- */
.btn-gold {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 16px 40px;
  background: var(--leaf);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: none;
  box-shadow: 0 6px 18px rgba(106,171,74,0.22);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s ease;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease-out);
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    background: #7cbf5b;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(106,171,74,0.34);
  }
  .btn-gold:hover::before { left: 150%; }
}

.btn-gold:active { transform: scale(0.97); }
.btn-gold:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  cursor: none;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    color: var(--cream);
    border-bottom-color: var(--leaf);
  }
  .btn-ghost:hover svg {
    transform: translateX(4px);
  }
}

.btn-ghost:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

.btn-ghost svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease-out);
}

/* --- Form --- */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 300;
  border-radius: 8px;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  cursor: none;
}

@media (hover: hover) and (pointer: fine) {
  .form-group input:hover,
  .form-group select:hover,
  .form-group textarea:hover {
    border-color: var(--hairline-strong);
  }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--leaf);
  background: var(--surface-raised);
  box-shadow: 0 0 0 3px rgba(106,171,74,0.14);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(168,200,152,0.45);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--leaf);
  box-shadow: 0 0 0 1px var(--leaf);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236aab4a' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--black);
  color: var(--cream);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  background: #25D366;
  color: #080c05;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.3s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.3s var(--ease-out);
  margin-top: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-submit:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(37,211,102,0.28);
  }
}

.btn-submit:active { transform: scale(0.97); }
.btn-submit:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* --- Footer --- */
footer {
  background: var(--black);
  border-top: 1px solid rgba(106,171,74,0.08);
  padding: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(106,171,74,0.08);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mist);
  font-weight: 300;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(122,150,104,0.4);
  letter-spacing: 0.05em;
}

.tyt-credit a {
  color: rgba(106,171,74,0.5);
  text-decoration: none;
  transition: color 0.25s;
}

.tyt-credit a:hover {
  color: var(--leaf);
}

/* --- About Section (index) --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 3rem;
  font-weight: 500;
  color: var(--cream);
  margin: 16px 0 24px;
  line-height: 1.05;
}

.about-text h2 em {
  font-style: italic;
  color: var(--leaf);
  font-weight: 400;
}

.about-text p {
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 520px;
}

/* Credentials sit 2x2 inside the narrower guide column on the home page */
.about-text .credential-badges {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 32px;
}

/* --- Guide Photos (used on the home page guide section) --- */
.guide-photos {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: start;
}

.guide-photo-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
}

.guide-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-photo-stack img {
  width: 100%;
  height: 248px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .guide-photos { grid-template-columns: 1fr; }
  .guide-photo-main img { height: 320px; }
  .guide-photo-stack { flex-direction: row; }
  /* flex img items default to min-width:auto (their intrinsic width),
     which forced the row wider than the viewport — clamp it */
  .guide-photo-stack img { height: 180px; flex: 1 1 0; min-width: 0; }
}

/* --- Guide Page: Bio --- */
.bio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bio-portrait {
  position: relative;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--forest), var(--moss));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(106,171,74,0.15);
}

.bio-portrait-icon {
  font-size: 6rem;
  opacity: 0.3;
}

.bio-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--leaf);
  color: var(--black);
  padding: 10px 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bio-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 32px;
}

.bio-text h2 em {
  color: var(--mist);
}

.bio-text p {
  color: var(--mist);
  line-height: 1.9;
  margin-bottom: 24px;
  font-size: 1rem;
}

.credential-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.credential {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: 14px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .credential:hover {
    border-color: var(--hairline-strong);
    transform: translateY(-3px);
  }
}

.credential-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
}

.credential span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

/* --- Experience Detail Cards (tours.html) --- */
.experience-detail {
  padding: 80px 0;
  border-bottom: 1px solid rgba(106,171,74,0.1);
}

.experience-detail:last-child {
  border-bottom: none;
}

.exp-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.exp-detail-header h3 {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.01em;
  color: var(--cream);
}

.exp-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--leaf);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.exp-detail-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.exp-description {
  color: var(--mist);
  line-height: 1.9;
  font-size: 1rem;
  margin-bottom: 32px;
}

.exp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.exp-info-item h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 8px;
}

.exp-info-item p, .exp-info-item li {
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.6;
}

.exp-info-item ul {
  list-style: none;
}

.exp-info-item li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.exp-info-item li::before {
  content: '\00B7';
  position: absolute;
  left: 0;
  color: var(--leaf);
}

.exp-pricing {
  background: rgba(17, 30, 9, 0.4);
  border: 1px solid rgba(106,171,74,0.15);
  padding: 36px;
}

.exp-pricing h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 24px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(106,171,74,0.1);
}

.price-row:last-of-type {
  border-bottom: none;
}

.price-type {
  font-size: 0.88rem;
  color: var(--mist);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--leaf);
}

.price-note {
  font-size: 0.78rem;
  color: var(--sage);
  margin-top: 16px;
  line-height: 1.5;
}

/* Per-tour fauna ("What you'll spot on this tour") */
.exp-fauna {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
}

.exp-fauna h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 10px;
}

.exp-fauna-list {
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Booking CTA Section --- */
.booking-cta {
  background: linear-gradient(135deg, var(--forest), var(--black));
  text-align: center;
  padding: 100px 0;
}

.booking-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 40px;
}

.booking-cta h2 em {
  color: var(--mist);
}

.booking-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* --- Places Page --- */
.place-section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(106,171,74,0.1);
}

.place-header {
  margin-bottom: 48px;
}

.place-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 24px;
}

.place-header h2 em {
  color: var(--mist);
}

.place-description {
  color: var(--mist);
  line-height: 1.9;
  font-size: 1rem;
  max-width: 800px;
  margin-bottom: 48px;
}

.place-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  text-align: center;
  padding: 32px 20px;
  border-radius: 14px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .fact-card:hover {
    border-color: var(--hairline-strong);
    transform: translateY(-3px);
  }
}

.fact-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--leaf);
  margin-bottom: 8px;
  display: block;
}

.fact-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
}

/* --- Hours Table --- */
.hours-table {
  width: 100%;
  max-width: 600px;
  margin-bottom: 32px;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(106,171,74,0.1);
}

.hours-table th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  font-weight: 500;
}

.hours-table td {
  font-size: 0.92rem;
  color: var(--mist);
}

.place-note {
  font-size: 0.85rem;
  color: var(--sage);
  line-height: 1.6;
  padding: 20px;
  border: 1px solid rgba(106,171,74,0.15);
  margin-bottom: 48px;
}

/* --- Map --- */
.place-map {
  width: 100%;
  height: 400px;
  margin-top: 48px;
}

.place-map iframe {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(106,171,74,0.15);
  filter: grayscale(100%) sepia(30%) hue-rotate(70deg) brightness(0.6);
  transition: filter 0.4s ease;
}

.place-map iframe:hover {
  filter: grayscale(50%) sepia(15%) hue-rotate(70deg) brightness(0.8);
}

/* --- Tips Grid --- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tip-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 36px 28px;
  border-radius: 14px;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tip-card:hover {
    border-color: var(--hairline-strong);
    background: var(--surface-raised);
    transform: translateY(-4px);
  }
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.tip-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 12px;
}

.tip-card p {
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.7;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  height: 58px;
  padding: 0;
  border-radius: 40px;
  overflow: hidden;
  background: #25D366;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.32);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.whatsapp-float .wa-icon {
  position: relative;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float .wa-icon::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waRing 2.6s var(--ease-out) infinite;
  pointer-events: none;
}

@keyframes waRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: white;
  transition: max-width 0.45s var(--ease-out), opacity 0.3s ease, padding 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(37,211,102,0.45);
  }
  .whatsapp-float:hover .whatsapp-label {
    max-width: 260px;
    opacity: 1;
    padding-right: 24px;
  }
}

.whatsapp-float:active { transform: scale(0.96); }
.whatsapp-float:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

/* --- Wildlife Section --- */
.wildlife { padding: 120px 0; background: var(--deep); }

.section-sub {
  font-family: 'Outfit', sans-serif;
  color: var(--mist);
  font-size: 0.95rem;
  margin-top: 12px;
  max-width: 540px;
}

/* --- Fauna Carousel (auto-scrolling marquee, draggable) --- */
.fauna-carousel {
  position: relative;
  margin-top: 56px;
}

.fauna-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}

.fauna-viewport::-webkit-scrollbar { display: none; }
.fauna-viewport.dragging { cursor: grabbing; }
.fauna-viewport.dragging .fauna-card { pointer-events: none; }

.fauna-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 4px;
}

.fauna-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 24vw, 300px);
  height: 380px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--moss), var(--forest));
  border: 1px solid var(--hairline);
}

.fauna-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  -webkit-user-drag: none;
  user-select: none;
}

.fauna-card img.img-missing { visibility: hidden; }

@media (hover: hover) and (pointer: fine) {
  .fauna-card:hover img { transform: scale(1.05); }
}

.fauna-card-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 18px 18px;
  background: linear-gradient(to top, rgba(8,12,5,0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fauna-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.2;
}

.fauna-sci {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--leaf);
}

.fauna-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(12,22,8,0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--hairline);
  color: var(--mist);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.fauna-arrow--prev { left: -6px; }
.fauna-arrow--next { right: -6px; }

@media (hover: hover) and (pointer: fine) {
  .fauna-arrow:hover {
    background: var(--leaf);
    color: var(--black);
    border-color: var(--leaf);
  }
}

.fauna-arrow:active { transform: translateY(-50%) scale(0.94); }
.fauna-arrow:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* --- FAQ Section --- */
.faq { padding: 120px 0; background: var(--black); }

.faq-list {
  margin-top: 60px;
  border-top: 1px solid rgba(106,171,74,0.2);
}

.faq-item {
  border-bottom: 1px solid rgba(106,171,74,0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 24px;
}

.faq-question > span[data-en] {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
}

.faq-icon {
  font-size: 1.6rem;
  color: var(--leaf);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-weight: 300;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-family: 'Outfit', sans-serif;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.85;
  max-width: 680px;
}

/* --- Scroll Reveal (new) --- */
.faq-item,
.guide-photos,
.section-header {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-main {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .fauna-spotlight {
    margin: 0 auto;
    max-width: 400px;
  }

  .experiences-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bio-portrait {
    max-width: 360px;
  }

  .exp-detail-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .place-facts,
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .hero-nav { padding: 20px 24px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(160deg, var(--deep) 0%, var(--black) 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 88px 24px 48px;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 20px;
    letter-spacing: 0.1em;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 18px;
  }

  .hamburger { display: flex; z-index: 201; }

  .hero { background-position: 30% center; }
  .hero > .hero-content { padding: 40px 24px; gap: 36px; }

  .wildlife { padding: 72px 0; }
  .fauna-card { width: clamp(220px, 70vw, 280px); height: 340px; }

  .tm-secondary { grid-template-columns: 1fr; }
  .tm-feature { padding: 44px 26px 32px; }
  .tm-feature::before { font-size: 11rem; top: -34px; }

  .faq { padding: 72px 0; }
  .faq-question > span[data-en] { font-size: 1.05rem; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding-top: 24px;
  }
  .hero-stats .stat { padding: 16px 0 16px 18px; }
  .hero-stats .stat:nth-child(odd) { padding-left: 0; border-left: none; }
  .hero-stats .stat:nth-child(even) { border-left: 1px solid var(--hairline); }
  .hero-stats .stat:nth-child(n+3) { border-top: 1px solid var(--hairline); }

  .trust-bar { padding: 24px; }

  .trust-inner {
    grid-template-columns: 1fr;
  }

  .logo-sub { display: none; }

  .container { padding: 0 24px; }

  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }

  .scroll-indicator { display: none; }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  footer { padding: 40px 24px; }

  .exp-info-grid {
    grid-template-columns: 1fr;
  }

  .place-facts,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .credential-badges {
    grid-template-columns: 1fr 1fr;
  }

  /* Hide custom cursor on mobile */
  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  body { cursor: auto; }

  .btn-gold,
  .btn-ghost,
  .btn-primary,
  .btn-submit,
  .lang-btn,
  .form-group input,
  .form-group select,
  .form-group textarea,
  .whatsapp-float {
    cursor: auto;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-label { display: none; }
}

@media (max-width: 480px) {
  .booking-cta-buttons {
    flex-direction: column;
  }

  .credential-badges {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REDUCED MOTION
   Respect users who prefer no animation: drop
   transforms and looping motion, keep simple
   opacity/color transitions only.
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .faq-item,
  .guide-photos,
  .section-header {
    opacity: 1 !important;
    transform: none !important;
  }

  /* WhatsApp float: show the label, drop the pulsing ring */
  .whatsapp-label {
    max-width: 260px;
    opacity: 1;
    padding-right: 24px;
  }
  .whatsapp-float .wa-icon::after { display: none; }
}

/* ============================================
   RONDA 3 — language toggle · email float ·
   ICT modal · responsive polish
   ============================================ */

/* --- Language Toggle (translation pill, Option B) --- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 26px;
  background: rgba(106,171,74,0.18);
  border: 1.5px solid var(--leaf);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.lang-toggle-icon { width: 15px; height: 15px; color: var(--leaf); flex: 0 0 auto; }

.lang-code { display: inline-block; }
.lang-code--active { color: var(--cream); }
.lang-code--inactive { color: var(--sage); }
.lang-sep { color: var(--sage); opacity: 0.6; }

@media (hover: hover) and (pointer: fine) {
  .lang-toggle:hover {
    background: rgba(106,171,74,0.28);
    transform: translateY(-1px);
  }
}

.lang-toggle:active { transform: scale(0.97); }
.lang-toggle:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

.lang-toggle.flip .lang-code--active { animation: langFlip 0.35s var(--ease-out); }

@keyframes langFlip {
  0%   { transform: rotateX(-90deg); opacity: 0; }
  100% { transform: rotateX(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lang-toggle.flip .lang-code--active { animation: none; }
}

/* --- Floating Email Button --- */
.email-float {
  position: fixed;
  right: 32px;
  bottom: 102px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  height: 56px;
  border-radius: 40px;
  overflow: hidden;
  background: #15280f;
  color: var(--cream);
  border: 1px solid rgba(106,171,74,0.4);
  box-shadow: 0 8px 26px rgba(0,0,0,0.35);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.email-float .ef-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-float .ef-label {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: max-width 0.45s var(--ease-out), opacity 0.3s ease, padding 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .email-float:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
  .email-float:hover .ef-label { max-width: 240px; opacity: 1; padding-right: 22px; }
}

.email-float:active { transform: scale(0.96); }
.email-float:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .email-float .ef-label { max-width: 240px; opacity: 1; padding-right: 22px; }
}

/* --- Clickable ICT credential --- */
.credential-btn {
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
}

.credential-btn .credential-icon { transition: transform 0.25s var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .credential-btn:hover {
    border-color: var(--leaf);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  }
  .credential-btn:hover .credential-icon { transform: scale(1.08); }
  .credential-btn:hover .credential-cta { color: var(--cream); border-color: var(--cream); }
}

.credential-btn:active { transform: scale(0.98); }
.credential-btn:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

/* "View ICT license" affordance inside the ICT credential button */
.credential-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  border-bottom: 1px solid var(--leaf);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.credential-cta svg { width: 13px; height: 13px; flex: 0 0 auto; }
.credential-cta span { color: inherit; font-size: inherit; letter-spacing: inherit; }

/* --- ICT Certificate Modal --- */
.ict-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.ict-modal[hidden] { display: none; }
.ict-modal.open { opacity: 1; }

.ict-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,12,5,0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.ict-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}

.ict-modal.open .ict-modal-card { transform: none; }

.ict-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cream);
  background: rgba(8,12,5,0.5);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .ict-modal-close:hover { background: var(--leaf); color: var(--black); }
}

.ict-modal-close:active { transform: scale(0.94); }
.ict-modal-close:focus-visible { outline: 2px solid var(--leaf); outline-offset: 2px; }

.ict-modal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--cream);
  margin-bottom: 22px;
  padding-right: 44px;
}

.ict-modal-images { display: flex; flex-direction: column; gap: 16px; }

.ict-modal-images img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--deep);
}

@media (prefers-reduced-motion: reduce) {
  .ict-modal, .ict-modal-card { transition: none; }
  .ict-modal-card { transform: none; }
}

/* --- Responsive polish (Ronda 3) --- */
@media (max-width: 1024px) {
  .email-float { right: 28px; }
}

@media (max-width: 768px) {
  .email-float { right: 20px; bottom: 88px; cursor: auto; }
  .email-float .ef-label { display: none; }
  .lang-toggle { cursor: auto; }
}

/* Keep the floating buttons from covering the open mobile menu */
body.menu-open .whatsapp-float,
body.menu-open .email-float {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out);
}

/* Lock the page behind the open mobile menu */
body.menu-open { overflow: hidden; }

/* The home nav (.hero-nav) ends up at z-index:2 (a later grouped rule overrides
   its own z-index:10), which sits BELOW .hero-content (z-index:5) — so the fixed
   menu, trapped in the nav's stacking context, rendered under the hero. Lift the
   nav above the page while the menu is open so the overlay actually covers it.
   The injected ✕ button (z-index:2100) still sits above the panel. */
body.menu-open .hero-nav,
body.menu-open .navbar {
  z-index: 2000;
}

/* The subpage navbar uses backdrop-filter when scrolled, which turns it into the
   containing block for the fixed menu — neutralize it while the menu is open so
   the overlay covers the whole viewport. */
body.menu-open .navbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Mobile menu close (✕) button — injected by main.js, shown only while open */
.nav-close {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2100;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(106,171,74,0.14);
  border: 1px solid var(--hairline-strong);
  color: var(--cream);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

body.menu-open .nav-close { display: flex; }

@media (hover: hover) and (pointer: fine) {
  .nav-close:hover { background: rgba(106,171,74,0.28); }
}

.nav-close:active { transform: scale(0.94); }
.nav-close:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero > .hero-content { padding: 32px 20px; gap: 30px; }
  .hero { background-position: 32% center; }
  .hero-title--slogan .line-1 { font-size: clamp(28px, 8vw, 42px); }
  .fauna-card { width: clamp(200px, 80vw, 260px); height: 300px; }
  .ict-modal { padding: 16px; }
  .ict-modal-card { padding: 20px; }
  .whatsapp-float { bottom: 16px; right: 16px; }
  .email-float { bottom: 84px; right: 16px; }
}
