:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --ink: #1f2a24;
  --muted: #5d6a62;
  --accent: #d9692b;      /* sunrise orange */
  --accent-dark: #b4531c;
  --green: #1f4d3a;       /* rainforest */
  --line: #e7dfd2;
  --mtn-back: #2e5a49;
  --mtn-front: #fbf7f0;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(31, 42, 36, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
a { color: inherit; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem clamp(16px, 4vw, 48px);
  background: rgba(251, 247, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: Fraunces, serif; font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--green); }
.nav nav { display: flex; gap: clamp(.6rem, 2vw, 1.6rem); align-items: center; }
.nav nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav .nav-cta { background: var(--accent); color: #fff !important; padding: .4rem .9rem; border-radius: 999px; }
@media (max-width: 640px) { .nav nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 4rem clamp(16px, 6vw, 96px) 10rem;
  color: #fff;
  background: linear-gradient(180deg, #f3a35c 0%, #d9692b 35%, #7a3d3a 70%, #2e3b4e 100%);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero.has-photo { background-image: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)), var(--hero-img); }
.hero.has-photo .hero-mountain path:not(:last-child) { display: none; }
.hero-mountain { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; }
.hero-inner { position: relative; max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
.tagline { font-size: clamp(1.1rem, 2.4vw, 1.4rem); opacity: .95; margin: 0 0 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 .6rem; }
.hero .eyebrow { color: #ffe3c8; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn { display: inline-block; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: #25d366; color: #0b3d20; }
.btn-ghost { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.btn-light { background: #fff; color: var(--green); }

.stats { display: flex; gap: clamp(1.2rem, 5vw, 3rem); margin: 2.5rem 0 0; }
.stats dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.stats dd { margin: 0; font-family: Fraunces, serif; font-size: 2rem; font-weight: 700; }

/* Sections */
.section { max-width: 1140px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(16px, 4vw, 32px); }

.about { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.about-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--green), #6d8f5a);
  display: grid; place-items: center; font-size: 5rem; box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.about-text p { margin: 0 0 1em; color: var(--muted); font-size: 1.05rem; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-size: .92rem; }
.facts strong { color: var(--green); margin-right: .3rem; }

/* Route cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; background: linear-gradient(160deg, #2e5a49, #8aa678); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem 1.3rem 1.5rem; }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.tags { display: flex; gap: .4rem; margin-bottom: .7rem; flex-wrap: wrap; }
.tag { font-size: .78rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; background: #f6e6d8; color: var(--accent-dark); }
.tag.alt { background: #e1ece4; color: var(--green); }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 1rem; margin-top: 2rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; background: var(--line); }
.gallery img { width: 100%; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1.5rem .8rem .6rem; color: #fff; font-size: .88rem; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.review { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .8rem; }
.stars { color: #f2a516; letter-spacing: .1em; font-size: 1.1rem; }
.review blockquote { margin: 0; color: var(--ink); flex: 1; }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }
.reviewer small { display: block; color: var(--muted); }

.empty { color: var(--muted); font-style: italic; margin-top: 1.5rem; column-span: all; }

/* Contact */
.contact { text-align: center; background: var(--green); color: #fff; border-radius: 24px; margin: 0 auto 4rem; max-width: 1076px; }
.contact p { opacity: .9; margin: 0 0 2rem; }
.contact .hero-actions { justify-content: center; }
@media (max-width: 1140px) { .contact { margin: 0 16px 4rem; } }

.footer { text-align: center; color: var(--muted); font-size: .88rem; padding: 0 16px 2.5rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(10, 14, 12, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 82vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* Photo header */
.hero-photo.has-photo {
  background-image: linear-gradient(180deg, rgba(10,20,30,.55) 0%, rgba(10,20,30,.15) 45%, rgba(10,20,30,.35) 100%), var(--hero-img);
  background-position: center 65%;
}
.footer .credit { font-size: .78rem; opacity: .8; }

/* Tours / services */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.service { background: var(--surface); border-radius: var(--radius); padding: 1.4rem 1.3rem; box-shadow: var(--shadow); }
.service-icon { font-size: 2.2rem; line-height: 1; margin-bottom: .7rem; }
.service h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.service p { color: var(--muted); margin: 0; font-size: .93rem; }
.section-intro { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0; }
.section-intro:empty { display: none; }
