/* =====================================================================
   KILI GUIDE TOURS — MASTER STYLESHEET
   One file, used by every page (index, kilimanjaro, safari, daytrip,
   blog, and every individual tour/safari/article page).
   ===================================================================== */

/* ---------- 1. ROOT VARIABLES ---------- */
:root{
  --forest-deep:#122A24;
  --forest:#1F4A3C;
  --forest-mid:#2F5D4C;
  --sage:#8CB79B;
  --sage-light:#CFE3D4;
  --gold:#D9A441;
  --gold-soft:#F0D9A6;
  --cream:#F6F2E9;
  --ink:#182620;
  --ink-soft:#4B5D54;
  --line:rgba(18,42,36,0.12);
  --radius:18px;
}

/* ---------- 2. RESET & BASE TYPOGRAPHY ---------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Fraunces', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

.eyebrow{
  font-family:'JetBrains Mono', monospace;
  font-size:0.72rem;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--forest-mid);
  display:flex; align-items:center; gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--gold); display:inline-block; }

/* ---------- 3. HEADER / NAV ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:var(--forest-deep);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px; max-width:1180px; margin:0 auto;
}
.logo{ display:flex; align-items:center; gap:12px; color:var(--cream); }
.logo-mark{ width:42px; height:42px; flex-shrink:0; }
.logo-text{ line-height:1.05; }
.logo-text .name{ font-family:'Fraunces',serif; font-weight:700; font-size:1.15rem; color:#fff; }
.logo-text .sub{ font-family:'JetBrains Mono',monospace; font-size:0.6rem; letter-spacing:0.22em; color:var(--sage); text-transform:uppercase; }

nav.links{ display:flex; gap:34px; font-size:0.92rem; font-weight:500; }
nav.links a{ color:var(--sage-light); position:relative; padding:4px 0; }
nav.links a:hover{ color:#fff; }
nav.links a::after{
  content:""; position:absolute; left:0; bottom:-2px;
  width:0; height:1px; background:var(--gold);
  transition:width .25s ease;
}
nav.links a:hover::after{ width:100%; }

.burger{ display:none; background:none; border:0; color:#fff; font-size:1.4rem; cursor:pointer; }

/* ---------- 4. BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:12px 22px; border-radius:999px;
  font-weight:600; font-size:0.9rem; cursor:pointer;
  border:1px solid transparent;
  transition:transform .18s ease, background .2s ease, box-shadow .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--gold); color:var(--forest-deep); }
.btn-primary:hover{ box-shadow:0 10px 24px rgba(217,164,65,0.35); }
.btn-ghost-dark{ background:transparent; color:#fff; border-color:rgba(255,255,255,0.35); }
.btn-ghost-dark:hover{ background:rgba(255,255,255,0.08); }
.btn-line{ background:transparent; color:var(--forest); border-color:var(--forest); }
.btn-line:hover{ background:var(--forest); color:#fff; }
.btn-solid{ background:var(--forest); color:#fff; }
.btn-solid:hover{ background:var(--forest-deep); }
.btn-sm{ padding:9px 18px; font-size:0.82rem; }

/* ---------- 5. SECTION / LAYOUT HELPERS ---------- */
section{ padding:100px 0; position:relative; }
.section-cream{ background:var(--cream); }
.section-forest{ background:var(--forest-deep); color:#fff; }

.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:52px; flex-wrap:wrap;
}
.section-head h2{ font-size:clamp(1.9rem, 3vw, 2.6rem); color:var(--forest-deep); max-width:20ch; }
.section-head .desc{ max-width:38ch; color:var(--ink-soft); font-size:0.98rem; line-height:1.6; }

/* ---------- 6. HERO SLIDER (homepage) ---------- */
.hero-slider{ position:relative; background:var(--forest-deep); color:#fff; overflow:hidden; }
.slides{ position:relative; height:560px; }
.slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  transition:opacity .9s ease; display:flex; align-items:center;
}
.slide.is-active{ opacity:1; visibility:visible; z-index:2; }
.slide-bg{ position:absolute; inset:0; }
.slide-bg svg{ width:100%; height:100%; }
.slide-scrim{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(18,42,36,0.92) 0%, rgba(18,42,36,0.55) 48%, rgba(18,42,36,0.15) 100%);
}
.slide-content{ position:relative; z-index:3; max-width:1180px; margin:0 auto; padding:0 32px; width:100%; }
.slide-content .inner{ max-width:600px; }
.slide-content .eyebrow{ color:var(--sage-light); }
.slide-content h1{ font-size:clamp(2.2rem, 4vw, 3.3rem); line-height:1.08; color:#fff; }
.slide-content h1 em{ font-style:italic; color:var(--gold-soft); }
.slide-content p.lead{ margin-top:18px; font-size:1.05rem; line-height:1.65; color:var(--sage-light); max-width:44ch; }
.slide-cta{ margin-top:30px; display:flex; gap:16px; flex-wrap:wrap; }

.slider-dots{ position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:4; display:flex; gap:10px; }
.slider-dots button{
  width:9px; height:9px; border-radius:50%;
  border:1px solid rgba(255,255,255,0.6); background:transparent; padding:0; cursor:pointer;
  transition:background .2s ease, width .2s ease;
}
.slider-dots button.is-active{ background:var(--gold); border-color:var(--gold); width:22px; border-radius:5px; }
.slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:4;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.28);
  color:#fff; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s ease;
}
.slider-arrow:hover{ background:rgba(255,255,255,0.22); }
.slider-arrow.prev{ left:24px; }
.slider-arrow.next{ right:24px; }

/* ---------- 7. WHY CHOOSE US ---------- */
.why-wrap{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:start; }
.why-intro .eyebrow{ margin-bottom:14px; }
.why-intro h2{ font-size:clamp(1.9rem,3vw,2.5rem); color:var(--forest-deep); max-width:14ch; }
.why-intro p{ margin-top:18px; color:var(--ink-soft); font-size:0.98rem; line-height:1.7; max-width:40ch; }
.why-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.why-item{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:24px; display:flex; flex-direction:column; gap:12px; }
.why-icon{ width:44px; height:44px; border-radius:12px; background:var(--forest); color:#fff; display:flex; align-items:center; justify-content:center; }
.why-item h3{ font-size:1.02rem; color:var(--forest-deep); }
.why-item p{ font-size:0.88rem; color:var(--ink-soft); line-height:1.55; margin:0; }

/* ---------- 8. CARDS (routes / safaris / day trips) ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.card{
  background:#fff; border-radius:var(--radius); padding:0;
  border:1px solid var(--line); overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:0 22px 40px rgba(18,42,36,0.14); }
.card-art{
  height:168px; position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
}
.card-art svg{ position:absolute; inset:0; width:100%; height:100%; }
.card-badge{
  position:absolute; top:14px; left:14px;
  background:rgba(255,255,255,0.92); color:var(--forest-deep);
  font-family:'JetBrains Mono',monospace; font-size:0.7rem; letter-spacing:0.06em;
  padding:6px 12px; border-radius:999px; font-weight:500;
}
.card-body{ padding:24px 24px 26px; display:flex; flex-direction:column; gap:12px; flex:1; }
.card-body h3{ font-size:1.2rem; color:var(--forest-deep); }
.card-tagline{ font-family:'JetBrains Mono',monospace; font-size:0.72rem; letter-spacing:0.05em; color:var(--gold); text-transform:uppercase; }
.card-body p{ font-size:0.92rem; line-height:1.6; color:var(--ink-soft); margin:0; flex:1; }
.card-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:6px; padding-top:16px; border-top:1px solid var(--line); }
.card-foot .stats{ font-family:'JetBrains Mono',monospace; font-size:0.72rem; color:var(--ink-soft); }
.card-link{ font-weight:600; font-size:0.88rem; color:var(--forest); display:flex; align-items:center; gap:6px; }
.card-link .arrow{ transition:transform .2s ease; }
.card:hover .card-link .arrow{ transform:translateX(4px); }
.daytrip-card .card-link{ cursor:pointer; }

/* ---------- 9. BLOG CARDS ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.blog-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover{ transform:translateY(-6px); box-shadow:0 22px 40px rgba(18,42,36,0.14); }
.blog-art{ height:170px; position:relative; background:linear-gradient(135deg,var(--forest),var(--forest-mid)); overflow:hidden; }
.blog-art svg{ position:absolute; inset:0; width:100%; height:100%; }
.blog-body{ padding:22px 24px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.blog-author{ font-family:'JetBrains Mono',monospace; font-size:0.72rem; letter-spacing:0.04em; color:var(--ink-soft); text-transform:uppercase; }
.blog-body h3{ font-size:1.08rem; color:var(--forest-deep); line-height:1.35; }
.blog-foot{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding-top:14px; border-top:1px solid var(--line); }
.blog-foot .read-time{ font-family:'JetBrains Mono',monospace; font-size:0.78rem; color:var(--ink-soft); }

/* ---------- 10. CTA BAND ---------- */
.cta-band{
  background:var(--forest); color:#fff; border-radius:26px;
  padding:56px 48px; display:flex; align-items:center; justify-content:space-between;
  gap:30px; flex-wrap:wrap; margin:0 32px 0; max-width:1180px; margin-inline:auto;
  position:relative; overflow:hidden;
}
.cta-band::before{
  content:""; position:absolute; right:-60px; top:-60px;
  width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle, rgba(217,164,65,0.25), transparent 70%);
}
.cta-band h2{ color:#fff; font-size:clamp(1.6rem,2.6vw,2.1rem); max-width:16ch; }
.cta-band p{ color:var(--sage-light); margin-top:10px; max-width:40ch; font-size:0.95rem; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- 11. FOOTER ---------- */
footer{ background:var(--forest-deep); color:var(--sage-light); padding:80px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,0.09); }
.footer-col h4{ font-family:'Fraunces',serif; font-weight:600; color:#fff; font-size:1.02rem; margin-bottom:16px; position:relative; padding-bottom:10px; }
.footer-col h4::after{ content:""; position:absolute; left:0; bottom:0; width:28px; height:2px; background:var(--gold); }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:0.9rem; color:var(--sage-light); }
.footer-col a:hover{ color:#fff; }
.footer-brand p{ font-size:0.9rem; line-height:1.65; color:var(--sage-light); max-width:32ch; margin-top:14px; }
.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12);
}
.footer-social a:hover{ background:var(--gold); border-color:var(--gold); color:var(--forest-deep); }
.footer-bottom{ padding:24px 0 32px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; font-size:0.85rem; }
.footer-contact-line{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-contact-line a{ color:var(--sage-light); }
.footer-contact-line a:hover{ color:#fff; }

/* ---------- 12. TOUR / SAFARI DETAIL PAGE ---------- */
.tour-hero{
  background:linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 100%);
  color:#fff; padding:64px 0 84px; position:relative; overflow:hidden;
}
.tour-hero .wrap{ position:relative; z-index:2; }
.breadcrumb{ font-family:'JetBrains Mono',monospace; font-size:0.76rem; color:var(--sage-light); letter-spacing:0.04em; margin-bottom:22px; }
.breadcrumb a{ color:var(--sage-light); }
.breadcrumb a:hover{ color:#fff; }
.tour-hero h1{ color:#fff; font-size:clamp(2.1rem,4vw,3.1rem); max-width:20ch; }
.tour-hero .sub{ margin-top:16px; color:var(--sage-light); font-size:1.02rem; max-width:56ch; line-height:1.6; }
.tour-facts{ display:flex; gap:34px; flex-wrap:wrap; margin-top:36px; }
.tour-fact{ display:flex; flex-direction:column; gap:4px; }
.tour-fact .num{ font-family:'Fraunces',serif; font-size:1.5rem; color:#fff; }
.tour-fact .lbl{ font-family:'JetBrains Mono',monospace; font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--sage-light); }

.tour-body{ padding:80px 0; }
.tour-layout{ display:grid; grid-template-columns:1.6fr 1fr; gap:56px; align-items:start; }
.tour-section{ margin-bottom:56px; }
.tour-section h2{ font-size:1.5rem; color:var(--forest-deep); margin-bottom:20px; }

/* quick-facts row */
.quickfacts{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:36px; }
.qf-item{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 14px; }
.qf-item .qf-lbl{ font-family:'JetBrains Mono',monospace; font-size:0.62rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--forest-mid); margin-bottom:6px; display:block; }
.qf-item .qf-val{ font-family:'Fraunces',serif; font-size:1.05rem; color:var(--forest-deep); }

/* elevation profile strip */
.elev-strip{
  display:flex; align-items:flex-end; gap:3px; height:64px;
  margin-bottom:34px; padding:16px 18px 12px; background:#fff;
  border:1px solid var(--line); border-radius:14px;
}
.elev-strip .bar{ flex:1; background:linear-gradient(180deg, var(--sage) 0%, var(--forest) 100%); border-radius:3px 3px 0 0; min-height:6px; position:relative; }
.elev-strip .bar.peak{ background:linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 100%); }
.elev-caption{
  display:flex; justify-content:space-between; margin-top:-24px; margin-bottom:34px;
  font-family:'JetBrains Mono',monospace; font-size:0.66rem; color:var(--ink-soft); letter-spacing:0.02em;
}

/* day-by-day itinerary (icon badge + tag chip design) */
.itinerary{ display:flex; flex-direction:column; }
.itin-day{
  display:grid; grid-template-columns:60px 1fr; gap:22px;
  padding:28px 0; border-bottom:1px solid var(--line); position:relative;
}
.itin-day:first-child{ padding-top:6px; }
.itin-day:last-child{ border-bottom:none; }
.itin-icon{
  width:56px; height:56px; border-radius:16px; flex-shrink:0;
  background:linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
  display:flex; align-items:center; justify-content:center;
  position:relative; box-shadow:0 8px 18px rgba(18,42,36,0.18);
}
.itin-icon svg{ width:26px; height:26px; color:#fff; }
.itin-icon .day-num{
  position:absolute; bottom:-8px; right:-8px;
  width:24px; height:24px; border-radius:50%;
  background:var(--gold); color:var(--forest-deep);
  font-family:'JetBrains Mono',monospace; font-size:0.66rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
  border:2px solid var(--cream);
}
.itin-day.is-summit .itin-icon{ background:linear-gradient(135deg, var(--gold) 0%, #b9822c 100%); box-shadow:0 8px 20px rgba(217,164,65,0.4); }
.itin-day h3{ font-size:1.08rem; color:var(--forest-deep); margin-bottom:7px; }
.itin-day p{ font-size:0.93rem; color:var(--ink-soft); line-height:1.65; margin:0 0 12px; }
.itin-tags{ display:flex; flex-wrap:wrap; gap:8px; }
.itin-tag{
  font-family:'JetBrains Mono',monospace; font-size:0.68rem; letter-spacing:0.02em;
  padding:6px 11px; border-radius:999px; background:var(--sage-light); color:var(--forest-deep);
  display:inline-flex; align-items:center; gap:6px; white-space:nowrap;
}
.itin-tag svg{ width:12px; height:12px; flex-shrink:0; }
.itin-tag.gold{ background:var(--gold-soft); color:#7a5813; }
.itin-tag.dark{ background:var(--forest); color:#fff; }

/* includes / excludes */
.incl-grid{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.incl-col h4{ font-size:0.95rem; color:var(--forest-deep); margin-bottom:12px; }
.incl-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.incl-col li{ font-size:0.9rem; color:var(--ink-soft); display:flex; gap:10px; align-items:flex-start; line-height:1.5; }
.incl-col.yes li::before{ content:"✓"; color:var(--forest); font-weight:700; flex-shrink:0; }
.incl-col.no li::before{ content:"✕"; color:#B5533B; font-weight:700; flex-shrink:0; }

/* booking sidebar */
.booking-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px; position:sticky; top:100px; }
.booking-card .price{ font-family:'Fraunces',serif; font-size:2rem; color:var(--forest-deep); }
.booking-card .price span{ font-family:'Work Sans',sans-serif; font-size:0.85rem; color:var(--ink-soft); font-weight:400; }
.booking-card .btn{ width:100%; justify-content:center; margin-top:18px; }
.booking-list{ margin-top:20px; display:flex; flex-direction:column; gap:12px; }
.booking-list li{ list-style:none; font-size:0.88rem; color:var(--ink-soft); display:flex; gap:10px; }
.booking-list li::before{ content:"—"; color:var(--gold); }

.other-routes{ display:flex; flex-direction:column; gap:12px; margin-top:16px; }
.other-route-link{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px; border:1px solid var(--line); border-radius:12px;
  font-size:0.88rem; font-weight:500; color:var(--forest-deep);
}
.other-route-link:hover{ border-color:var(--forest); }

/* ---------- 13. LISTING PAGE (kilimanjaro.html / safari.html / daytrip.html) ---------- */
.listing-hero{ background:linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 100%); color:#fff; padding:76px 0 60px; }
.listing-hero h1{ color:#fff; font-size:clamp(2.2rem,4vw,3.2rem); max-width:22ch; }
.listing-hero p.sub{ margin-top:16px; color:var(--sage-light); font-size:1.05rem; max-width:60ch; line-height:1.65; }
.listing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }

/* ---------- 14. ARTICLE / BLOG POST PAGE ---------- */
.article-hero{ background:linear-gradient(180deg, var(--forest-deep) 0%, var(--forest) 100%); color:#fff; padding:64px 0 70px; }
.article-hero .wrap{ max-width:800px; }
.article-hero h1{ color:#fff; font-size:clamp(2rem,4vw,2.7rem); }
.article-hero .meta{ font-family:'JetBrains Mono',monospace; font-size:0.76rem; color:var(--sage-light); margin-top:16px; letter-spacing:0.03em; }
.article-body{ max-width:720px; margin:0 auto; padding:70px 0; }
.article-body h2{ font-size:1.35rem; color:var(--forest-deep); margin:38px 0 14px; }
.article-body p{ font-size:1rem; line-height:1.8; color:var(--ink-soft); margin:0 0 20px; }
.article-body ul{ margin:0 0 20px; padding-left:22px; color:var(--ink-soft); font-size:1rem; line-height:1.8; }
.article-body li{ margin-bottom:8px; }
.article-back{ font-family:'JetBrains Mono',monospace; font-size:0.8rem; color:var(--forest); display:inline-flex; gap:8px; margin-bottom:30px; }

/* ---------- 15. RESPONSIVE ---------- */
@media (max-width:920px){
  .why-wrap{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr 1fr; }
  .blog-grid{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .listing-grid{ grid-template-columns:1fr 1fr; }
  .quickfacts{ grid-template-columns:1fr 1fr; }
  .tour-layout{ grid-template-columns:1fr; }
  .incl-grid{ grid-template-columns:1fr; }
  .booking-card{ position:static; }
  .slides{ height:640px; }
  .slide-scrim{ background:linear-gradient(180deg, rgba(18,42,36,0.55) 0%, rgba(18,42,36,0.92) 68%); }
  .slider-arrow{ display:none; }
}
@media (max-width:640px){
  .listing-grid{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .why-grid{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .itin-day{ grid-template-columns:48px 1fr; gap:14px; }
  .itin-icon{ width:44px; height:44px; border-radius:12px; }
  .itin-icon svg{ width:20px; height:20px; }
}