/* ===== COWFUNDING - PREMIUM DESIGN SYSTEM ===== */

:root {
  --green-900: #0d2b1a;
  --green-800: #1a4a2e;
  --green-700: #1e5c38;
  --green-600: #2d7a4e;
  --green-500: #3d9e68;
  --green-400: #4ade80;
  --green-100: #dcfce7;
  --gold: #c5840a;
  --gold-light: #d97706;
  --gold-btn: #b8730a;
  --cream: #faf8f3;
  --cream-dark: #f3f0e8;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--green-600); border-radius: var(--radius-full); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.logo-icon-sm { width: 32px; height: 32px; }
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover { color: var(--green-800); background: var(--green-100); }
.nav-link.active { color: var(--green-800); font-weight: 700; background: var(--green-100); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  background: var(--gold-light);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--gold-btn);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
}

.btn-nav { flex-shrink: 0; }

.mobile-menu-btn {
  display: none;
  color: var(--gray-700);
  font-size: 1.25rem;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.mobile-menu a {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.mobile-menu a:hover, .mobile-menu a.active { background: var(--green-100); color: var(--green-800); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 18, 0.75) 0%,
    rgba(13, 43, 26, 0.65) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  max-width: 680px;
  margin-left: 8vw;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-highlight { color: var(--green-400); }

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--green-600);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(45, 122, 78, 0.5);
}

.btn-hero-primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 122, 78, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255,255,255,0.6);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.trust-item i { color: var(--green-400); font-size: 0.9rem; }

.trust-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.25);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator span {
  width: 4px;
  height: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: var(--radius-full);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===== STATS BANNER ===== */
.stats-banner {
  background: var(--green-800);
  padding: 2.5rem 2rem;
}

.stats-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  font-size: 1.2rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-unit { font-size: 1.2rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 2px; font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.15); }

/* ===== SECTIONS SHARED ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-tag-light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.section-tag-white { background: rgba(255,255,255,0.2); color: white; }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== WHY SECTION ===== */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}

.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--green-200, #a7f3d0); }
.why-card:hover::before { background: linear-gradient(90deg, var(--green-600), var(--green-400)); }

.why-card-featured {
  background: var(--green-800);
  border-color: var(--green-800);
}

.why-card-featured h3, .why-card-featured p { color: white !important; }
.why-card-featured .why-stat-num { color: var(--green-400) !important; }
.why-card-featured .why-stat-label { color: rgba(255,255,255,0.85) !important; }
.why-card-featured .why-icon { background: rgba(255,255,255,0.12); color: var(--green-400); }
.why-card-featured::before { background: linear-gradient(90deg, var(--green-400), #86efac); }

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--green-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.why-stat { display: flex; align-items: baseline; gap: 0.4rem; }
.why-stat-num { font-size: 2rem; font-weight: 900; color: var(--green-700); letter-spacing: -0.03em; }
.why-stat-label { font-size: 0.8rem; color: var(--gray-400); font-weight: 500; }

/* ===== HOW SECTION ===== */
.how-section {
  background: var(--cream);
  position: relative;
}

.steps-container {
  position: relative;
  padding: 1rem 0;
}

.steps-line {
  position: absolute;
  top: 60px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-600) 0, var(--green-600) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  width: 64px;
  height: 64px;
  background: var(--green-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 14px rgba(26, 74, 46, 0.35);
  transition: all 0.3s;
  flex-shrink: 0;
}

.step-item:hover .step-circle {
  background: var(--green-600);
  transform: scale(1.05);
}

.step-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: block;
}

.step-content h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== PROJECT CARDS ===== */
.projects-preview { background: var(--white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.project-card-sm {
  background: var(--white);
  border-radius: 14px;
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.34, 1.2, 0.64, 1);
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.project-card-sm:hover {
  border-color: #2d7a4e;
  box-shadow: 0 4px 20px rgba(26,74,46,0.12);
  transform: translateY(-1px);
}

.project-img-wrap { position: relative; overflow: hidden; }
.project-img-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.project-card:hover .project-img-wrap img,
.project-card-sm:hover .project-img-wrap img { transform: scale(1.04); }

.project-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.badge-active { background: rgba(26, 74, 46, 0.9); color: white; }
.badge-funded { background: rgba(59, 130, 246, 0.9); color: white; }

.project-body { padding: 1.25rem; }

.project-header-info { margin-bottom: 0.875rem; }
.project-header-info h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.project-location {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.project-location i { color: var(--green-600); font-size: 0.7rem; }

.project-progress { margin-bottom: 1rem; }
.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.4rem;
}

.progress-header strong { color: var(--gray-800); }

.progress-bar {
  height: 5px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  border-radius: var(--radius-full);
  transition: width 1s ease;
}

.project-metrics {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.875rem;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.metric {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.metric i { font-size: 0.8rem; color: var(--green-600); }
.metric-label { font-size: 0.7rem; color: var(--gray-500); }
.metric strong { font-size: 0.9rem; font-weight: 800; color: var(--gray-900); }

.project-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green-700);
  transition: gap 0.2s;
}

.project-link:hover { gap: 0.6rem; }

.section-footer { text-align: center; margin-top: 2.5rem; }

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--green-700);
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

.btn-outline-green:hover {
  background: var(--green-800);
  color: white;
  border-color: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 74, 46, 0.3);
}

/* ===== QUOTE SECTION ===== */
.quote-section { background: var(--cream-dark); padding: 4rem 2rem; }

.quote-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gray-300);
  font-family: Georgia, serif;
  margin-bottom: 1.5rem;
}

blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--gray-800);
  line-height: 1.6;
  margin-bottom: 1rem;
}

cite {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-style: normal;
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--green-800);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78, 222, 128, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-bg { padding: 5rem 2rem; position: relative; z-index: 1; }

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(78, 222, 128, 0.15);
  color: var(--green-400);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(78, 222, 128, 0.2);
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: white;
  color: var(--green-800);
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

.btn-cta:hover {
  background: var(--green-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); padding: 4rem 2rem 0; }

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-text { color: white; }
.footer-tagline { color: rgba(255,255,255,0.45); font-size: 0.875rem; margin-top: 0.75rem; line-height: 1.6; max-width: 280px; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-link:hover { background: var(--green-600); color: white; }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.25);
  font-size: 0.8rem;
}

/* ===== INNER PAGES ===== */
.inner-page { padding-top: 68px; min-height: 100vh; }

.inner-hero {
  padding: 5rem 2rem 4rem;
  text-align: center;
}

.inner-hero-light { background: var(--cream); }

.inner-hero-content { max-width: 640px; margin: 0 auto; }

.inner-hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin: 0.75rem 0;
  line-height: 1.1;
}

.inner-hero-dark h1 { color: white; }
.inner-hero-dark p  { color: #ffffff !important; }

.inner-hero-content p {
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* Dark hero override — must come after .inner-hero-content p */
.inner-hero-dark .inner-hero-content p { color: #ffffff !important; }

/* ===== PROJECTS PAGE ===== */
.page-layout {
  padding-top: 68px;
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.projects-layout { flex-direction: row; }

.projects-panel {
  width: 420px;
  min-width: 380px;
  max-width: 440px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: 2px 0 12px rgba(0,0,0,0.06);
  z-index: 10;
}

.panel-header {
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  flex-shrink: 0;
}

.panel-header h1 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.projects-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  scroll-behavior: smooth;
}
.projects-list::-webkit-scrollbar { width: 4px; }
.projects-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 9999px; }

.map-container {
  flex: 1;
  position: relative;
  min-height: 0;
  overflow: hidden;
}
#projectsMap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #dce9e0;
}
/* Leaflet tile layer fix */
.leaflet-container {
  width: 100% !important;
  height: 100% !important;
  font-family: 'Inter', sans-serif;
}
/* Map attribution */
.leaflet-control-attribution {
  font-size: 10px;
  background: rgba(255,255,255,0.8);
}

/* ===== FILTER CHIPS ===== */
.filter-chips {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-chips-sm { margin-bottom: 1.25rem; }

.chip {
  padding: 0.35rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1.5px solid var(--gray-200);
  transition: all 0.2s ease;
  cursor: pointer;
}

.chip:hover { background: var(--green-100); color: var(--green-800); border-color: var(--green-300, #6ee7b7); }
.chip.active { background: var(--green-800); color: white; border-color: var(--green-800); }

/* ===== LEARN PAGE ===== */
.learn-container { max-width: 1100px; }

.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 3rem;
  border: 1px solid var(--gray-200);
}

.article-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.article-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-tag {
  display: inline-block;
  padding: 0.3rem 0.875rem;
  background: var(--gold-light);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.article-featured-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
  line-height: 1.25;
}

.article-featured-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.article-meta span { display: flex; align-items: center; gap: 0.35rem; }

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: var(--green-800);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  align-self: flex-start;
}

.btn-green:hover { background: var(--green-700); transform: translateY(-1px); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }

.article-card-img { position: relative; overflow: hidden; }
.article-card-img img { width: 100%; height: 180px; object-fit: cover; transition: transform 0.4s; }
.article-card:hover .article-card-img img { transform: scale(1.05); }

.article-tag-sm {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.2rem 0.625rem;
  background: rgba(26, 74, 46, 0.85);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.article-card-body { padding: 1.25rem; }
.article-card-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.article-card-body p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.article-meta-sm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-400);
}

.article-link { color: var(--green-700); font-weight: 700; }

.learn-glossary {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.learn-glossary h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.glossary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.glossary-item {
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.glossary-item h4 { font-size: 0.9rem; font-weight: 800; color: var(--green-800); margin-bottom: 0.4rem; }
.glossary-item p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; }

/* ===== FAQ PAGE ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.faq-panel h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: var(--green-300, #6ee7b7); }
.faq-item.open { border-color: var(--green-600); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
  gap: 1rem;
  cursor: pointer;
}

.faq-icon { color: var(--gray-400); font-size: 0.85rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--green-600); }

.faq-answer { display: none; padding: 0 1.25rem 1.25rem; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; }

/* CHAT */
.chat-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  height: 520px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-lg);
}

.chat-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.chat-avatar {
  width: 44px;
  height: 44px;
  background: var(--green-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.chat-header h3 { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); }
.chat-status { font-size: 0.75rem; color: var(--green-600); font-weight: 600; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.chat-msg { display: flex; gap: 0.625rem; align-items: flex-end; }
.bot-msg { flex-direction: row; }
.user-msg { flex-direction: row-reverse; }

.bot-avatar {
  width: 32px;
  height: 32px;
  background: var(--green-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.msg-bubble {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
}

.msg-bubble p { font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; }

.user-bubble { background: var(--green-800); }
.user-bubble p { color: white; }

.chat-suggestions {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--gray-100);
}

.suggestion-btn {
  padding: 0.4rem 0.875rem;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.suggestion-btn:hover { background: var(--green-800); color: white; }

.chat-input-wrap {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 0.625rem;
}

.chat-input {
  flex: 1;
  padding: 0.625rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s;
}

.chat-input:focus { border-color: var(--green-500); }

.chat-send {
  width: 40px;
  height: 40px;
  background: var(--green-800);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.2s;
  flex-shrink: 0;
}

.chat-send:hover { background: var(--green-600); transform: scale(1.05); }

/* ===== PROVIDERS PAGE ===== */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.provider-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.provider-card:hover { box-shadow: var(--shadow-xl); border-color: transparent; transform: translateY(-3px); }

.provider-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.provider-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.provider-info h3 { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.15rem; }
.provider-specialty { font-size: 0.78rem; color: var(--gray-500); margin-bottom: 0.4rem; }

.provider-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; }
.provider-location { color: var(--gray-400); display: flex; align-items: center; gap: 0.25rem; }
.provider-location i { color: var(--green-600); }
.provider-rating { color: var(--gold-light); font-weight: 700; display: flex; align-items: center; gap: 0.25rem; }
.provider-rating i { font-size: 0.7rem; }

.provider-badges { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.875rem; }

.provider-badge {
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--green-100);
  color: var(--green-800);
}

.provider-exp { font-size: 0.75rem; color: var(--gray-500); }

.provider-desc {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.provider-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-700);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.provider-details { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-200); }
.cert-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--gray-600); margin-bottom: 0.4rem; }
.cert-item i { color: var(--green-600); }

.provider-cta-banner {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.provider-cta-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.provider-cta-icon {
  font-size: 2rem;
  color: var(--green-400);
  flex-shrink: 0;
}

.provider-cta-content h3 { font-size: 1.1rem; font-weight: 800; color: white; margin-bottom: 0.25rem; }
.provider-cta-content p { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.provider-cta-content .btn-primary { margin-left: auto; }

/* ===== MARKETPLACE ===== */
.marketplace-container { max-width: 1100px; }

.marketplace-header {
  text-align: center;
  margin-bottom: 2rem;
}

.marketplace-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.marketplace-header p {
  color: var(--gray-500);
  font-size: 1rem;
  max-width: 580px;
  margin: 0 auto;
}

.marketplace-search-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }

.marketplace-search {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.9rem;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus { border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(45, 122, 78, 0.1); }

.market-mode-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.4rem;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.mode-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-btn.active { background: var(--green-800); color: white; box-shadow: var(--shadow-md); }
#btnProductos.active { background: var(--gold-light); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.market-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.market-card:hover { box-shadow: var(--shadow-xl); border-color: transparent; transform: translateY(-3px); }

.market-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.market-card-header h3 { font-size: 1rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.15rem; }
.market-seller { font-size: 0.78rem; color: var(--gray-400); }

.market-badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-ganaderia { background: #dcfce7; color: #166534; }
.badge-lacteos { background: #dbeafe; color: #1e40af; }
.badge-agricultura { background: #fef9c3; color: #854d0e; }

.market-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.market-metric {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 0.625rem;
  text-align: center;
}

.mm-label { display: block; font-size: 0.65rem; color: var(--gray-400); line-height: 1.3; margin-bottom: 0.25rem; }
.market-metric strong { font-size: 0.9rem; font-weight: 800; color: var(--gray-900); }
.text-green { color: var(--green-600); }

.market-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-label { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.1rem; }
.price-value { font-size: 1.1rem; font-weight: 900; color: var(--gray-900); }

.btn-buy {
  padding: 0.6rem 1.5rem;
  background: var(--green-800);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-buy:hover { background: var(--green-600); transform: translateY(-1px); }

/* PRODUCTS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: transparent; }

.product-card-img { position: relative; overflow: hidden; }
.product-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-card-body { padding: 1.25rem; }
.product-card-body h3 { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.15rem; }
.product-origin { font-size: 0.78rem; color: var(--green-700); font-weight: 600; margin-bottom: 0.625rem; }
.product-desc { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; margin-bottom: 0.875rem; }

.product-certs { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.product-certs span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--gray-500); }
.product-certs i { color: var(--green-600); }

.product-footer { display: flex; align-items: center; justify-content: space-between; }

.btn-quote {
  padding: 0.6rem 1.25rem;
  background: var(--gold-light);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-quote:hover { background: var(--gold-btn); transform: translateY(-1px); }

/* ===== CONTACT PAGE ===== */
.contact-container { max-width: 1000px; }

.contact-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-type-card {
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  background: var(--white);
}

.contact-type-card:hover { border-color: var(--green-300, #6ee7b7); background: var(--cream); }
.contact-type-card.active { border-color: var(--green-700); background: #f0fdf4; }

.contact-type-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-500);
  flex-shrink: 0;
  transition: all 0.2s;
}

.contact-type-card.active .contact-type-icon { background: var(--green-800); color: white; }

.contact-type-card h3 { font-size: 0.95rem; font-weight: 800; color: var(--gray-900); margin-bottom: 0.2rem; }
.contact-type-card p { font-size: 0.8rem; color: var(--gray-500); }

.type-check { position: absolute; top: 0.75rem; right: 0.75rem; color: var(--green-700); font-size: 1.1rem; }
.type-check.hidden { display: none; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }

.contact-info-panel h2 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-info-panel p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.5rem; }

.contact-offers h4 {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-offers ul { list-style: none; }
.contact-offers li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-offers li i { color: var(--green-600); font-size: 0.8rem; }

.contact-channels { margin-top: 1.5rem; }

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.875rem;
}

.contact-channel-item i { color: var(--gray-400); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #25D366;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.btn-whatsapp:hover { background: #1ea352; transform: translateY(-1px); }

.contact-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.contact-social a {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.contact-social a:hover { background: var(--green-800); color: white; }

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}

.required { color: #ef4444; }
.optional { color: var(--gray-400); font-weight: 400; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(45, 122, 78, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px; padding-right: 2.5rem; }

.char-counter { font-size: 0.72rem; color: var(--gray-400); text-align: right; }

.btn-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  background: var(--green-800);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-lg);
  transition: all 0.25s ease;
  width: 100%;
  border: none;
  cursor: pointer;
}

.btn-form-submit:hover { background: var(--green-700); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26, 74, 46, 0.3); }

.form-privacy {
  font-size: 0.78rem;
  color: var(--gray-400);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.form-privacy i { color: var(--green-500); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: var(--gray-900);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-2xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast i { color: var(--green-400); }

/* New toast system */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: #111827;
  color: white;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-left: 4px solid #4ade80;
  pointer-events: none;
}
.toast-notification.toast-visible { transform: translateY(0); opacity: 1; }
.toast-notification i { color: #4ade80; flex-shrink: 0; }
.toast-notification.toast-error { border-left-color: #ef4444; }
.toast-notification.toast-error i { color: #ef4444; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu.open { display: flex; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-line { display: none; }
  .why-grid, .projects-grid, .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .chat-panel { position: static; }
  .providers-grid { grid-template-columns: repeat(2, 1fr); }
  .glossary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-content { margin-left: 0; padding: 6rem 1.5rem 4rem; max-width: 100%; }
  .hero-title { font-size: 2.5rem; }
  .stats-container { flex-wrap: wrap; gap: 2rem; }
  .stat-divider { display: none; }
  .why-grid, .projects-grid, .articles-grid, .providers-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .steps-line { display: none; }
  .article-featured { grid-template-columns: 1fr; }
  .article-featured-img img { height: 240px; }
  /* Projects page: layout vertical en móvil */
  .page-layout { height: auto; min-height: 0; overflow: visible; padding-top: 64px; }
  .projects-layout { flex-direction: column; height: auto; min-height: 0; overflow: visible; }
  .projects-panel { width: 100%; max-width: 100%; min-width: unset; height: auto; max-height: none; overflow: visible; flex-shrink: 0; box-shadow: none; border-right: none; border-bottom: 1px solid #e5e7eb; }
  .projects-list { overflow: visible; max-height: none; height: auto; padding-bottom: 0; }
  .map-container { height: 55vw; min-height: 280px; max-height: 380px; position: relative; flex-shrink: 0; }
  #projectsMap { position: absolute; inset: 0; height: 100%; }
  .market-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-type-selector { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .glossary-grid { grid-template-columns: 1fr; }
  .nav-container { padding: 0 1rem; }
  .section-container { padding: 3rem 1.25rem; }
}

/* ===== MAP MARKERS ===== */
.map-marker-pin {
  width: 50px;
  height: 50px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  border: 2.5px solid white;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.map-marker-pin span {
  display: block;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
}
.map-marker-pin:hover {
  transform: rotate(-45deg) scale(1.18);
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.pin-active { background: linear-gradient(135deg, #1a4a2e, #16a34a); }
.pin-funded { background: linear-gradient(135deg, #1d4ed8, #60a5fa); }

/* LEAFLET POPUP CUSTOM */
.custom-popup .leaflet-popup-content-wrapper {
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
}
.custom-popup .leaflet-popup-tip-container { display: none; }
.popup-card { padding: 1.1rem; min-width: 220px; }
.popup-badge { display: inline-block; padding: 0.2rem 0.7rem; border-radius: 9999px; font-size: 0.7rem; font-weight: 700; margin-bottom: 0.5rem; }
.popup-badge-active { background: #dcfce7; color: #166534; }
.popup-badge-funded { background: #dbeafe; color: #1e40af; }
.popup-card h4 { font-size: 0.95rem; font-weight: 800; color: #111827; margin-bottom: 0.3rem; }
.popup-loc { font-size: 0.78rem; color: #6b7280; margin-bottom: 0.75rem; }
.popup-metrics { display: flex; gap: 1rem; margin-bottom: 0.875rem; }
.popup-metrics div { display: flex; flex-direction: column; gap: 0.1rem; }
.popup-metrics span { font-size: 0.7rem; color: #9ca3af; }
.popup-metrics strong { font-size: 1rem; font-weight: 800; color: #111827; }
.popup-btn { display: flex; align-items: center; gap: 0.4rem; width: 100%; justify-content: center; padding: 0.5rem 1rem; background: #1a4a2e; color: white; border-radius: 9999px; font-size: 0.8rem; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.popup-btn:hover { background: #2d7a4e; }

/* CARD HIGHLIGHTED */
.card-highlighted { border-color: #1a4a2e !important; box-shadow: 0 0 0 2px #1a4a2e, 0 6px 20px rgba(26,74,46,0.18) !important; }

/* ===== PROJECT DETAIL PAGE ===== */
.detail-breadcrumb {
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 0.6rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
}
.detail-breadcrumb a { color: #1a4a2e; font-weight: 600; text-decoration: none; }
.detail-breadcrumb a:hover { text-decoration: underline; }
.detail-breadcrumb i { font-size: 0.65rem; color: #d1d5db; }
.detail-breadcrumb span { color: #374151; font-weight: 600; }

/* HERO */
.detail-hero { position: relative; margin-top: 106px; }
.detail-hero-img {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #111;
}
.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 8s ease;
  transform: scale(1.03);
}
.detail-hero-img img.loaded { transform: scale(1); }
.detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.05) 100%
  );
}
.detail-hero-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 3rem 2.5rem 2rem;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}
.detail-hero-tags { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; align-items: center; }
.detail-cat-badge {
  padding: 0.3rem 0.875rem;
  background: rgba(74,222,128,0.15);
  border: 1px solid rgba(74,222,128,0.4);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  letter-spacing: 0.03em;
}
.detail-hero-info h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.6rem;
  line-height: 1.05;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.detail-hero-location {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.detail-hero-location i { color: #4ade80; font-size: 0.85rem; }

/* GALLERY STRIP */
.gallery-strip {
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #0d1117;
  overflow-x: auto;
  border-bottom: 1px solid #1f2937;
}
.gallery-strip::-webkit-scrollbar { height: 3px; }
.gallery-strip::-webkit-scrollbar-thumb { background: #374151; border-radius: 9999px; }
.gallery-thumb {
  width: 90px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: all 0.2s;
  opacity: 0.55;
  position: relative;
}
.gallery-thumb:hover, .gallery-thumb-active { opacity: 1; border-color: #4ade80; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-video-thumb { position: relative; }
.video-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,74,46,0.8), rgba(0,0,0,0.6));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white; font-size: 0.6rem; font-weight: 700; gap: 3px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.video-thumb-overlay i { font-size: 1.6rem; color: #4ade80; }

/* DETAIL LAYOUT */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
  align-items: start;
}

/* TABS */
.detail-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 0;
}
.detail-tabs::-webkit-scrollbar { height: 0; }

.dtab {
  padding: 0.75rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.dtab:hover { color: #1a4a2e; background: #f0fdf4; }
.dtab.active { color: #1a4a2e; font-weight: 800; border-bottom-color: #1a4a2e; background: transparent; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.detail-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid #f3f4f6; }
.detail-section:last-child { border-bottom: none; margin-bottom: 0; }
.detail-section-title {
  font-size: 1.25rem; font-weight: 800; color: #111827;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-desc { font-size: 0.9rem; color: #6b7280; margin-bottom: 1.25rem; line-height: 1.6; }
.detail-long-desc { font-size: 0.9rem; color: #4b5563; line-height: 1.75; }

/* HIGHLIGHTS */
.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.highlight-item { display: flex; align-items: flex-start; gap: 0.625rem; padding: 0.875rem; background: #f0fdf4; border-radius: 10px; border: 1px solid #bbf7d0; }
.highlight-icon { color: #16a34a; font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.highlight-item span { font-size: 0.83rem; color: #166534; font-weight: 500; line-height: 1.4; }

/* PRODUCER */
.producer-card-detail { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; background: #faf8f3; border-radius: 16px; border: 1px solid #e5e7eb; }
.producer-avatar-lg { width: 64px; height: 64px; background: #1a4a2e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.producer-detail-info h3 { font-size: 1.05rem; font-weight: 800; color: #111827; margin-bottom: 0.2rem; }
.producer-role { font-size: 0.82rem; color: #6b7280; margin-bottom: 0.3rem; }
.producer-exp { font-size: 0.82rem; color: #1a4a2e; font-weight: 600; display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.producer-detail-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.producer-badge { padding: 0.25rem 0.75rem; background: #dcfce7; color: #166534; font-size: 0.72rem; font-weight: 700; border-radius: 9999px; }

/* TAGS */
.tags-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.detail-tag { padding: 0.35rem 0.875rem; background: #f3f4f6; color: #374151; font-size: 0.8rem; font-weight: 600; border-radius: 9999px; border: 1px solid #e5e7eb; }

/* EVALUATION */
.eval-overview { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start; }
.eval-score-big { text-align: center; }
.score-circle { width: 140px; height: 140px; position: relative; margin: 0 auto 0.75rem; }
.score-circle svg { width: 100%; height: 100%; }
.score-circle-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-big-num { font-size: 2rem; font-weight: 900; color: #111827; line-height: 1; }
.score-big-label { font-size: 0.8rem; color: #9ca3af; }
.eval-score-title { font-size: 0.9rem; font-weight: 800; color: #111827; }
.eval-score-subtitle { font-size: 0.78rem; color: #9ca3af; }
.eval-scores-list h3 { font-size: 0.9rem; font-weight: 700; color: #374151; margin-bottom: 1rem; }
.score-item { margin-bottom: 0.875rem; }
.score-label-row { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 0.3rem; }
.score-label-row span { color: #4b5563; }
.score-label-row strong { color: #111827; }
.score-bar { height: 7px; background: #e5e7eb; border-radius: 9999px; overflow: hidden; }
.score-fill { height: 100%; background: linear-gradient(90deg, #1a4a2e, #4ade80); border-radius: 9999px; width: 0; transition: width 0.8s ease; }

/* RISKS */
.risks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.risk-card { padding: 1.1rem; background: #fafafa; border-radius: 12px; border: 1px solid #e5e7eb; }
.risk-header { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 0.5rem; }
.risk-badge { padding: 0.2rem 0.7rem; border-radius: 9999px; font-size: 0.7rem; font-weight: 700; }
.risk-header strong { font-size: 0.875rem; color: #111827; }
.risk-card p { font-size: 0.8rem; color: #6b7280; line-height: 1.5; }

/* METRICS TABLE */
.metrics-table { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.metrics-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1.25rem; font-size: 0.875rem; border-bottom: 1px solid #f3f4f6; }
.metrics-row:last-child { border-bottom: none; }
.metrics-row:nth-child(even) { background: #f9fafb; }
.metrics-row span { color: #6b7280; }
.metrics-row strong { color: #111827; font-weight: 700; }
.metric-val-green { color: #16a34a !important; }

/* TIMELINE */
.timeline-vertical { display: flex; flex-direction: column; gap: 0; padding-left: 1rem; }
.tl-item { display: flex; gap: 1.25rem; align-items: flex-start; padding-bottom: 1.75rem; position: relative; }
.tl-item::before { content: ''; position: absolute; left: 18px; top: 36px; bottom: 0; width: 2px; background: #e5e7eb; z-index: 0; }
.tl-item:last-child::before { display: none; }
.tl-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  flex-shrink: 0; z-index: 1;
  border: 2px solid #e5e7eb;
  background: white; color: #9ca3af;
}
.tl-done .tl-dot { background: #1a4a2e; color: white; border-color: #1a4a2e; }
.tl-item::before { left: 17px; }
.tl-body { padding-top: 0.375rem; }
.tl-date { font-size: 0.72rem; font-weight: 700; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.06em; }
.tl-event { font-size: 0.9rem; color: #374151; font-weight: 500; margin-top: 0.15rem; }
.tl-done .tl-event { color: #111827; font-weight: 600; }

/* DOCUMENTS */
.docs-list { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.25rem; }
.doc-item { display: flex; align-items: center; gap: 0.875rem; padding: 0.875rem 1rem; background: #fafafa; border-radius: 10px; border: 1px solid #e5e7eb; }
.doc-icon { width: 38px; height: 38px; background: #fee2e2; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #ef4444; font-size: 1rem; flex-shrink: 0; }
.doc-info { flex: 1; }
.doc-name { font-size: 0.875rem; font-weight: 600; color: #111827; }
.doc-meta { font-size: 0.75rem; color: #9ca3af; }
.doc-download { width: 34px; height: 34px; background: #1a4a2e; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; transition: background 0.2s; flex-shrink: 0; }
.doc-download:hover { background: #2d7a4e; }
.docs-cta { padding: 1rem; background: #fef9c3; border-radius: 10px; border: 1px solid #fde68a; display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: #854d0e; }
.docs-cta i { font-size: 1.1rem; flex-shrink: 0; }
.docs-cta a { color: #1a4a2e; font-weight: 700; }

/* ===== SIMULATOR ===== */
.simulator-wrap { display: flex; flex-direction: column; gap: 1.75rem; }
.sim-controls { background: #fafafa; border-radius: 14px; padding: 1.5rem; border: 1px solid #e5e7eb; }
.sim-control-group { margin-bottom: 1rem; }
.sim-control-group label { display: block; font-size: 0.85rem; font-weight: 700; color: #374151; margin-bottom: 0.5rem; }
.sim-input-wrap { display: flex; align-items: center; border: 1.5px solid #d1d5db; border-radius: 10px; background: white; overflow: hidden; margin-bottom: 0.875rem; }
.sim-currency { padding: 0 0.875rem; font-size: 1rem; font-weight: 700; color: #9ca3af; background: #f9fafb; border-right: 1px solid #e5e7eb; height: 44px; display: flex; align-items: center; }
.sim-input { flex: 1; padding: 0.6rem 0.875rem; font-size: 1.1rem; font-weight: 700; color: #111827; border: none; outline: none; }
.sim-slider-wrap { margin-top: 0.5rem; }
.sim-slider { width: 100%; -webkit-appearance: none; height: 5px; background: #e5e7eb; border-radius: 9999px; outline: none; }
.sim-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; background: #1a4a2e; border-radius: 50%; cursor: pointer; border: 3px solid white; box-shadow: 0 2px 8px rgba(26,74,46,0.3); }
.sim-slider-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: #9ca3af; margin-top: 0.3rem; }
.sim-info-bar { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sim-info-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: #6b7280; }
.sim-info-item i { color: #1a4a2e; }
.sim-info-item strong { color: #111827; }

.scenarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.scenario-card { background: white; border: 1.5px solid #e5e7eb; border-radius: 16px; padding: 1.25rem; position: relative; transition: all 0.2s; }
.scenario-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.scenario-base { border-color: #1a4a2e; background: linear-gradient(to bottom, #f0fdf4, white); }
.scenario-badge-featured { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 0.2rem 0.875rem; background: #1a4a2e; color: white; font-size: 0.7rem; font-weight: 700; border-radius: 9999px; white-space: nowrap; }
.scenario-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.875rem; }
.scenario-icon { width: 38px; height: 38px; background: #f3f4f6; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #6b7280; flex-shrink: 0; }
.scenario-base .scenario-icon { background: #dcfce7; color: #16a34a; }
.scenario-optimist .scenario-icon { background: #fef9c3; color: #d97706; }
.scenario-header h4 { font-size: 0.9rem; font-weight: 800; color: #111827; margin: 0; }
.scenario-header span { font-size: 0.8rem; color: #6b7280; }
.scenario-assumption { margin-bottom: 1rem; padding: 0.75rem; background: #f9fafb; border-radius: 8px; }
.scenario-assumption p { font-size: 0.77rem; color: #6b7280; line-height: 1.45; }
.scenario-result { display: flex; flex-direction: column; gap: 0.4rem; }
.scenario-result-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #4b5563; }
.scenario-result-row strong { font-weight: 700; color: #111827; }
.highlight-row { padding-top: 0.5rem; border-top: 1px solid #e5e7eb; margin-top: 0.2rem; }
.highlight-row strong { font-size: 1rem; font-weight: 900; color: #1a4a2e; }

.sim-chart-section { background: #fafafa; border-radius: 14px; padding: 1.5rem; border: 1px solid #e5e7eb; }
.sim-chart-section h3 { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 1rem; }
.sim-chart-wrap { height: 200px; position: relative; }
.sim-disclaimer { font-size: 0.75rem; color: #9ca3af; margin-top: 0.75rem; display: flex; align-items: flex-start; gap: 0.35rem; line-height: 1.45; }
.sim-disclaimer i { flex-shrink: 0; color: #d97706; margin-top: 1px; }

.sim-comparison { background: white; border-radius: 14px; border: 1px solid #e5e7eb; overflow: hidden; }
.sim-comparison h3 { font-size: 0.95rem; font-weight: 700; color: #111827; padding: 1rem 1.25rem; border-bottom: 1px solid #f3f4f6; }
.comparison-table { display: flex; flex-direction: column; }
.comp-row { display: grid; grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr; gap: 0.5rem; padding: 0.7rem 1.25rem; font-size: 0.8rem; color: #4b5563; border-bottom: 1px solid #f9fafb; align-items: center; }
.comp-row:last-child { border-bottom: none; }
.comp-header { background: #f9fafb; font-weight: 700; color: #374151; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.comp-highlight { background: #f0fdf4; font-weight: 600; }
.comp-highlight span:first-child { color: #1a4a2e; }
.comp-highlight em { color: #9ca3af; font-style: normal; font-size: 0.72rem; }

/* ===== SIDEBAR ===== */
.detail-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.invest-box {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s;
}
.invest-box.box-sticky { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.invest-box-header { padding: 1.25rem 1.25rem 0.875rem; background: #f9fafb; border-bottom: 1px solid #f3f4f6; }
.invest-progress-info { display: flex; justify-content: space-between; font-size: 0.82rem; color: #6b7280; margin-bottom: 0.4rem; }
.invest-progress-info strong { color: #1a4a2e; font-size: 1rem; font-weight: 800; }
.invest-progress-bar { height: 8px; background: #e5e7eb; border-radius: 9999px; overflow: hidden; margin-bottom: 0.75rem; }
.invest-progress-fill { height: 100%; background: linear-gradient(90deg, #1a4a2e, #4ade80); border-radius: 9999px; }
.invest-stats { display: flex; justify-content: space-between; }
.invest-stats div { display: flex; flex-direction: column; }
.invest-stats strong { font-size: 0.9rem; font-weight: 800; color: #111827; }
.invest-stats span { font-size: 0.72rem; color: #9ca3af; }
.invest-metrics-row { display: flex; gap: 0; padding: 0.875rem 0; border-bottom: 1px solid #f3f4f6; }
.invest-metric { flex: 1; display: flex; align-items: center; gap: 0.5rem; padding: 0 1rem; border-right: 1px solid #f3f4f6; }
.invest-metric:last-child { border-right: none; }
.invest-metric i { color: #1a4a2e; font-size: 0.9rem; flex-shrink: 0; }
.invest-metric strong { display: block; font-size: 0.9rem; font-weight: 800; color: #111827; }
.invest-metric span { display: block; font-size: 0.7rem; color: #9ca3af; }
.invest-amount-section { padding: 1rem 1.25rem; border-bottom: 1px solid #f3f4f6; }
.invest-amount-section label { display: block; font-size: 0.78rem; font-weight: 700; color: #374151; margin-bottom: 0.5rem; }
.invest-amount-input { display: flex; align-items: center; border: 1.5px solid #d1d5db; border-radius: 10px; overflow: hidden; margin-bottom: 0.625rem; }
.invest-amount-input span { padding: 0 0.75rem; font-weight: 700; color: #9ca3af; border-right: 1px solid #e5e7eb; height: 42px; display: flex; align-items: center; background: #f9fafb; }
.invest-amount-input input { flex: 1; padding: 0.5rem 0.75rem; font-size: 1rem; font-weight: 700; color: #111827; border: none; outline: none; }
.invest-quick-amounts { display: flex; gap: 0.375rem; flex-wrap: wrap; }
.quick-amt { padding: 0.3rem 0.7rem; background: #f3f4f6; color: #374151; font-size: 0.75rem; font-weight: 600; border-radius: 9999px; border: 1.5px solid transparent; transition: all 0.2s; }
.quick-amt:hover { background: #dcfce7; color: #1a4a2e; border-color: #bbf7d0; }
.quick-amt.active { background: #1a4a2e; color: white; }
.invest-preview { margin: 0.875rem 1.25rem; background: #f9fafb; border-radius: 10px; padding: 0.875rem; border: 1px solid #e5e7eb; }
.invest-preview-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 0.2rem 0; color: #6b7280; }
.invest-preview-row strong { color: #111827; }
.invest-preview-total { padding-top: 0.5rem; margin-top: 0.3rem; border-top: 1px solid #e5e7eb; }
.invest-preview-total strong { font-size: 1rem; font-weight: 900; color: #1a4a2e; }
.btn-invest-cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 0 1.25rem 0.75rem; padding: 0.875rem; background: #1a4a2e; color: white; font-size: 0.95rem; font-weight: 800; border-radius: 12px; transition: all 0.25s; }
.btn-invest-cta:hover { background: #2d7a4e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,74,46,0.3); }
.invest-note { text-align: center; font-size: 0.72rem; color: #9ca3af; margin-bottom: 1rem; }
.secondary-market-note { margin: 0 1.25rem 1.25rem; padding: 0.875rem; background: #eff6ff; border-radius: 10px; border: 1px solid #bfdbfe; display: flex; gap: 0.75rem; align-items: flex-start; }
.secondary-market-note i { color: #3b82f6; flex-shrink: 0; margin-top: 2px; }
.secondary-market-note strong { font-size: 0.82rem; color: #1e40af; display: block; margin-bottom: 0.2rem; }
.secondary-market-note p { font-size: 0.78rem; color: #3b82f6; line-height: 1.4; }
.secondary-market-note a { font-size: 0.78rem; font-weight: 700; color: #1d4ed8; }

/* SIDEBAR MAP */
.sidebar-section-title { font-size: 0.82rem; font-weight: 700; color: #374151; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.sidebar-section-title i { color: #1a4a2e; }
.sidebar-map-wrap { background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1rem; }
.sidebar-map { height: 180px; border-radius: 10px; overflow: hidden; margin-bottom: 0.5rem; }
.sidebar-map-label { font-size: 0.78rem; color: #6b7280; text-align: center; }

/* SHARE */
.sidebar-share { background: white; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1rem; }
.share-buttons { display: flex; gap: 0.5rem; }
.share-btn { flex: 1; padding: 0.5rem; background: #f3f4f6; color: #374151; font-size: 0.78rem; font-weight: 600; border-radius: 8px; display: flex; align-items: center; justify-content: center; gap: 0.35rem; transition: all 0.2s; text-decoration: none; cursor: pointer; border: none; }
.share-btn:hover { background: #e5e7eb; }
.share-wa { background: #dcfce7; color: #166534; }
.share-wa:hover { background: #bbf7d0; }

/* VIDEO MODAL */
.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2rem; }
.video-modal.open { display: flex; }
.video-modal-content { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16/9; background: black; border-radius: 12px; overflow: hidden; }
.video-modal-content iframe { width: 100%; height: 100%; border: none; }
.video-modal-close { position: absolute; top: -3rem; right: 0; background: rgba(255,255,255,0.15); color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; z-index: 1; border: none; }
.video-modal-close:hover { background: rgba(255,255,255,0.3); }
#videoIframe { width: 100%; height: 100%; }

/* RESPONSIVE DETAIL */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { order: -1; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .eval-overview { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .risks-grid { grid-template-columns: 1fr; }
  .comp-row { grid-template-columns: 1fr 1fr; }
  .comp-header span:nth-child(n+3), .comp-row span:nth-child(n+3) { display: none; }
}
@media (max-width: 768px) {
  .detail-hero-img { height: 280px; }
  .gallery-strip { padding: 0.5rem 1rem; }
  .detail-layout { padding: 1rem 1rem 3rem; gap: 1.25rem; }
  .detail-tabs { gap: 0; }
  .dtab { padding: 0.6rem 0.75rem; font-size: 0.78rem; }
  .scenarios-grid { grid-template-columns: 1fr; }
  .detail-breadcrumb { padding: 0.5rem 1rem; }
}

/* ===== DASHBOARD STYLES ===== */
.dash-root {
  padding-top: 88px;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 4rem;
}

.dash-welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1a4a2e 0%, #0d2818 100%);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.dash-welcome-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(74,222,128,0.12) 0%, transparent 60%);
}
.dash-welcome-text { position: relative; z-index: 1; }
.dash-welcome-text h1 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.dash-welcome-text p { font-size: 0.875rem; color: rgba(255,255,255,0.65); }

.dash-kyc-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: #4ade80;
  color: #1a4a2e;
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.dash-kyc-cta:hover { background: #22c55e; transform: translateY(-1px); }
.dash-kyc-cta.kyc-pending { background: #fef9c3; color: #d97706; }

/* KYC Alert */
.dash-kyc-alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.dash-kyc-alert-icon {
  width: 40px; height: 40px;
  background: #fde68a;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #d97706;
  font-size: 1rem;
  flex-shrink: 0;
}
.dash-kyc-alert-body { flex: 1; }
.dash-kyc-alert-body strong { font-size: 0.875rem; color: #854d0e; display: block; margin-bottom: 0.15rem; }
.dash-kyc-alert-body p { font-size: 0.8rem; color: #92400e; }
.dash-kyc-alert-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  background: #1a4a2e;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.dash-kyc-alert-btn:hover { background: #2d7a4e; }

/* Stats row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dash-stat-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: box-shadow 0.2s;
}
.dash-stat-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.dash-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.dash-stat-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.dash-stat-label { font-size: 0.72rem; color: #9ca3af; font-weight: 500; }

/* Main grid */
.dash-main-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}
.dash-left-col { display: flex; flex-direction: column; }
.dash-right-col { display: flex; flex-direction: column; }

/* Cards */
.dash-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}
.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}
.dash-card-header h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dash-card-header h2 i { color: #1a4a2e; font-size: 0.85rem; }
.dash-card-link {
  font-size: 0.78rem;
  color: #1a4a2e;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dash-card-link:hover { text-decoration: underline; }

/* Table */
.dash-table-wrap { overflow-x: auto; }
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.dash-table thead tr { background: #f9fafb; }
.dash-table th {
  padding: 0.7rem 1rem;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.dash-table td {
  padding: 0.875rem 1rem;
  border-top: 1px solid #f9fafb;
  vertical-align: middle;
}
.dash-table tbody tr:hover { background: #fafafa; }
.text-green { color: #16a34a !important; }
.dash-table-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a4a2e;
  text-decoration: none;
}
.dash-table-link:hover { text-decoration: underline; }

/* Empty state */
.dash-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #9ca3af;
}
.dash-empty-state i { font-size: 2.5rem; color: #d1d5db; margin-bottom: 0.75rem; display: block; }
.dash-empty-state h3 { font-size: 1rem; font-weight: 700; color: #374151; margin-bottom: 0.4rem; }
.dash-empty-state p { font-size: 0.85rem; margin-bottom: 1.25rem; }
.dash-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  background: #1a4a2e;
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s;
}
.dash-empty-btn:hover { background: #2d7a4e; }

/* Featured projects grid */
.dash-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
}
.dash-project-card {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}
.dash-project-card:hover { border-color: #1a4a2e; box-shadow: 0 4px 16px rgba(26,74,46,0.1); transform: translateY(-2px); }
.dash-project-img { position: relative; height: 120px; overflow: hidden; }
.dash-project-img img { width: 100%; height: 100%; object-fit: cover; }
.dash-project-body { padding: 0.875rem; }
.dash-project-body h4 { font-size: 0.85rem; font-weight: 800; color: #111827; margin-bottom: 0.2rem; letter-spacing: -0.01em; }

/* Profile card */
.dash-profile-card { padding: 1.75rem; text-align: center; }
.dash-profile-avatar {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #1a4a2e, #2d7a4e);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 900; color: white;
  margin: 0 auto 0.875rem;
  box-shadow: 0 4px 16px rgba(26,74,46,0.2);
}
.dash-profile-name { font-size: 1rem; font-weight: 800; color: #111827; margin-bottom: 0.2rem; }
.dash-profile-email { font-size: 0.78rem; color: #9ca3af; margin-bottom: 0.875rem; }
.dash-profile-kyc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.dash-profile-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.dash-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
  transition: all 0.2s;
}
.dash-profile-btn:hover { background: #e5e7eb; }
.dash-profile-btn-logout { color: #ef4444; }
.dash-profile-btn-logout:hover { background: #fef2f2; }

/* Notifications */
.dash-notifs { display: flex; flex-direction: column; }
.dash-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f9fafb;
}
.dash-notif-item:last-child { border-bottom: none; }
.dash-notif-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.dash-notif-body p { font-size: 0.8rem; color: #374151; line-height: 1.45; margin-bottom: 0.2rem; }
.dash-notif-body span { font-size: 0.7rem; color: #9ca3af; }

/* Quick actions */
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
  padding: 1rem;
}
.dash-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.dash-quick-btn:hover { background: #f0fdf4; border-color: #1a4a2e; }
.dash-quick-btn i { font-size: 1.1rem; color: #1a4a2e; }
.dash-quick-btn span { font-size: 0.75rem; font-weight: 600; color: #374151; }

/* Nav link for dashboard */
.nav-link[href="/dashboard"].active { color: var(--green-700); }

/* Responsive dashboard */
@media (max-width: 1024px) {
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-main-grid { grid-template-columns: 1fr; }
  .dash-right-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .dash-root { padding: 80px 1rem 3rem; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .dash-welcome-banner { flex-direction: column; align-items: flex-start; }
  .dash-projects-grid { grid-template-columns: 1fr; }
  .dash-right-col { grid-template-columns: 1fr; }
}

/* ===== NAV DASHBOARD ITEM ===== */
.nav-link-dashboard {
  background: linear-gradient(135deg, #1a4a2e, #2d7a4e);
  color: white !important;
  padding: 0.4rem 1rem !important;
  border-radius: 9999px !important;
}
.nav-link-dashboard:hover { opacity: 0.9; }

/* ===== DOCUMENT KYC RESTRICTION STYLES ===== */
.docs-kyc-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #fef9c3 0%, #fefce8 100%);
  border: 1px solid #fde68a;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}
.docs-kyc-icon {
  width: 44px; height: 44px;
  background: #fef9c3;
  border: 1px solid #fde68a;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #d97706;
  flex-shrink: 0;
}
.docs-kyc-body { flex: 1; }
.docs-kyc-body strong { display: block; font-size: 0.9rem; font-weight: 700; color: #854d0e; margin-bottom: 0.25rem; }
.docs-kyc-body p { font-size: 0.8rem; color: #92400e; line-height: 1.5; }
.docs-kyc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  background: #1a4a2e;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.docs-kyc-btn:hover { background: #2d7a4e; }

/* Locked doc items */
.doc-item-locked {
  opacity: 0.65;
  background: #f9fafb;
  cursor: default;
}
.doc-item-locked:hover { background: #f3f4f6; }
.doc-icon-locked {
  background: #f3f4f6 !important;
  color: #9ca3af !important;
}
.doc-name-blurred {
  filter: blur(3px);
  user-select: none;
}
.doc-locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9ca3af;
  background: #f3f4f6;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* Download button enabled state */
.doc-download-enabled {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #dcfce7;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.doc-download-enabled:hover { background: #bbf7d0; }

/* ===== INVEST BOX — Auth Wall ===== */
.invest-login-wall {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 1px solid #f3f4f6;
}
.invest-login-wall p {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.875rem;
  line-height: 1.5;
}
.invest-login-wall .invest-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem;
  background: linear-gradient(135deg, #1a4a2e, #2d7a4e);
  color: white;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s;
  margin-bottom: 0.625rem;
}
.invest-login-wall .invest-login-btn:hover { box-shadow: 0 8px 24px rgba(26,74,46,0.3); transform: translateY(-1px); }
.invest-login-wall .invest-register-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  color: #1a4a2e;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid #1a4a2e;
  text-decoration: none;
  transition: background 0.2s;
}
.invest-login-wall .invest-register-btn:hover { background: #f0fdf4; }

/* ===== MOBILE SMALL (<480px): pasos verticales + animaciones scroll ===== */
@media (max-width: 480px) {
  /* Pasos: columna única */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps-line { display: none; }

  /* Cada paso: fila horizontal con línea vertical lateral */
  .step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1.25rem 0;
    position: relative;
  }
  .step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 31px;
    top: 80px;
    bottom: -8px;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--green-600) 0, var(--green-600) 6px, transparent 6px, transparent 12px);
  }
  .step-circle {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .step-content {
    flex: 1;
    padding-top: 0.25rem;
  }
  .step-content h4 { font-size: 1rem; margin-bottom: 0.35rem; }
  .step-content p  { font-size: 0.875rem; }

  /* Animación de entrada al hacer scroll */
  .step-item {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .step-item.step-visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* Delay escalonado por índice */
  .step-item:nth-child(1) { transition-delay: 0s; }
  .step-item:nth-child(2) { transition-delay: 0.1s; }
  .step-item:nth-child(3) { transition-delay: 0.2s; }
  .step-item:nth-child(4) { transition-delay: 0.3s; }
  .step-item:nth-child(5) { transition-delay: 0.4s; }

  /* Proyectos: mapa más compacto en móvil pequeño */
  .map-container { height: 50vw; min-height: 220px; max-height: 300px; }

  /* Hero inner-page: padding reducido */
  .inner-hero { padding: 4rem 1.25rem 3rem; }

  /* Sección cómo funciona: padding reducido */
  .how-section .section-container { padding: 2.5rem 1.25rem; }
}
