/* =========================================
   Colombia Remote Adventures — Tour Pages
   ========================================= */

:root {
  --c-bg:     #0C1A10;
  --c-bg-2:   #122216;
  --c-bg-3:   #1C3125;
  --c-text:   #EEE9DF;
  --c-text-2: rgba(238,233,223,0.55);
  --c-accent: #7BB661;
  --c-gold:   #C9A96A;
  --c-border: rgba(238,233,223,0.09);
  --f-serif:  'Playfair Display', Georgia, serif;
  --f-sans:   'Inter', sans-serif;
  --f-label:  'Space Grotesk', sans-serif;
  --radius-sm:4px;
  --radius-md:8px;
  --radius-lg:16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Container ── */
.tp-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Leaf corners ── */
.leaf-corner {
  position: absolute;
  pointer-events: none;
  user-select: none;
  width: 680px;
  max-width: 55vw;
  z-index: 0;
}
.leaf-corner--dark  { mix-blend-mode: screen; opacity: 0.42; }
.leaf-corner--light { mix-blend-mode: multiply; opacity: 0.88; }
.leaf-corner--tr { top: -30px; right: -30px; }
.leaf-corner--tl { top: -30px; left: -30px; transform: scaleX(-1); }
.leaf-corner--bl { bottom: -30px; left: -30px; transform: rotate(180deg); }
.leaf-corner--br { bottom: -30px; right: -30px; transform: scaleY(-1); }
@media (max-width: 767px) { .leaf-corner { width: 200px; max-width: 48vw; } }

/* ── Label chip ── */
.tp-label {
  display: inline-block;
  font-family: var(--f-label);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold);
  border: 1px solid rgba(201,169,106,.35);
  padding: .35em 1em;
  border-radius: 100px;
}

/* ── Buttons ── */
.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--f-label);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: .65em 1.5em;
  border-radius: var(--radius-sm);
  transition: opacity .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.tp-btn--accent  { background: var(--c-accent); color: #0C1A10; }
.tp-btn--accent:hover { opacity: .88; }
.tp-btn--ghost   { background: transparent; border: 1px solid var(--c-border); color: var(--c-text); }
.tp-btn--ghost:hover { border-color: rgba(238,233,223,.35); }
.tp-btn--wa {
  background: #25D366; color: #fff;
  width: 100%; border-radius: var(--radius-md); padding: .85em; font-size: .95rem;
}
.tp-btn--wa:hover { opacity: .9; }
.tp-btn--reserve {
  background: transparent; border: 1px solid var(--c-accent); color: var(--c-accent);
  width: 100%; border-radius: var(--radius-md); padding: .85em; font-size: .95rem;
}
.tp-btn--reserve:hover { background: var(--c-accent); color: #0C1A10; }

/* ======================
   NAV
   ====================== */
.tp-nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  border-top: 3px solid var(--c-accent);
  transition: background .3s, box-shadow .3s;
}
.tp-nav.scrolled {
  background: rgba(12,26,16,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-border);
}
.tp-nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tp-nav__logo img { height: 34px; }
.tp-nav__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.tp-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--c-border);
  cursor: pointer;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
}
.tp-nav__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--c-text);
  transition: .28s;
}
.tp-nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.tp-nav__burger.open span:nth-child(2) { opacity: 0; }
.tp-nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Drawer */
.tp-nav__drawer {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
}
.tp-nav__drawer.open { display: flex; }
.tp-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.tp-drawer__nav a {
  font-family: var(--f-label);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text-2);
  padding: .65rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: color .2s;
}
.tp-drawer__nav a:hover { color: var(--c-accent); }
.tp-drawer__ctas { display: flex; gap: .75rem; }
.tp-drawer__ctas .tp-btn { flex: 1; }

@media (max-width: 767px) {
  .tp-nav__burger { display: flex; }
  .tp-nav__actions .tp-btn--ghost,
  .tp-nav__actions .tp-btn--accent { display: none; }
}
@media (min-width: 768px) {
  .tp-nav__burger, .tp-nav__drawer { display: none !important; }
}

/* ======================
   HERO
   ====================== */
.tp-hero {
  position: relative;
  min-height: 100svh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.tp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,26,16,.92) 0%,
    rgba(12,26,16,.4)  55%,
    rgba(12,26,16,.18) 100%
  );
  z-index: 0;
}
.tp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.tp-hero__content {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tp-hero__content h1 {
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  color: var(--c-text);
}
.tp-hero__sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(238,233,223,.72);
  max-width: 52ch;
  line-height: 1.6;
}

/* ======================
   TOUR META BAR
   ====================== */
.tp-meta {
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-border);
}
.tp-meta .tp-container { padding-block: 2.75rem; }
.tp-meta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
}
@media (min-width: 600px) { .tp-meta__grid { grid-template-columns: repeat(4, 1fr); } }
.tp-meta__item { display: flex; flex-direction: column; gap: .35rem; }
.tp-meta__label {
  font-family: var(--f-label);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-2);
}
.tp-meta__value {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  color: var(--c-text);
}

/* ======================
   DESCRIPTION
   ====================== */
.tp-description { background: var(--c-bg); }
.tp-description .tp-container { padding-block: clamp(3rem, 7vw, 5.5rem); }

.tp-two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .tp-two-col { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

.tp-two-col h2 {
  font-family: var(--f-serif);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: var(--c-text);
  margin-bottom: 1.25rem;
}
.tp-two-col p {
  font-size: .97rem;
  color: var(--c-text-2);
  line-height: 1.78;
  margin-bottom: .9rem;
}
.tp-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.tp-highlights li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--c-text-2);
  line-height: 1.55;
}
.tp-highlights li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: .48em;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ======================
   ITINERARY
   ====================== */
.tp-itinerary {
  background: var(--c-bg-3);
  position: relative;
  overflow: hidden;
}
.tp-itinerary > .tp-container {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.tp-section-head {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.tp-section-head h2 {
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--c-text);
}
.tp-days { display: flex; flex-direction: column; gap: 1.25rem; }
.tp-day-card {
  background: rgba(12,26,16,.55);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color .25s;
}
.tp-day-card:hover { border-color: rgba(123,182,97,.3); }
@media (min-width: 600px) { .tp-day-card { flex-direction: row; gap: 2.25rem; } }
.tp-day-card__head { flex-shrink: 0; min-width: 160px; }
.tp-day-card__num {
  font-family: var(--f-label);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .3rem;
}
.tp-day-card__title {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  color: var(--c-text);
  line-height: 1.25;
}
.tp-day-card__body {
  font-size: .95rem;
  color: var(--c-text-2);
  line-height: 1.75;
}

/* ======================
   INCLUDES + BOOKING
   ====================== */
.tp-includes { background: var(--c-bg); }
.tp-includes .tp-container { padding-block: clamp(3rem, 7vw, 5.5rem); }

.tp-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 1.5rem;
}
.tp-check-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--c-text-2);
  line-height: 1.55;
}
.tp-check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(123,182,97,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .05em;
}
.tp-check-icon svg { width: 13px; height: 13px; }

.tp-not-included {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.tp-not-included h3 {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  color: var(--c-text);
  margin-bottom: .45rem;
}
.tp-not-included p { font-size: .9rem; color: var(--c-text-2); }

.tp-booking-card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: start;
  position: sticky;
  top: 88px;
}
.tp-booking-card h3 {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  color: var(--c-text);
}
.tp-booking-card > p {
  font-size: .9rem;
  color: var(--c-text-2);
  line-height: 1.6;
}
.tp-pdf-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.tp-pdf-link {
  font-family: var(--f-label);
  font-size: .74rem;
  font-weight: 600;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
  padding: .45em .9em;
  border-radius: var(--radius-sm);
  transition: border-color .2s, color .2s;
}
.tp-pdf-link:hover { border-color: var(--c-accent); color: var(--c-accent); }
.tp-back {
  font-family: var(--f-label);
  font-size: .82rem;
  color: var(--c-text-2);
  text-align: center;
  transition: color .2s;
}
.tp-back:hover { color: var(--c-accent); }

/* ======================
   FOOTER
   ====================== */
.tp-footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.tp-footer__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .tp-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
}
.tp-footer__brand h2 {
  font-family: var(--f-serif);
  font-size: 1.45rem;
  color: var(--c-text);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.tp-footer__contact { display: flex; flex-direction: column; gap: .65rem; }
.tp-footer__contact a {
  font-size: .9rem;
  color: var(--c-text-2);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  transition: color .2s;
}
.tp-footer__contact a:hover { color: var(--c-accent); }
.tp-footer__contact svg { flex-shrink: 0; margin-top: .2em; }
.tp-footer__col h4 {
  font-family: var(--f-label);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-text-2);
  margin-bottom: 1.25rem;
}
.tp-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.tp-footer__col a { font-size: .88rem; color: var(--c-text-2); transition: color .2s; }
.tp-footer__col a:hover { color: var(--c-text); }
.tp-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  text-align: center;
  font-size: .78rem;
  color: var(--c-text-2);
}

/* ======================
   SCROLL TO TOP
   ====================== */
.tp-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .2s;
  z-index: 999;
}
.tp-scroll-top.visible { opacity: 1; transform: none; }
.tp-scroll-top:hover { background: var(--c-text); }

/* ======================
   WA FLOAT BUTTON
   ====================== */
.tp-wa-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 998;
}
.tp-wa-float a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  transition: transform .2s;
}
.tp-wa-float a:hover { transform: scale(1.08); }
.tp-wa-float svg { width: 24px; height: 24px; fill: #fff; }

@media print {
  .tp-nav, .tp-scroll-top, .tp-wa-float, .leaf-corner { display: none !important; }
}
