/* ==========================================================================
   CENTRO DE SOLUCIONES BIOLÓGICAS DEL PUTUMAYO - DESIGN SYSTEM & STYLES
   Project COEXISTIR - Conservation & Inga Community Coexistence Portal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --primary: #0D592A;
  --primary-light: #188040;
  --primary-dark: #063819;
  --primary-glow: rgba(13, 89, 42, 0.25);

  --accent-red: #D62828;
  --accent-red-glow: rgba(214, 40, 40, 0.3);
  --accent-gold: #F4B41A;
  --accent-gold-glow: rgba(244, 180, 26, 0.3);

  /* Dark Theme Surfaces */
  --bg-dark: #08140E;
  --bg-dark-surface: #0E2218;
  --bg-dark-card: #142D21;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Light Theme Surfaces */
  --bg-body: #F5F9F6;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #EDF4EF;
  --border-light: #E1EBE4;

  /* Typography Colors */
  --text-heading: #0B2416;
  --text-body: #2C3E35;
  --text-muted: #5A7065;
  --text-on-dark: #EAF4EE;
  --text-muted-on-dark: #9EBBAE;

  /* Design Tokens */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(13, 89, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(13, 89, 42, 0.18);
  --shadow-glow: 0 0 30px rgba(244, 180, 26, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Utility Containers & Typography */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 6rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-primary {
  background: rgba(13, 89, 42, 0.12);
  color: var(--primary);
  border: 1px solid rgba(13, 89, 42, 0.2);
}

.badge-gold {
  background: rgba(244, 180, 26, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(244, 180, 26, 0.4);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin: 1rem 0;

}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* Inga Pattern Line Motif */
.inga-divider {
  width: 100%;
  height: 12px;
  background: repeating-linear-gradient(45deg,
      var(--primary),
      var(--primary) 10px,
      var(--accent-gold) 10px,
      var(--accent-gold) 20px,
      var(--accent-red) 20px,
      var(--accent-red) 30px);
  opacity: 0.85;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.2rem 0;
  background: rgba(8, 20, 14, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(5, 14, 9, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(244, 180, 26, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-logo-icon {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: var(--transition);
}

.nav-logo-video {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 12px rgba(244, 180, 26, 0.4);
  transition: var(--transition);
  cursor: pointer;
}

.nav-logo:hover .nav-logo-video {
  transform: scale(1.08);
  border-color: #FFFFFF;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
}

.nav-logo-text-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* Ensures clean white text on dark background */
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-on-dark);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Dropdown */
.lang-switcher-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  list-style: none;
  padding: 0.5rem;
  min-width: 130px;
  display: none;
  z-index: 1050;
}

.lang-dropdown-menu.show {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

.lang-option {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-on-dark);
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.lang-option:hover,
.lang-option.active {
  background: rgba(244, 180, 26, 0.15);
  color: var(--accent-gold);
  font-weight: 700;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(13, 89, 42, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 89, 42, 0.45);
}

.btn-accent {
  background: var(--accent-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--accent-red-glow);
}

.btn-accent:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #FFFFFF;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, #051A10 0%, #0A291A 50%, #081B11 100%);
  color: var(--text-on-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(244, 180, 26, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(214, 40, 40, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(13, 89, 42, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: #FFFFFF;
  margin: 1.2rem 0;
  letter-spacing: -0.5px;
}

.hero-content h1 .highlight-gold {
  color: var(--accent-gold);
  background: linear-gradient(120deg, #F4B41A, #FCE081);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 .highlight-red {
  color: var(--accent-red);
}

.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted-on-dark);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-dark);
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted-on-dark);
  margin-top: 0.4rem;
}

.hero-card-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-main-card {
  background: rgba(20, 45, 33, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 440px;
  width: 100%;
}

.hero-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold), var(--primary-light));
}

.hero-logo-img {
  max-height: 220px;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-card-tag {
  background: rgba(244, 180, 26, 0.15);
  color: var(--accent-gold);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.hero-card-title {
  font-size: 1.4rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.hero-card-desc {
  font-size: 0.925rem;
  color: var(--text-muted-on-dark);
}

/* Floating Feature Badges */
.floating-badge {
  position: absolute;
  background: rgba(8, 20, 14, 0.9);
  border: 1px solid rgba(244, 180, 26, 0.4);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-badge.fb-1 {
  top: -30px;
  left: -60px;
  animation-delay: 0s;
}

.floating-badge.fb-2 {
  bottom: -30px;
  right: -60px;
  animation-delay: 2s;
}

.fb-icon {
  font-size: 1.5rem;
}

.fb-text strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.fb-text span {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-style: italic;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   ABOUT / CENTRO DE SOLUCIONES BIOLOGICAS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 220px;
}

.about-img-badge h4 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.about-content h2 {
  font-size: 2.5rem;
  margin: 1rem 0 1.5rem 0;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(13, 89, 42, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SPECIES SHOWCASE: OSO ANDINO (Tremarctos ornatus)
   ========================================================================== */
.species-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.species-header h2 {
  color: #FFFFFF;
}

.species-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.species-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.species-tag {
  background: rgba(214, 40, 40, 0.2);
  color: var(--accent-red);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

.species-title {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.species-latin {
  font-style: italic;
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  display: block;
}

.diet-breakdown {
  background: rgba(8, 20, 14, 0.6);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(244, 180, 26, 0.2);
}

.diet-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.diet-bar-title {
  color: var(--accent-gold);
}

.diet-percentage {
  color: #FFFFFF;
}

.diet-bar-bg {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.diet-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-light));
  width: 80%;
  border-radius: var(--radius-full);
  transition: width 1.5s ease-in-out;
}

.diet-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.diet-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-on-dark);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
}

.umbrella-box {
  display: grid;
  gap: 1.5rem;
}

.umbrella-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1.25rem;
  transition: var(--transition);
}

.umbrella-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 180, 26, 0.4);
}

.u-icon {
  font-size: 2rem;
  line-height: 1;
}

.u-content h4 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.u-content p {
  color: var(--text-muted-on-dark);
  font-size: 0.95rem;
}

/* ==========================================================================
   PROYECTO COEXISTIR & SANTIAGO PUTUMAYO
   ========================================================================== */
.coexistir-section {
  background: var(--bg-surface-alt);
}

.veredas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.vereda-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.vereda-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vereda-head {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 1.5rem;
  position: relative;
}

.vereda-head h3 {
  color: var(--accent-gold);
  font-size: 1.4rem;
}

.vereda-head span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.vereda-body {
  padding: 1.5rem;
}

.vereda-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.vereda-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vereda-tag {
  background: rgba(13, 89, 42, 0.08);
  color: var(--primary);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* Intercultural / Inga Knowledge Banner */
.inga-banner {
  background: linear-gradient(135deg, #0A1912 0%, #163825 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: #FFFFFF;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 180, 26, 0.3);
}

.inga-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.inga-banner h3 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.inga-banner h3 span {
  color: var(--accent-gold);
}

.inga-banner p {
  color: var(--text-muted-on-dark);
  font-size: 1.1rem;
  line-height: 1.7;
}

.inga-quote-box {
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: 1rem;
  color: #E2E8F0;
}

/* ==========================================================================
   STRATEGY STEPS / METODOLOGÍA
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--accent-red);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px var(--accent-red-glow);
}

.step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GALLERY / BRAND ASSETS SHOWCASE
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-img-wrapper {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: var(--bg-surface-alt);
}

.gallery-img-wrapper.dark-bg {
  background: #091911;
}

.gallery-img-wrapper img {
  max-height: 160px;
  object-fit: contain;
}

.gallery-info {
  padding: 1.2rem 1.5rem;
}

.gallery-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, #091911 0%, #123323 100%);
  color: var(--text-on-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  color: #FFFFFF;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted-on-dark);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cd-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(244, 180, 26, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.cd-text strong {
  display: block;
  color: #FFFFFF;
  font-size: 1rem;
}

.cd-text span {
  color: var(--text-muted-on-dark);
  font-size: 0.9rem;
}

.contact-form-card {
  background: rgba(20, 45, 33, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(244, 180, 26, 0.2);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
/* ==========================================================================
   CREATIVE FOOTER (BIOCORREDOR DEL PUTUMAYO)
   ========================================================================== */
.footer {
  position: relative;
  background: linear-gradient(180deg, #030F08 0%, #06180E 40%, #020805 100%);
  color: var(--text-muted-on-dark);
  padding-top: 0;
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(45, 212, 191, 0.2);
  overflow: hidden;
}

/* Forest & Andean Bear Top Silhouette SVG Divider */
.footer-wave-top {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.footer-wave-top svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 95px;
}

/* Ambient Forest & Bear Background Overlay */
.footer-forest-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(229, 169, 60, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* Giant Ambient Watermark */
.footer-watermark {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-title, sans-serif);
  font-size: clamp(2.2rem, 6.5vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.022);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Watermark Bear Vector Silhouette */
.footer-bear-bg-graphic {
  position: absolute;
  right: 3%;
  bottom: 5%;
  width: 340px;
  height: auto;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.footer:hover .footer-bear-bg-graphic {
  opacity: 0.08;
  transform: scale(1.02);
}

/* Firefly Bio-luminescent Spores Animation */
.bio-firefly {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #2DD4BF;
  border-radius: 50%;
  box-shadow: 0 0 8px #2DD4BF, 0 0 14px #2DD4BF;
  opacity: 0;
  animation: firefly-float 7s infinite ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.bio-firefly-1 { top: 30%; left: 10%; animation-delay: 0s; }
.bio-firefly-2 { top: 55%; left: 48%; animation-delay: 2.2s; background: var(--accent-gold); box-shadow: 0 0 10px var(--accent-gold); }
.bio-firefly-3 { top: 22%; right: 18%; animation-delay: 4.5s; }
.bio-firefly-4 { top: 70%; right: 8%; animation-delay: 1.2s; background: #10B981; box-shadow: 0 0 10px #10B981; }

@keyframes firefly-float {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  35% { transform: translateY(-25px) scale(1.4); opacity: 0.85; }
  75% { transform: translateY(-45px) scale(1); opacity: 0.35; }
  100% { transform: translateY(-65px) scale(0.5); opacity: 0; }
}

.footer-content-wrap {
  position: relative;
  z-index: 2;
  padding-top: 0.8rem;
}

/* Glassmorphic Biocorridor Canopy Card */
.footer-biocard {
  background: linear-gradient(135deg, rgba(13, 38, 24, 0.85) 0%, rgba(5, 20, 12, 0.95) 100%);
  border: 1px solid rgba(45, 212, 191, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 2rem 2.4rem;
  margin-bottom: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.footer-biocard:hover {
  border-color: rgba(45, 212, 191, 0.45);
  transform: translateY(-2px);
}

.footer-biocard-info {
  max-width: 620px;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2DD4BF;
  letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2DD4BF;
  box-shadow: 0 0 10px #2DD4BF;
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
  100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.footer-biocard-info h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.footer-biocard-info p {
  color: var(--text-muted-on-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-biocard-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-emerald {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
}

.btn-insta {
  background: rgba(225, 48, 108, 0.15);
  border: 1px solid rgba(225, 48, 108, 0.5);
  color: #FFFFFF !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 10px;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-insta i {
  color: #E1306C;
  font-size: 1.1rem;
}

.btn-insta:hover {
  background: rgba(225, 48, 108, 0.3);
  border-color: #E1306C;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

/* Biodiversity Badges Strip */
.footer-species-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.bio-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.25s ease;
}

.bio-pill:hover {
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.3);
  transform: translateY(-2px);
}

.bio-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(229, 169, 60, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.bio-pill:nth-child(2) .bio-pill-icon {
  background: rgba(45, 212, 191, 0.12);
  color: #2DD4BF;
}

.bio-pill:nth-child(3) .bio-pill-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}

.bio-pill:nth-child(4) .bio-pill-icon {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
}

.bio-pill-text {
  display: flex;
  flex-direction: column;
}

.bio-pill-text strong {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

.bio-pill-text span {
  font-size: 0.75rem;
  color: var(--text-muted-on-dark);
  font-style: italic;
  margin-top: 0.15rem;
}

/* Main Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.brand-logo-wrap img {
  height: 56px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 320px;
}

.footer-contact-pills {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted-on-dark);
  transition: all 0.2s ease;
  text-decoration: none;
}

.contact-pill i {
  width: 18px;
  text-align: center;
}

.contact-pill-wa i { color: #25D366; }
.contact-pill-email i { color: #2DD4BF; }
.text-gold { color: var(--accent-gold); }

.contact-pill:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-links-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 26px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted-on-dark);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.link-arrow {
  font-size: 0.65rem;
  opacity: 0.4;
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 2px;
}

.footer-links a:hover .link-arrow {
  opacity: 1;
  color: var(--accent-gold);
  transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.65);
}

.back-to-top-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #2DD4BF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.back-to-top-btn:hover {
  background: #2DD4BF;
  color: #030F08;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(45, 212, 191, 0.4);
}

/* Media Queries for Creative Footer */
@media (max-width: 1024px) {
  .footer-biocard {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.8rem;
  }
  .footer-biocard-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-species-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-species-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {

  .hero-grid,
  .about-grid,
  .species-grid,
  .inga-banner-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

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

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

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--bg-dark);
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-link {
    color: #FFFFFF;
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .veredas-grid,
  .steps-grid,
  .pillars-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-badge {
    display: none;
  }
}

/* Helper Utilities for Page Sub-Hero & Chips */
.btn-sm {
  padding: 0.45rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.page-hero {
  min-height: 80vh;
  padding-top: 7.5rem;
  padding-bottom: 4rem;
}