/* ==========================================
   Xavier Iturralde Campaign - Styles
   ========================================== */

/* CSS Variables */
:root {
  /* Colors - Paleta Oficial Campaña Xavier Iturralde */
  --color-primary: #54904c;
  --color-primary-dark: #385e35;
  --color-primary-light: #6aad60;
  --color-accent: #fff200;
  --color-accent-dark: #e6d900;
  --color-accent-light: #fff566;
  
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1280px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --shadow-emerald: 0 20px 40px -15px rgba(84, 144, 76, 0.3);

  /* Pillar Specific Colors */
  --color-p1: #54904c; /* Verde Esperanza */
  --color-p1-glow: rgba(84, 144, 76, 0.4);
  --color-p2: #fff200; /* Amarillo */
  --color-p2-glow: rgba(255, 242, 0, 0.4);
  --color-p3: #3B82F6; /* Azure/Blue */
  --color-p3-glow: rgba(59, 130, 246, 0.4);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-900);
  background: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================
   Layout
   ========================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

.section-gray {
  background: linear-gradient(180deg, #f5f8f5 0%, #eef3ee 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Titles for dark sections */
.section-projects .section-title,
.section-app .section-title {
  color: white;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ==========================================
   Navbar
   ========================================== */

/* Navbar removed by user request, tabs bar is now the primary navigation */

/* ==========================================
   Tabs Navigation
   ========================================== */

.tabs-nav-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(56, 94, 53, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 2px solid var(--color-accent);
  padding: 0.45rem 0;
  box-shadow: 0 4px 20px rgba(56, 94, 53, 0.3);
}

.tabs-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.tabs-logo {
  height: 160px;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}

.tabs-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: brightness(10);
}

.tabs-navigation {
  display: flex;
  flex: 1;
  justify-content: flex-start;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.6rem 0.5rem;
  scrollbar-width: none; /* Firefox */
  margin-left: 200px;
}

.tabs-navigation::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  white-space: nowrap;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

.tab-btn:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
  color: #385e35;
  background: var(--color-accent);
  box-shadow: 0 4px 15px rgba(255, 242, 0, 0.3);
  font-weight: 700;
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: tabFadeIn 0.5s ease forwards;
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .tabs-nav-wrapper {
    flex-direction: column;
    gap: 1rem;
    padding: 0.5rem 0;
  }
  
  .tabs-logo {
    height: 120px;
    position: relative;
    top: auto;
    transform: none;
    margin-bottom: 0.5rem;
  }

  .tabs-navigation {
    width: 100%;
    justify-content: flex-start;
    padding: 0.25rem 1rem;
    margin-left: 0;
  }
  
  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

.navbar-logo {
  display: inline-block;
}

.navbar-logo img {
  height: 150px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .navbar-logo img {
    height: 220px;
  }
}

/* ==========================================
   Loader
   ========================================== */

.loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #385e35 0%, #2d4f29 60%, #1a3518 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 200%;
  height: 80%;
  background: linear-gradient(155deg, transparent 40%, var(--color-accent) 40%, var(--color-accent) 45%, transparent 45%);
  opacity: 0.15;
  pointer-events: none;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  width: 420px;
  position: relative;
  z-index: 2;
}

.loader-logo-img {
  width: 420px;
  height: auto;
  margin-bottom: 2rem;
  animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.loader-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 242, 0, 0.5);
}

.loader-percent {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  margin-top: 0.75rem;
}

/* ==========================================

   Hero - Campaign Poster Style

   ========================================== */



.hero-poster {

  position: relative;

  min-height: 100vh;

  overflow: hidden;

}



.hero-poster-container {

  position: relative;

  min-height: 100vh;

  display: grid;

  grid-template-columns: 38% 62%;

  grid-template-rows: 1fr auto;

}



/* Left Green Panel */

.hero-green-panel {

  background: linear-gradient(160deg, #385e35 0%, #2d4f29 50%, #1a3518 100%);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding: 3rem 2.5rem;

  position: relative;

  z-index: 5;

}



.hero-green-panel::after {

  content: '';

  position: absolute;

  top: 0;

  right: -60px;

  width: 120px;

  height: 100%;

  background: linear-gradient(90deg, rgba(56, 94, 53, 0.6), transparent);

  z-index: 6;

  pointer-events: none;

}



.hero-logo-area {

  flex-shrink: 0;

}



.hero-campaign-logo {
  max-width: 320px;
  height: auto;
  filter: brightness(10);
}



.hero-green-text {

  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 1.5rem;

}



.hero-poster-title {

  font-family: 'Playfair Display', Georgia, serif;

  font-size: clamp(2.5rem, 5vw, 4.5rem);

  font-weight: 900;

  color: var(--color-white);

  line-height: 1.05;

  letter-spacing: 0.03em;

  text-transform: uppercase;

}



.hero-poster-subtitle {

  font-family: 'Inter', sans-serif;

  font-size: clamp(1rem, 2vw, 1.4rem);

  color: var(--color-accent);

  font-weight: 600;

  letter-spacing: 0.02em;

  line-height: 1.4;

}



.hero-cta-area {

  display: flex;

  flex-direction: column;

  gap: 0.75rem;

  flex-shrink: 0;

}



.btn-outline-light {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 1rem 2rem;

  font-size: 1rem;

  font-weight: 600;

  border-radius: 9999px;

  transition: all var(--transition-base);

  cursor: pointer;

  border: 2px solid rgba(255, 255, 255, 0.5);

  color: var(--color-white);

  background: transparent;

}



.btn-outline-light:hover {

  background: rgba(255, 255, 255, 0.1);

  border-color: var(--color-white);

}



/* Right Photo Area */

.hero-photo-area {

  position: relative;

  overflow: hidden;

  grid-row: 1 / 3;

  grid-column: 2;

}



.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  display: block;
}

.hero-slide.active {
  opacity: 1;
}



/* Diagonal Yellow Stripe */

.hero-diagonal-stripe {

  position: absolute;

  top: 0;

  left: -15%;

  width: 35%;

  height: 100%;

  background: var(--color-accent);

  transform: skewX(-8deg);

  z-index: 3;

  box-shadow: 

    10px 0 30px rgba(255, 242, 0, 0.3),

    -10px 0 30px rgba(255, 242, 0, 0.2);

}



.hero-diagonal-stripe::before {

  content: '';

  position: absolute;

  top: 0;

  right: -40px;

  width: 8px;

  height: 100%;

  background: rgba(255, 242, 0, 0.4);

}



/* Campaign Badges */

.hero-badges {
  position: absolute;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  padding: 1rem;
}



.hero-badge-cobranding {
  height: 240px;
  width: auto;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.hero-badge-cobranding:hover {
  transform: scale(1.05);
}

.hero-badge-tuyo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.hero-badge-asp {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}



/* Bottom Title Bar */

.hero-bottom-bar {

  grid-column: 1;

  background: var(--color-white);

  padding: 2rem 2.5rem;

  z-index: 5;

}



.hero-bottom-title {

  font-family: 'Inter', sans-serif;

  font-size: clamp(1.2rem, 2.5vw, 1.8rem);

  color: #385e35;

  font-weight: 400;

  line-height: 1.3;

  margin-bottom: 0.25rem;

}



.hero-bottom-bold {

  font-weight: 800;

  display: block;

  font-size: 1.15em;

}



.hero-bottom-desc {

  font-size: 0.95rem;

  color: var(--color-gray-500);

  font-style: italic;

}



/* Scroll Indicator */

.hero-scroll-indicator {

  position: absolute;

  bottom: 1.5rem;

  left: 19%;

  transform: translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 0.5rem;

  z-index: 20;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.75rem;

  letter-spacing: 0.1em;

  text-transform: uppercase;

  animation: scrollBounce 2s infinite ease-in-out;

}



.scroll-arrow-wrapper {

  width: 40px;

  height: 40px;

  border: 2px solid rgba(255, 255, 255, 0.3);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  backdrop-filter: blur(5px);

}



@keyframes scrollBounce {

  0%, 100% { transform: translateX(-50%) translateY(0); }

  50% { transform: translateX(-50%) translateY(8px); }

}



/* Hero Responsive */

@media (max-width: 992px) {

  .hero-poster-container {

    grid-template-columns: 1fr;

    grid-template-rows: 55vh auto auto;

  }



  .hero-photo-area {

    grid-row: 1;

    grid-column: 1;

    min-height: 55vh;

  }



  .hero-green-panel {

    grid-row: 2;

    grid-column: 1;

    padding: 2.5rem 1.5rem;

    text-align: center;

    align-items: center;

  }



  .hero-green-panel::after {

    display: none;

  }



  .hero-cta-area {

    align-items: center;

    flex-direction: row;

    justify-content: center;

    flex-wrap: wrap;

  }



  .hero-bottom-bar {

    grid-row: 3;

    grid-column: 1;

    text-align: center;

    padding: 1.5rem;

  }



  .hero-diagonal-stripe {

    left: -20%;

    width: 45%;

  }



  .hero-scroll-indicator {

    display: none;

  }



  .hero-campaign-logo {
    max-width: 240px;
    margin-bottom: 1rem;
  }

}



@media (max-width: 640px) {

  .hero-poster-container {

    grid-template-rows: 45vh auto auto;

  }



  .hero-photo-area {

    min-height: 45vh;

  }



  .hero-poster-title {

    font-size: 2.2rem;

  }



  .hero-badges {

    bottom: 1rem;

    right: 1rem;

  }



  .hero-badge-cobranding {
    height: 140px;
  }

  .hero-badge-tuyo {
    height: 40px;
  }

  .hero-badge-asp {
    height: 35px;
  }



  .hero-diagonal-stripe {

    left: -25%;

    width: 50%;

  }

}



/* ==========================================
   Buttons
   ========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #385e35;
  box-shadow: 0 8px 25px rgba(255, 242, 0, 0.3);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(255, 242, 0, 0.4);
}

.btn-outline {
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: #385e35;
}

.btn-secondary {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.btn-secondary:hover {
  background: var(--color-gray-200);
}

/* ==========================================
   Badges
   ========================================== */

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.badge-primary {
  background: rgba(84, 144, 76, 0.1);
  color: var(--color-primary-dark);
}

.badge-accent {
  background: rgba(255, 242, 0, 0.2);
  color: #a16207;
}

/* ==========================================
   Cards
   ========================================== */

.card {
  background: var(--color-white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
}

.proposals-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .proposals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.proposal-card {
  position: relative;
  cursor: pointer;
}

.proposal-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  border-radius: 0 0 1.5rem 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.proposal-card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, rgba(52,211,153,0.2), rgba(52,211,153,0.05));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-base);
}

.proposal-card:hover .card-icon {
  transform: scale(1.1);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 242, 0, 0.2);
  color: #a16207;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

/* ==========================================
   Link Arrow
   ========================================== */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  transition: gap var(--transition-base);
}

.link-arrow:hover {
  gap: 0.75rem;
}

/* ==========================================
   Candidate Section
   ========================================== */

.candidate-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .candidate-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.candidate-photo {
  position: relative;
}

.candidate-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.photo-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--color-gray-100), var(--color-gray-200));
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
}

.photo-placeholder svg {
  opacity: 0.5;
  margin-bottom: 1rem;
}

.photo-placeholder p {
  font-size: 0.875rem;
}

.photo-placeholder small {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.photo-decoration-1 {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(84, 144, 76, 0.2);
  border-radius: 50%;
  filter: blur(40px);
}

.photo-decoration-2 {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  background: rgba(255, 242, 0, 0.3);
  border-radius: 50%;
  filter: blur(30px);
}

.floating-card {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  background: var(--color-white);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .floating-card {
    right: 2rem;
  }
}

.floating-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(84, 144, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
}

.floating-card-content strong {
  display: block;
  color: var(--color-gray-900);
}

.floating-card-content span {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.candidate-content {
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .candidate-content {
    padding-top: 0;
  }
}

.candidate-bio {
  margin-bottom: 2rem;
}

.candidate-bio p {
  color: var(--color-gray-600);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.candidate-bio strong {
  color: var(--color-gray-900);
}

.candidate-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.value-tag {
  padding: 0.5rem 1rem;
  background: var(--color-gray-100);
  color: var(--color-gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

.candidate-signature {
  border-top: 1px solid var(--color-gray-100);
  padding-top: 1.5rem;
}

.signature-label {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
}

.signature {
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--color-gray-800);
}

/* ==========================================
   Timeline
   ========================================== */

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), rgba(52,211,153,0.3), transparent);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .timeline-item {
    padding-left: 0;
  }
  
  .timeline-item .timeline-date {
    width: 50%;
    text-align: right;
    padding-right: 3rem;
  }
  
  .timeline-item .timeline-card {
    width: 50%;
    padding-left: 3rem;
  }
  
  .timeline-item-right .timeline-date {
    order: 2;
    text-align: left;
    padding-right: 0;
    padding-left: 3rem;
  }
  
  .timeline-item-right .timeline-card {
    order: 1;
    text-align: right;
    padding-left: 0;
    padding-right: 3rem;
  }
}

.timeline-dot {
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-white);
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-date {
  display: none;
}

@media (min-width: 768px) {
  .timeline-date {
    display: block;
  }
}

.date-day {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gray-900);
  line-height: 1;
}

.date-month {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.date-weekday {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent-dark);
}

.timeline-card {
  background: var(--color-white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--color-gray-100);
  transition: all var(--transition-base);
  flex: 1;
}

.timeline-card:hover {
  box-shadow: var(--shadow-lg);
}

.event-type {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.event-caminata {
  background: rgba(84, 144, 76, 0.1);
  color: var(--color-primary-dark);
}

.event-foro {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.event-evento {
  background: rgba(255, 242, 0, 0.2);
  color: #a16207;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
}

.event-location svg {
  color: var(--color-gray-400);
  flex-shrink: 0;
}

.event-description {
  color: var(--color-gray-600);
}

/* Mobile date in card */
.timeline-card::before {
  content: attr(data-date);
  display: block;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .timeline-card::before {
    display: none;
  }
}

/* ==========================================
   Transparency
   ========================================== */

.transparency-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .transparency-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.transparency-content .section-title {
  text-align: left;
}

.transparency-intro {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  margin-bottom: 2rem;
}

.transparency-quote {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.transparency-quote p {
  font-size: 1.25rem;
  color: var(--color-gray-800);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.transparency-quote cite {
  color: var(--color-gray-500);
  font-style: normal;
}

.transparency-table {
  background: var(--color-white);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* ==========================================
   Plan de Gobierno Section
   ========================================== */

.plan-pilar {
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.plan-pilar:last-of-type {
  margin-bottom: 2rem;
}

.plan-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .plan-grid-reverse .plan-content {
    order: 2;
  }
  
  .plan-grid-reverse .plan-chart {
    order: 1;
  }
}

.plan-content {
  position: relative;
}

.plan-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(84, 144, 76, 0.15);
  line-height: 1;
  margin-bottom: -1.5rem;
  font-family: 'Inter', sans-serif;
}

.plan-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.plan-title-highlight {
  display: block;
  font-size: 2.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.plan-description {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.plan-description strong {
  color: var(--color-gray-900);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-gray-700);
  font-size: 0.975rem;
}

.plan-feature svg {
  flex-shrink: 0;
  color: var(--color-primary-dark);
  margin-top: 2px;
}

/* Chart Container */
.plan-chart {
  display: flex;
  justify-content: center;
}

.chart-container {
  background: var(--color-white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-100);
  width: 100%;
  max-width: 400px;
}

.chart-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Bar Chart */
.chart-bars {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.bar-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
}

.bar-wrapper {
  width: 60px;
  height: 160px;
  background: var(--color-gray-100);
  border-radius: 0.5rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bar {
  width: 100%;
  border-radius: 0.5rem 0.5rem 0 0;
  transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-current {
  height: 20%;
  background: var(--color-gray-400);
}

.bar-goal {
  height: 100%;
  background: linear-gradient(to top, var(--color-primary-dark), var(--color-primary));
}

.bar-current.animate { height: 20%; }
.bar-goal.animate { height: 100%; }

.bar-percent {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-500);
}

.bar-percent-highlight {
  color: var(--color-primary-dark);
  font-size: 1.5rem;
}

.chart-multiplier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-100);
}

.multiplier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.multiplier-label {
  font-size: 0.975rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

/* Icons Chart */
.chart-icons {
  padding: 2rem;
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.icon-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-circle:hover {
  transform: scale(1.1);
}

.icon-employment {
  background: linear-gradient(135deg, rgba(84, 144, 76, 0.2), rgba(84, 144, 76, 0.1));
  color: var(--color-primary-dark);
}

.icon-innovation {
  background: linear-gradient(135deg, rgba(255, 242, 0, 0.3), rgba(255, 242, 0, 0.1));
  color: #b45309;
}

.icon-business {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  color: #1d4ed8;
}

.icon-social {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1));
  color: #be185d;
}

.icon-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray-700);
}

/* Growth Chart */
.chart-growth {
  padding: 2rem;
}

.growth-chart {
  margin-bottom: 1.5rem;
}

.growth-svg {
  width: 100%;
  height: auto;
}

.growth-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.growth-line.animate {
  animation: drawLine 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.growth-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-100);
}

.target-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.target-label {
  font-size: 1rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

/* ==========================================
   Section: Pillars (Vibrant Glassmorphism 2.0)
   ========================================== */
.section-pillars {
  position: relative;
  background: #f8fafc;
  padding: 8rem 0;
  overflow: hidden;
}

.pillars-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(84, 144, 76, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 242, 0, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
  animation: bgAnimationV2 30s infinite alternate linear;
}

@keyframes bgAnimationV2 {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  100% { transform: translate(-45%, -55%) rotate(5deg) scale(1.1); }
}

.brochure-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  margin-top: 4rem;
}

.brochure-panel {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 800px;
}

/* Panel Yellow: Dinero para los paceños */
.panel-yellow {
  background: #fff200;
  color: #385e35;
}

.panel-yellow .panel-tag {
  color: #385e35;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.panel-yellow .panel-subtitle {
  color: #385e35;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.panel-yellow .pilar-desc {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 1;
}

.bulb-container {
  position: relative;
  margin: 2rem auto;
  width: 280px;
  height: 280px;
}

.bulb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bulb-tag {
  position: absolute;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #385e35;
  background: rgba(255,255,255,0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Panel White: La Paz al 7 */
.panel-white {
  background: #ffffff;
  color: #334155;
}

.panel-white .panel-title {
  background: #fff200;
  display: inline-block;
  padding: 0.5rem 2rem;
  color: #385e35;
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  border-radius: 10px;
  align-self: center;
}

.vision-7-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.vision-7-item {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vision-7-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.vision-7-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.vision-7-footer {
  margin-top: auto;
  text-align: center;
  font-weight: 800;
  color: #385e35;
}

/* Panel Green: Obras X5 */
.panel-green {
  background: #385e35;
  color: #ffffff;
}

.panel-green .panel-title {
  font-weight: 950;
  font-size: 3.5rem;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.panel-green .panel-subtitle {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.obras-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  padding-left: 3rem;
}

.obras-timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff200;
}

.obras-timeline::after {
  content: '🚀';
  position: absolute;
  left: -0.2rem;
  top: -2.5rem;
  font-size: 2.5rem;
}

.timeline-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

.step-num {
  font-weight: 900;
  font-size: 1.5rem;
  color: #ffffff;
  min-width: 30px;
}

.step-content strong {
  display: block;
  color: #fff200;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.3;
  opacity: 0.85;
}

@media (max-width: 992px) {
  .brochure-container {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  
  .brochure-panel {
    min-height: auto;
    padding: 3rem 2rem;
  }
}

/* Glass Card 2.0 with Colored Borders */
.pilar-card-v2 {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 56px;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.04),
    inset 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Pillar Specific Borders & Glows */
[data-pillar="pilar-1"] { 
  border-color: rgba(84, 144, 76, 0.4); 
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.04),
    inset 0 0 30px rgba(84, 144, 76, 0.05);
}
[data-pillar="pilar-2"] { 
  border-color: rgba(255, 242, 0, 0.4); 
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.04),
    inset 0 0 30px rgba(255, 242, 0, 0.05);
}
[data-pillar="pilar-3"] { 
  border-color: rgba(59, 130, 246, 0.4); 
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.04),
    inset 0 0 30px rgba(59, 130, 246, 0.05);
}

.pilar-main, 
.pilar-secondary {
  padding: 3.5rem 2.5rem;
}

/* Morphing Blobs */
.pilar-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--blob-color);
  filter: blur(60px);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  animation: morphBlob 15s infinite alternate ease-in-out;
}

.blob-1 { 
  --blob-color: #54904c;
  top: -100px;
  right: -100px;
  animation-duration: 18s;
}

.blob-2 { 
  --blob-color: #e6d900;
  bottom: -150px;
  left: -100px;
  animation-duration: 22s;
}

.blob-3 { 
  --blob-color: #3b82f6;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
}

@keyframes morphBlob {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%; transform: rotate(90deg) scale(1.1); }
  100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(180deg) scale(1); }
}

.card-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}

.pilar-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 3;
}

.pilar-card-v2:hover .pilar-decoration {
  opacity: 1;
}

.pilar-card-v2:hover {
  transform: translateY(-20px) scale(1.02);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.08),
    inset 0 0 30px rgba(255, 255, 255, 0.8);
}

/* Pillar Specific Hover Glows */
[data-pillar="pilar-1"]:hover { 
  border-color: rgba(84, 144, 76, 0.8);
  box-shadow: 0 40px 80px rgba(84, 144, 76, 0.15), inset 0 0 40px rgba(84, 144, 76, 0.1); 
}
[data-pillar="pilar-2"]:hover { 
  border-color: rgba(255, 242, 0, 0.8);
  box-shadow: 0 40px 80px rgba(255, 242, 0, 0.15), inset 0 0 40px rgba(255, 242, 0, 0.1); 
}
[data-pillar="pilar-3"]:hover { 
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 40px 80px rgba(59, 130, 246, 0.15), inset 0 0 40px rgba(59, 130, 246, 0.1); 
}

.pilar-content-v2 {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Staggered Reveal Initial State */
[data-reveal-order] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-order].revealed {
  opacity: 1;
  transform: translateY(0);
}

.pilar-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: #64748b;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.pilar-title-v2 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #0f172a;
  margin-bottom: 2rem;
  letter-spacing: -2px;
  transition: all 0.5s ease;
}

.pilar-card-v2:hover .pilar-title-v2 {
  transform: scale(1.05);
}

.text-primary-p3 { color: #2563eb; }
.text-primary-p2 { color: #e6d900; }

.pilar-desc-v2 {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 2.5rem;
  max-width: 550px;
  font-weight: 500;
}

/* Enhanced Visualizations */
.pilar-stats-v2 {
  display: flex;
  gap: 5rem;
  margin-bottom: 4.5rem;
}

.stat-num {
  font-size: 4.5rem;
  font-weight: 950;
  background: linear-gradient(to bottom, #0f172a, #334155);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -2px;
}

[data-pillar="pilar-1"] .stat-num {
  background: linear-gradient(135deg, #2d4f29 0%, #064e3b 100%);
  background-clip: text;
}

.stat-suffix {
  font-size: 2.5rem;
  font-weight: 950;
  color: #385e35;
}

.stat-txt {
  font-size: 0.9rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 0.8rem;
}

/* Enhanced Visualizations - Technical Dashboard Style */
.pilar-chart-v2 {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.05);
}

.pilar-chart-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.pilar-chart-bars-v2 {
  display: flex;
  align-items: flex-end;
  height: 180px;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.pilar-bar-v2 {
  flex: 1;
  border-radius: 12px 12px 4px 4px;
  position: relative;
  transition: height 2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.pilar-bar-v2 span {
  position: absolute;
  top: -2.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #475569;
  white-space: nowrap;
}

.pilar-bar-v2.current {
  background: rgba(148, 163, 184, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.pilar-bar-v2.goal { 
  background: linear-gradient(to top, var(--bar-color-base), var(--bar-color-glow));
  box-shadow: 0 10px 30px var(--bar-shadow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

[data-pillar="pilar-1"] .pilar-bar-v2.goal {
  --bar-color-base: #385e35;
  --bar-color-glow: #54904c;
  --bar-shadow: rgba(56, 94, 53, 0.3);
}

[data-pillar="pilar-2"] .pilar-bar-v2.goal {
  --bar-color-base: #e6d900;
  --bar-color-glow: #fff566;
  --bar-shadow: rgba(255, 242, 0, 0.3);
}

/* Icons 2.0 - Glossy Cards */
.pilar-icons-v2 {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.pilar-icon-wrapper-v2 {
  flex: 1;
}

.pilar-icon-v2 {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.pilar-icon-wrapper-v2:hover .pilar-icon-v2 {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-p2);
  box-shadow: 0 15px 30px rgba(255, 242, 0, 0.15);
}

.pilar-features-v2 span {
  font-size: 1.2rem;
  color: #1e293b;
  font-weight: 700;
  gap: 15px;
}

/* Visual Growth 2.0 - Area Chart Style */
.pilar-growth-viz {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  height: 160px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.pilar-growth-viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 30px;
  pointer-events: none;
}

.growth-svg-v2 {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px var(--color-p3-glow));
}

.growth-badge-v2 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 12px;
  color: white;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  z-index: 2;
}

/* Final CTA */
.btn-premium {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-premium:hover {
  background: linear-gradient(135deg, #385e35 0%, #2d4f29 100%);
  box-shadow: 0 25px 60px rgba(56, 94, 53, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pilar-title-v2 { font-size: 3rem; }
  .pilar-card-v2 { padding: 3rem !important; }
}

.btn-premium svg {
  transition: transform 0.5s ease;
}

.btn-premium:hover svg {
  transform: translateX(5px);
}

/* Responsive V2 */
@media (max-width: 1200px) {
  .pilar-main { padding: 4rem 3rem; }
  .pilar-title-v2 { font-size: 3rem; }
}

@media (max-width: 1024px) {
  .bento-grid-pillars {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section-pillars { padding: 8rem 0; }
  .pilar-title-v2 { font-size: 2.5rem; }
  .pilar-card-v2 { border-radius: 32px; padding: 2.5rem !important; }
  .pilar-stats-v2 { gap: 2rem; }
  .stat-num { font-size: 3rem; }
}

/* ==========================================
   Transparency Table Styles
   ========================================== */

.table-header {
  background: linear-gradient(to right, var(--color-gray-900), var(--color-gray-800));
  padding: 1.25rem 1.5rem;
}

.table-header h3 {
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 600;
}

.table-header p {
  color: var(--color-gray-400);
  font-size: 0.875rem;
}

.table-body {
  border-top: 1px solid var(--color-gray-100);
}


.table-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-gray-100);
  transition: background var(--transition-fast);
}

.table-row:hover {
  background: var(--color-gray-50);
}

.table-row:last-child {
  border-bottom: none;
}

.table-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(84, 144, 76, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.table-content {
  flex: 1;
  min-width: 0;
}

.table-label {
  font-weight: 500;
  color: var(--color-gray-900);
  margin-bottom: 0.25rem;
}

.table-desc {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.table-value {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(84, 144, 76, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  white-space: nowrap;
}

.table-footer {
  padding: 1rem 1.5rem;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-100);
}

.link-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  transition: color var(--transition-fast);
}

.link-download:hover {
  color: var(--color-primary);
}

/* ==========================================
   Testimonials
   ========================================== */

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  background: var(--color-gray-50);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4rem;
  color: rgba(84, 144, 76, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--color-gray-700);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
}

.author-info strong {
  display: block;
  color: var(--color-gray-900);
}

.author-info span {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

/* Social proof */
.social-proof {
  margin-top: 4rem;
  text-align: center;
}

.social-proof-text {
  color: var(--color-gray-500);
  margin-bottom: 1rem;
}

.social-proof-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-gray-500);
}

.stat-divider {
  width: 1px;
  height: 3rem;
  background: var(--color-gray-200);
}

/* ==========================================
   Footer
   ========================================== */

.footer {
  background: linear-gradient(135deg, #385e35 0%, #2d4f29 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(155deg, transparent 30%, var(--color-accent) 30%, var(--color-accent) 33%, transparent 33%);
  opacity: 0.06;
  pointer-events: none;
}

.footer-newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.newsletter-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .newsletter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.newsletter-content h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.125rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: var(--color-white);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-success {
  background: rgba(84, 144, 76, 0.1);
  border: 1px solid rgba(84, 144, 76, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.newsletter-success.hidden {
  display: none;
}

.success-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.newsletter-success span {
  color: var(--color-gray-400);
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-accent);
  color: #385e35;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}


.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.contact-phone {
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--color-gray-500);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--color-gray-500);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ==========================================
   Utilities
   ========================================== */

.hidden {
  display: none !important;
}

/* ==========================================
   ADVANCED ANIMATIONS
   ========================================== */

/* Fade In Variations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* Pulse Effects */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes pulseGlow {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(84, 144, 76, 0.4);
  }
  50% { 
    box-shadow: 0 0 30px 10px rgba(84, 144, 76, 0.2);
  }
}

/* Shimmer Effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Rotate */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Wave */
@keyframes wave {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-5px); }
  50% { transform: translateY(0); }
  75% { transform: translateY(5px); }
}

/* Typing Cursor */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Counter Number Animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide In */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Icon Bounce */
@keyframes iconBounce {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.2) rotate(-5deg); }
  50% { transform: scale(1) rotate(5deg); }
  75% { transform: scale(1.1) rotate(-3deg); }
}

/* ==========================================
   Animation Classes
   ========================================== */

.animate-fade-in-up {
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255,255,255,0.4) 50%, 
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

.animate-rotate {
  animation: rotate 20s linear infinite;
}

.animate-wave {
  animation: wave 2s ease-in-out infinite;
}

/* Staggered Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* ==========================================
   Reveal on Scroll (JS controlled)
   ========================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================
   Parallax Classes
   ========================================== */

.parallax {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.parallax-slow {
  --parallax-speed: 0.05;
}

.parallax-medium {
  --parallax-speed: 0.1;
}

.parallax-fast {
  --parallax-speed: 0.15;
}

/* ==========================================
   Interactive Hover Effects
   ========================================== */

/* Card Tilt Effect - DISABLED 3D */
.hover-tilt {
  transition: all 0.3s ease;
}

.hover-tilt:hover {
  transform: translateY(-10px) scale(1.02);
}

/* Magnetic Button effect handled by JS */
.magnetic-btn {
  transition: transform 0.2s ease-out;
}

/* Glow on Hover */
.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 10px 40px rgba(84, 144, 76, 0.3);
}

/* Underline animation */
.hover-underline {
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
}

/* Icon animation on hover */
.hover-icon-bounce:hover .card-icon {
  animation: iconBounce 0.6s ease;
}

/* ==========================================
   Floating Decorations
   ========================================== */

.floating-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.5;
}

.floating-shape-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(84, 144, 76, 0.15) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.floating-shape-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 242, 0, 0.2) 0%, transparent 70%);
  animation: floatSlow 10s ease-in-out infinite;
  animation-delay: -3s;
}

.floating-shape-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(84, 144, 76, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
  animation-delay: -5s;
}

/* ==========================================
   Counter Animation (for stats)
   ========================================== */

.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.counter.animating {
  animation: countUp 0.5s ease forwards;
}

/* ==========================================
   Typing Effect
   ========================================== */

.typing-text {
  overflow: hidden;
  border-right: 3px solid var(--color-primary);
  white-space: nowrap;
  animation: blink 0.8s step-end infinite;
}

/* ==========================================
   Progress Bar Animation
   ========================================== */

.progress-bar {
  height: 4px;
  background: var(--color-gray-200);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-bar-fill.animate {
  width: var(--progress-width, 100%);
}

/* ==========================================
   Scroll Progress Indicator
   ========================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ==========================================
   Enhanced Button Effects
   ========================================== */

.btn-animated {
  position: relative;
  overflow: hidden;
}

.btn-animated::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-animated:hover::before {
  width: 400px;
  height: 400px;
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-shine:hover::after {
  left: 100%;
}

/* ==========================================
   Card Enhancements
   ========================================== */

.card-animated {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-animated:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.card-border-glow {
  position: relative;
}

.card-border-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-primary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-border-glow:hover::before {
  opacity: 1;
}

/* ==========================================
   Tooltip
   ========================================== */

.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================
   Loading Skeleton
   ========================================== */

.skeleton {
  background: linear-gradient(90deg, 
    var(--color-gray-100) 25%, 
    var(--color-gray-200) 50%, 
    var(--color-gray-100) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.5rem;
}

/* ==========================================
   Accessibility - Reduced Motion
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* Focus states for accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(84, 144, 76, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-300);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-400);
}

/* ==========================================
   WhatsApp Floating Button
   ========================================== */

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-10px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--color-gray-900);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-gray-900);
}

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

/* TikTok Floating Button */
.tiktok-float {
  position: fixed;
  bottom: 9rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #000000, #25F4EE, #FE2C55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(254, 44, 85, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: tiktokPulse 2s ease-in-out infinite;
}

.tiktok-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(254, 44, 85, 0.6);
}

.tiktok-float:hover .tiktok-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-10px);
}

.tiktok-tooltip {
  position: absolute;
  right: 70px;
  background: var(--color-gray-900);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tiktok-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-gray-900);
}

@keyframes tiktokPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(254, 44, 85, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(254, 44, 85, 0.6), 0 0 0 10px rgba(254, 44, 85, 0.1);
  }
}

@media (max-width: 640px) {
  .tiktok-float {
    bottom: 6rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
  
  .tiktok-tooltip {
    display: none;
  }
}

/* LaPazKOMBAT APK Download Button */
.apk-download-float {
  position: fixed;
  bottom: 14.5rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FF9800, #F44336);
  border: 3px solid #FFEB3B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 15px rgba(255, 152, 0, 0.8);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: apkDownloadPulse 1.5s infinite ease-in-out;
  overflow: hidden; /* Keeps the circle shape for the image inside */
}

.apk-download-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(255, 152, 0, 0.6);
}

.apk-download-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.15); /* Slightly zooms in to crop out edges / borders */
}

.apk-download-float:hover .apk-download-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(10px);
}

.apk-download-tooltip {
  position: absolute;
  left: 75px; 
  background: var(--color-gray-900);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.apk-download-tooltip::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--color-gray-900);
}

@keyframes apkDownloadPulse {
  0% { 
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7), 0 0 15px rgba(255, 235, 59, 0.8); 
    transform: scale(0.95);
  }
  50% { 
    box-shadow: 0 0 0 15px rgba(255, 165, 0, 0), 0 0 35px rgba(255, 165, 0, 1); 
    transform: scale(1.1);
  }
  100% { 
    box-shadow: 0 0 0 0 rgba(255, 165, 0, 0), 0 0 15px rgba(255, 235, 59, 0.8); 
    transform: scale(0.95);
  }
}

@media (max-width: 640px) {
  .apk-download-float {
    bottom: 10.5rem;
    left: 1.5rem;
    width: 54px;
    height: 54px;
  }
  .apk-download-tooltip {
    display: none;
  }
}

/* APK App Widget */
.apk-widget {
  position: fixed;
  bottom: 9rem;
  left: 2rem;
  z-index: 1001;
}

.apk-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a8a2e, #0d6e1e);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(26, 138, 46, 0.4);
  transition: all 0.3s ease;
  animation: apkPulse 2s ease-in-out infinite;
}

.apk-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(26, 138, 46, 0.6);
}

.apk-icon-close {
  display: none;
}

.apk-widget.active .apk-icon-open {
  display: none;
}

.apk-widget.active .apk-icon-close {
  display: block;
}

.apk-widget.active .apk-toggle {
  animation: none;
}

@keyframes apkPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(26, 138, 46, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(26, 138, 46, 0.6), 0 0 0 10px rgba(26, 138, 46, 0.1); }
}

/* APK Popup Window */
.apk-window {
  position: absolute;
  top: 50%;
  left: 75px;
  width: 300px;
  transform: translateY(-50%) translateX(-10px) scale(0.95);
  background: var(--color-gray-900);
  border-radius: 1.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.apk-widget.active .apk-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

/* Header */
.apk-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #1a8a2e, var(--color-accent));
  color: var(--color-gray-900);
}

.apk-header-icon {
  font-size: 1.75rem;
}

.apk-close-window {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--color-gray-900);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.apk-close-window:hover {
  background: rgba(0, 0, 0, 0.1);
}

.apk-header-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.apk-status {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Slider */
.apk-slider-container {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #000;
}

.apk-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.apk-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.apk-slide.active {
  opacity: 1;
}

.apk-slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.apk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.apk-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* Body */
.apk-body {
  padding: 1rem 1.25rem;
}

.apk-desc {
  margin-bottom: 0.75rem;
}

.apk-desc p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.apk-reward-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 242, 0, 0.1);
  border: 1px solid rgba(255, 242, 0, 0.2);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
}

.apk-reward-icon {
  font-size: 1.2rem;
}

.apk-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.apk-features-list li {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.3rem 0;
  line-height: 1.4;
}

/* Footer / Download */
.apk-footer {
  padding: 0.75rem 1.25rem 1rem;
}

.apk-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #1a8a2e, var(--color-primary));
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 138, 46, 0.3);
}

.apk-download-btn:hover {
  background: linear-gradient(135deg, #22a838, var(--color-primary-light));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 138, 46, 0.5);
  color: white;
}

/* Responsive */
@media (max-width: 640px) {
  .apk-widget {
    bottom: 6rem;
    left: 1.5rem;
  }
  
  .apk-toggle {
    width: 54px;
    height: 54px;
  }
  
  .apk-window {
    width: 260px;
    left: 68px;
  }
  
  .apk-slider-container {
    height: 100px;
  }
}

/* ==========================================
   AI Chatbot Widget
   ========================================== */

.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1001;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border: none;
  color: var(--color-gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(84, 144, 76, 0.4);
  transition: all 0.3s ease;
  animation: chatbotPulse 2s ease-in-out infinite;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(84, 144, 76, 0.6);
}

.chatbot-icon-close {
  display: none;
}

.chatbot-widget.active .chatbot-icon-open {
  display: none;
}

.chatbot-widget.active .chatbot-icon-close {
  display: block;
}

@keyframes chatbotPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(84, 144, 76, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(84, 144, 76, 0.6), 0 0 0 10px rgba(84, 144, 76, 0.1); }
}

.chatbot-window {
  position: absolute;
  bottom: 75px;
  left: 0;
  width: 350px;
  max-height: 500px;
  background: var(--color-gray-900);
  border-radius: 1.5rem;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-widget.active .chatbot-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-gray-900);
}

.chatbot-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chatbot-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.chatbot-status {
  font-size: 0.75rem;
  opacity: 0.9;
}

.chatbot-messages {
  padding: 1rem;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.bot-message {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}

.user-message {
  background: var(--color-primary);
  color: var(--color-gray-900);
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}

.chat-message p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quick-btn {
  padding: 0.4rem 0.75rem;
  background: rgba(84, 144, 76, 0.15);
  border: 1px solid rgba(84, 144, 76, 0.3);
  border-radius: 1rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-btn:hover {
  background: var(--color-primary);
  color: var(--color-gray-900);
}

.maps-btn-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
  animation: messageSlide 0.3s ease;
}

.maps-btn {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: center;
}

.maps-btn:hover {
  background: var(--color-primary);
  color: var(--color-gray-900);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(84, 144, 76, 0.2);
}

.chatbot-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input {
  flex: 1;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  color: white;
  font-size: 0.875rem;
  outline: none;
}

.chatbot-input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.chatbot-input input:focus {
  border-color: var(--color-primary);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: var(--color-gray-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chatbot-input button:hover {
  transform: scale(1.1);
}

@media (max-width: 640px) {
  .chatbot-widget {
    bottom: 1.5rem;
    left: 1.5rem;
  }
  
  .chatbot-toggle {
    width: 50px;
    height: 50px;
  }
  
  .chatbot-window {
    width: 300px;
    max-height: 400px;
    left: -10px;
  }
}

/* ==========================================
   Vision & Proposal Interactive Section
   ========================================== */

.vision-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.vision-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
  perspective: 1000px;
}

.vision-tabs {
  position: relative;
  display: flex;
  background: white;
  border-radius: 3rem;
  padding: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-gray-100);
}

.vision-tab {
  position: relative;
  border: none;
  background: transparent;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-gray-500);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.vision-tab.active {
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.vision-tab:hover:not(.active) {
  color: var(--color-gray-800);
}

.tab-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.vision-tab.active .tab-icon {
  transform: scale(1.2);
}

.tab-glider {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  height: calc(100% - 1rem);
  background: var(--color-primary);
  border-radius: 2.5rem;
  box-shadow: 0 4px 15px rgba(84, 144, 76, 0.3);
  transition: all 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
  z-index: 1;
}

/* Distinct Colors for Tabs handled via JS or specific classes */
.tab-glider[data-color="liderazgo"] { 
  background: linear-gradient(135deg, #54904c, #385e35); 
  box-shadow: 0 4px 15px rgba(56, 94, 53, 0.3);
}
.tab-glider[data-color="empleo"] { 
  background: linear-gradient(135deg, #3B82F6, #2563EB); 
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.tab-glider[data-color="digital"] { 
  background: linear-gradient(135deg, #8B5CF6, #7C3AED); 
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.vision-content-wrapper {
  position: relative;
  min-height: 550px;
}

.vision-content {
  display: none;
  /* Animation handled by keyframes below */
}

.vision-content.active {
  display: block;
}

.vision-content.active .vision-grid {
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision-text h3 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-gray-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vision-text p {
  color: var(--color-gray-600);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.vision-subtitle {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

/* Subtitle colors */
#content-liderazgo .vision-subtitle { background: #ECFDF5; color: #2d4f29; }
#content-empleo .vision-subtitle { background: #EFF6FF; color: #2563EB; }
#content-digital .vision-subtitle { background: #F5F3FF; color: #7C3AED; }

.quote-box {
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  background: linear-gradient(to right, rgba(84, 144, 76, 0.03), transparent);
  border-radius: 0 1rem 1rem 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--color-gray-800);
  font-weight: 500;
  font-size: 1.1rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 1.25rem;
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  color: #2d4f29;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.1);
}

.feature-info strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
  color: var(--color-gray-900);
}

.feature-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

/* 3D Image Container */
.vision-image {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  aspect-ratio: 4/3;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out; /* JavaScript controlled */
}

.vision-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform: scale(1.05); /* Proper zoom for parallax feel */
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: white;
  transform: translateZ(20px); /* 3D effect */
}

.overlay-badge {
  position: absolute;
  top: 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateZ(30px); /* 3D effect */
}

.overlay-badge.top-left { left: 1.5rem; }
.overlay-badge.top-right { right: 1.5rem; }

/* Dynamic Badge Colors */
#content-liderazgo .overlay-badge.top-right { background: rgba(56, 94, 53, 0.2); border-color: rgba(56, 94, 53, 0.3); color: #D1FAE5; }
#content-empleo .overlay-badge.top-right { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.3); color: #DBEAFE; }
#content-digital .overlay-badge.top-right { background: rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.3); color: #EDE9FE; }

.overlay-caption {
  transform: translateZ(40px); /* 3D effect */
}

.overlay-caption strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.overlay-caption p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1rem;
}

/* Specific Tab Styles */
.feature-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-item p { margin: 0; font-size: 1rem; color: var(--color-gray-800); }

.check-icon {
  width: 28px;
  height: 28px;
  background: #EFF6FF;
  border-radius: 50%;
  color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-box {
  background: white;
  padding: 1.25rem 0.5rem;
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.stat-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-gray-900);
}

.stat-box p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-gray-500);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

/* Connecting line for steps */
.steps-list::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 20px;
  width: 2px;
  background: #F5F3FF;
  z-index: 0;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 42px;
  height: 42px;
  background: white;
  border: 2px solid #7C3AED;
  color: #7C3AED;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.15);
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  background: #7C3AED;
  color: white;
  transform: scale(1.1);
}

.step-item p { margin: 0; font-size: 1rem; color: var(--color-gray-800); }

.mini-stats {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
}

.mini-stats span {
  font-size: 0.8rem;
  background: rgba(124, 58, 237, 0.2);
  color: #EDE9FE;
  padding: 0.4rem 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(124, 58, 237, 0.3);
  backdrop-filter: blur(5px);
}

@media (max-width: 960px) {
  .vision-grid {
    gap: 3rem;
  }
  
  .vision-tabs {
    border-radius: 1.5rem;
  }
  
  .vision-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .tab-icon { font-size: 1.1rem; }
}

/* ==========================================

/* ==========================================
   Podcast / Studio Section
   ========================================== */

.section-studio {
  background: radial-gradient(circle at 50% 50%, #1a202c 0%, #000000 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.studio-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spotlight {
  position: absolute;
  top: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  transform: rotate(30deg);
  filter: blur(40px);
}

.spotlight-left { left: -10%; transform: rotate(25deg); }
.spotlight-right { right: -10%; transform: rotate(-25deg); }

.studio-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.on-air-container {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.on-air-badge {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  color: #ef4444;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.recording-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: blinkRed 1.5s infinite;
}

@keyframes blinkRed {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px #ef4444; }
  50% { opacity: 0.4; box-shadow: none; }
}

.live-wave {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.live-wave span {
  width: 3px;
  background: #ef4444;
  animation: wave 1s ease-in-out infinite;
}

.live-wave span:nth-child(1) { height: 60%; animation-duration: 0.8s; }
.live-wave span:nth-child(2) { height: 80%; animation-duration: 1.1s; }
.live-wave span:nth-child(3) { height: 100%; animation-duration: 1.3s; }
.live-wave span:nth-child(4) { height: 75%; animation-duration: 0.9s; }
.live-wave span:nth-child(5) { height: 50%; animation-duration: 1.2s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

.podcast-series {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.episode-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(to right, #ffffff, #e2e8f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.podcast-host {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mic-icon { font-size: 1.25rem; }

.host-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.host-info span { font-size: 0.65rem; text-transform: uppercase; color: #94a3b8; letter-spacing: 1px; }
.host-info strong { font-size: 0.9rem; color: white; }

/* Studio Monitor */
.studio-monitor-wrapper {
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}

.monitor-frame {
  background: #1a1a1a;
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 0;
  box-shadow: 
    0 50px 100px -20px rgba(0,0,0,0.5),
    0 0 0 1px #333,
    inset 0 0 50px rgba(0,0,0,0.5);
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
}

.monitor-frame:hover {
  transform: rotateX(0);
}

.screen-border {
  background: #000;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
  border: 1px solid #333;
  border-bottom: none;
  position: relative;
}

.screen-border::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}

.screen-content {
  position: relative;
  aspect-ratio: 16/9;
}

.interview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monitor-chin {
  background: #111;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem;
  border: 1px solid #333;
  border-top: 1px solid #222;
  box-shadow: inset 0 -5px 10px rgba(0,0,0,0.5);
}

.monitor-brand {
  color: #555;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 2px;
}

.power-led {
  width: 6px;
  height: 6px;
  background: #54904c;
  border-radius: 50%;
  box-shadow: 0 0 5px #54904c;
}

/* Play Button Override */
.play-button-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.play-button:hover {
  background: var(--color-primary);
  color: black;
  transform: scale(1.1);
  border-color: var(--color-primary);
}

.play-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: ripple 2s infinite;
  z-index: 1;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

@media (max-width: 768px) {
  .episode-title { font-size: 2rem; }
  .monitor-frame { padding: 0.75rem 0.75rem 0; }
  .monitor-chin { padding: 0 1rem; }
}

/* ==========================================
   Gallery Modal & Timeline Cards with Gallery
   ========================================== */

/* Timeline card gallery hint */
.timeline-card.has-gallery {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.timeline-card.has-gallery:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(84, 144, 76, 0.2);
  border-color: var(--color-primary);
}

.timeline-card.has-gallery::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-card.has-gallery:hover::before {
  opacity: 1;
}

.timeline-card.has-gallery {
  cursor: pointer;
}

.timeline-card.has-gallery:active {
  transform: scale(0.98);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  opacity: 0.7; /* Semi-transparent by default to indicate it's interactable */
  transform: translateY(0);
  transition: all 0.3s ease;
  animation: textGlow 2s ease-in-out infinite;
}

.timeline-card.has-gallery:hover .gallery-hint {
  opacity: 1;
  color: var(--color-primary);
}

.gallery-hint svg {
  flex-shrink: 0;
  animation: hintPulse 2s ease-in-out infinite;
}

/* Agenda Hint Animations */
@keyframes hintPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(84, 144, 76, 0)); }
  50% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(84, 144, 76, 0.5)); }
}

@keyframes textGlow {
  0%, 100% { opacity: 0.7; text-shadow: 0 0 0 rgba(84, 144, 76, 0); }
  50% { opacity: 1; text-shadow: 0 0 10px rgba(84, 144, 76, 0.3); }
}

/* Event Preview Floating Card */
.event-preview {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 180px;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  z-index: 20;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 100, 100, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8) rotate(5deg);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.timeline-item-right .event-preview {
  right: auto;
  left: -80px;
  transform: translateY(20px) scale(0.8) rotate(-5deg);
}

.timeline-card.has-gallery:hover .event-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1) rotate(0deg);
}

.event-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.timeline-card.has-gallery:hover .event-preview img {
  transform: scale(1.1);
}

.event-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

@media (max-width: 1024px) {
  .event-preview {
    display: none; /* Hide on smaller screens to avoid clutter */
  }
}

/* Gallery Modal - Compact Popup */
/* Gallery Modal - Modern Mosaic Redesign */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  perspective: 1000px;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

.gallery-container {
  position: relative;
  width: 95%;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
  border: 1px solid rgba(84, 144, 76, 0.2);
  
  /* Initial 3D state for entrance */
  transform: perspective(2000px) translate3d(0, 50px, -200px) rotateX(10deg);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.gallery-modal.active .gallery-container {
  transform: perspective(2000px) translate3d(0, 0, 0) rotateX(0deg);
  opacity: 1;
}

.gallery-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.gallery-modal.active .gallery-close {
  opacity: 1;
  transition-delay: 0.5s;
}

.gallery-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: rgba(239, 68, 68, 0.8);
  border-color: rgba(239, 68, 68, 0.4);
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-right: 3.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.gallery-modal.active .gallery-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.gallery-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-event-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  opacity: 0.8;
}

.gallery-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.gallery-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 0.2rem;
  margin-bottom: 0.4rem;
}

/* Mosaic Grid Layout */
.gallery-mosaic-wrapper {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-top: 0.5rem;
}

/* Custom scrollbar for mosaic */
.gallery-mosaic-wrapper::-webkit-scrollbar {
  width: 6px;
}
.gallery-mosaic-wrapper::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
}
.gallery-mosaic-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
}
.gallery-mosaic-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 1.25rem;
  perspective: 1000px;
}

.mosaic-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  
  /* Initial state for card-flip entrance */
  opacity: 0;
  transform: rotateX(-30deg) translateY(40px) scale(0.9) translateZ(-50px);
  filter: blur(10px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.gallery-modal.active .mosaic-item {
  opacity: 1;
  transform: rotateX(0) translateY(0) scale(1) translateZ(0);
  filter: blur(0);
}

/* Variation in spans for mosaic effect */
.mosaic-item:nth-child(4n+1) { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(7n) { grid-column: span 2; }
.mosaic-item:nth-child(10n) { grid-row: span 2; }

.mosaic-item img, .mosaic-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-item:hover img, .mosaic-item:hover video {
  transform: scale(1.1);
}

.mosaic-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mosaic-item:hover::after {
  opacity: 1;
}

/* Modal for Drive Video Iframe */
.drive-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1rem;
  background: #000;
}

@media (max-width: 768px) {
  .gallery-container {
    padding: 1.5rem;
    width: 92%;
    border-radius: 1.5rem;
  }
  
  .gallery-header {
    margin-bottom: 1.5rem;
  }
  
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.75rem;
  }
  
  .mosaic-item:nth-child(odd) { grid-column: span 1; grid-row: span 1; }
  .mosaic-item:nth-child(4n+1) { grid-column: span 2; grid-row: span 1; }
}

.gallery-thumb img,
.gallery-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery Empty State */
.gallery-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem;
}

.gallery-empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  opacity: 0.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Chatbot Voice Toggle */
.chatbot-voice-btn {
  color: rgba(255,255,255,0.7);
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-voice-btn:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

.chatbot-voice-btn.active {
  color: #54904c; /* Green active state */
  background: rgba(84, 144, 76, 0.1);
  animation: voicePulse 1.5s infinite;
}

@keyframes voicePulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 144, 76, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(84, 144, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 144, 76, 0); }
}

/* Slideshow Progress Bar */
.gallery-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.gallery-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  width: 0%;
  animation: progressSlide 2s linear infinite;
}

@keyframes progressSlide {
  from { width: 0%; }
  to { width: 100%; }
}

@media (max-width: 768px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
  }
  
  .gallery-media {
    min-height: 250px;
  }
  
  .gallery-thumb {
    width: 50px;
    height: 50px;
  }
}

/* Legacy Culture styles removed - see Identidad y Cultura Bento Grid section below */


/* ==========================================
   Animal Welfare Section
   ========================================== */

.section-animal {
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.animal-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.animal-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}

.animal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
  z-index: 1;
}

.animal-content {
  position: relative;
  z-index: 2;
}

.animal-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #064E3B;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(84, 144, 76, 0.4);
}

.animal-content .section-title {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.animal-content .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-item {
  position: absolute;
  font-size: 2rem;
  opacity: 0.8;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.paw-1 { top: 20%; left: 10%; animation: float 6s ease-in-out infinite; font-size: 3rem; transform: rotate(-15deg); }
.paw-2 { bottom: 30%; right: 15%; animation: float 7s ease-in-out infinite 1s; font-size: 2.5rem; transform: rotate(15deg); }
.heart-1 { top: 15%; right: 20%; animation: beat 1.5s ease-in-out infinite; color: #ef4444; }
.bone-1 { bottom: 20%; left: 15%; animation: float 8s ease-in-out infinite 2s; transform: rotate(45deg); }

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Proposals Cards */
.animal-proposals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: -80px;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

.animal-card {
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border-bottom: 4px solid var(--color-primary);
}

.animal-card:hover {
  transform: translateY(-10px);
}

.animal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: #ECFDF5;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

.animal-card h3 {
  color: var(--color-gray-900);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.animal-card p {
  color: var(--color-gray-600);
  font-size: 1rem;
  margin: 0;
}

/* Carousel */
.animal-gallery-section {
  padding-bottom: 4rem;
  text-align: center;
}

.gallery-title-small {
  font-size: 2rem;
  color: var(--color-gray-900);
  margin-bottom: 2rem;
  font-weight: 700;
}

.animal-carousel-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.animal-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.animal-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  min-width: 300px;
  max-width: 300px;
  aspect-ratio: 9/16;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background: #000;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.carousel-item:hover {
  transform: scale(1.03);
}

.carousel-item img, 
.carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  backdrop-filter: blur(4px);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-800);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--color-primary);
  color: #064E3B;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .animal-hero { height: auto; padding: 4rem 0; }
  .animal-proposals { margin-top: 0; }
  .animal-content .section-title { font-size: 2.5rem; }
  .carousel-item { min-width: 260px; max-width: 260px; }
}

/* ==========================================
   Footer Branding
   ========================================== */

.footer-branding {
  text-align: center;
  padding: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}

.footer-logo,
.footer-cobranding-logo {
  height: 220px;
  width: auto;
  opacity: 1;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.footer-cobranding-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 15px rgba(0,0,0,0.3));
}

/* ==========================================
   Google Drive Gallery Iframe
   ========================================== */

.drive-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
}

.drive-iframe {
  width: 100%;
  flex: 1;
  min-height: 50vh;
  border: none;
  background: #ffffff;
  border-radius: 8px;
}

.drive-overlay-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5));
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  text-align: center;
}

.drive-overlay-hint svg {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .drive-container {
    min-height: 50vh;
  }
  
  .drive-iframe {
    min-height: 40vh;
  }
  
  .drive-overlay-hint {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
}

/* Video Play Overlay for Carousel */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none;
}

.carousel-item:hover .video-play-overlay {
  background: var(--color-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay svg {
  margin-left: 4px;
}

/* Drive Video Iframe in Gallery */
.drive-video-iframe {
  display: none;
  width: 100%;
  height: 70vh;
  max-height: 600px;
  border: none;
  border-radius: 8px;
  background: #000;
}

.drive-video-iframe.active {
  display: block;
}



/* ==========================================
   Linktree Preview Styles
   ========================================== */
.linktree-preview-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
}

.linktree-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 1.5rem;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: perspective(1000px) rotateX(5deg);
  transition: all 0.4s ease;
}

.linktree-card:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 30px 60px rgba(255, 242, 0, 0.1);
}

.linktree-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.linktree-avatar {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-gray-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 0 20px rgba(84, 144, 76, 0.3);
}

.linktree-handle {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.linktree-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  background: white;
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-gray-900);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.link-item:hover {
  transform: scale(1.03);
  background: var(--color-accent);
  border-color: #385e35;
  color: #385e35;
}

.link-item.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  margin-top: 0.5rem;
}

.link-item.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.linktree-main-btn {
  width: 100%;
  max-width: 320px;
  justify-content: center;
  padding: 1rem !important;
  font-size: 1rem !important;
}

@media (max-width: 768px) {
  .linktree-card {
    max-width: 100%;
  }
  .linktree-main-btn {
    max-width: 100%;
  }
}

/* ==========================================
   Star Projects Section Styles
   ========================================== */
.section-projects {
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
  position: relative;
  overflow: hidden;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.project-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--color-primary);
  box-shadow: 0 50px 120px rgba(84, 144, 76, 0.15);
}

.project-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-video {
  transform: scale(1.1);
}

.video-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .video-controls {
  opacity: 1;
}

.audio-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.2s ease;
}

.audio-toggle:hover {
  background: var(--color-primary);
  color: var(--color-gray-900);
  transform: scale(1.1);
}

.audio-toggle svg {
  width: 20px;
  height: 20px;
}

.audio-toggle .hidden {
  display: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.project-card:hover .video-overlay {
  opacity: 0;
}

.play-hint {
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(84, 144, 76, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--color-primary);
  backdrop-filter: blur(5px);
}

.project-info {
  padding: 2.5rem;
}

.project-tag {
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.project-card h3 {
  color: white;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.project-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.project-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-highlights li {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.project-card:hover .project-highlights li {
  background: rgba(84, 144, 76, 0.1);
  transform: translateX(10px);
}

@media (max-width: 480px) {
  .project-info {
    padding: 1.5rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================
   Urban Explorer App Section Styles
   ========================================== */
.section-app {
  background: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
  overflow: hidden;
  padding: 8rem 0;
}

.app-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.app-content {
  position: relative;
  z-index: 2;
}

.reward-box {
  background: rgba(84, 144, 76, 0.05);
  border: 1px solid rgba(84, 144, 76, 0.2);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  margin: 2.5rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.reward-box:hover {
  transform: scale(1.02);
  border-color: var(--color-primary);
}

.reward-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(84, 144, 76, 0.5));
}

.reward-info h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.reward-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.app-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.app-features li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Download Button with Pulse */
.btn-download-app {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-primary);
  color: var(--color-gray-900);
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(84, 144, 76, 0.3);
  position: relative;
  animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(84, 144, 76, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(84, 144, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(84, 144, 76, 0); }
}

.btn-download-app:hover {
  transform: translateY(-5px);
  background: white;
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.btn-icon {
  font-size: 1.5rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-text small {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}

.btn-text span {
  font-size: 1.1rem;
}

/* Mobile Mockup Styles */
.app-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-device {
  width: 300px;
  height: 600px;
  background: #111;
  border-radius: 45px;
  border: 12px solid #222;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
  position: relative;
}

.app-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.app-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.app-slider img.active {
  opacity: 1;
}

/* Footer Styles */
.main-footer {
  padding: 4rem 0;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.main-footer.revealed {
  opacity: 1;
  transform: translateY(0);
}

.main-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(84, 144, 76, 0.05) 0%, transparent 70%);
  animation: footerGlow 8s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes footerGlow {
  0% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.main-footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 2;
}

.main-footer strong {
  color: var(--color-primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 0 4px;
}

.main-footer strong::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: developerScan 4s infinite ease-in-out;
}

@keyframes developerScan {
  0% { left: -100%; }
  30%, 100% { left: 200%; }
}

.device-home-btn {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #333;
  border-radius: 10px;
}

.mockup-shimmer {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(84, 144, 76, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}


/* Initial Pulse Animation for floating buttons */
@keyframes intense-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(84, 144, 76, 0.7); }
  50% { transform: scale(1.2); box-shadow: 0 0 20px 10px rgba(84, 144, 76, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(84, 144, 76, 0); }
}

.initial-pulse {
  animation: intense-pulse 1s ease-in-out 5 !important;
}

@media (max-width: 992px) {
  .app-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  .app-features {
    justify-content: center;
  }
  .reward-box {
    text-align: left;
  }
  .btn-download-app {
    margin: 0 auto;
  }
}

/* ==========================================
   Comprehensive Mobile Optimization (Overrides)
   ========================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem;
  }

  .section {
    padding: var(--section-padding) 1.25rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 2.25rem;
    text-align: center;
  }

  .section-subtitle {
    font-size: 1rem;
    text-align: center;
    padding: 0 0.5rem;
  }

  /* Navbar Adjustments */
  .navbar-logo img {
    height: 180px;
  }

  /* Hero Section */
  .hero-overlay {
    padding: 1rem;
  }

  .hero-cta-buttons {
    width: 100%;
    padding: 0 1rem;
  }

  .hero-cta-buttons .btn {
    width: 100%;
  }

  /* Bento Grid Pillars - Refinement */
  .bento-grid-pillars {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .pilar-card-v2 {
    border-radius: 20px !important;
    padding: 1.5rem !important;
    backdrop-filter: blur(20px);
  }

  .pilar-title-v2 {
    font-size: 2.2rem !important;
    letter-spacing: -1px !important;
    margin-bottom: 1.5rem !important;
  }

  .pilar-desc-v2 {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .pilar-stats-v2 {
    margin-bottom: 2rem !important;
  }

  /* Candidate Section */
  .candidate-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 2.5rem;
  }

  .candidate-bio p {
    font-size: 0.95rem;
  }

  .candidate-values {
    justify-content: center;
  }

  .candidate-signature {
    text-align: center;
    margin-top: 2rem;
  }

  /* Projects Grid */
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .project-card {
    border-radius: 24px;
  }

  /* App Section Features */
  .app-features {
    grid-template-columns: 1fr;
    text-align: left;
  }

  /* Floats */
  .whatsapp-float, .tiktok-float {
    right: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.85rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .pilar-title-v2 {
    font-size: 1.75rem;
  }

  .pilar-stats-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* ==========================================
   Identidad y Cultura - Bento Grid
   ========================================== */
.section-culture {
  background: #ffffff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.section-culture .badge-primary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-gray-900);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.culture-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 1.5rem;
  margin-top: 3rem;
}

.culture-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.culture-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  z-index: 10;
}

.culture-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.culture-card.tall {
  grid-row: span 2;
}

.culture-card.wide {
  grid-column: span 2;
}

/* Neutral theme for Identidad y Cultura */
.culture-card.accent-green, 
.culture-card.accent-yellow, 
.culture-card.accent-blue { 
  background: white; 
  color: var(--color-gray-900);
  border-top: 4px solid var(--color-accent); /* Changed from green to campaign accent gold */
}

.culture-card.accent-yellow {
  border-top-color: var(--color-accent);
}

.culture-card.accent-blue {
  border-top-color: var(--color-gray-300); /* Neutral gray */
}

.culture-card-content {
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Change to start for better flow in white cards */
}

.culture-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--color-gray-600);
  background: rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}

.culture-card.accent-yellow .culture-card-tag {
  color: var(--color-accent-dark);
  background: rgba(255, 242, 0, 0.1);
}

.culture-card.accent-blue .culture-card-tag {
  color: #4b5563; /* Neutral / Muted blue */
  background: rgba(0, 0, 0, 0.05);
}

.culture-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-gray-900);
}

.culture-card p {
  font-size: 1rem;
  color: var(--color-gray-600);
  line-height: 1.6;
}

.culture-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.culture-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.culture-card.has-video {
  min-height: 450px; /* Ensure videos have decent height */
}

.culture-card.has-video .culture-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  pointer-events: none;
  padding: 1.5rem;
  justify-content: flex-end;
}

.culture-card.has-video .culture-card-tag {
  color: var(--color-accent);
  background: rgba(255, 242, 0, 0.2);
  backdrop-filter: blur(4px);
  margin-bottom: 0.5rem;
}

.culture-card.has-video h3 {
  color: white;
  margin-bottom: 0;
  font-size: 1.25rem;
}

.culture-card.has-video p {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1024px) {
  .culture-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .culture-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(280px, auto);
  }
  .culture-card.large, .culture-card.wide, .culture-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ==========================================
   Interviews / Press Section Styles
   ========================================== */
.section-press {
  background: white;
  color: var(--color-gray-900);
  padding: 6rem 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.press-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.press-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.press-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.press-video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.press-content {
  padding: 2rem;
  flex-grow: 1;
}

.press-source-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.press-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: #1a202c;
}

.press-footer {
  padding: 1.5rem 2rem;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.press-attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.source-icon {
  width: 32px;
  height: 32px;
  background: #edf2f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.source-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray-600);
}

.press-date {
  font-size: 0.8rem;
  color: var(--color-gray-400);
}

@media (max-width: 768px) {
  .press-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Authorship Credits */
.dev-credits {
  background: #1a1a1a;
  color: #a0a0a0;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid #333;
}

.dev-credits p {
  font-size: 0.9rem;
  margin: 0;
  letter-spacing: 0.5px;
}

.dev-credits strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ==============================================
   MOBILE RESPONSIVE OVERHAUL
   ============================================== */

/* --- Global overflow prevention --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* --- Tablets and below (max-width: 768px) --- */
@media (max-width: 768px) {

  /* Force all sections to stay within viewport */
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .section {
    padding: 3rem 0;
  }

  /* === TABS NAVIGATION === */
  .tabs-nav-container {
    padding: 0.25rem 0 !important;
  }

  .tabs-nav-wrapper {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .tabs-logo {
    height: 48px !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  .tabs-logo img {
    height: 100% !important;
    width: auto !important;
  }

  .tabs-navigation {
    width: auto !important;
    flex: 1;
    justify-content: flex-start !important;
    gap: 0.25rem !important;
    padding: 0 0.25rem !important;
    margin-left: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .tab-btn {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    flex-shrink: 0;
    scroll-snap-align: start;
    white-space: nowrap !important;
  }

  /* === HERO SECTION === */
  .hero-poster {
    min-height: auto;
  }

  .hero-poster-container {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }

  .hero-photo-area {
    order: 1 !important;
    width: 100% !important;
    height: 50vh !important;
    min-height: 50vh !important;
    position: relative;
  }
  
  .hero-slide {
    object-position: center top !important;
  }

  .hero-diagonal-stripe {
    display: none !important; /* This was breaking the mobile layout */
  }

  .hero-green-panel {
    order: 2 !important;
    width: 100% !important;
    padding: 2.5rem 1.5rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-campaign-logo {
    max-width: 180px !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-poster-title {
    font-size: 2rem !important;
    line-height: 1.1 !important;
  }

  .hero-poster-subtitle {
    font-size: 1rem !important;
    margin-top: 0.5rem !important;
  }

  .hero-cta-area {
    align-items: center !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-top: 1.5rem !important;
  }

  .hero-cta-area .btn {
    width: 100% !important;
    max-width: 280px !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .hero-bottom-bar {
    order: 3 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 1.5rem 1rem !important;
  }

  .hero-badge-tuyo {
    height: 30px;
  }

  .hero-badge-asp {
    height: 25px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* === VISION / PROPOSAL SECTION === */
  .vision-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .vision-tabs {
    flex-direction: column;
    border-radius: 1.25rem;
    width: 100%;
  }

  .vision-tab {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
  }

  .tab-glider {
    width: calc(100% - 1rem) !important;
    left: 0.5rem !important;
  }

  .vision-content-wrapper {
    min-height: auto;
  }

  .vision-text h3 {
    font-size: 1.75rem;
  }

  .vision-text p {
    font-size: 1rem;
  }

  .vision-image {
    max-height: 300px;
  }

  .image-overlay {
    padding: 1.5rem;
  }

  .overlay-caption strong {
    font-size: 1.1rem;
  }

  .overlay-caption p {
    font-size: 0.85rem;
  }

  .overlay-badge {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .stat-box {
    padding: 0.85rem 0.3rem;
    border-radius: 0.75rem;
  }

  .stat-icon {
    font-size: 1.3rem;
  }

  .stat-box strong {
    font-size: 0.75rem;
  }

  .stat-box p {
    font-size: 0.7rem;
  }

  /* === TIMELINE / AGENDA === */
  .timeline {
    max-width: 100%;
  }

  .timeline-item {
    gap: 1rem;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
  }

  .timeline-card {
    padding: 1rem;
  }

  .event-location {
    font-size: 1rem;
  }

  /* === SECTION HEADERS === */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* === PILLARS SECTION === */
  .section-pillars {
    padding: 4rem 0;
  }

  .brochure-container {
    grid-template-columns: 1fr;
    border-radius: 16px;
    margin-top: 2rem;
  }

  .brochure-panel {
    min-height: auto;
    padding: 2rem 1.25rem;
  }

  .panel-yellow .panel-tag {
    font-size: 1.8rem;
  }

  .panel-white .panel-title {
    font-size: 1.6rem;
    padding: 0.4rem 1.25rem;
    margin-bottom: 2rem;
  }

  .panel-green .panel-title {
    font-size: 2.5rem;
  }

  .bulb-container {
    width: 200px;
    height: 200px;
  }

  .pilar-card-v2 {
    border-radius: 24px !important;
    padding: 1.75rem !important;
  }

  .pilar-title-v2 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .pilar-desc-v2 {
    font-size: 0.95rem;
  }

  .pilar-stats-v2 {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .stat-num {
    font-size: 2.5rem;
  }

  .stat-suffix {
    font-size: 1.5rem;
  }

  .stat-txt {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }

  .pilar-chart-bars-v2 {
    height: 120px;
    gap: 1.5rem;
  }

  .pilar-icons-v2 {
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  /* === CANDIDATE SECTION === */
  .candidate-grid {
    gap: 2rem;
  }

  .candidate-bio p {
    font-size: 1rem;
  }

  .floating-card {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
  }

  /* === TRANSPARENCY TABLE === */
  .table-row {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
  }

  .table-value {
    align-self: flex-start;
  }

  /* === PODCAST / STUDIO === */
  .episode-title {
    font-size: 1.75rem;
    letter-spacing: 0;
  }

  .monitor-frame {
    padding: 0.75rem 0.75rem 0;
    transform: none;
  }

  .monitor-chin {
    height: 2rem;
    padding: 0 0.75rem;
  }

  /* === APP SECTION === */
  .section-app {
    padding: 4rem 0;
  }

  .app-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .app-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .mobile-device {
    width: 220px;
    height: 440px;
    border-radius: 32px;
    border-width: 8px;
    margin: 0 auto;
  }

  .reward-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }

  /* === PROJECTS SECTION === */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-info {
    padding: 1.5rem;
  }

  .project-card h3 {
    font-size: 1.35rem;
  }

  /* === ANIMAL SECTION === */
  .animal-proposals {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 0;
    padding: 0 0.5rem;
  }

  .carousel-item {
    min-width: 240px;
    max-width: 240px;
  }

  /* === FLOATING BUTTONS (WhatsApp, TikTok, Chatbot, APK) === */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }

  .tiktok-float {
    bottom: 5rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }

  .tiktok-tooltip,
  .whatsapp-tooltip {
    display: none;
  }

  /* === APK WIDGET - Full redesign for mobile === */
  .apk-widget {
    bottom: 5rem;
    left: 1.25rem;
  }

  .apk-toggle {
    width: 48px;
    height: 48px;
  }

  .apk-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: calc(100vw - 2rem);
    max-width: 320px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10000;
  }

  .apk-widget.active .apk-window {
    transform: translate(-50%, -50%) scale(1);
  }

  .apk-slider-container {
    height: 100px;
  }

  /* === CHATBOT WIDGET === */
  .chatbot-widget {
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .chatbot-toggle {
    width: 48px;
    height: 48px;
  }

  .chatbot-window {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px) scale(0.95);
    width: calc(100vw - 2rem);
    max-width: 340px;
    max-height: 75vh;
    z-index: 10000;
  }

  .chatbot-widget.active .chatbot-window {
    transform: translate(-50%, -50%) translateY(0) scale(1);
  }

  /* === FOOTER === */
  .main-footer {
    padding: 2.5rem 0;
  }

  .footer-logo,
  .footer-cobranding-logo {
    height: 120px;
  }

  /* === LOADER === */
  .loader-content {
    width: 280px;
  }

  .loader-logo-img {
    width: 280px;
  }

  /* Vision 7 Items */
  .vision-7-item {
    gap: 1rem;
  }

  .vision-7-icon {
    width: 40px;
    height: 40px;
  }

  .vision-7-text {
    font-size: 0.95rem;
  }

  /* Obras Timeline */
  .obras-timeline {
    padding-left: 2rem;
  }
}

/* --- Small phones (max-width: 480px) --- */
@media (max-width: 480px) {

  .container {
    padding: 0 0.75rem;
  }

  /* Tabs even smaller */
  .tabs-logo {
    height: 60px;
  }

  .tab-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }

  /* Hero */
  .hero-poster-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .hero-photo-area {
    height: 40vh !important;
    min-height: 40vh !important;
    width: 100% !important;
  }

  .hero-campaign-logo {
    max-width: 140px !important;
    margin-bottom: 1rem !important;
  }

  .hero-poster-title {
    font-size: 1.6rem !important;
  }

  .hero-poster-subtitle {
    font-size: 0.9rem !important;
  }

  .hero-green-panel {
    padding: 2rem 1rem !important;
    width: 100% !important;
  }

  .hero-badge-cobranding {
    height: 80px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  /* Pillar cards */
  .pilar-title-v2 {
    font-size: 1.6rem;
  }

  .pilar-card-v2 {
    padding: 1.25rem !important;
    border-radius: 20px !important;
  }

  .pilar-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
  }

  /* Stats */
  .pilar-stats-v2 {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .stat-num {
    font-size: 2rem;
  }

  /* APK window */
  .apk-window {
    max-width: 290px;
  }

  /* Chatbot */
  .chatbot-window {
    max-width: 300px;
  }

  /* Studio */
  .episode-title {
    font-size: 1.35rem;
  }

  .podcast-host {
    padding: 0.35rem 0.75rem;
  }

  /* Feature cards */
  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  /* Steps */
  .step-item {
    gap: 0.75rem;
  }

  .step-number {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  /* Vision tabs */
  .vision-tabs {
    padding: 0.35rem;
  }

  .vision-tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .tab-icon {
    font-size: 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .btn-premium {
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
  }

  /* Press grid */
  .press-grid {
    grid-template-columns: 1fr;
  }

  /* Floating buttons stack properly */
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
  }

  .tiktok-float {
    bottom: 4.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .apk-widget {
    bottom: 4.5rem;
    left: 1rem;
  }

  .apk-toggle {
    width: 44px;
    height: 44px;
  }

  .chatbot-widget {
    bottom: 1rem;
    left: 1rem;
  }

  .chatbot-toggle {
    width: 44px;
    height: 44px;
  }

  /* Brochure panels */
  .brochure-panel {
    padding: 1.5rem 1rem;
  }

  .panel-green .panel-title {
    font-size: 2rem;
  }

  .panel-yellow .panel-tag {
    font-size: 1.5rem;
  }

  .panel-white .panel-title {
    font-size: 1.3rem;
    padding: 0.3rem 1rem;
    margin-bottom: 1.5rem;
  }

  /* Quote */
  .quote-box {
    padding: 1rem;
    font-size: 1rem;
  }

  /* Linktree */
  .linktree-card {
    transform: none;
    padding: 1rem;
  }

  /* App mockup */
  .mobile-device {
    width: 180px;
    height: 360px;
    border-radius: 28px;
    border-width: 6px;
  }
}

/* --- APK overlay backdrop on mobile --- */
@media (max-width: 768px) {
  .apk-widget.active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .chatbot-widget.active::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
}

/* Fix for gallery hint text */
.gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--color-gray-500);
}


