/* ============================================
   LA VUELTA AL MUNDO EN 80 ÁRBOLES
   Estilos completos — diseño orgánico premium
   ============================================ */

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

:root {
  --green-deep:   #0d1f0a;
  --green-dark:   #1a3a10;
  --green-mid:    #2D6A1E;
  --green-light:  #4a9a2e;
  --green-lime:   #B8F369;
  --green-pale:   #d4f7a0;
  --cream:        #f5f0e8;
  --cream-dark:   #e8e0d0;
  --gold:         #c8a84b;
  --gold-light:   #e8c870;
  --white:        #ffffff;
  --text-primary: #f0ede8;
  --text-muted:   rgba(240,237,232,0.6);
  --text-dark:    #1a1a1a;

  --c-america:  #B8F369;
  --c-africa:   #DDA0DD;
  --c-asia:     #FFD700;
  --c-oceania:  #FF8C42;
  --c-europa:   #87CEEB;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Bricolage Grotesque', system-ui, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
  --shadow-hover: 0 12px 48px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.3);
  --shadow-modal: 0 24px 80px rgba(0,0,0,0.7);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--green-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── SCROLLBAR ────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-deep); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ── PARTICLES ────────────────────────────────────────────────────────── */
.particles {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute;
  background: var(--green-lime);
  border-radius: 50%;
  bottom: -10px;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

/* ── LEAVES ───────────────────────────────────────────────────────────── */
.leaves-container {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1;
}
.leaf {
  position: absolute;
  top: -60px;
  animation: leafFall linear infinite;
  user-select: none;
}
@keyframes leafFall {
  0%   { transform: translateY(-60px) rotate(0deg) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(720deg) translateX(80px); opacity: 0; }
}

/* ── REVEAL ANIMATIONS ────────────────────────────────────────────────── */
.reveal-up    { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--delay, 0s); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ── TYPOGRAPHY HELPERS ───────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-lime);
  border: 1px solid rgba(184,243,105,0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
}
.section-title em {
  font-style: italic;
  color: var(--green-lime);
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 560px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-lime);
  color: var(--green-deep);
}
.btn--primary:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,243,105,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn--large { padding: 18px 40px; font-size: 1rem; }

/* ── NAV ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.25rem 2.5rem;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(13,31,10,0.95);
  backdrop-filter: blur(20px);
  padding: 0.9rem 2.5rem;
  border-bottom: 1px solid rgba(184,243,105,0.1);
}
.nav__logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem;
  color: var(--green-lime);
  margin-right: auto;
}
.nav__leaf { font-size: 1.2rem; }
.nav__links {
  display: flex; gap: 2rem; list-style: none;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.nav__links a:hover { color: var(--green-lime); }
.nav__cta {
  background: rgba(184,243,105,0.12);
  border: 1px solid rgba(184,243,105,0.3);
  color: var(--green-lime);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}
.nav__cta:hover {
  background: var(--green-lime);
  color: var(--green-deep);
}
.nav__burger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MOBILE MENU ──────────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(13,31,10,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-primary);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--green-lime); }

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 0 2.5rem;
}
.hero__bg-layers { position: absolute; inset: 0; z-index: 0; }
.hero__layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__layer--1 {
  background: radial-gradient(ellipse at 20% 50%, rgba(45,106,30,0.4) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(184,243,105,0.08) 0%, transparent 50%),
              linear-gradient(135deg, #0d1f0a 0%, #1a3a10 50%, #0d1f0a 100%);
}
.hero__layer--2 {
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8F369' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__layer--3 {
  background: radial-gradient(ellipse at 50% 100%, rgba(13,31,10,0.8) 0%, transparent 60%);
}

/* Globe */
.hero__globe-wrap {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.hero__globe {
  position: relative;
  width: 380px; height: 380px;
}
.globe__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,243,105,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: globePulse 4s ease-in-out infinite;
}
.globe__ring--1 { width: 100%; height: 100%; animation-delay: 0s; }
.globe__ring--2 { width: 75%; height: 75%; animation-delay: 0.5s; border-color: rgba(184,243,105,0.25); }
.globe__ring--3 { width: 50%; height: 50%; animation-delay: 1s; border-color: rgba(184,243,105,0.4); }
@keyframes globePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
}
.globe__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
.globe__number {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--green-lime);
  line-height: 1;
}
.globe__label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.globe__orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(184,243,105,0.2);
  animation: orbitSpin linear infinite;
}
.globe__orbit--1 { width: 280px; height: 280px; margin: -140px 0 0 -140px; animation-duration: 12s; }
.globe__orbit--2 { width: 320px; height: 320px; margin: -160px 0 0 -160px; animation-duration: 18s; animation-direction: reverse; }
.globe__orbit--3 { width: 360px; height: 360px; margin: -180px 0 0 -180px; animation-duration: 25s; }
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.globe__dot {
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  background: var(--green-lime);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green-lime);
  transform: translateX(-50%);
}

/* Hero content */
.hero__content {
  position: relative; z-index: 2;
  max-width: 600px;
  padding-top: 80px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.eyebrow__line {
  flex: 1; max-width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  color: var(--green-lime);
}
.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-arrow {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}

/* ── STATS BAND ───────────────────────────────────────────────────────── */
.stats-band {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 2.5rem;
}
.stats-band__inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item__number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--green-lime);
  line-height: 1;
}
.stat-item__number small { font-size: 1rem; }
.stat-item__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}
.stat-divider {
  color: rgba(184,243,105,0.3);
  font-size: 0.6rem;
}

/* ── ABOUT / RUTA ─────────────────────────────────────────────────────── */
.about {
  padding: 8rem 2.5rem;
  position: relative; z-index: 1;
}
.about__container {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
  align-items: center;
}
.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about__text p strong { color: var(--text-primary); }
.about__text p em { color: var(--green-lime); font-style: italic; }
.about__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 2rem;
}
.tag {
  background: rgba(184,243,105,0.08);
  border: 1px solid rgba(184,243,105,0.2);
  color: var(--green-lime);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Route map */
.route-map {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}
.route-svg { width: 100%; max-width: 280px; margin: 0 auto; }
.route-dot { animation: dotPulse 3s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { r: 8; opacity: 0.8; }
  50%       { r: 11; opacity: 1; }
}
.route-map__legend {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 1.5rem; text-align: left;
}
.legend-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── CONTINENTES ──────────────────────────────────────────────────────── */
.continents {
  padding: 6rem 2.5rem;
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.15);
}
.continents__header {
  max-width: 1200px; margin: 0 auto 4rem;
  text-align: center;
}
.continents__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.continent-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.continent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.continent-card--wide {
  grid-column: span 2;
}
.continent-card__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color1), var(--color2));
  z-index: 0;
}
.continent-card__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,0.05), transparent 60%);
}
.continent-card__icon {
  position: relative; z-index: 1;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.continent-card__content {
  position: relative; z-index: 1;
}
.continent-card__tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.continent-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.continent-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.continent-card__trees {
  display: flex; flex-direction: column; gap: 4px;
}
.continent-card__trees li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  padding-left: 12px;
  position: relative;
}
.continent-card__trees li::before {
  content: '·';
  position: absolute; left: 0;
  color: var(--accent);
}
.continent-card__trees em { color: rgba(255,255,255,0.7); }
.continent-card__number {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  z-index: 1;
}

/* ── TREES SECTION ────────────────────────────────────────────────────── */
.trees {
  padding: 6rem 2.5rem;
  position: relative; z-index: 1;
}
.trees__header {
  max-width: 1200px; margin: 0 auto 3rem;
  text-align: center;
}

/* Search */
.trees__search {
  max-width: 600px; margin: 0 auto 2rem;
}
.search-box {
  position: relative;
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 0 1.25rem;
  transition: border-color var(--transition), background var(--transition);
}
.search-box:focus-within {
  border-color: rgba(184,243,105,0.5);
  background: rgba(255,255,255,0.08);
}
.search-box__icon { font-size: 1rem; opacity: 0.5; flex-shrink: 0; }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 12px;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box__clear {
  background: none; border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.search-box__clear:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
}

/* Filters */
.trees__filter {
  max-width: 1200px; margin: 0 auto 1.5rem;
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.filter-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.filter-btn.active {
  background: var(--green-lime);
  color: var(--green-deep);
  border-color: var(--green-lime);
  font-weight: 700;
}
.filter-count {
  background: rgba(0,0,0,0.15);
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 0.72rem;
}
.filter-btn.active .filter-count {
  background: rgba(0,0,0,0.2);
}

/* Count */
.trees__count {
  max-width: 1200px; margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Grid */
.trees__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* Tree Card */
.tree-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  display: flex; flex-direction: column; gap: 0.75rem;
  overflow: hidden;
}
.tree-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,243,105,0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.tree-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(184,243,105,0.25);
  background: rgba(255,255,255,0.07);
}
.tree-card:hover::before { opacity: 1; }
.tree-card:focus-visible {
  outline: 2px solid var(--green-lime);
  outline-offset: 2px;
}
.tree-card__num {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 300;
}
.tree-card__emoji {
  font-size: 2.2rem;
  line-height: 1;
}
.tree-card__body { flex: 1; }
.tree-card__continent {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.tree-card__continent.america  { background: rgba(184,243,105,0.15); color: var(--c-america); }
.tree-card__continent.africa   { background: rgba(221,160,221,0.15); color: var(--c-africa); }
.tree-card__continent.asia     { background: rgba(255,215,0,0.15);   color: var(--c-asia); }
.tree-card__continent.oceania  { background: rgba(255,140,66,0.15);  color: var(--c-oceania); }
.tree-card__continent.europa   { background: rgba(135,206,235,0.15); color: var(--c-europa); }

.tree-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
  line-height: 1.3;
}
.tree-card__scientific {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.tree-card__desc {
  font-size: 0.8rem;
  color: rgba(240,237,232,0.5);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.tree-card__uses {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.tree-card__uses span {
  font-size: 0.68rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2px 8px;
  border-radius: 100px;
  color: var(--text-muted);
}
.tree-card__more {
  font-size: 0.75rem;
  color: var(--green-lime);
  opacity: 0;
  transition: opacity var(--transition);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.tree-card:hover .tree-card__more { opacity: 1; }

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.no-results span { font-size: 3rem; display: block; margin-bottom: 1rem; }
.no-results p { font-size: 1rem; }

/* ── HISTORY ──────────────────────────────────────────────────────────── */
.history {
  padding: 6rem 2.5rem;
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.2);
}
.history__container {
  max-width: 900px; margin: 0 auto;
}
.history__timeline {
  text-align: center;
  margin-bottom: 4rem;
}
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(184,243,105,0.4), transparent);
}
.timeline__item {
  position: relative;
  padding: 0 0 3rem 2.5rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.timeline__item::before {
  content: '';
  position: absolute;
  left: -4px; top: 6px;
  width: 9px; height: 9px;
  background: var(--green-lime);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(184,243,105,0.5);
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green-lime);
  line-height: 1.2;
  text-align: right;
}
.timeline__content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.timeline__content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── VISIT ────────────────────────────────────────────────────────────── */
.visit {
  padding: 6rem 2.5rem;
  position: relative; z-index: 1;
}
.visit__header {
  max-width: 1200px; margin: 0 auto 3rem;
  text-align: center;
}
.visit__grid {
  max-width: 1200px; margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.visit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}
.visit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,243,105,0.2);
}
.visit-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.visit-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.visit-card__info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.visit-card__info strong { color: var(--text-primary); }
.visit-card__note {
  font-size: 0.75rem !important;
  color: rgba(184,243,105,0.6) !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}
.visit__cta { text-align: center; }

/* ── FOOTER ───────────────────────────────────────────────────────────── */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2.5rem;
  position: relative; z-index: 1;
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 2rem;
}
.footer__brand {
  display: flex; align-items: center; gap: 1rem;
}
.footer__leaf { font-size: 2rem; }
.footer__brand strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}
.footer__brand p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.footer__quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 360px;
  text-align: center;
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ── MODAL ────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  position: relative;
  background: linear-gradient(135deg, #1a3a10, #0d2a08);
  border: 1px solid rgba(184,243,105,0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}
.modal__close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.modal__close:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.modal__header {
  display: flex; align-items: flex-start; gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 300;
  opacity: 0.7;
  white-space: nowrap;
  padding-top: 4px;
}
.modal__emoji {
  font-size: 3rem;
  line-height: 1;
  flex-shrink: 0;
}
.modal__titles { flex: 1; }
.modal__continent {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.modal__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.modal__sci {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.modal__family {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.modal__body { display: flex; flex-direction: column; gap: 1.5rem; }
.modal__section h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-lime);
  margin-bottom: 0.6rem;
}
.modal__section p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.modal__uses {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.modal__uses span {
  background: rgba(184,243,105,0.1);
  border: 1px solid rgba(184,243,105,0.2);
  color: var(--green-lime);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
}
.modal__nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.modal__nav-btn {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.modal__nav-btn:hover:not(:disabled) {
  color: var(--white);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.modal__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.modal__nav-pos {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .continents__grid { grid-template-columns: repeat(2, 1fr); }
  .continent-card--wide { grid-column: span 2; }
  .hero__globe-wrap { right: 3%; }
  .hero__globe { width: 300px; height: 300px; }
}

@media (max-width: 900px) {
  .about__container { grid-template-columns: 1fr; gap: 3rem; }
  .hero__globe-wrap { display: none; }
  .hero__content { max-width: 100%; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .continents__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 0 1.5rem; }
  .about, .continents, .trees, .history, .visit { padding: 4rem 1.5rem; }
  .stats-band { padding: 1.5rem; }
  .stats-band__inner { gap: 1.25rem; }
  .stat-divider { display: none; }
  .continents__grid { grid-template-columns: 1fr; }
  .continent-card--wide { grid-column: span 1; }
  .trees__grid { grid-template-columns: 1fr; }
  .visit__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__quote { display: none; }
  .timeline__item { grid-template-columns: 60px 1fr; gap: 1rem; }
  .modal { padding: 1.75rem; border-radius: var(--radius-lg); }
  .modal__header { flex-direction: column; gap: 0.75rem; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
}