/* Travel Explorer V5 — diseño Treka + marca TRAVEL LUXURY (teal/esmeralda, Signika placeholder de TT Rounds + Montserrat)
   Tipografías: Boldonse (display) + Archivo (UI) · Verde bosque #2E7A75 · Lima #9FE0C9 · Rosa acento.
   Estructura: homes A/B, colección Treka con filtros a la derecha, producto Civitatis. */

:root {
  --bosque: #2E7A75;
  --bosque-deep: #12302E;
  --bosque-soft: #3A7C77;
  --lima: #9FE0C9;
  --rosa: #3DAA8A;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --ink: #171717;
  --ink-soft: #5A6B68;
  --line: #DCE4E3;
  --danger: #B4443C;
  --font-display: "Signika Negative", "Trebuchet MS", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-sm: 10px;
  --shadow-1: 0 2px 8px rgba(10, 25, 15, .18);
  --shadow-2: 0 10px 32px rgba(10, 25, 15, .32);
  --z-sticky: 40; --z-sheet-backdrop: 60; --z-sheet: 70; --z-nav: 80; --z-fab: 90;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(var(--bosque-deep), var(--bosque) 30%);
  background-color: var(--bosque);
  -webkit-font-smoothing: antialiased;
}
body.page-light { background: var(--paper); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: var(--lima); }
body.page-light a { color: var(--bosque); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 .5em;
  text-wrap: balance;
  letter-spacing: .01em;
}
body.page-light h1, body.page-light h2, body.page-light h3, body.page-light h4 { color: var(--bosque); }
p { max-width: 68ch; }
:focus-visible { outline: 3px solid var(--lima); outline-offset: 2px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2.2rem); margin-inline: auto; }

/* ---------- Botones estilo Treka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 800; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .8rem 1.6rem; min-height: 46px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .15s var(--ease-out), transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.btn::after { content: "→"; font-weight: 700; translate: 0 -1px; }
.btn.no-arrow::after { content: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--bosque); color: #fff; }
.btn-primary:hover { background: var(--bosque-deep); box-shadow: var(--shadow-1); }
.btn-lima { background: var(--lima); color: var(--bosque-deep); }
.btn-lima:hover { background: #BDECDB; box-shadow: var(--shadow-1); }
.btn-emerald { background: var(--lima); color: var(--bosque-deep); }
.btn-emerald:hover { background: #BDECDB; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: transparent; color: var(--bosque); border-color: var(--bosque); }
body:not(.page-light) .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline:hover { background: rgba(46,122,117,.08); }
.btn-block { width: 100%; }
.btn-lg { font-size: .95rem; padding: 1rem 2.2rem; min-height: 54px; }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .74rem; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1FB457; }

/* ---------- Navbar (transparente sobre hero, bosque al scroll) ---------- */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: var(--z-nav);
  transition: background-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.nav:not(.is-solid):not(.nav-solid) { background: linear-gradient(rgba(18,48,46,.72), rgba(18,48,46,0)); }
.nav.is-solid, .nav.nav-solid { background: var(--bosque-deep); box-shadow: 0 2px 16px rgba(0,0,0,.4); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.nav-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  color: var(--lima); text-decoration: none; display: flex; align-items: baseline; gap: .4rem;
}
.nav-logo em { font-style: normal; color: #fff; }
.nav-links { display: flex; align-items: center; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: .88rem;
  padding: .45rem 1rem; border-radius: 999px;
 white-space: nowrap; /* nav */ }
.nav-links a:hover { background: rgba(255,255,255,.14); }
.nav-links a[aria-current="page"] { background: var(--lima); color: var(--bosque-deep); }
@media (max-width: 720px) { .nav-links li.nav-hide-m { display: none; } }
@media (max-width: 480px) {
  .nav-logo { font-size: .95rem; }
  .nav-links { gap: .2rem; }
  .nav-links a { padding: .35rem .6rem; font-size: .78rem; }
}

/* ---------- Cards de producto estilo Treka ---------- */
.pcard {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-1); color: var(--ink);
  display: flex; flex-direction: column;
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.pcard-media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--bosque-soft); display: flex; align-items: end; text-decoration: none; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,48,46,.06) 30%, rgba(18,48,46,.85)); }
.pcard-title {
  position: relative; z-index: 1; padding: 1rem 1.1rem 1.05rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; line-height: 1.14;
  color: #fff; text-wrap: balance;
}
.pcard-pill {
  position: absolute; z-index: 1; top: .75rem;
  display: inline-flex; align-items: center; gap: .3rem;
  background: #fff; color: var(--ink); border-radius: 999px;
  font-size: .7rem; font-weight: 700; padding: .28rem .7rem;
}
.pcard-pill svg { width: 11px; height: 11px; stroke: var(--bosque); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pcard-pill.left { left: .75rem; }
.pcard-pill.right { right: .75rem; }
.pcard-body { display: flex; flex-direction: column; gap: .55rem; padding: 1rem 1.15rem 1.15rem; flex: 1; }
.pcard-desc {
  font-size: .82rem; color: var(--ink-soft); line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-meta { font-size: .78rem; color: var(--ink-soft); }
.pcard-meta .star { color: var(--bosque); font-weight: 800; }
.pcard-price { margin-top: auto; border-top: 1px solid var(--line); padding-top: .7rem; }
.pcard-price strong { display: block; font-size: 1.3rem; font-weight: 900; color: var(--bosque); }
.pcard-price span { font-size: .72rem; color: var(--ink-soft); }
.pcard-ctas { padding-top: .6rem; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bosque-deep); color: #BFD6D3; margin-top: clamp(3rem, 7vw, 5rem); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--lima); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem; padding-block: 3rem 1.8rem; }
.footer h4 { color: var(--lima); font-size: .82rem; margin-bottom: .8rem; letter-spacing: .04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; color: var(--lima); }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.1rem; font-size: .78rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- WhatsApp FAB + switch ---------- */
.fab-wa {
  position: fixed; right: 1rem; bottom: 1rem; z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .15s var(--ease-out);
}
.fab-wa:hover { transform: scale(1.07); }
.fab-wa svg { width: 30px; height: 30px; fill: currentColor; }
body.has-mobilebar .fab-wa { bottom: 5.4rem; }
.ver-switch {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 50;
  background: var(--lima); color: var(--bosque-deep); text-decoration: none;
  font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  padding: .5rem 1rem; border-radius: 999px; box-shadow: 0 3px 12px rgba(0,0,0,.35);
}
.ver-switch:hover { background: #BDECDB; }

/* ---------- Hero (foto o video) ---------- */
.hero {
  position: relative; min-height: min(96svh, 780px); display: grid; place-items: center;
  color: #fff; text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(18,48,46,.55) 0%, rgba(18,48,46,.18) 45%, var(--bosque) 100%);
}
.hero-content { position: relative; padding: 7rem 1.5rem 5.5rem; max-width: 940px; z-index: 2; }
.hero-content h1 {
  color: #fff; font-size: clamp(1.9rem, 5.4vw, 3.9rem); margin-bottom: .5em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-content h1 .lima { color: var(--lima); }
.hero-content .hero-sub { font-size: clamp(.98rem, 2vw, 1.2rem); margin: 0 auto 2.3rem; max-width: 36em; color: #E3EEEC; font-weight: 500; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-ctas .btn { min-width: 240px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: hero-rise .7s var(--ease-out) backwards; }
  .hero-content .hero-sub { animation-delay: .12s; }
  .hero-content .hero-ctas { animation-delay: .22s; }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } }
}
@media (prefers-reduced-motion: reduce) { .hero-bg video { display: none; } }

.section { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 0; }
.section-head h2 .lima { color: var(--lima); }
.section-head p { margin: .4rem 0 0; color: #BFD6D3; font-size: .93rem; }
.section-link { font-weight: 800; text-decoration: none; white-space: nowrap; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.section-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.dest-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px;
  display: flex; align-items: end; color: #fff; text-decoration: none; box-shadow: var(--shadow-1);
}
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.dest-card:hover img { transform: scale(1.04); }
.dest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18,48,46,0) 30%, rgba(18,48,46,.9)); }
.dest-card-body { position: relative; z-index: 1; padding: 1.8rem; }
.dest-card h3 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: .3rem; }
.dest-card p { color: #CFE3E0; margin: 0 0 1.1rem; font-size: .9rem; }
.dest-card .btn { pointer-events: none; }
@media (max-width: 780px) { .dest-grid { grid-template-columns: 1fr; } .dest-card { min-height: 300px; } }

.difs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.6rem; }
.dif h3 { font-size: .92rem; margin-bottom: .35rem; color: var(--lima); }
.dif p { font-size: .88rem; color: #C6DBD8; margin: 0; }
.dif-ico {
  width: 48px; height: 48px; border-radius: 14px; background: rgba(61,170,138,.12); color: var(--lima);
  border: 1.5px solid rgba(61,170,138,.5);
  display: flex; align-items: center; justify-content: center; margin-bottom: .9rem;
}
.dif-ico svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .difs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .difs { grid-template-columns: 1fr; } }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testi {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .8rem;
}
.testi blockquote { margin: 0; font-size: .93rem; line-height: 1.65; color: #E9F2F0; }
.testi footer { font-size: .8rem; color: var(--lima); font-weight: 700; }
.testi .stars { color: var(--lima); letter-spacing: 3px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
