﻿/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  min-height: 880px;
  /* Extra top padding accounts for the fixed navbar so the content centers
     within the space below it while keeping the CTA/badges off the bottom edge. */
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.72) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width-narrow);
  margin-inline: auto;
  padding-inline: var(--space-md);
  text-align: center;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.hero__text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 10px;
  line-height: 1.75;
}

.hero__text:last-of-type {
  margin-bottom: var(--space-sm);
}

.hero__btn {
  margin-top: 22px;
  text-transform: none;
  letter-spacing: 0;
}

/* Hero Trust Badges */
.hero__trust {
  list-style: none;
  margin: 22px auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
  background: rgba(26, 26, 26, 0.42);
  border: 1px solid rgba(243, 178, 24, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform var(--transition-base), border-color var(--transition-base),
    background-color var(--transition-base), box-shadow var(--transition-base);

  /* Load animation */
  opacity: 0;
  transform: translateY(10px);
  animation: hero-badge-in 0.6s ease forwards;
}

.hero__badge:nth-child(1) {
  animation-delay: 0.55s;
}

.hero__badge:nth-child(2) {
  animation-delay: 0.7s;
}

.hero__badge:nth-child(3) {
  animation-delay: 0.85s;
}

.hero__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--color-accent);
}

.hero__badge-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__badge:hover {
  transform: translateY(-3px);
  background: rgba(58, 46, 20, 0.55);
  border-color: var(--color-accent);
  box-shadow: 0 8px 22px rgba(243, 178, 24, 0.32);
}

@keyframes hero-badge-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__badge:hover {
    transform: none;
  }
}

/* ========================================
   Local Welcome Intro Section
   ======================================== */

.welcome-intro {
  background-color: #f1e7de;
  padding-block-start: clamp(88px, 11vw, 128px);
  padding-block-end: 0;
  text-align: center;
}

.welcome-intro__inner {
  max-width: var(--container-width-narrow);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.welcome-intro__divider {
  width: var(--divider-width-sm);
  margin-top: 0;
  margin-bottom: var(--space-lg);
}

.welcome-intro__title {
  font-size: clamp(32px, 4.2vw, 42px);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.4px;
  line-height: 1.12;
  margin-bottom: var(--space-lg);
}

.welcome-intro__text {
  max-width: 760px;
  margin-inline: auto;
  line-height: 1.8;
}

.welcome-intro__visual {
  position: relative;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  margin-top: clamp(52px, 6.5vw, 80px);
  padding: 0 var(--space-md);
}

.welcome-intro__visual img {
  display: block;
  width: 100%;
  /* 92% of source height (613 × 0.92), anchored to bottom — 8% top crop */
  aspect-ratio: 1024 / 564;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
  margin-top: clamp(-48px, -5vw, -32px);
  border: none;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 3%,
    rgba(0, 0, 0, 0.35) 14%,
    rgba(0, 0, 0, 0.75) 30%,
    #000 45%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 3%,
    rgba(0, 0, 0, 0.35) 14%,
    rgba(0, 0, 0, 0.75) 30%,
    #000 45%,
    #000 100%
  );
}

.welcome-intro__section-end {
  display: block;
  width: 100%;
  height: 5px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background-color: var(--color-accent);
}

@media (min-width: 1025px) {
  .welcome-intro__visual {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: clamp(24px, 2.5vw, 36px);
    padding: 0;
  }

  .welcome-intro__visual img {
    margin-top: clamp(-28px, -2.5vw, -20px);
  }
}

/* ========================================
   What We Do Section — Expedition Journey
   ======================================== */

.what-we-do {
  position: relative;
  padding-block: var(--section-padding-y);
  background-color: var(--color-bg-sand);
  overflow: hidden;
}

/* --- Decorative background layers --- */
.what-we-do__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.what-we-do__glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
}

.what-we-do__glow--1 {
  top: -180px;
  left: -160px;
  background: radial-gradient(circle, rgba(243, 178, 24, 0.16) 0%, rgba(243, 178, 24, 0) 62%);
}

.what-we-do__glow--2 {
  bottom: -220px;
  right: -180px;
  background: radial-gradient(circle, rgba(201, 184, 150, 0.28) 0%, rgba(201, 184, 150, 0) 64%);
}

.what-we-do__contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--color-text-dark);
  opacity: 0.04;
}

.what-we-do__rose {
  position: absolute;
  top: 8%;
  right: 5%;
  width: 180px;
  height: 180px;
  color: var(--color-accent);
  opacity: 0.06;
  animation: jt-rose-spin 90s linear infinite;
}

@keyframes jt-rose-spin {
  to {
    transform: rotate(360deg);
  }
}

.what-we-do .container {
  position: relative;
  z-index: 1;
}

.what-we-do__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 72px;
}

.what-we-do__header .section-label {
  margin-bottom: var(--space-xs);
}

.what-we-do__title {
  letter-spacing: -0.3px;
}

.what-we-do__subtitle {
  max-width: 600px;
  margin-inline: auto;
  margin-top: var(--space-md);
  line-height: 1.8;
  color: var(--color-text-body);
}

/* --- Journey wrapper --- */
.journey {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}

/* --- The connecting hiking trail --- */
.journey__trail {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: 80px;
  transform: translateX(-50%);
  z-index: 0;
}

.journey__trail-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.journey__trail-base,
.journey__trail-progress {
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.journey__trail-base {
  stroke: var(--color-sand-dark);
  stroke-width: 2;
  opacity: 0.55;
  stroke-dasharray: 2 7;
}

.journey__trail-progress {
  stroke: var(--color-accent);
  stroke-width: 2.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 0 4px rgba(243, 178, 24, 0.5));
  transition: stroke-dashoffset 0.15s linear;
}

/* --- Journey list --- */
.journey__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

/* --- Milestone (desktop alternating) --- */
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  column-gap: 8px;
}

.milestone__content {
  grid-column: 1;
  max-width: 460px;
}

.milestone--left .milestone__content {
  justify-self: end;
  text-align: right;
}

.milestone--left .milestone__art {
  grid-column: 3;
  justify-self: start;
}

.milestone--right .milestone__content {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.milestone--right .milestone__art {
  grid-column: 1;
  justify-self: end;
}

/* --- Waypoint node on the trail --- */
.milestone__node {
  grid-column: 2;
  justify-self: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  transition: transform var(--transition-base);
}

.milestone__node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(243, 178, 24, 0.35);
  background: var(--color-bg-sand);
  box-shadow: 0 0 0 6px rgba(245, 239, 227, 0.9);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.milestone__node-mark {
  position: relative;
  width: 22px;
  height: 22px;
}

/* --- Icon --- */
.milestone__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: var(--space-sm);
}

.milestone--left .milestone__content .milestone__icon {
  margin-left: auto;
}

.milestone__halo {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 178, 24, 0.22) 0%, rgba(243, 178, 24, 0) 68%);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.milestone__halo--warm {
  background: radial-gradient(circle, rgba(243, 178, 24, 0.3) 0%, rgba(212, 154, 16, 0.12) 40%, rgba(243, 178, 24, 0) 70%);
}

.milestone__icon-float {
  position: relative;
  display: inline-flex;
  animation: jt-float 6s ease-in-out infinite;
}

.jt-icon {
  display: block;
  width: 72px;
  height: 72px;
}

@keyframes jt-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* --- Gold accent line --- */
.milestone__accent {
  display: block;
  width: 72px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  background-size: 200% 100%;
  animation: jt-shimmer 4s ease-in-out infinite;
}

.milestone--left .milestone__content .milestone__accent {
  margin-left: auto;
}

@keyframes jt-shimmer {
  0%, 100% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
}

.milestone__title {
  margin-bottom: 14px;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: var(--color-text-dark);
}

.milestone__text {
  max-width: 600px;
  line-height: 1.85;
  color: var(--color-text-body);
}

.milestone--left .milestone__content .milestone__text {
  margin-left: auto;
}

/* --- Small decorative element --- */
.milestone__deco {
  display: block;
  margin-top: 20px;
  color: var(--color-accent);
  opacity: 0.55;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.milestone__deco svg {
  width: 96px;
  height: auto;
}

.milestone--left .milestone__content .milestone__deco {
  margin-left: auto;
}

.milestone--left .milestone__content .milestone__deco svg {
  transform: scaleX(-1);
}

/* --- Illustration area (no boxes, pure line art) --- */
.milestone__art {
  width: 100%;
  max-width: 300px;
  color: var(--color-accent-dark);
  opacity: 0.16;
  animation: jt-float 9s ease-in-out infinite;
}

.milestone__art svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================
   Scroll reveal — each milestone enters independently
   ========================================================== */
.milestone__icon,
.milestone__accent,
.milestone__title,
.milestone__text,
.milestone__deco,
.milestone__art,
.milestone__node-mark {
  opacity: 0;
  will-change: transform, opacity;
}

.milestone__icon {
  transform: scale(0.4);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.milestone__accent {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.milestone--left .milestone__content .milestone__accent {
  transform-origin: right center;
}

.milestone__title,
.milestone__text {
  transform: translateY(18px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.milestone__deco {
  transform: translateY(10px) scale(0.9);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.milestone__art {
  transform: translateY(24px);
  transition: transform 0.9s ease, opacity 0.9s ease;
}

.milestone__node-mark {
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

/* Revealed state — staggered cinematic sequence */
.milestone.is-in .milestone__node-mark {
  opacity: 1;
  transform: scale(1);
}

.milestone.is-in .milestone__icon {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.05s;
}

.milestone.is-in .milestone__accent {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.28s;
}

.milestone.is-in .milestone__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

.milestone.is-in .milestone__text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.56s;
}

.milestone.is-in .milestone__deco {
  opacity: 0.55;
  transform: translateY(0) scale(1);
  transition-delay: 0.72s;
}

.milestone.is-in .milestone__art {
  opacity: 0.16;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* ==========================================================
   Hover — organic, subtle
   ========================================================== */
.milestone:hover .milestone__icon,
.milestone:focus-within .milestone__icon {
  transform: scale(1.08);
}

.milestone:hover .milestone__halo,
.milestone:focus-within .milestone__halo {
  opacity: 1.2;
  transform: scale(1.15);
}

.milestone:hover .milestone__deco,
.milestone:focus-within .milestone__deco {
  opacity: 0.95;
}

.milestone--left:hover .milestone__deco {
  transform: translateX(-6px);
}

.milestone--right:hover .milestone__deco {
  transform: translateX(6px);
}

.milestone:hover .milestone__node,
.milestone:focus-within .milestone__node {
  transform: scale(1.12) rotate(6deg);
}

.milestone:hover .milestone__node-ring,
.milestone:focus-within .milestone__node-ring {
  border-color: rgba(243, 178, 24, 0.7);
  box-shadow: 0 0 0 6px rgba(245, 239, 227, 0.9), 0 0 14px rgba(243, 178, 24, 0.4);
}

.milestone:hover .milestone__art,
.milestone:focus-within .milestone__art {
  opacity: 0.24;
}

/* ==========================================================
   Animated icon internals
   ========================================================== */
.jt-icon g,
.jt-icon path,
.jt-icon circle {
  transform-box: fill-box;
}

/* Compass — slowly oscillating needle */
.jt-icon__needle {
  transform-origin: center;
  animation: jt-compass 9s ease-in-out infinite;
}

@keyframes jt-compass {
  0%, 100% {
    transform: rotate(-16deg);
  }
  40% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(9deg);
  }
}

/* 4x4 — suspension bob + wheel rotation */
.jt-icon__body {
  transform-origin: center;
  animation: jt-suspension 2.4s ease-in-out infinite;
}

@keyframes jt-suspension {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.2px);
  }
}

.jt-icon__wheel {
  transform-origin: center;
  animation: jt-wheel 5s linear infinite;
}

@keyframes jt-wheel {
  to {
    transform: rotate(360deg);
  }
}

.jt-icon__dust {
  opacity: 0;
  transform-origin: center;
}

.milestone:hover .jt-icon__dust,
.milestone:focus-within .jt-icon__dust {
  animation: jt-dust 1.2s ease-out infinite;
}

@keyframes jt-dust {
  0% {
    opacity: 0;
    transform: translateX(0) scale(0.6);
  }
  30% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateX(-8px) scale(1.2);
  }
}

/* Campfire — flicker + sparks */
.jt-icon__flame {
  transform-origin: center bottom;
  animation: jt-flame 1.6s ease-in-out infinite;
}

@keyframes jt-flame {
  0%, 100% {
    transform: scale(1, 1) skewX(0deg);
  }
  25% {
    transform: scale(0.94, 1.06) skewX(-2deg);
  }
  50% {
    transform: scale(1.04, 0.96) skewX(1deg);
  }
  75% {
    transform: scale(0.97, 1.03) skewX(2deg);
  }
}

.jt-icon__spark {
  opacity: 0;
  transform-origin: center;
  animation: jt-spark 2.4s ease-out infinite;
}

.jt-icon__spark--2 {
  animation-delay: 0.8s;
}

.jt-icon__spark--3 {
  animation-delay: 1.5s;
}

@keyframes jt-spark {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-14px) scale(0.4);
  }
}

/* Sliders — gentle glide + pulse */
.jt-icon__knob {
  transform-origin: center;
}

.jt-icon__knob--1 {
  animation: jt-slide-a 4.5s ease-in-out infinite;
}

.jt-icon__knob--2 {
  animation: jt-slide-b 5.2s ease-in-out infinite;
}

.jt-icon__knob--3 {
  animation: jt-slide-a 4.9s ease-in-out infinite 0.6s;
}

@keyframes jt-slide-a {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(9px);
  }
}

@keyframes jt-slide-b {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-11px);
  }
}

/* ==========================================================
   Reduced motion
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .what-we-do__rose,
  .milestone__icon-float,
  .milestone__accent,
  .milestone__art,
  .jt-icon__needle,
  .jt-icon__body,
  .jt-icon__wheel,
  .jt-icon__flame,
  .jt-icon__spark,
  .jt-icon__knob,
  .jt-icon__dust {
    animation: none !important;
  }

  .milestone__icon,
  .milestone__accent,
  .milestone__title,
  .milestone__text,
  .milestone__deco,
  .milestone__art,
  .milestone__node-mark {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .milestone.is-in .milestone__deco {
    opacity: 0.55;
  }

  .milestone.is-in .milestone__art {
    opacity: 0.16;
  }

  .journey__trail-progress {
    transition: none;
  }

  .milestone:hover .milestone__icon,
  .milestone:hover .milestone__node {
    transform: none;
  }
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
  padding-block: var(--section-padding-y);
  background-color: var(--color-bg-light);
}

.features-section__header {
  text-align: center;
  margin-bottom: clamp(48px, 5.5vw, 64px);
}

.features-section__header .section-label {
  margin-bottom: var(--space-xs);
}

.features-section__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  align-items: stretch;
}

.features-section__layout .feature-card {
  padding: 0;
}

/* Desktop — heading → 2×2 equal-height cards */
@media (min-width: 1025px) {
  .features-section__header {
    margin-bottom: 48px;
  }

  .features-section__grid {
    max-width: 1040px;
    margin-inline: auto;
    gap: 40px;
    grid-auto-rows: 1fr;
  }

  .features-section__layout .feature-card {
    height: 100%;
  }

  .features-section__layout .feature-card__text {
    flex: 1 1 auto;
  }
}

/* ========================================
   Trust Section
   ======================================== */

.trust-section {
  position: relative;
  padding-block: var(--section-padding-y);
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(243, 178, 24, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(243, 178, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.trust-section .container {
  position: relative;
  z-index: 1;
}

.trust-section__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 44px;
}

.trust-section__header .section-label {
  margin-bottom: var(--space-xs);
}

.trust-section__title {
  letter-spacing: -0.3px;
}

.trust-section__intro {
  margin-top: var(--space-sm);
  line-height: 1.75;
  color: var(--color-text-body);
}

.trust-section__intro-stars {
  display: block;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.trust-section__cta {
  margin-top: var(--space-md);
  text-transform: none;
  letter-spacing: 0;
}

/* Stats Row */
.trust-section__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 20px;
  background-color: var(--color-white);
  border-radius: 8px;
  border: 1px solid rgba(243, 178, 24, 0.14);
  box-shadow: 0 4px 20px rgba(26, 26, 26, 0.04);
  text-align: center;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.trust-stat:hover {
  box-shadow: 0 8px 28px rgba(26, 26, 26, 0.07);
  transform: translateY(-2px);
}

.trust-stat__value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  color: var(--color-text-dark);
}

.trust-stat__stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-accent);
}

.trust-stat__label {
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.trust-section__showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
  outline: none;
}

.trust-section__media {
  margin: 0;
  width: 100%;
}

.trust-section__media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(201, 184, 150, 0.45);
  box-shadow:
    0 14px 36px rgba(26, 26, 26, 0.1),
    0 4px 12px rgba(26, 26, 26, 0.04);
  background-color: var(--color-sand);
}

.trust-section__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(249, 246, 240, 0.1) 0%,
    rgba(232, 220, 200, 0.04) 50%,
    rgba(26, 26, 26, 0.05) 100%
  );
  pointer-events: none;
}

.trust-section__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 683;
  object-fit: cover;
  object-position: center center;
}

/* Desktop — balanced image + testimonial composition */
@media (min-width: 1025px) {
  .trust-section__stats {
    margin-bottom: 52px;
  }

  .trust-section__showcase {
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(48px, 5vw, 64px);
    row-gap: 0;
    align-items: stretch;
  }

  .trust-section__media {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-self: stretch;
    min-height: 0;
    height: 100%;
  }

  .trust-section__media-frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    border-radius: 19px;
    box-shadow:
      0 18px 44px rgba(26, 26, 26, 0.12),
      0 6px 16px rgba(26, 26, 26, 0.05);
    transition:
      transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      box-shadow 0.45s ease;
  }

  .trust-section__media-frame:hover {
    transform: translateY(-4px);
    box-shadow:
      0 26px 56px rgba(26, 26, 26, 0.16),
      0 10px 24px rgba(26, 26, 26, 0.07);
  }

  .trust-section__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .trust-section__media-frame:hover img {
    transform: scale(1.04);
  }

  .testimonial-slider {
    display: contents;
  }

  .testimonial-slider__card {
    grid-column: 2;
    grid-row: 1;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .testimonial-slider__track {
    flex: 1 1 auto;
    min-height: 240px;
  }

  .testimonial-slider__controls {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    margin-top: 28px;
  }

  .testimonial-slider__actions {
    grid-column: 2;
    grid-row: 3;
    align-items: center;
    margin-top: 24px;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .trust-section__media-frame,
  .trust-section__media img {
    transition: none;
  }

  .trust-section__media-frame:hover {
    transform: none;
  }

  .trust-section__media-frame:hover img {
    transform: none;
  }
}

/* ========================================
   Testimonial Slider
   ======================================== */

.testimonial-slider {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  outline: none;
}

.testimonial-slider__card {
  position: relative;
  padding: 40px 44px 36px;
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-testimonial);
  border: 1px solid rgba(243, 178, 24, 0.12);
  overflow: hidden;
}

.testimonial-slider__card::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  right: 32px;
  font-family: var(--font-heading);
  font-size: 160px;
  line-height: 1;
  color: rgba(243, 178, 24, 0.06);
  pointer-events: none;
  user-select: none;
}

.testimonial-slider__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
}

.testimonial-slider__track {
  position: relative;
  min-height: 220px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.testimonial-card:not(.is-active) {
  position: absolute;
  inset: 0;
  width: 100%;
}

.testimonial-card.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: 24px;
}

.testimonial-card__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #00aa6c;
}

.testimonial-card__source-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.testimonial-card__stars {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.testimonial-card__text {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.85;
  font-style: normal;
  color: var(--color-text-dark);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 26, 26, 0.07);
}

.testimonial-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(243, 178, 24, 0.3);
  flex-shrink: 0;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  font-style: normal;
  color: var(--color-text-dark);
}

.testimonial-card__username {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Controls */
.testimonial-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.testimonial-slider__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.testimonial-slider__link {
  font-size: 12px;
  padding: 11px 28px;
}

.trust-section__all-link {
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.trust-section__all-link:hover {
  color: var(--color-accent-dark);
}

.testimonial-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.testimonial-slider__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  border: 2px solid rgba(243, 178, 24, 0.3);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.06);
  transition:
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.testimonial-slider__arrow svg {
  display: block;
  width: 14px;
  height: 14px;
}

.testimonial-slider__arrow:hover {
  color: var(--color-text-dark);
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(243, 178, 24, 0.32);
}

.testimonial-slider__arrow:active {
  transform: scale(0.96);
}

.testimonial-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  background-color: rgba(217, 163, 26, 0.25);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.testimonial-slider__dot.is-active {
  background-color: var(--color-accent);
  transform: scale(1.35);
}

.testimonial-slider__dot:hover {
  background-color: var(--color-accent-dark);
}

/* ========================================
   Events / Featured Treks Section
   ======================================== */

.events-section {
  padding-block: var(--section-padding-y);
  background-color: var(--color-white);
}

.events-section__header {
  text-align: center;
  margin-bottom: 56px;
}

.events-section__header .section-label {
  margin-bottom: var(--space-xs);
}

.events-section__intro {
  max-width: 680px;
  margin-inline: auto;
  margin-top: var(--space-sm);
  line-height: 1.75;
  color: var(--color-text-body);
}

/* ========================================
   Adventure Grid (Featured Treks)
   ======================================== */

.events-section .container {
  max-width: 1280px;
}

.adventure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  align-items: stretch;
}

/* Adventure Card */
.adventure-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--color-white);
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    border-color 0.45s ease;
}

.adventure-card:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 178, 24, 0.4);
  box-shadow:
    0 24px 56px rgba(26, 26, 26, 0.12),
    0 0 0 1px rgba(243, 178, 24, 0.12);
}

.adventure-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.adventure-card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.adventure-card__image-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
  flex-shrink: 0;
  background-color: var(--color-bg-light);
}

.adventure-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 12px 0 0;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.adventure-card:hover .adventure-card__image {
  transform: scale(1.05);
}

.adventure-card__image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(26, 26, 26, 0);
  border-radius: 12px 12px 0 0;
  transition: background-color 0.45s ease;
  pointer-events: none;
}

.adventure-card:hover .adventure-card__image-overlay {
  background-color: rgba(26, 26, 26, 0.12);
}

.adventure-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px 32px 36px;
  text-align: center;
}

.adventure-card__title {
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.adventure-card__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(243, 178, 24, 0.2);
  list-style: none;
}

.adventure-card__meta li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.adventure-card__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.adventure-card__meta-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.adventure-card__text {
  flex: 1;
  margin-bottom: var(--space-md);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.adventure-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  margin-top: auto;
  padding: 9px 26px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--color-text-dark);
  background-color: var(--color-accent);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(243, 178, 24, 0.28);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.adventure-card__cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.adventure-card:hover .adventure-card__cta {
  background-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 178, 24, 0.38);
}

.adventure-card:hover .adventure-card__cta-arrow {
  transform: translateX(3px);
}

/* Featured (homepage) — three-up layout */
.adventure-grid--featured {
  grid-template-columns: repeat(3, 1fr);
}

.events-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Catalog grid — auto-fills as adventures are added */
.adventure-grid--catalog {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

/* ========================================
   Adventures Listing Page Hero
   ======================================== */

.adventures-page {
  background-color: var(--color-white);
}

.adventures-hero {
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--color-white);
}

.adventures-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.adventures-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  transition: transform 1.2s ease;
}

.adventures-hero:hover .adventures-hero__media img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .adventures-hero__media img,
  .adventures-hero:hover .adventures-hero__media img {
    transform: none;
    transition: none;
  }
}

.adventures-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.28) 0%, rgba(26, 26, 26, 0.18) 35%, rgba(26, 26, 26, 0.72) 70%, rgba(26, 26, 26, 0.92) 100%);
  pointer-events: none;
}

.adventures-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + 36px);
  padding-bottom: 48px;
}

.adventures-hero__label {
  color: var(--color-accent);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.adventures-hero__title {
  max-width: 14ch;
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 7vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-wrap: balance;
}

.adventures-hero__text {
  max-width: 34rem;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.adventures-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
}

.adventures-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.25s ease;
}

.adventures-breadcrumb a:hover {
  color: var(--color-accent);
}

.adventures-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.adventures-breadcrumb__current {
  color: var(--color-white);
}

.events-section--catalog {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(243, 178, 24, 0.06), transparent 60%),
    var(--color-white);
}

/* ========================================
   Explore Section (Final CTA)
   ======================================== */

.explore-section {
  position: relative;
  padding-block: 170px;
  overflow: hidden;
  background-color: #1a1a1a;
}

/* Blurred image layer only — text/button stay sharp */
.explore-section::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: 0;
  background-image: url("../assets/images/CUSTOM%20ADVENTURE.jpeg");
  background-image: image-set(
    url("../assets/images/CUSTOM%20ADVENTURE.webp") type("image/webp"),
    url("../assets/images/CUSTOM%20ADVENTURE.jpeg") type("image/jpeg")
  );
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(6px) contrast(1.1) saturate(1.08);
  transform: scale(1.04);
  pointer-events: none;
}

/* Dark overlay ~45% — keeps type readable over the landscape */
.explore-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(26, 26, 26, 0.5) 0%,
    rgba(26, 26, 26, 0.45) 55%,
    rgba(26, 26, 26, 0.4) 100%
  );
}

.explore-section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.explore-section__content {
  width: 50%;
  margin-left: 50%;
  padding-right: 0;
}

.explore-section__title {
  color: var(--color-white);
  letter-spacing: -0.3px;
}

.explore-section__divider {
  width: var(--divider-width-md);
}

.explore-section__text {
  color: rgba(255, 255, 255, 0.92);
  margin-top: var(--space-sm);
  line-height: 1.75;
}

.explore-section__text + .explore-section__text {
  margin-top: 10px;
}

.explore-section__btn {
  margin-top: 24px;
  text-transform: none;
  letter-spacing: 0;
}

.explore-section .section-label {
  color: var(--color-accent);
}
