/* =========================================================
   UNMAPPED ECUADOR — PREMIUM ROUTE DETAIL
   Shared foundation for individual hike pages
   ========================================================= */

.route-detail-page{
  background:var(--paper);
  color:var(--ink);
}
.route-detail-page .inner-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  width:100%;
  background:linear-gradient(180deg,rgba(5,17,11,.72),rgba(5,17,11,0));
  border-bottom:1px solid rgba(255,255,255,.17);
  color:#fff;
}
.route-detail-page .inner-header .brand-mark:after{border-color:#fff}
.route-detail-page .lang-switch{
  min-width:48px;
  background:rgba(255,255,255,.08);
}
.route-detail-page .whatsapp-float{z-index:80}

.route-hero{
  min-height:760px;
  height:88vh;
  max-height:930px;
  position:relative;
  overflow:hidden;
  color:#fff;
  display:flex;
  align-items:flex-end;
  background:#11241b;
}
.route-hero-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.018);
}
.route-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,16,10,.86) 0%,rgba(5,16,10,.58) 37%,rgba(5,16,10,.16) 72%,rgba(5,16,10,.08) 100%),
    linear-gradient(0deg,rgba(5,15,10,.8) 0%,rgba(5,15,10,.14) 54%,rgba(5,15,10,.15) 100%);
}
.route-hero-content{
  position:relative;
  z-index:2;
  padding:164px 0 64px;
  width:min(1320px,calc(100% - 72px));
  margin:0 auto;
}
.route-breadcrumb{
  display:flex;
  gap:8px;
  align-items:center;
  color:rgba(255,255,255,.7);
  font-size:11px;
  font-weight:700;
  margin-bottom:26px;
}
.route-breadcrumb a:hover{color:var(--lime)}
.route-eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:17px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.route-private-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  margin-bottom:14px;
  padding:8px 12px;
  border:1px solid rgba(213,255,95,.45);
  border-radius:999px;
  background:rgba(8,25,16,.34);
  backdrop-filter:blur(10px);
  color:var(--lime);
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.route-private-pill:before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--lime);
  box-shadow:0 0 0 5px rgba(213,255,95,.12);
}
.route-eyebrow .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--lime);
  box-shadow:0 0 0 7px rgba(213,255,95,.15);
}
.route-hero h1{
  font-size:clamp(62px,7.1vw,104px);
  line-height:.87;
  max-width:780px;
}
.route-hero h1 i{
  color:var(--lime);
  font-style:normal;
}
.route-hero-lead{
  width:min(650px,100%);
  font-size:18px;
  line-height:1.55;
  color:rgba(255,255,255,.84);
  margin:26px 0 30px;
}
.route-hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.route-hero-note{
  margin-top:22px;
  color:rgba(255,255,255,.62);
  font-size:10px;
}

.route-fact-strip{
  position:relative;
  z-index:5;
  margin-top:-1px;
  background:var(--forest);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.route-fact-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
}
.route-fact-grid div{
  padding:24px 20px 23px;
  border-right:1px solid rgba(255,255,255,.1);
}
.route-fact-grid div:first-child{padding-left:0}
.route-fact-grid div:last-child{border-right:0}
.route-fact-grid span{
  display:block;
  color:#8fa198;
  font-size:9px;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.route-fact-grid strong{
  display:block;
  margin-top:5px;
  color:#fff;
  font-size:14px;
}

.route-main{
  background:var(--paper);
}
.route-main-grid{
  display:grid;
  grid-template-columns:minmax(0,1.48fr) minmax(300px,.52fr);
  gap:72px;
  align-items:start;
  padding-top:82px;
  padding-bottom:86px;
}
.route-content{
  min-width:0;
}
.route-section{
  padding:0 0 72px;
}
.route-section+.route-section{
  padding-top:72px;
  border-top:1px solid var(--line);
}
.route-section .section-kicker{margin-bottom:9px}
.route-section h2{
  font-size:clamp(38px,4.2vw,58px);
  line-height:.98;
  margin-bottom:22px;
}
.route-section h3{
  font-size:18px;
  margin:0 0 8px;
}
.route-section>p,
.route-section .route-prose{
  color:#59665e;
  font-size:15px;
  line-height:1.76;
  max-width:790px;
}
.route-story-lead{
  font-family:"DM Serif Display",Georgia,serif;
  color:var(--ink)!important;
  font-size:clamp(24px,2.6vw,34px)!important;
  line-height:1.22!important;
  letter-spacing:-.02em;
}
.story-pull{
  display:grid;
  grid-template-columns:55px 1fr;
  gap:18px;
  align-items:start;
  margin-top:31px;
  background:var(--cream);
  border-radius:18px;
  padding:24px;
}
.story-pull b{
  width:46px;
  height:46px;
  border-radius:50%;
  background:var(--lime);
  display:grid;
  place-items:center;
  font-size:12px;
}
.story-pull p{
  margin:0;
  color:#516057;
  font-size:13px;
  line-height:1.65;
}

.route-book-card{
  position:sticky;
  top:24px;
  background:var(--cream);
  border:1px solid rgba(13,23,18,.1);
  border-radius:22px;
  box-shadow:0 18px 55px rgba(12,31,20,.08);
  padding:25px;
  overflow:hidden;
}
.route-book-card:before{
  content:"";
  position:absolute;
  height:5px;
  left:0;
  right:0;
  top:0;
  background:var(--lime);
}
.route-book-card .book-label{
  color:#6c796f;
  font-size:10px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.route-book-card .book-price{
  display:flex;
  align-items:end;
  gap:8px;
  margin:4px 0 3px;
}
.route-book-card .book-price strong{
  font-family:"DM Serif Display",Georgia,serif;
  font-size:48px;
  line-height:1;
  font-weight:400;
}
.route-book-card .book-price span{
  color:#68746d;
  font-size:11px;
  padding-bottom:6px;
}
.route-book-card .book-small{
  margin:0 0 20px;
  color:#78827c;
  font-size:10px;
}
.book-divider{
  height:1px;
  background:var(--line);
  margin:20px 0;
}
.book-list{
  display:grid;
  gap:11px;
  margin-bottom:21px;
}
.book-list div{
  display:flex;
  gap:10px;
  font-size:11px;
  color:#4e5c54;
}
.book-list b{
  color:var(--ink);
  flex:0 0 auto;
}
.private-mini{
  border:1px solid rgba(13,23,18,.14);
  border-radius:14px;
  padding:14px;
  margin-top:11px;
  background:linear-gradient(135deg,rgba(213,255,95,.18),rgba(255,255,255,.58));
}
.private-mini strong{
  display:block;
  font-size:12px;
}
.private-mini span{
  display:block;
  font-size:10px;
  color:#69756d;
  margin-top:3px;
}
.route-trust{
  display:flex;
  justify-content:center;
  gap:13px;
  flex-wrap:wrap;
  margin-top:14px;
  color:#78827c;
  font-size:9px;
  font-weight:700;
}

.route-journey{
  display:grid;
  gap:0;
  margin-top:30px;
}
.journey-step{
  display:grid;
  grid-template-columns:80px 26px 1fr;
  gap:18px;
  min-height:126px;
}
.journey-time{
  font-size:10px;
  font-weight:800;
  color:#6e7a72;
  padding-top:4px;
}
.journey-line{
  position:relative;
}
.journey-line:before{
  content:"";
  position:absolute;
  left:12px;
  top:25px;
  bottom:-5px;
  width:1px;
  background:#cfd5cf;
}
.journey-step:last-child .journey-line:before{display:none}
.journey-dot{
  position:relative;
  z-index:2;
  width:25px;
  height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--lime);
  color:var(--ink);
  font-size:9px;
  font-weight:900;
}
.journey-copy h3{font-size:15px}
.journey-copy p{
  margin:4px 0 0;
  color:#647168;
  font-size:12px;
  line-height:1.6;
}

.route-two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:25px;
}
.route-list-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:23px;
  background:#fff;
}
.route-list-card h3{
  font-size:14px;
  display:flex;
  align-items:center;
  gap:9px;
}
.route-list-card h3 span{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--lime);
  font-size:11px;
}
.route-list-card ul{
  list-style:none;
  padding:0;
  margin:17px 0 0;
  display:grid;
  gap:11px;
}
.route-list-card li{
  padding-left:19px;
  position:relative;
  color:#5e6b63;
  font-size:12px;
  line-height:1.5;
}
.route-list-card li:before{
  content:"";
  position:absolute;
  left:0;
  top:.58em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#b7c2bb;
}
.route-list-card.include li:before{background:var(--lime-2)}

.prep-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:13px;
  margin-top:25px;
}
.prep-card{
  border-radius:17px;
  padding:20px;
  background:var(--cream);
  min-height:160px;
}
.prep-card b{
  font-size:10px;
  color:#708078;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.prep-card h3{
  font-family:"DM Serif Display",Georgia,serif;
  font-size:23px;
  font-weight:400;
  margin:10px 0 6px;
}
.prep-card p{
  margin:0;
  font-size:11px;
  color:#68736d;
  line-height:1.55;
}
.altitude-note{
  margin-top:17px;
  padding:18px 20px;
  border-left:4px solid var(--lime-2);
  background:#f4f5ec;
  color:#546159;
  font-size:11px;
  line-height:1.6;
}

.meeting-card{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:25px;
  margin-top:24px;
  padding:25px;
  border-radius:18px;
  background:var(--forest);
  color:#fff;
}
.meeting-card h3{color:#fff}
.meeting-card p{
  margin:4px 0 0;
  color:#99aaa1;
  font-size:11px;
  line-height:1.55;
}
.meeting-card .btn{
  white-space:nowrap;
}

.route-gallery{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  grid-template-rows:250px 250px;
  gap:10px;
  margin-top:28px;
}
.route-photo{
  background-size:cover;
  background-position:center;
  border-radius:18px;
  overflow:hidden;
  position:relative;
}
.route-photo:first-child{grid-row:1 / span 2}
.route-photo:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(6,16,10,.18),transparent 45%);
}
.gallery-credit{
  margin-top:9px;
  color:#8b948e;
  font-size:9px;
}

.route-faq{
  margin-top:25px;
}
.route-faq details{
  border-top:1px solid var(--line);
  padding:17px 0;
}
.route-faq details:last-child{border-bottom:1px solid var(--line)}
.route-faq summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:22px;
  font-size:13px;
  font-weight:800;
}
.route-faq summary::-webkit-details-marker{display:none}
.route-faq summary:after{
  content:"+";
  font-size:20px;
  line-height:1;
  font-weight:400;
}
.route-faq details[open] summary:after{content:"−"}
.route-faq p{
  margin:9px 45px 0 0;
  color:#647168;
  font-size:12px;
  line-height:1.65;
}

.route-final-cta{
  position:relative;
  min-height:460px;
  overflow:hidden;
  display:flex;
  align-items:center;
  color:#fff;
  background:#10231a;
}
.route-final-media{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}
.route-final-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(5,16,10,.86),rgba(5,16,10,.35) 55%,rgba(5,16,10,.14));
}
.route-final-content{
  position:relative;
  z-index:2;
  padding:70px 0;
}
.route-final-content h2{
  font-size:clamp(46px,5.5vw,76px);
  line-height:.94;
  max-width:760px;
  margin:8px 0 20px;
}
.route-final-content p{
  color:rgba(255,255,255,.72);
  max-width:580px;
  font-size:13px;
  margin:0 0 23px;
}

@media(max-width:1080px){
  .route-fact-grid{grid-template-columns:repeat(3,1fr)}
  .route-fact-grid div:nth-child(3){border-right:0}
  .route-fact-grid div:nth-child(-n+3){border-bottom:1px solid rgba(255,255,255,.1)}
  .route-fact-grid div:first-child{padding-left:20px}
  .route-main-grid{grid-template-columns:1fr;gap:15px}
  .route-book-card{position:relative;top:0;order:-1;margin-bottom:35px}
}
@media(max-width:760px){
  .route-detail-page .inner-header{height:72px;padding:0 18px}
  .route-detail-page .inner-header .brand{font-size:11px;letter-spacing:.08em}
  .route-detail-page .inner-header .header-actions .btn{display:none}
  .route-detail-page .lang-switch{padding:8px 10px}
  .route-hero{min-height:690px;height:86vh}
  .route-hero-content{
    width:min(100% - 28px,1320px);
    padding:126px 0 43px;
  }
  .route-hero h1{font-size:clamp(54px,16vw,82px)}
  .route-hero-lead{font-size:15px}
  .route-hero-actions .btn{width:100%}
  .route-breadcrumb{margin-bottom:20px}
  .route-fact-grid{grid-template-columns:repeat(2,1fr)}
  .route-fact-grid div:nth-child(2n){border-right:0}
  .route-fact-grid div:nth-child(3){border-right:1px solid rgba(255,255,255,.1)}
  .route-fact-grid div:nth-child(-n+4){border-bottom:1px solid rgba(255,255,255,.1)}
  .route-main-grid{padding-top:42px;padding-bottom:55px}
  .route-section{padding-bottom:48px}
  .route-section+.route-section{padding-top:48px}
  .route-two-col,.prep-grid{grid-template-columns:1fr}
  .journey-step{grid-template-columns:58px 24px 1fr;gap:12px}
  .route-gallery{grid-template-columns:1fr;grid-template-rows:280px 210px 210px}
  .route-photo:first-child{grid-row:auto}
  .meeting-card{grid-template-columns:1fr}
  .meeting-card .btn{width:100%}
  .route-final-cta{min-height:500px}
}
