/* ═══════════════════════════════════════════════════════════════════════
   WildQuest AI · Landing
   Dark · naturaleza · tecnología · ciencia — NOT cyberpunk.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted Manrope) ─────────────────────────────────────── */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Design tokens ───────────────────────────────────────────────────── */
:root {
  --wq-bg: #031c16;
  --wq-surface: #062d22;
  --wq-forest: #0b4d35;
  --wq-nature: #1b7a3a;
  --wq-action: #5bcb3a;
  --wq-lime: #8be34a;
  --wq-text: #ffffff;
  --wq-text-muted: #a9bbb2;
  --wq-border: rgba(139, 227, 74, 0.08);
  --wq-border-hover: rgba(139, 227, 74, 0.25);
  --wq-glow: rgba(91, 203, 58, 0.2);
  --wq-amber: #f2a53c;
  --wq-red: #e8463a;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--wq-bg);
  color: var(--wq-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: rgba(91, 203, 58, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--wq-lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Layout helpers ──────────────────────────────────────────────────── */
.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(80px, 12vw, 150px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head .section-title,
.section-head .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wq-lime);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.section-title.center {
  text-align: center;
}

.section-desc {
  margin-top: 18px;
  color: var(--wq-text-muted);
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  max-width: 640px;
}

.section-desc.center {
  text-align: center;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.35s, border-color 0.35s, color 0.35s;
  will-change: transform;
}

.btn-primary {
  background: var(--wq-action);
  color: #04170f;
  box-shadow: 0 0 0 rgba(91, 203, 58, 0);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 34px var(--wq-glow), 0 0 24px rgba(91, 203, 58, 0.28);
}

.btn-ghost {
  border: 1px solid var(--wq-border-hover);
  color: var(--wq-text);
  background: rgba(6, 45, 34, 0.35);
}

.btn-ghost:hover {
  border-color: var(--wq-lime);
  transform: translateY(-2px);
}

.btn-disabled {
  border: 1px dashed rgba(169, 187, 178, 0.3);
  color: var(--wq-text-muted);
  cursor: default;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16.5px;
}

.btn-xl {
  padding: 18px 40px;
  font-size: 17.5px;
}

.btn-nav {
  padding: 10px 22px;
  font-size: 14.5px;
}

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(3, 28, 22, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--wq-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1360px, 100% - 48px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wq-text-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.3s, background-color 0.3s;
}

.nav-link:hover {
  color: var(--wq-text);
  background: rgba(139, 227, 74, 0.06);
}

.nav-link.active {
  color: var(--wq-lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--wq-text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Selector de idioma ──────────────────────────────────────────────── */
.lang {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--wq-border-hover);
  background: rgba(6, 45, 34, 0.4);
  color: var(--wq-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.3s, background-color 0.3s;
}

.lang-btn:hover {
  border-color: var(--wq-lime);
  background: rgba(6, 45, 34, 0.65);
}

.lang-flag {
  display: inline-flex;
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2.5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-chevron {
  color: var(--wq-text-muted);
  transition: transform 0.3s var(--ease-out);
}

.lang.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 172px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(3, 28, 22, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--wq-border-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 120;
}

.lang.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wq-text-muted);
  text-align: left;
  transition: background-color 0.25s, color 0.25s;
}

.lang-option:hover {
  background: rgba(139, 227, 74, 0.08);
  color: var(--wq-text);
}

.lang-option.active {
  background: rgba(139, 227, 74, 0.07);
  color: var(--wq-lime);
}

/* ── Dropdown Informes (menú) ────────────────────────────────────────── */
.nav-drop {
  position: relative;
}

.nav-drop-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--wq-text-muted);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.3s, background-color 0.3s;
}

.nav-drop-btn:hover {
  color: var(--wq-text);
  background: rgba(139, 227, 74, 0.06);
}

.nav-drop-btn .lang-chevron {
  width: 11px;
  height: 11px;
  transition: transform 0.3s var(--ease-out);
}

.nav-drop.open .lang-chevron {
  transform: rotate(180deg);
}

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(3, 28, 22, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--wq-border-hover);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  z-index: 120;
}

.nav-drop.open .nav-drop-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wq-text-muted);
  transition: background-color 0.25s, color 0.25s;
}

.nav-drop-item:hover {
  background: rgba(139, 227, 74, 0.08);
  color: var(--wq-text);
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 90px;
}

.hero-bg-wrap {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero_forest.jpg") center / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% 10%, rgba(3, 28, 22, 0.25) 0%, rgba(3, 28, 22, 0.55) 55%, rgba(3, 28, 22, 0.93) 100%),
    linear-gradient(180deg, rgba(3, 28, 22, 0.55) 0%, rgba(3, 28, 22, 0.35) 40%, rgba(3, 28, 22, 0.94) 100%);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--wq-border-hover);
  background: rgba(6, 45, 34, 0.45);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wq-text-muted);
}

.hero-title {
  margin-top: 30px;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-word {
  display: inline-block;
  margin: 0 0.12em;
}

.hero-word-gradient {
  background: linear-gradient(92deg, var(--wq-action) 10%, var(--wq-lime) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-top: 26px;
  max-width: 640px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--wq-text-muted);
  font-weight: 500;
}

.hero-cta {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Hero entrance */
[data-hero-item] {
  opacity: 0;
  transform: translateY(26px);
  animation: hero-in 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.15s + attr(data-hero-item) * 0.12s);
}

/* attr() math fallback: set delays explicitly below */
[data-hero-item="1"] { animation-delay: 0.15s; }
[data-hero-item="2"] { animation-delay: 0.27s; }
[data-hero-item="3"] { animation-delay: 0.39s; }
[data-hero-item="4"] { animation-delay: 0.51s; }
[data-hero-item="5"] { animation-delay: 0.63s; }
[data-hero-item="6"] { animation-delay: 0.78s; }
[data-hero-item="7"] { animation-delay: 0.93s; }

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  animation: hero-in 0.9s var(--ease-out) 1.4s forwards;
}

.scroll-mouse {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(169, 187, 178, 0.55);
  border-radius: 14px;
  position: relative;
}

.scroll-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--wq-lime);
  animation: scroll-bob 1.8s ease-in-out infinite;
}

@keyframes scroll-bob {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(12px);
    opacity: 0.1;
  }
}

/* ── Stats ───────────────────────────────────────────────────────────── */
.stats {
  position: relative;
  padding: 54px 0;
  background: linear-gradient(180deg, rgba(6, 45, 34, 0.55), rgba(6, 45, 34, 0.12));
  border-block: 1px solid var(--wq-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
  display: grid;
  gap: 6px;
}

.stat-number {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--wq-lime);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13.5px;
  color: var(--wq-text-muted);
  line-height: 1.45;
  max-width: 220px;
  margin-inline: auto;
}

/* ── About (Qué es) ──────────────────────────────────────────────────── */
.about {
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(27, 122, 58, 0.12) 0%, transparent 70%),
    var(--wq-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-points {
  list-style: none;
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15.5px;
}

.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(91, 203, 58, 0.14);
  color: var(--wq-action);
  border: 1px solid rgba(91, 203, 58, 0.3);
}

.about-visual {
  position: relative;
  min-height: 460px;
}

.about-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(50% 50% at 50% 50%, var(--wq-glow) 0%, transparent 70%);
  filter: blur(30px);
}

.about-card-main,
.about-card-sub {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--wq-border-hover);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

.about-card-main {
  top: 0;
  left: 0;
  width: 78%;
  z-index: 2;
}

.about-card-main img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.about-card-sub {
  bottom: 0;
  right: 0;
  width: 52%;
  z-index: 3;
  transform: rotate(3deg);
  border: 1px solid rgba(139, 227, 74, 0.3);
}

.about-card-sub img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.id-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(3, 28, 22, 0.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--wq-border-hover);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.id-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wq-action);
  box-shadow: 0 0 10px var(--wq-action);
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    box-shadow: 0 0 4px rgba(91, 203, 58, 0.6);
  }
  50% {
    box-shadow: 0 0 14px rgba(91, 203, 58, 1);
  }
}

/* ── Features ────────────────────────────────────────────────────────── */
.features {
  background:
    radial-gradient(50% 40% at 10% 15%, rgba(11, 77, 53, 0.28) 0%, transparent 70%),
    var(--wq-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(6, 45, 34, 0.85), rgba(6, 45, 34, 0.45));
  border: 1px solid var(--wq-border);
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
  will-change: transform;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--wq-border-hover);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(91, 203, 58, 0.07);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(91, 203, 58, 0.1);
  border: 1px solid rgba(91, 203, 58, 0.22);
  color: var(--wq-action);
  margin-bottom: 22px;
}

.feature-icon-threat {
  position: relative;
}

.feature-icon-threat::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wq-red);
  border: 2px solid var(--wq-bg);
}

.feature-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--wq-text-muted);
  font-size: 14.8px;
  line-height: 1.6;
}

/* ── Cómo funciona (steps) ───────────────────────────────────────────── */
.how {
  background:
    radial-gradient(55% 45% at 90% 80%, rgba(27, 122, 58, 0.1) 0%, transparent 70%),
    var(--wq-bg);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps-line {
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(139, 227, 74, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.steps-line-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--wq-forest), var(--wq-action), var(--wq-lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease-out) 0.2s;
}

.steps.in-view .steps-line-fill {
  transform: scaleX(1);
}

.step {
  position: relative;
  padding-top: 70px;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--wq-lime);
  background: var(--wq-surface);
  border: 1px solid var(--wq-border-hover);
  box-shadow: 0 0 26px rgba(91, 203, 58, 0.12);
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.step p {
  color: var(--wq-text-muted);
  font-size: 14.8px;
  line-height: 1.6;
}

/* ── Actividades ─────────────────────────────────────────────────────── */
.activities {
  background:
    radial-gradient(50% 45% at 85% 20%, rgba(11, 77, 53, 0.26) 0%, transparent 70%),
    var(--wq-bg);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.activity-card {
  padding: 30px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(6, 45, 34, 0.85), rgba(6, 45, 34, 0.45));
  border: 1px solid var(--wq-border);
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
  will-change: transform;
}

.activity-card:hover {
  transform: translateY(-6px);
  border-color: var(--wq-border-hover);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(91, 203, 58, 0.07);
}

.activity-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.activity-card p {
  color: var(--wq-text-muted);
  font-size: 13.8px;
  line-height: 1.55;
}

.activity-banner {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--wq-border-hover);
  background: linear-gradient(90deg, rgba(91, 203, 58, 0.09), rgba(91, 203, 58, 0.02));
}

.activity-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(91, 203, 58, 0.12);
  border: 1px solid rgba(91, 203, 58, 0.3);
  color: var(--wq-action);
}

.activity-banner p {
  color: var(--wq-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.activity-banner strong {
  color: var(--wq-text);
  font-weight: 700;
}

/* ── Ruta donde el deporte y la biodiversidad se juntan ────────────────── */
.route-demo {
  margin-bottom: 30px;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--wq-border-hover);
  background: linear-gradient(120deg, rgba(91, 203, 58, 0.1), rgba(27, 122, 58, 0.16));
  display: grid;
  gap: 18px;
}

.route-demo-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wq-lime);
}

.route-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.metric-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--wq-border-hover);
  background: rgba(3, 28, 22, 0.55);
  font-size: 13.5px;
  color: var(--wq-text-muted);
}

.metric-chip strong {
  font-size: 19px;
  font-weight: 700;
  color: var(--wq-lime);
  font-variant-numeric: tabular-nums;
}

.route-demo p {
  color: var(--wq-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  max-width: 640px;
}

/* ── Forma de onda del sonido (identificación acústica) ────────────────── */
.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  margin-top: 20px;
}

.waveform span {
  flex: 1 0 4px;
  max-width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--wq-lime), var(--wq-action));
  opacity: 0.9;
  transform-origin: center;
  animation: wave-pulse 1.4s ease-in-out infinite alternate;
}

@keyframes wave-pulse {
  from {
    transform: scaleY(0.28);
    opacity: 0.55;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ── Fauna ───────────────────────────────────────────────────────────── */
.fauna {
  background:
    radial-gradient(50% 40% at 15% 85%, rgba(11, 77, 53, 0.25) 0%, transparent 70%),
    var(--wq-bg);
}

.fauna-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}

.fauna-tall {
  grid-row: span 2;
}

.fauna-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--wq-border);
  cursor: pointer;
}

.fauna-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}

.fauna-card:hover img {
  transform: scale(1.07);
}

.fauna-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 28, 22, 0.05) 40%, rgba(3, 28, 22, 0.88) 100%);
  transition: opacity 0.5s;
}

.fauna-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(3, 28, 22, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--wq-border-hover);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wq-lime);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.fauna-card:hover .fauna-chip {
  opacity: 1;
  transform: translateY(0);
}

.fauna-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.fauna-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.fauna-group {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wq-lime);
}

/* ── Ecosistemas ─────────────────────────────────────────────────────── */
.ecosystems {
  padding-bottom: 0;
  background:
    radial-gradient(55% 40% at 85% 10%, rgba(27, 122, 58, 0.1) 0%, transparent 70%),
    var(--wq-bg);
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.eco-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--wq-border);
  background: var(--wq-surface);
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}

.eco-card:hover {
  transform: translateY(-6px);
  border-color: var(--wq-border-hover);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.eco-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.eco-media img {
  position: absolute;
  inset: -15% 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

.eco-body {
  padding: 24px 26px 28px;
}

.eco-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.eco-body p {
  color: var(--wq-text-muted);
  font-size: 14.5px;
}

/* Caño Cristales banner */
.cristales {
  position: relative;
  margin-top: clamp(48px, 7vw, 84px);
  height: clamp(340px, 52vw, 520px);
  overflow: hidden;
}

.cristales-media {
  position: absolute;
  inset: -18% 0;
}

.cristales-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.cristales-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 28, 22, 0.75) 0%, rgba(3, 28, 22, 0.25) 45%, rgba(3, 28, 22, 0.85) 100%);
}

.cristales-caption {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(36px, 5vw, 60px);
}

.cristales-caption h3 {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cristales-caption p {
  margin-top: 10px;
  color: var(--wq-text-muted);
  font-size: 15.5px;
}

/* ── Conservación ────────────────────────────────────────────────────── */
.conservation {
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(11, 77, 53, 0.22) 0%, transparent 70%),
    var(--wq-bg);
}

.cons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cons-card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(6, 45, 34, 0.85), rgba(6, 45, 34, 0.45));
  border: 1px solid var(--wq-border);
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}

.cons-card:hover {
  transform: translateY(-6px);
  border-color: var(--wq-border-hover);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.cons-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cons-card p {
  color: var(--wq-text-muted);
  font-size: 14.8px;
  line-height: 1.6;
}

.cons-legend {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot, var(--wq-action));
  box-shadow: 0 0 8px color-mix(in srgb, var(--dot, var(--wq-action)) 60%, transparent);
}

.cons-quote {
  margin-top: clamp(56px, 8vw, 90px);
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  max-width: 860px;
  margin-inline: auto;
  background: linear-gradient(92deg, #ffffff 20%, var(--wq-lime) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Descarga ────────────────────────────────────────────────────────── */
.download {
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(27, 122, 58, 0.16) 0%, transparent 70%),
    var(--wq-bg);
}

.download-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 90vw);
  height: 420px;
  background: radial-gradient(50% 50% at 50% 50%, var(--wq-glow) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.download-logo {
  position: relative;
  width: clamp(250px, 32.5vw, 337px);
  height: auto;
  animation: float-logo 6s ease-in-out infinite;
  margin-bottom: 8px;
}

@keyframes float-logo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.download-cta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.download-trust {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wq-text-muted);
  letter-spacing: 0.04em;
}

.trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wq-nature);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--wq-border);
  padding: 64px 0 34px;
  background: rgba(3, 20, 15, 0.6);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--wq-border);
}

.footer-logo {
  height: 65px;
  width: auto;
}

.footer-tagline {
  margin-top: 16px;
  color: var(--wq-text-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.footer-cols {
  display: flex;
  gap: clamp(40px, 8vw, 110px);
  flex-wrap: wrap;
}

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wq-lime);
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--wq-text-muted);
  transition: color 0.3s;
  width: fit-content;
}

.footer-col a:hover {
  color: var(--wq-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(169, 187, 178, 0.75);
}

/* ── Páginas legales ─────────────────────────────────────────────────── */
.legal-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(56px, 8vw, 100px)) 0 clamp(30px, 4vw, 50px);
  background: radial-gradient(65% 85% at 50% 0%, rgba(27, 122, 58, 0.18) 0%, transparent 72%);
  overflow: hidden;
}

.legal-title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: 780px;
}

.legal-lead {
  margin-top: 18px;
  max-width: 720px;
  color: var(--wq-text-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}

.legal-updated {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--wq-border-hover);
  color: var(--wq-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.legal-wrap {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(20px, 3vw, 40px) 0 clamp(80px, 10vw, 120px);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: clamp(44px, 6vw, 60px) 0 16px;
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--wq-border);
}

.legal-content > h2:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--wq-lime);
  margin: 26px 0 10px;
}

.legal-content p {
  color: var(--wq-text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content strong {
  color: var(--wq-text);
  font-weight: 700;
}

.legal-content a {
  color: var(--wq-lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  color: var(--wq-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(91, 203, 58, 0.55);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 18px 0 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--wq-border);
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(6, 45, 34, 0.35);
}

.legal-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wq-lime);
  padding: 12px 16px;
  border-bottom: 1px solid var(--wq-border-hover);
  white-space: nowrap;
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--wq-border);
  color: var(--wq-text-muted);
  line-height: 1.55;
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table td:first-child {
  color: var(--wq-text);
  font-weight: 600;
}

.legal-note {
  margin: 18px 0 22px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--wq-border-hover);
  border-left: 3px solid var(--wq-action);
  background: rgba(91, 203, 58, 0.05);
}

.legal-note p {
  margin: 0;
  font-size: 14.5px;
}

.legal-summary {
  margin: 6px 0 10px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(6, 45, 34, 0.85), rgba(6, 45, 34, 0.45));
  border: 1px solid var(--wq-border);
}

.legal-summary h2 {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
  font-size: 1.2rem;
}

.legal-cross {
  margin-top: clamp(48px, 6vw, 70px);
  padding-top: 28px;
  border-top: 1px solid var(--wq-border);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.legal-cross span {
  color: var(--wq-text-muted);
  font-size: 14.5px;
  font-weight: 600;
}

.legal-cross .btn {
  white-space: normal;
}

.doc-figure {
  margin: 24px 0 28px;
}

.doc-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--wq-border);
}

.doc-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--wq-text-muted);
  line-height: 1.55;
}

.doc-figure figcaption strong {
  color: var(--wq-lime);
  font-weight: 700;
}

/* ── Scroll reveal ───────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.4s; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .features-grid,
  .cons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .activities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 28px;
  }

  .steps-line {
    display: none;
  }

  .fauna-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }

  .eco-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 420px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 1380px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(3, 28, 22, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--wq-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0.35s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-link {
    padding: 13px 16px;
    font-size: 16px;
  }

  .nav-drop-btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 16px;
    border-radius: 0;
  }

  .nav-drop-btn .lang-chevron {
    display: none;
  }

  .nav-drop-menu {
    position: static;
    min-width: 0;
    padding: 0 0 6px 26px;
    display: grid;
    gap: 2px;
    background: transparent;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-drop-item {
    padding: 10px 12px;
    font-size: 14.5px;
    color: rgba(169, 187, 178, 0.9);
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(1180px, 100% - 40px);
  }

  .features-grid,
  .cons-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activity-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 24px;
  }

  .fauna-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .fauna-tall {
    grid-row: span 1;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .about-visual {
    min-height: 340px;
  }

  .download-cta .btn {
    width: 100%;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-cols {
    flex-direction: column;
    gap: 30px;
  }

  .lang-btn {
    padding: 7px 10px;
    font-size: 12.5px;
    gap: 6px;
  }
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-hero-item],
  .scroll-indicator {
    opacity: 1;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .steps-line-fill {
    transform: scaleX(1);
  }

  .hero-canvas {
    display: none;
  }

  .waveform span {
    animation: none;
    transform: scaleY(0.55);
  }
}
