/* ========================================
   NAMÁ CONSERVATION - GLOBAL STYLES
   National Geographic x Premium Dark Mode
   ======================================== */

/* ========================================
   VARIABLES & GLOBAL SETUP
   ======================================== */

:root {
  --verde-selva: #1a2e1a;
  --verde-light: #2d4a2d;
  --verde-dark: #0f1c0f;
  --dorado-ambar: #c8a84b;
  --dorado-light: #d4ba6a;
  --crema: #f5f0e8;

  --nav-height: 80px;
  --max-width: 1200px;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;

  --transition-smooth: 0.3s ease;
  --transition-slow: 0.6s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--verde-selva);
  color: rgba(245, 240, 232, 0.85);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

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

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

a:hover {
  color: var(--dorado-ambar);
}

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

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h4 {
  font-size: 1.3rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 1rem;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 1rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

/* ========================================
   PRELOADER
   ======================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--verde-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.preloader-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(200, 168, 75, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dorado-ambar), var(--dorado-light));
  width: 0%;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 0%; }
}

.preloader-text {
  font-size: 0.9rem;
  color: var(--dorado-ambar);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========================================
   LANGUAGE OVERLAY (INDEX ONLY)
   ======================================== */

.lang-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 28, 15, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(10px);
}

.lang-overlay-content {
  text-align: center;
  max-width: 500px;
  padding: 2rem;
}

.lang-overlay-logo {
  width: 80px;
  margin: 0 auto 2rem;
}

.lang-overlay-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.lang-overlay-btn {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--dorado-ambar);
  background: transparent;
  color: var(--crema);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lang-overlay-btn:hover {
  background: var(--dorado-ambar);
  color: var(--verde-dark);
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(15, 28, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.1);
}

.nav-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-smooth);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo img {
  width: 100%;
  height: auto;
}

.nav-logo span {
  display: none;
}

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

.nav-links a {
  color: var(--crema);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  transition: color var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dorado-ambar);
  transition: width var(--transition-smooth);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--dorado-ambar);
}

.nav-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.lang-toggle {
  font-size: 0.9rem;
  color: var(--crema);
  cursor: pointer;
  transition: color var(--transition-smooth);
  font-weight: 500;
}

.lang-toggle:hover {
  color: var(--dorado-ambar);
}

.nav-donate {
  padding: 0.6rem 1.5rem;
  background: var(--dorado-ambar);
  color: var(--verde-dark);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
}

.nav-donate:hover {
  background: var(--dorado-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 168, 75, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--crema);
  border-radius: 10px;
  transition: all var(--transition-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--dorado-ambar), var(--dorado-light));
  width: 0%;
  z-index: 1001;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */

.custom-cursor {
  display: none;
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--dorado-ambar);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.custom-cursor.visible {
  opacity: 1;
}

/* ========================================
   PAGE TRANSITION
   ======================================== */

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--verde-dark);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--dorado-ambar);
  color: var(--verde-dark);
}

.btn-primary:hover {
  background: var(--dorado-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 168, 75, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--crema);
  border: 2px solid var(--dorado-ambar);
}

.btn-outline:hover {
  background: var(--dorado-ambar);
  color: var(--verde-dark);
  transform: translateY(-3px);
}

.btn-verde {
  background: var(--verde-light);
  color: var(--crema);
  border: 1px solid rgba(200, 168, 75, 0.2);
}

.btn-verde:hover {
  background: var(--verde-selva);
  border-color: var(--dorado-ambar);
  transform: translateY(-3px);
}

/* ========================================
   HERO SECTION (INDEX - WITH VIDEO)
   ======================================== */

.hero {
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--verde-dark);
  margin-top: var(--nav-height);
}

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

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 15, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
  text-align: center;
  margin: 0 auto;
}

.hero-content .hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado-ambar);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(200, 168, 75, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--crema);
  margin-bottom: 1.5rem;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--dorado-ambar);
}

.hero-content p {
  color: rgba(245, 240, 232, 0.88);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   PAGE HERO (SUBPAGES - FLAT BACKGROUND)
   ======================================== */

.page-hero {
  min-height: 60vh;
  position: relative;
  overflow: hidden;
  background-color: var(--verde-selva);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--nav-height);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 28, 15, 0.6);
  z-index: 1;
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  transform: none !important;
}

.page-hero .hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.page-hero .hero-content p {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ========================================
   SECTION HEADERS & COMMON STYLES
   ======================================== */

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado-ambar);
  margin-bottom: 1rem;
}

.text-gold {
  color: var(--dorado-ambar);
  font-weight: 600;
}

/* ========================================
   ABOUT SECTION (INDEX)
   ======================================== */

.about-section {
  padding: 4rem 0;
  text-align: center;
}

/* ========================================
   IMPACT COUNTERS
   ======================================== */

.impact-section {
  padding: 3rem 0;
  text-align: center;
}

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

.impact-item {
  text-align: center;
  padding: 2rem;
}

.impact-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--dorado-ambar);
  margin-bottom: 0.25rem;
}

.impact-label {
  display: block;
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.85);
}

/* ========================================
   PROGRAMS NARRATIVE (INDEX)
   ======================================== */

.programs-narrative {
  padding: 4rem 0;
}

.programs-narrative-subtitle {
  font-size: 1.1rem;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 2rem;
}

.programs-narrative-text {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.programs-narrative-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.programs-narrative-cta {
  margin-top: 2rem;
  text-align: center;
}

/* ========================================
   QUOTE BANNER
   ======================================== */

.quote-banner {
  padding: 4rem 0;
  background: rgba(200, 168, 75, 0.08);
  text-align: center;
}

.quote-banner blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: rgba(245, 240, 232, 0.88);
  margin-bottom: 1rem;
}

.quote-banner cite {
  color: var(--dorado-ambar);
  display: block;
  font-size: 0.95rem;
  font-style: normal;
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--verde-dark), #1a3a1a);
}

.cta-banner h2 {
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   MISSION / VISION SECTION
   ======================================== */

.mv-section {
  padding: 5rem 0;
}

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

.mv-card {
  background: #243824;
  border-radius: 12px;
  padding: 2.5rem;
  border-left: 3px solid var(--dorado-ambar);
  transition: all var(--transition-smooth);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mv-card h3 {
  margin-bottom: 1rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
  padding: 5rem 0;
}

.team-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

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

.team-card {
  background: #1e331e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(200, 168, 75, 0.15);
  transition: all var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.team-card.featured {
  border-color: var(--dorado-ambar);
}

.team-card-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: rgba(200, 168, 75, 0.06);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--dorado-ambar);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  font-size: 0.85rem;
  color: var(--dorado-ambar);
}

.team-card-body {
  padding: 0 1.5rem 1.5rem;
}

.team-card-tags {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.achievement-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(200, 168, 75, 0.12);
  color: var(--dorado-light);
  border: 1px solid rgba(200, 168, 75, 0.2);
}

/* ========================================
   PROGRAM DETAIL
   ======================================== */

.program-detail {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(200, 168, 75, 0.1);
}

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

.program-detail-img img {
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.program-detail-content h3 {
  margin-bottom: 0.5rem;
}

.location-tag {
  font-size: 0.85rem;
  color: var(--dorado-ambar);
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.program-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.program-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dorado-ambar);
}

.program-stat-label {
  font-size: 0.95rem;
  color: rgba(245, 240, 232, 0.8);
}

.program-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(200, 168, 75, 0.12);
  color: var(--dorado-light);
  border: 1px solid rgba(200, 168, 75, 0.2);
}

.program-researcher {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
}

/* ========================================
   MEDIA HIGHLIGHTS & PUBLICATIONS
   ======================================== */

.media-highlights {
  padding: 5rem 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-card {
  background: #1e331e;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(200, 168, 75, 0.1);
  transition: all var(--transition-smooth);
}

.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--dorado-ambar);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.media-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--dorado-ambar);
  font-weight: 600;
}

.media-date {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  display: block;
  margin-top: 1rem;
}

.publications-section {
  padding: 5rem 0;
  background: rgba(200, 168, 75, 0.04);
}

.publication-list {
  list-style: none;
}

.publication-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(200, 168, 75, 0.1);
  color: rgba(245, 240, 232, 0.85);
  font-size: 0.95rem;
}

.publication-list li:last-child {
  border-bottom: none;
}

.pub-journal {
  color: var(--dorado-ambar);
  font-style: italic;
}

.press-contact {
  padding: 4rem 0;
  text-align: center;
}

.press-contact a {
  color: var(--dorado-ambar);
  font-weight: 600;
}

.press-contact a:hover {
  text-decoration: underline;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.partner-card {
  background: #1e331e;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(200, 168, 75, 0.1);
  transition: all var(--transition-smooth);
  text-align: center;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: var(--dorado-ambar);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.partner-logo-placeholder {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 8px;
  overflow: hidden;
  background: #243824;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ========================================
   VOLUNTEER SECTION
   ======================================== */

.volunteer-areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Row 1: 3 cards centered — each spans 2 of 6 columns */
.volunteer-areas-grid .volunteer-area-card:nth-child(1) { grid-column: 1 / 3; }
.volunteer-areas-grid .volunteer-area-card:nth-child(2) { grid-column: 3 / 5; }
.volunteer-areas-grid .volunteer-area-card:nth-child(3) { grid-column: 5 / 7; }

/* Row 2: 2 cards centered — offset by 1 col on each side */
.volunteer-areas-grid .volunteer-area-card:nth-child(4) { grid-column: 2 / 4; }
.volunteer-areas-grid .volunteer-area-card:nth-child(5) { grid-column: 4 / 6; }

.volunteer-area-card {
  background: #243824;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-smooth);
}

.volunteer-area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.volunteer-area-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.volunteer-form-section {
  max-width: 800px;
  margin: 0 auto;
}

/* ========================================
   FORMS
   ======================================== */

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(245, 240, 232, 0.85);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #1e331e;
  border: 1px solid rgba(200, 168, 75, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--crema);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dorado-ambar);
  box-shadow: 0 0 0 3px rgba(200, 168, 75, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(245, 240, 232, 0.4);
}

.form-group input.error,
.form-group select.error {
  border-color: #e74c3c;
}

.form-group input.valid,
.form-group select.valid {
  border-color: #27ae60;
}

.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.form-success {
  text-align: center;
  padding: 1.5rem;
  background: rgba(39, 174, 96, 0.15);
  border: 1px solid rgba(39, 174, 96, 0.3);
  border-radius: 8px;
  color: #27ae60;
  display: none;
  margin-top: 1.5rem;
}

/* ========================================
   DONATION SECTION
   ======================================== */

.donation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.donation-card {
  background: #1e331e;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(200, 168, 75, 0.15);
  transition: all var(--transition-smooth);
  position: relative;
}

.donation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.donation-card.highlighted {
  border-color: var(--dorado-ambar);
}

.donation-card.highlighted::before {
  content: attr(data-popular-es);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dorado-ambar);
  color: var(--verde-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.donation-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--dorado-ambar);
  margin-bottom: 0.5rem;
}

.donation-amount span {
  font-size: 1.5rem;
  vertical-align: super;
}

.donation-title {
  margin-bottom: 1rem;
}

/* ========================================
   PAYMENT METHODS
   ======================================== */

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.payment-method {
  background: #1e331e;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(200, 168, 75, 0.1);
}

.payment-method h4 {
  margin-bottom: 1rem;
}

.bank-info {
  background: #1e331e;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(200, 168, 75, 0.1);
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(200, 168, 75, 0.1);
}

.bank-detail:last-child {
  border-bottom: none;
}

.bank-detail .label {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.9rem;
}

.bank-detail .value {
  color: var(--crema);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ========================================
   OTHER WAYS TO GIVE
   ======================================== */

.other-ways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.other-way-card {
  background: #1e331e;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(200, 168, 75, 0.1);
  transition: all var(--transition-smooth);
}

.other-way-card:hover {
  transform: translateY(-5px);
  border-color: var(--dorado-ambar);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bg-white {
  background: var(--verde-dark) !important;
}

/* ========================================
   SOUND TOGGLE
   ======================================== */

.sound-toggle {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 10;
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dorado-ambar);
  transition: all var(--transition-smooth);
}

.sound-toggle:hover {
  background: rgba(200, 168, 75, 0.25);
}

.sound-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sound-icon--on {
  display: none;
}

.sound-toggle.active .sound-icon--off {
  display: none;
}

.sound-toggle.active .sound-icon--on {
  display: flex;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dorado-ambar);
  color: var(--verde-dark);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.scroll-top:hover {
  background: var(--dorado-light);
  transform: translateY(-3px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   FADE-IN ANIMATION (GSAP)
   ======================================== */

.fade-in {
  /* NO opacity:0 here — GSAP handles initial state via fromTo() */
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 4rem 0 2rem;
  background: #0a150a;
  border-top: 1px solid rgba(200, 168, 75, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  width: 50px;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.95rem;
  transition: color var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--dorado-ambar);
}

.footer-contact p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200, 168, 75, 0.1);
  color: var(--dorado-ambar);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-smooth);
  border: 1px solid rgba(200, 168, 75, 0.2);
}

.social-links a:hover {
  background: var(--dorado-ambar);
  color: var(--verde-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(200, 168, 75, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .navbar {
    padding: 0 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--verde-dark);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 998;
    gap: 1.5rem;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    z-index: 999;
  }

  .page-hero {
    min-height: 55vh;
  }

  .hero {
    margin-top: 0;
  }

  .program-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .hero-video {
    display: none;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .cta-buttons,
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
  }

  .sound-toggle,
  .scroll-top {
    width: 44px;
    height: 44px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
}

/* ========================================
   TABLET ADJUSTMENTS
   ======================================== */

@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .program-detail-grid {
    grid-template-columns: 1fr;
  }

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

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

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  .navbar,
  .scroll-top,
  .sound-toggle,
  .page-transition,
  .preloader {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: #0066cc;
  }
}
