:root {
  --forest: #0b261e;
  --forest-2: #123c30;
  --lime: #d8ee68;
  --sand: #f2eee5;
  --paper: #fbfaf7;
  --ink: #11231d;
  --muted: #617069;
  --line: rgba(17, 35, 29, .14);
  --white: #fff;
  --radius: 28px;
  --container: 1380px;
  --shadow: 0 22px 70px rgba(5, 28, 21, .12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.page-shell {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 20px;
  top: -100px;
  background: var(--lime);
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
}

.skip-link:focus {
  top: 0;
}

.site-nav {
  position: fixed;
  z-index: 100;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), 1420px);
  min-height: 72px;
  padding: 10px 60px 10px 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50px;
  background: rgba(8, 28, 23, .58);
  backdrop-filter: blur(18px);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: .35s ease;
}

.site-nav.scrolled {
  top: 10px;
  background: rgba(8, 28, 23, .92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--lime);
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: 1.1rem;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime);
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  width: 30px;
  height: 14px;
  border: 3px solid var(--forest);
  border-radius: 50%;
  left: 2px;
}

.brand-mark::before {
  top: 4px;
  transform: rotate(35deg);
}

.brand-mark::after {
  bottom: 3px;
  transform: rotate(-35deg);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  font-size: .8rem;
  font-weight: 500;
}

.site-menu a {
  opacity: .78;
  transition: opacity .25s ease;
}

.site-menu a:hover,
.site-menu a:focus {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--forest);
  transition: .3s ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: var(--forest);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: -2px;
}

.hero-media {
  z-index: -3;
  background: url("../images/hero-costa-rica.webp") center/cover no-repeat;
  transform: scale(1.03);
}

.hero-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(5, 21, 17, .46), rgba(5, 21, 17, .16) 45%, rgba(5, 21, 17, .66)), radial-gradient(circle at 50% 30%, rgba(0, 0, 0, .02), rgba(4, 20, 15, .68));
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
  text-align: center;
  padding-top: 90px;
}

.rating {
  color: var(--lime);
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 26px;
}

.hero h1 {
  max-width: 1200px;
  margin-inline: auto;
  font-size: clamp(4rem, 8.4vw, 8.5rem);
  line-height: .89;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 770px;
  margin: 32px auto 0;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  color: rgba(255, 255, 255, .88);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.button {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, border .25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--lime);
  color: var(--forest);
}

.button-primary:hover {
  background: #ebff8a;
}

.button-secondary {
  background: rgba(11, 38, 30, .24);
  color: var(--white);
  border-color: rgba(255, 255, 255, .58);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: var(--white);
  color: var(--forest);
}

.button-dark {
  background: var(--forest);
  color: var(--white);
}

.button-dark:hover {
  background: var(--forest-2);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 32px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--lime);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {

  0%,
  100% {
    transform: translateY(0);
    opacity: .4;
  }

  50% {
    transform: translateY(23px);
    opacity: 1;
  }
}

.section {
  padding: clamp(110px, 12vw, 190px) 0;
}

.section-light {
  background: var(--paper);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 60px;
}

.section-heading.wide-heading {
  max-width: 1100px;
}

.section-heading h2,
.faq-title h2,
.final-cta h2,
.about-copy h2 {
  font-size: clamp(2.8rem, 5.6vw, 6rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.section-heading h3 {
  font-size: clamp(2.8rem, 5.2vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.section-heading>p {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.15rem;
}

.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: #66840a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-card {
  min-height: 330px;
  padding: clamp(26px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.line-icon {
  color: #66840a;
  font-size: .77rem;
  letter-spacing: .15em;
}

.benefit-card h3 {
  margin-top: auto;
  padding-top: 60px;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.benefit-card p {
  color: var(--muted);
  margin-top: 18px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.reviews-section {
  color: var(--white);
  background: var(--forest);
  overflow: hidden;
}

.reviews-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reviews-intro {
  width: min(100%, 1060px);
  text-align: center;
}

.reviews-intro h2 {
  max-width: 980px;
  margin-inline: auto;
  font-size: clamp(3rem, 5.8vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.055em;
}

.reviews-intro p {
  color: rgba(255, 255, 255, .65);
  max-width: 620px;
  margin: 26px auto 0;
  font-size: 1.12rem;
}

.review-gallery {
  width: 100%;
  margin-top: 64px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.review-gallery::-webkit-scrollbar {
  display: none;
}

.review-gallery-track {
  width: 100%;
  display: flex;
  gap: 16px;
}

.gallery-item {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 4);
  aspect-ratio: 7 / 6;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
  scroll-snap-align: start;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .7, .1, 1), filter .5s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.055);
  filter: contrast(1.05) saturate(1.05);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: -3px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: min(92vw, 960px);
  height: fit-content;
  margin: auto;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
}

.gallery-lightbox::backdrop {
  background: rgba(2, 14, 11, .88);
  backdrop-filter: blur(14px);
}

.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 88dvh;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .55);
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.review-track {
  width: 100%;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  align-items: start;
  gap: 24px;
}

.review-card {
  display: block;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .055);
  transition: transform .6s cubic-bezier(.2, .7, .1, 1), background .3s ease, border-color .3s ease;
}

.review-card:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(216, 238, 104, .35);
  transform: translateY(-6px);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-author img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 2px solid rgba(216, 238, 104, .5);
  border-radius: 50%;
  object-fit: cover;
}

.review-author h3 {
  font-size: 1.15rem;
  line-height: 1.15;
}

.review-author span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
}

.review-stars {
  display: block;
  margin-top: 28px;
  color: var(--lime);
  letter-spacing: .09em;
}

.review-card h4 {
  margin-top: 12px;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: -.02em;
}

.review-copy {
  margin-top: 16px;
  color: rgba(255, 255, 255, .72);
  font-size: 1rem;
  line-height: 1.55;
}

.review-toggle {
  margin-top: 18px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--lime);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}

.review-toggle:hover,
.review-toggle:focus-visible {
  color: var(--white);
}

.reviews-action {
  display: flex;
  justify-content: center;
  margin-top: 54px;
}

.services-section {
  background: var(--sand);
}

.services-section .section-heading {
  max-width: 1100px;
  margin-inline: auto;
  text-align: center;
}

.service-accordion {
  display: flex;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-panel {
  position: relative;
  flex: 1;
  padding: 42px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 31, 24, .15), rgba(7, 31, 24, .88)), url("../images/routes-costa-rica.webp") center/cover;
  border-right: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  overflow: hidden;
  transition: flex .7s cubic-bezier(.2, .75, .1, 1), filter .5s ease;
}

.service-panel:nth-child(2) {
  background-position: 30% center;
}

.service-panel:nth-child(3) {
  background-position: 72% center;
  border-right: 0;
}

.service-panel:not(.active) {
  filter: saturate(.65) brightness(.8);
}

.service-panel.active {
  flex: 2.3;
}

.service-number {
  font-size: .78rem;
  letter-spacing: .16em;
}

.service-panel h3 {
  font-size: clamp(2rem, 3.5vw, 4.2rem);
  line-height: .94;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.service-panel p {
  max-width: 450px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .75);
  opacity: 0;
  transform: translateY(12px);
  transition: .4s ease .25s;
}

.service-panel.active p {
  opacity: 1;
  transform: none;
}

.fleet-section {
  background: #091d17;
  color: var(--white);
}

.fleet-section .eyebrow {
  color: var(--lime);
}

.fleet-section .section-heading p {
  color: rgba(255, 255, 255, .6);
}

.fleet-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
}

.carousel-button {
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.25rem;
  transition: .25s ease;
}

.carousel-button:hover {
  color: var(--forest);
  background: var(--lime);
  border-color: var(--lime);
}

.fleet-stage {
  height: clamp(300px, 47vw, 680px);
  overflow: hidden;
  border-radius: var(--radius);
}

.fleet-stage img {
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .1, 1);
}

.fleet-stage:hover img {
  transform: scale(1.035);
}

.card-carousel {
  display: grid;
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.card-carousel::-webkit-scrollbar {
  display: none;
}

.fleet-carousel {
  grid-auto-columns: minmax(270px, 31%);
  gap: 18px;
  margin-top: 18px;
}

.vehicle-card {
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 22px;
  background: rgba(255, 255, 255, .045);
  padding-bottom: 28px;
}

.vehicle-thumb {
  display: block;
  height: 190px;
  margin-bottom: 26px;
  background-image: url("../images/fleet-costa-rica.webp");
  background-size: 300% auto;
  background-position: center 61%;
  transition: transform .8s cubic-bezier(.2, .7, .1, 1);
}

.vehicle-card:hover .vehicle-thumb {
  transform: scale(1.05);
}

.vehicle-thumb-1 {
  background-position: 3% 61%;
}

.vehicle-thumb-2 {
  background-position: 17% 61%;
}

.vehicle-thumb-3 {
  background-position: 32% 61%;
}

.vehicle-thumb-4 {
  background-position: 46% 61%;
}

.vehicle-thumb-5 {
  background-position: 58% 61%;
}

.vehicle-thumb-6 {
  background-position: 67% 61%;
}

.vehicle-thumb-7 {
  background-position: 75% 61%;
}

.vehicle-thumb-8 {
  background-position: 83% 61%;
}

.vehicle-thumb-9 {
  background-position: 91% 61%;
}

.vehicle-thumb-10 {
  background-position: 98% 61%;
}

.vehicle-card h4,
.vehicle-card p,
.vehicle-card strong {
  margin-inline: 26px;
}

.vehicle-card h4 {
  font-size: 1.55rem;
  line-height: 1.05;
}

.vehicle-card h4 em {
  color: var(--lime);
  font-size: .75rem;
  font-style: normal;
}

.vehicle-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .48);
}

.vehicle-card strong {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  color: var(--lime);
}

.fleet-includes {
  margin-top: 70px;
  padding: clamp(34px, 5vw, 68px);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--lime);
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 30px;
}

.fleet-includes h4 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.fleet-includes ul {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 24px;
  list-style: none;
}

.fleet-includes .button-primary {
  background: var(--forest);
  color: var(--lime);
}

.fleet-includes .button-primary:hover {
  background: var(--forest-2);
  color: var(--lime);
}

.routes-section {
  background: var(--paper);
}

.section-heading-split {
  max-width: 1050px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.section-heading-split .eyebrow {
  align-self: center;
}

.section-heading-split p {
  max-width: 700px;
  margin: 22px auto 0;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.route-card {
  position: relative;
  min-height: 480px;
  grid-column: span 1;
  border-radius: 24px;
  overflow: hidden;
  color: var(--white);
  background-image: linear-gradient(180deg, transparent 25%, rgba(5, 24, 18, .9)), url("../images/routes-costa-rica.webp");
  background-size: auto, 310% auto;
  background-position: center, 12% center;
  transition: transform .75s cubic-bezier(.2, .7, .1, 1);
}

.route-card:nth-child(2) {
  background-position: center, 37% center;
}

.route-card:nth-child(3) {
  background-position: center, 60% center;
}

.route-card:nth-child(4) {
  background-position: center, 78% center;
}

.route-card:nth-child(5) {
  background-position: center, 94% center;
}

.route-card:nth-child(6) {
  background-position: center, 54% center;
}

.route-card-wide {
  grid-column: span 2;
  background-size: auto, cover;
}

.route-card:hover {
  transform: scale(.985);
}

.route-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 32px;
}

.route-copy h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.route-copy p {
  margin-top: 13px;
  color: rgba(255, 255, 255, .7);
  max-width: 460px;
}

.route-cta {
  margin-top: 14px;
  padding: clamp(32px, 5vw, 74px);
  border-radius: var(--radius);
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.route-cta h3 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.05em;
}

.process-section {
  color: var(--white);
  background: var(--forest);
}

.process-section .eyebrow {
  color: var(--lime);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .18);
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.process-step {
  min-height: 390px;
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  flex-direction: column;
}

.process-step:last-child {
  border-right: 0;
}

.process-step>span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--forest);
  font-weight: 700;
}

.process-step h3 {
  margin-top: auto;
  max-width: 350px;
  font-size: clamp(1.7rem, 2.6vw, 3rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.process-step p {
  margin-top: 18px;
  color: rgba(255, 255, 255, .55);
}

.tours-section {
  background: var(--sand);
}

.tours-heading {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}

.group-offer {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}

.group-offer strong {
  font-size: 1.35rem;
}

.group-offer span {
  color: var(--muted);
  margin-top: 6px;
}

.tours-section>.container>.carousel-controls {
  justify-content: flex-end;
  margin-top: 20px;
  margin-bottom: 20px;
}

.tours-carousel {
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
}

.tour-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 35, 29, .06);
}

.tour-image {
  display: block;
  height: 330px;
  background-image: url("../images/tours-costa-rica.webp");
  background-size: 260% auto;
  transition: transform .8s cubic-bezier(.2, .7, .1, 1);
}

.tour-card:hover .tour-image {
  transform: scale(1.04);
}

.tour-image-1 {
  background-position: 50% 20%;
}

.tour-image-2 {
  background-position: 4% 50%;
}

.tour-image-3 {
  background-position: 82% 35%;
}

.tour-image-4 {
  background-position: 96% 68%;
}

.tour-image-5 {
  background-position: 64% 82%;
}

.tour-image-6 {
  background-position: 30% 38%;
}

.tour-card-content {
  padding: clamp(26px, 3vw, 42px);
}

.tour-card h3 {
  min-height: 2.1em;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.tour-card p {
  color: var(--muted);
  margin-top: 20px;
}

.tour-card h4 {
  margin-top: 28px;
}

.tour-card ul {
  margin-top: 12px;
  list-style: none;
  display: grid;
  gap: 7px;
  color: #405149;
}

.text-link {
  margin-top: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.faq-section {
  background: var(--paper);
}

.faq-layout {
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  text-align: center;
}

.faq-title {
  position: static;
  max-width: 900px;
  margin-inline: auto;
}

.faq-list {
  width: 100%;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.faq-action {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  padding: 28px 0;
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  font-size: 1.8rem;
  font-weight: 300;
  transition: transform .3s ease;
}

.faq-item[open] summary span {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 650px;
  padding: 0 50px 28px 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 820px;
  background: var(--sand);
}

.about-image {
  min-height: 620px;
  background: url("../images/tours-costa-rica.webp") center/cover;
}

.about-copy {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(50px, 8vw, 130px);
}

.about-copy h2 {
  font-size: clamp(3rem, 5vw, 5.4rem);
}

.about-copy p {
  max-width: 650px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.15rem;
}

.final-cta {
  position: relative;
  min-height: 90svh;
  display: grid;
  place-items: center;
  color: var(--white);
  isolation: isolate;
  text-align: center;
  overflow: hidden;
}

.final-cta-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("../images/hero-costa-rica.webp") center/cover;
  transform: scale(1.08);
}

.final-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(5, 28, 21, .72);
}

.final-cta-content {
  width: min(calc(100% - 40px), 1120px);
  padding: 100px 0;
}

.final-cta h2 {
  font-size: clamp(3.4rem, 7vw, 7.2rem);
}

.final-cta p {
  max-width: 820px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.site-footer {
  padding: 38px max(30px, calc((100vw - var(--container))/2));
  background: #061510;
  color: var(--white);
  display: flex;
  justify-content: center;
}

.quote-popup-overlay {
  position: fixed;
  z-index: 300;
  inset: 0;
  padding: 14px;
  display: grid;
  place-items: center;
  background: rgba(4, 20, 15, .78);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.quote-popup-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quote-popup__panel {
  position: relative;
  width: min(100%, 720px);
  height: min(780px, calc(100dvh - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .34);
  transform: translateY(24px) scale(.985);
  transition: transform .36s cubic-bezier(.2, .75, .1, 1);
}

.quote-popup-overlay.active .quote-popup__panel {
  transform: none;
}

.quote-popup__close {
  position: absolute;
  z-index: 6;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(8, 28, 23, .72);
  color: var(--white);
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease;
}

.quote-popup__close:hover {
  transform: rotate(90deg);
  background: var(--forest);
}

#page_chat_container,
#page_chat_container .chat-container-unified {
  width: 100%;
  height: 100%;
}

.chat-container-unified {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f7f5ee 0%, #fff 100%);
  color: var(--ink);
  overflow: hidden;
}

.chat-header {
  min-height: 92px;
  padding: 18px 78px 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--forest);
  color: var(--white);
}

.chat-header .avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: cover;
  border: 2px solid var(--lime);
  border-radius: 50%;
  background: var(--sand);
}

.agent-info p {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.15;
}

.agent-info .status {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .66);
  font-size: .8rem;
}

.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(216, 238, 104, .14);
}

.chat-messages {
  flex: 1;
  min-height: 0;
  padding: 26px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(11, 38, 30, .2) transparent;
}

.message {
  display: flex;
  margin-bottom: 14px;
}

.message.bot {
  justify-content: flex-start;
}

.message.user {
  justify-content: flex-end;
}

.message .bubble {
  max-width: min(82%, 510px);
  padding: 13px 17px;
  border-radius: 18px;
  font-size: .96rem;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(11, 38, 30, .07);
}

.message.bot .bubble {
  border-bottom-left-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

.message.user .bubble {
  border-bottom-right-radius: 5px;
  background: var(--forest);
  color: var(--white);
}

.typing-indicator {
  display: none;
  padding: 0 24px 12px;
  color: var(--muted);
  font-size: .8rem;
}

.chat-input-area {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
}

.chat-input-area form {
  margin: 0;
}

.input-container {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.input-wrapper {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 9px;
}

.input-wrapper>input,
.date-picker-control,
.ddi-wrap {
  min-width: 0;
  flex: 1;
}

.input-wrapper input,
.ddi-trigger,
.ddi-search {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(11, 38, 30, .16);
  border-radius: 14px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-wrapper input:focus,
.ddi-trigger:focus,
.ddi-search:focus {
  border-color: var(--forest-2);
  box-shadow: 0 0 0 4px rgba(18, 60, 48, .1);
}

.submit-btn {
  min-width: 64px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 750;
  cursor: pointer;
}

.options-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn {
  min-height: 48px;
  padding: 9px 16px;
  border: 1px solid rgba(11, 38, 30, .16);
  border-radius: 50px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.option-btn:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

.date-picker-control {
  position: relative;
  height: 52px;
}

.date-picker-display {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.date-picker-control input {
  position: absolute;
  inset: 0;
  color: transparent;
  cursor: pointer;
}

.date-picker-control input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ddi-wrap {
  display: flex;
}

.ddi-trigger {
  min-width: 118px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.ddi-flag-icon {
  width: 24px;
  height: 18px;
  flex: 0 0 24px;
  object-fit: cover;
  border-radius: 3px;
}

.ddi-caret {
  margin-left: auto;
}

.ddi-dropdown {
  position: fixed;
  z-index: 420;
  max-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s ease;
}

.ddi-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ddi-search {
  margin: 10px;
  width: calc(100% - 20px);
}

.ddi-list {
  max-height: 230px;
  overflow-y: auto;
  list-style: none;
}

.ddi-item {
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.ddi-item:hover {
  background: var(--sand);
}

.ddi-code {
  margin-left: auto;
  color: var(--muted);
}

.ddi-separator {
  height: 1px;
  margin: 5px 12px;
  background: var(--line);
}

.input-shake {
  animation: inputShake .34s ease;
}

@keyframes inputShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  75% {
    transform: translateX(5px);
  }
}

.image-motion,
.hero-media,
.final-cta-media {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

@media (max-width: 1100px) {
  .site-menu {
    gap: 14px;
    font-size: .7rem;
  }

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

  .reviews-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .reviews-intro {
    max-width: 850px;
  }

  .fleet-includes {
    grid-template-columns: 1fr;
  }

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

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-copy {
    min-height: 650px;
  }

  .faq-title {
    position: static;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .site-nav {
    top: 12px;
    width: calc(100% - 24px);
    min-height: 62px;
    padding: 7px 7px 7px 16px;
  }

  .hero {
    min-height: auto;
    padding: 132px 0 64px;
  }

  .menu-toggle {
    display: flex;
  }

  .site-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    padding: 24px;
    border-radius: 24px;
    background: rgba(8, 28, 23, .97);
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
  }

  .site-nav.menu-open .site-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .site-nav.menu-open .menu-toggle span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .site-nav.menu-open .menu-toggle span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .hero-content {
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 16vw, 6.2rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 100px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .faq-title h2 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .review-track {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .review-gallery {
    margin-top: 48px;
  }

  .review-gallery-track {
    gap: 12px;
  }

  .gallery-item {
    flex-basis: calc((100% - 12px) / 2);
  }

  .benefit-card {
    min-height: 280px;
  }

  .service-accordion {
    display: grid;
    min-height: auto;
  }

  .service-panel {
    min-height: 420px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
  }

  .service-panel p {
    opacity: 1;
    transform: none;
  }

  .fleet-heading {
    display: block;
  }

  .carousel-controls {
    margin-bottom: 28px;
  }

  .fleet-carousel {
    grid-auto-columns: 84%;
  }

  .fleet-includes ul {
    grid-template-columns: 1fr;
  }

  .tours-heading {
    grid-template-columns: 1fr;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }

  .route-card,
  .route-card-wide {
    grid-column: auto;
    min-height: 410px;
  }

  .route-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .tours-carousel {
    grid-auto-columns: 88%;
  }

  .about-copy {
    min-height: auto;
    padding: 90px 22px;
  }

  .final-cta {
    min-height: 100svh;
  }

  .review-card:hover,
  .route-card:hover {
    transform: none;
  }

  .quote-popup-overlay {
    padding: 0;
    backdrop-filter: none;
  }

  .quote-popup__panel {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    transform: translateY(18px);
  }

  .chat-header {
    min-height: 82px;
    padding: 14px 70px 14px 16px;
  }

  .chat-header .avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .chat-messages {
    padding: 20px 16px;
  }

  .chat-input-area {
    padding: 14px 12px max(14px, env(safe-area-inset-bottom));
  }

  .message .bubble {
    max-width: 88%;
  }

  .option-btn {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 52px;
  }

  .hero-media {
    background-position: 64% center;
  }

  .rating {
    font-size: .9rem;
    margin-bottom: 20px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button-row .button {
    width: 100%;
  }

  .benefit-card {
    padding: 30px 24px;
  }

  .reviews-intro h2 {
    font-size: 3.4rem;
  }

  .review-card {
    padding: 26px 22px;
  }

  .review-card h4 {
    font-size: 1.25rem;
  }

  .service-panel {
    padding: 28px;
    min-height: 390px;
  }

  .fleet-stage {
    height: 330px;
  }

  .fleet-stage img {
    object-position: 65% center;
  }

  .fleet-carousel,
  .tours-carousel {
    grid-auto-columns: 93%;
  }

  .vehicle-thumb {
    height: 170px;
  }

  .route-copy {
    padding: 25px;
  }

  .tour-image {
    height: 260px;
  }

  .tour-card h3 {
    min-height: 0;
  }

  .about-image {
    min-height: 520px;
  }

  .quote-popup__close {
    top: 17px;
    right: 14px;
  }

  .input-container {
    gap: 7px;
  }

  .input-wrapper {
    gap: 6px;
  }

  .input-wrapper input,
  .ddi-trigger {
    padding-inline: 12px;
  }

  .submit-btn {
    min-width: 58px;
    padding-inline: 13px;
  }

  .options-container {
    flex-direction: column;
  }

  .option-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}