* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fafaf9;
  --color-fg: #0a0908;
  --color-primary: #166534;
  --color-primary-light: #22c55e;
  --color-secondary: #292524;
  --color-accent: #d4af37;
  --color-muted: #e7e5e4;
  --color-muted-fg: #57534e;
  --color-border: #d6d3d1;
  --color-card: #ffffff;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #128c7e;
  --transition: all 0.3s ease;
}

html.dark-mode {
  --color-bg: #0a0a0a;
  --color-fg: #f5f5f5;
  --color-muted-fg: #b0b0b0;
  --color-card: #1a1a1a;
  --color-border: #333333;
  --color-primary: #4ade80;
  --color-primary-light: rgba(74, 222, 128, 0.15);
  --color-accent: #22c55e;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Mobile container padding improved */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* =====================================================
   ANIMATED BACKGROUND - All animations preserved
   ===================================================== */
.animated-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(22, 101, 52, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 80%, rgba(22, 101, 52, 0.04) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.1) rotate(1deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(-1deg);
  }
  75% {
    opacity: 0.9;
    transform: scale(0.98) rotate(0.5deg);
  }
}

.bg-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.2;
}

.particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(2) {
  top: 20%;
  left: 80%;
  animation: particleFloat 12s ease-in-out infinite 1s;
}
.particle:nth-child(3) {
  top: 60%;
  left: 10%;
  animation: particleFloat 10s ease-in-out infinite 2s;
}
.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation: particleFloat 14s ease-in-out infinite 3s;
}
.particle:nth-child(5) {
  top: 40%;
  left: 50%;
  animation: particleFloat 9s ease-in-out infinite 4s;
}
.particle:nth-child(6) {
  top: 70%;
  left: 30%;
  animation: particleFloat 11s ease-in-out infinite 5s;
}
.particle:nth-child(7) {
  top: 30%;
  left: 60%;
  animation: particleFloat 13s ease-in-out infinite 6s;
}
.particle:nth-child(8) {
  top: 90%;
  left: 40%;
  animation: particleFloat 15s ease-in-out infinite 7s;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate(30px, -40px) scale(1.5);
    opacity: 0.4;
  }
  50% {
    transform: translate(-20px, 20px) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(40px, 30px) scale(1.2);
    opacity: 0.5;
  }
}

/* =====================================================
   FLOATING CHARTS - All animations preserved
   ===================================================== */
.floating-charts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-chart {
  position: absolute;
  color: var(--color-primary);
  opacity: 0.15;
  animation: floatAdvanced 8s ease-in-out infinite;
}

.chart-1 {
  width: 80px;
  top: 100px;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 10s;
}
.chart-2 {
  width: 100px;
  top: 200px;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 12s;
}
.chart-3 {
  width: 70px;
  bottom: 200px;
  left: 20%;
  animation-delay: 4s;
  animation-duration: 14s;
}
.chart-4 {
  width: 80px;
  bottom: 100px;
  right: 25%;
  animation-delay: 1s;
  animation-duration: 11s;
}
.chart-5 {
  width: 60px;
  top: 50%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 13s;
}
.chart-6 {
  width: 100px;
  top: 300px;
  right: 5%;
  animation-delay: 5s;
  animation-duration: 15s;
}

/* Hide floating charts on very small mobile screens */
@media (max-width: 480px) {
  .floating-charts {
    display: none;
  }
}

@keyframes floatAdvanced {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) rotate(5deg) scale(1.1);
  }
  50% {
    transform: translateY(-15px) rotate(-3deg) scale(0.95);
  }
  75% {
    transform: translateY(-25px) rotate(2deg) scale(1.05);
  }
}

.bar-anim {
  animation: barGrowAdvanced 2s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrowAdvanced {
  0% {
    transform: scaleY(0);
  }
  60% {
    transform: scaleY(1.1);
  }
  80% {
    transform: scaleY(0.95);
  }
  100% {
    transform: scaleY(1);
  }
}

.line-anim {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: lineDraw 2s ease-out forwards;
}

@keyframes lineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.donut-anim {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: donutFill 1.5s ease-out forwards;
}

@keyframes donutFill {
  to {
    stroke-dashoffset: 40;
  }
}

/* =====================================================
   HEADER - Mobile optimized
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

html.dark-mode .header {
  background: rgba(10, 10, 10, 0.9);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Mobile nav container padding */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Mobile nav height reduced */
@media (max-width: 768px) {
  .nav-content {
    height: 60px;
    gap: 8px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateSlow 15s linear infinite;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-fg);
}

/* Mobile logo sizing */
@media (max-width: 480px) {
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  .logo-icon svg {
    width: 20px;
    height: 20px;
  }
  .logo-text {
    font-size: 18px;
  }
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: var(--color-muted-fg);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-fg);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile header actions */
@media (max-width: 480px) {
  .header-actions {
    gap: 8px;
  }
}

.dark-mode-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.dark-mode-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: scale(1.05);
}

.dark-mode-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-fg);
}

.dark-mode-btn .icon-sun {
  display: block;
}
.dark-mode-btn .icon-moon {
  display: none;
}
html.dark-mode .dark-mode-btn .icon-sun {
  display: none;
}
html.dark-mode .dark-mode-btn .icon-moon {
  display: block;
}

/* Mobile dark mode button */
@media (max-width: 480px) {
  .dark-mode-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .dark-mode-btn svg {
    width: 18px;
    height: 18px;
  }
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-whatsapp);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp .whatsapp-text {
  display: none;
}

@media (min-width: 768px) {
  .btn-whatsapp .whatsapp-text {
    display: inline;
  }
}

/* Mobile WhatsApp button - icon only */
@media (max-width: 480px) {
  .btn-whatsapp {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .btn-whatsapp svg {
    width: 18px;
    height: 18px;
  }
}

/* =====================================================
   HERO SECTION - Mobile optimized
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: visible;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-muted) 100%);
}

/* Mobile hero padding and height */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 40px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 16px 32px;
  }
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
  animation: bounceSubtle 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.badge:hover {
  background: #000;
  border-color: #000;
}

.badge:hover .badge-icon,
.badge:hover span {
  color: #fff;
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: #000;
  flex-shrink: 0;
}

.badge span {
  font-size: 13px;
  color: #000;
  font-weight: 500;
}

/* Mobile badge sizing */
@media (max-width: 480px) {
  .badge {
    padding: 6px 12px;
    margin-bottom: 16px;
    gap: 6px;
  }
  .badge-icon {
    width: 14px;
    height: 14px;
  }
  .badge span {
    font-size: 11px;
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: scaleIn 1.2s ease-out;
}

.hero-title-new {
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(1.5rem, 5vw, 4rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Mobile hero title sizing */
@media (max-width: 480px) {
  .hero-title-new {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 16px;
  }
}

.highlight-impulsa {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  font-weight: 900;
  animation: impulsaEntrance 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  text-shadow: 0 0 30px rgba(22, 101, 52, 0.5);
}

.highlight-impulsa::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: shimmerLine 2s linear infinite;
}

/* Mobile impulsa underline */
@media (max-width: 480px) {
  .highlight-impulsa::before {
    height: 3px;
    bottom: -3px;
  }
}

@keyframes impulsaEntrance {
  0% {
    opacity: 0;
    transform: translateX(-150px) rotate(-20deg) scale(0.3);
    filter: blur(10px);
  }
  40% {
    opacity: 1;
    transform: translateX(30px) rotate(5deg) scale(1.2);
    filter: blur(0);
  }
  60% {
    transform: translateX(-15px) rotate(-3deg) scale(0.9);
  }
  80% {
    transform: translateX(8px) rotate(1deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0) scale(1);
  }
}

@keyframes shimmerLine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* =====================================================
   HERO IMAGES CAROUSEL - Mobile optimized
   ===================================================== */
.hero-images-carousel {
  width: 150%;
  max-width: 1900px;
  margin-left: -25%;
  overflow: hidden;
  position: relative;
  height: 280px;
  border-radius: 16px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.hero-images-carousel::before,
.hero-images-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-images-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.hero-images-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.hero-images-track {
  display: flex;
  gap: 24px;
  animation: scrollImagesRight 40s linear infinite;
  will-change: transform;
}

.hero-image-item {
  flex-shrink: 0;
  width: 500px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-image-item:hover {
  transform: scale(1.05);
  z-index: 1;
}

.hero-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes scrollImagesRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-500px * 4 - 24px * 4));
  }
}

/* Tablet carousel sizing */
@media (max-width: 768px) {
  .hero-images-carousel {
    height: 180px;
    width: 120%;
    margin-left: -10%;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .hero-images-carousel::before,
  .hero-images-carousel::after {
    width: 60px;
  }

  .hero-image-item {
    width: 300px;
    height: 180px;
  }

  .hero-images-track {
    gap: 16px;
  }

  @keyframes scrollImagesRight {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 4 - 16px * 4));
    }
  }
}

/* Mobile carousel sizing - optimized for 430px screens */
@media (max-width: 480px) {
  .hero-images-carousel {
    height: 140px;
    width: 110%;
    margin-left: -5%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .hero-images-carousel::before,
  .hero-images-carousel::after {
    width: 40px;
  }

  .hero-image-item {
    width: 220px;
    height: 140px;
    border-radius: 8px;
  }

  .hero-images-track {
    gap: 12px;
  }

  @keyframes scrollImagesRight {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-220px * 4 - 12px * 4));
    }
  }
}

/* =====================================================
   HERO BUTTONS - Mobile stacked layout
   ===================================================== */
.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  flex-wrap: wrap;
}

/* Mobile buttons - stacked vertically with proper spacing */
@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 32px auto;
    padding: 0 16px;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-secondary);
  color: white;
  border: 2px solid var(--color-secondary);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  transform: scale(1.05);
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

/* Mobile secondary button */
@media (max-width: 640px) {
  .btn-secondary {
    width: 100%;
    padding: 4px 44px;
    font-size: 15px;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-fg);
  border: 2px solid var(--color-border);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-play-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  overflow: visible;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: rgba(22, 101, 52, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-play-animated:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(22, 101, 52, 0.3);
}

/* Mobile play button */
@media (max-width: 640px) {
  .btn-play-animated {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    gap: 10px;
  }
}

.play-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.play-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.btn-play-animated:hover .play-icon {
  transform: scale(1.2);
  animation: playBounce 0.6s ease-in-out infinite;
}

.play-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  animation: pulsate 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.play-pulse-2 {
  animation-delay: 0.8s;
}
.play-pulse-3 {
  animation-delay: 1.6s;
}

@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@keyframes playBounce {
  0%,
  100% {
    transform: scale(1.2) translateX(0);
  }
  50% {
    transform: scale(1.2) translateX(3px);
  }
}

.play-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Mobile play icon container */
@media (max-width: 480px) {
  .play-icon-container {
    width: 28px;
    height: 28px;
  }
  .play-icon {
    width: 16px;
    height: 16px;
  }
}

/* Sticky button styles */
[data-sticky-button] .btn-icon {
  display: none;
}

[data-sticky-button].sticky-active {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 9999 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  animation: slideUp 0.3s ease-out !important;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile sticky button - circular */
@media (max-width: 768px) {
  [data-sticky-button].sticky-active {
    bottom: 20px !important;
    right: 16px !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  [data-sticky-button].sticky-active .btn-text,
  [data-sticky-button].sticky-active .icon-arrow {
    display: none !important;
  }

  [data-sticky-button].sticky-active .btn-icon {
    display: flex !important;
    font-size: 18px !important;
  }
}

.stats-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  animation: fadeInUp 1s ease-out 0.8s backwards;
}

.stat-item {
  text-align: center;
}
.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--color-muted-fg);
}

@media (min-width: 640px) {
  .stats-grid {
    display: grid;
  }
}

/* Mobile stats grid */
@media (max-width: 640px) {
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .stat-number {
    font-size: 1.25rem;
  }
  .stat-label {
    font-size: 11px;
  }
}

.decorative-chart {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.decorative-chart svg {
  width: 400px;
  height: 300px;
  color: var(--color-primary);
}

/* Hide decorative chart on mobile */
@media (max-width: 768px) {
  .decorative-chart {
    display: none;
  }
}

/* =====================================================
   INDUCTION SECTION - Mobile optimized
   ===================================================== */
.induction-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(231, 229, 228, 0.5) 0%, rgba(250, 250, 249, 1) 100%);
  overflow: hidden;
}

/* Mobile induction section padding */
@media (max-width: 480px) {
  .induction-section {
    padding: 48px 0;
  }
}

.induction-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Mobile induction header */
@media (max-width: 480px) {
  .induction-header {
    margin-bottom: 32px;
    padding: 0 16px;
  }
}

.education-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.education-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 101, 52, 0.3);
}

.education-logo svg {
  width: 32px;
  height: 32px;
  color: white;
}

/* Mobile education logo */
@media (max-width: 480px) {
  .education-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
  }
  .education-logo svg {
    width: 26px;
    height: 26px;
  }
}

.education-tagline {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Mobile education tagline */
@media (max-width: 480px) {
  .education-tagline {
    font-size: 1rem;
  }
}

.induction-badge {
  display: inline-block;
  background: rgba(48, 213, 79, 0.1);
  color: #429862;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(43, 162, 34, 0.2);
}

/* Mobile induction badge */
@media (max-width: 480px) {
  .induction-badge {
    padding: 6px 16px;
    font-size: 12px;
  }
}

.induction-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-fg);
}

/* Mobile induction title */
@media (max-width: 480px) {
  .induction-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }
}

.text-danger {
  color: var(--color-primary);
}

.induction-row {
  position: relative;
  overflow: hidden;
  padding: 12px 0;
  margin-bottom: 16px;
}

/* Mobile induction row */
@media (max-width: 480px) {
  .induction-row {
    padding: 8px 0;
    margin-bottom: 12px;
  }
}

.induction-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

/* Mobile induction track gap */
@media (max-width: 480px) {
  .induction-track {
    gap: 10px;
  }
}

.scroll-right .induction-track {
  animation: scrollRight 25s linear infinite;
}

.scroll-left .induction-track {
  animation: scrollLeft 25s linear infinite;
}

@keyframes scrollRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.induction-row:hover .induction-track {
  animation-play-state: paused;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
  border: 1px solid rgba(111, 212, 122, 0.05);
  flex-shrink: 0;
}

.mini-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile mini-card sizing - larger and more readable */
@media (max-width: 480px) {
  .mini-card {
    padding: 10px 14px;
    gap: 8px;
    border-radius: 30px;
  }
}

.mini-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-icon svg {
  width: 20px;
  height: 20px;
}

/* Mobile mini-icon sizing */
@media (max-width: 480px) {
  .mini-icon {
    width: 24px;
    height: 24px;
  }
  .mini-icon svg {
    width: 16px;
    height: 16px;
  }
}

.mini-card span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-fg);
}

/* Mobile mini-card text */
@media (max-width: 480px) {
  .mini-card span:last-child {
    font-size: 12px;
  }
}

/* =====================================================
   SERVICES SECTION - Mobile optimized
   ===================================================== */
.services {
  position: relative;
  padding: 60px 0 40px;
  background: rgba(231, 229, 228, 0.3);
  overflow: visible;
}

/* Mobile services padding */
@media (max-width: 480px) {
  .services {
    padding: 10px 0 1px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* Mobile section header */
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 32px;
  }
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-fg);
}

/* Mobile section title */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.cards-stack-container {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 15vh;
  max-width: 700px;
  margin: 0 auto;
}

/* Mobile cards container */
@media (max-width: 480px) {
  .cards-stack-container {
    padding-bottom: 2vh;
  }
}

.service-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
  position: sticky;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0.08);
  min-height: 200px;
  margin-bottom: 30px;
  will-change: transform;
}

.service-card:nth-child(1) {
  top: 80px;
  z-index: 101;
}
.service-card:nth-child(2) {
  top: 100px;
  z-index: 102;
}
.service-card:nth-child(3) {
  top: 120px;
  z-index: 103;
}

/* Mobile service card */
@media (max-width: 480px) {
  .service-card {
    padding: 20px;
    margin-bottom: 16px;
    min-height: auto;
    border-radius: 16px;
  }
  .service-card:nth-child(1) {
    top: 70px;
  }
  .service-card:nth-child(2) {
    top: 85px;
  }
  .service-card:nth-child(3) {
    top: 100px;
  }
}

.service-card.is-stacked {
  transform: scale(0.96);
  opacity: 0.85;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(22, 101, 52, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
}

/* Mobile service icon */
@media (max-width: 480px) {
  .service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
  }
  .service-icon svg {
    width: 24px;
    height: 24px;
  }
}

.service-title {
  font-family: "Playfair Display", serif;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-fg);
}

/* Mobile service title */
@media (max-width: 480px) {
  .service-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
}

.service-description {
  color: var(--color-muted-fg);
  line-height: 1.6;
  font-size: 15px;
}

/* Mobile service description */
@media (max-width: 480px) {
  .service-description {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Added video styles for service cards in asesoría section */
/* Video styles for service cards */
.service-card-video {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-video:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.service-video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4) 50%, transparent);
  padding: 24px 20px;
  display: flex;
  align-items: flex-end;
  min-height: 100px;
}

.service-card-video .service-title {
  color: white;
  margin: 0;
  font-size: 1.3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-card-video .service-icon,
.service-card-video .service-description {
  display: none;
}

/* Tablet video cards */
@media (max-width: 768px) {
  .service-video {
    height: 220px;
  }
  .service-video-overlay {
    padding: 20px 16px;
    min-height: 80px;
  }
  .service-card-video .service-title {
    font-size: 1.1rem;
  }
}

/* Mobile video cards - optimized for 430px */
@media (max-width: 480px) {
  .service-video {
    height: 180px;
    border-radius: 16px 16px 0 0;
  }
  .service-video-overlay {
    padding: 16px 14px;
    min-height: 60px;
  }
  .service-card-video .service-title {
    font-size: 1rem;
  }
  .service-card-video {
    border-radius: 16px;
  }
}

/* =====================================================
   EXPERTISE/TOOLS SECTION - Mobile optimized
   ===================================================== */
.expertise {
  padding: 60px 0;
}

/* Mobile expertise padding */
@media (max-width: 480px) {
  .expertise {
    padding: 40px 0;
  }
}

.expertise-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

/* Mobile expertise grid */
@media (max-width: 480px) {
  .expertise-grid {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.reviews-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-fg);
  margin-bottom: 1rem;
}

.reviews-title .text-primary {
  color: var(--color-primary);
}

/* Mobile reviews title */
@media (max-width: 480px) {
  .reviews-title {
    font-size: 1.5rem;
  }
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.stat-text-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(214, 211, 209, 0.3);
}

.stat-text-item:last-child {
  border-bottom: none;
}

.stat-text-item .stat-label {
  font-size: 14px;
  color: var(--color-muted-fg);
  font-weight: 500;
}

.stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Mobile stat text items */
@media (max-width: 480px) {
  .stat-text-item .stat-label {
    font-size: 13px;
  }
  .stat-value {
    font-size: 0.9rem;
  }
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Mobile tools grid */
@media (max-width: 480px) {
  .tools-grid {
    gap: 12px;
    margin-top: 24px;
  }
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: circularRotate 4s ease-in-out infinite;
}

.tool-card:nth-child(1) {
  animation-delay: 0s;
}
.tool-card:nth-child(2) {
  animation-delay: 0.5s;
}
.tool-card:nth-child(3) {
  animation-delay: 1s;
}

@keyframes circularRotate {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(8px, -8px);
  }
  50% {
    transform: translate(0, -12px);
  }
  75% {
    transform: translate(-8px, -8px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.tool-card:hover {
  animation-play-state: paused;
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

/* Mobile tool card */
@media (max-width: 480px) {
  .tool-card {
    padding: 16px;
    gap: 12px;
    border-radius: 12px;
  }
}

@media (min-width: 640px) {
  .tool-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
}

.tool-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--color-primary), #22c55e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.tool-card:hover .tool-icon {
  transform: scale(1.1) rotate(5deg);
}

.tool-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

/* Mobile tool icon */
@media (max-width: 480px) {
  .tool-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
  }
  .tool-icon svg {
    width: 22px;
    height: 22px;
  }
}

.tool-content {
  flex: 1;
}

.tool-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: 4px;
}

/* Mobile tool title */
@media (max-width: 480px) {
  .tool-title {
    font-size: 0.95rem;
  }
}

.tool-desc {
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  line-height: 1.4;
}

/* Mobile tool description */
@media (max-width: 480px) {
  .tool-desc {
    font-size: 0.8rem;
  }
}

.tool-arrow {
  font-size: 1.5rem;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.tool-card:hover .tool-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 640px) {
  .tool-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.25rem;
  }
}

.live-stats-card {
  background: var(--color-card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Mobile stats card */
@media (max-width: 480px) {
  .live-stats-card {
    padding: 20px;
    border-radius: 16px;
  }
}

.chart-container {
  width: 100%;
  flex: 1;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

/* Mobile chart container */
@media (max-width: 480px) {
  .chart-container {
    min-height: 150px;
  }
}

.growth-chart {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bar-gray {
  fill: #e5e7eb;
}
.bar-green {
  fill: var(--color-primary);
}

/* ==========================================
   REVIEWS SECTION - RESEÑAS
   ========================================== */
.reviews-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8faf8 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.reviews-header {
  text-align: center;
  margin-bottom: 4rem;
}

.reviews-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.1), rgba(34, 197, 94, 0.1));
  color: var(--color-secondary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(22, 101, 52, 0.2);
}

.reviews-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-fg);
  margin-bottom: 1rem;
}

.reviews-title .text-primary {
  color: var(--color-secondary);
}

.reviews-subtitle {
  font-size: 1.1rem;
  color: var(--color-muted-fg);
  max-width: 600px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(22, 101, 52, 0.08);
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(22, 101, 52, 0.2);
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-fg);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.author-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-fg);
  margin-bottom: 2px;
}

.author-info p {
  font-size: 13px;
  color: var(--color-muted-fg);
}

/* Formulario de reseña */
.add-review-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(22, 101, 52, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.add-review-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--color-fg);
  margin-bottom: 1.5rem;
  text-align: center;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-fg);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: white;
  box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.star-rating {
  display: flex;
  gap: 8px;
}

.star-rating .star {
  font-size: 32px;
  color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.active {
  color: #fbbf24;
  transform: scale(1.1);
}

.btn-submit-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-submit-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 101, 52, 0.35);
}

.btn-submit-review svg {
  width: 20px;
  height: 20px;
}

.review-card.new-review {
  animation: slideInReview 0.5s ease forwards;
}

@keyframes slideInReview {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =====================================================
   FOOTER - Mobile optimized
   ===================================================== */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
}

/* Mobile footer padding */
@media (max-width: 480px) {
  .footer {
    padding: 40px 0 24px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Mobile footer grid */
@media (max-width: 480px) {
  .footer-grid {
    gap: 32px;
    margin-bottom: 32px;
  }
}

.footer-description {
  color: var(--color-muted-fg);
  font-size: 14px;
  margin-top: 12px;
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 16px;
}

/* Mobile footer links */
@media (max-width: 480px) {
  .footer-links h4 {
    margin-bottom: 12px;
    font-size: 15px;
  }
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-muted-fg);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-fg);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 14px;
  color: var(--color-muted-fg);
}

/* Mobile footer bottom */
@media (max-width: 480px) {
  .footer-bottom {
    padding-top: 24px;
  }
  .footer-bottom p {
    font-size: 12px;
  }
}

/* =====================================================
   ANIMATIONS - All preserved
   ===================================================== */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceSubtle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   VIDEO MODAL - CASOS DE ÉXITO
   ===================================================== */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  z-index: 1;
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
  object-fit: contain;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    border-radius: 12px;
  }
  .video-modal-close {
    top: -45px;
    right: 5px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fafaf9;
  --color-fg: #0a0908;
  --color-primary: #166534;
  --color-primary-light: #22c55e;
  --color-secondary: #292524;
  --color-accent: #d4af37;
  --color-muted: #e7e5e4;
  --color-muted-fg: #57534e;
  --color-border: #d6d3d1;
  --color-card: #ffffff;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #128c7e;
  --transition: all 0.3s ease;
}

html.dark-mode {
  --color-bg: #0a0a0a;
  --color-fg: #f5f5f5;
  --color-muted-fg: #b0b0b0;
  --color-card: #1a1a1a;
  --color-border: #333333;
  --color-primary: #4ade80;
  --color-primary-light: rgba(74, 222, 128, 0.15);
  --color-accent: #22c55e;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-fg);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Mobile container padding improved */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* =====================================================
   ANIMATED BACKGROUND - All animations preserved
   ===================================================== */
.animated-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 40%, rgba(22, 101, 52, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 80%, rgba(22, 101, 52, 0.04) 0%, transparent 50%);
  animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.1) rotate(1deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) rotate(-1deg);
  }
  75% {
    opacity: 0.9;
    transform: scale(0.98) rotate(0.5deg);
  }
}

.bg-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.2;
}

.particle:nth-child(1) {
  top: 10%;
  left: 20%;
  animation: particleFloat 8s ease-in-out infinite;
}
.particle:nth-child(2) {
  top: 20%;
  left: 80%;
  animation: particleFloat 12s ease-in-out infinite 1s;
}
.particle:nth-child(3) {
  top: 60%;
  left: 10%;
  animation: particleFloat 10s ease-in-out infinite 2s;
}
.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation: particleFloat 14s ease-in-out infinite 3s;
}
.particle:nth-child(5) {
  top: 40%;
  left: 50%;
  animation: particleFloat 9s ease-in-out infinite 4s;
}
.particle:nth-child(6) {
  top: 70%;
  left: 30%;
  animation: particleFloat 11s ease-in-out infinite 5s;
}
.particle:nth-child(7) {
  top: 30%;
  left: 60%;
  animation: particleFloat 13s ease-in-out infinite 6s;
}
.particle:nth-child(8) {
  top: 90%;
  left: 40%;
  animation: particleFloat 15s ease-in-out infinite 7s;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translate(30px, -40px) scale(1.5);
    opacity: 0.4;
  }
  50% {
    transform: translate(-20px, 20px) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translate(40px, 30px) scale(1.2);
    opacity: 0.5;
  }
}

/* =====================================================
   FLOATING CHARTS - All animations preserved
   ===================================================== */
.floating-charts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-chart {
  position: absolute;
  color: var(--color-primary);
  opacity: 0.15;
  animation: floatAdvanced 8s ease-in-out infinite;
}

.chart-1 {
  width: 80px;
  top: 100px;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 10s;
}
.chart-2 {
  width: 100px;
  top: 200px;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 12s;
}
.chart-3 {
  width: 70px;
  bottom: 200px;
  left: 20%;
  animation-delay: 4s;
  animation-duration: 14s;
}
.chart-4 {
  width: 80px;
  bottom: 100px;
  right: 25%;
  animation-delay: 1s;
  animation-duration: 11s;
}
.chart-5 {
  width: 60px;
  top: 50%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 13s;
}
.chart-6 {
  width: 100px;
  top: 300px;
  right: 5%;
  animation-delay: 5s;
  animation-duration: 15s;
}

/* Hide floating charts on very small mobile screens */
@media (max-width: 480px) {
  .floating-charts {
    display: none;
  }
}

@keyframes floatAdvanced {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-30px) rotate(5deg) scale(1.1);
  }
  50% {
    transform: translateY(-15px) rotate(-3deg) scale(0.95);
  }
  75% {
    transform: translateY(-25px) rotate(2deg) scale(1.05);
  }
}

.bar-anim {
  animation: barGrowAdvanced 2s ease-out forwards;
  transform-origin: bottom;
}

@keyframes barGrowAdvanced {
  0% {
    transform: scaleY(0);
  }
  60% {
    transform: scaleY(1.1);
  }
  80% {
    transform: scaleY(0.95);
  }
  100% {
    transform: scaleY(1);
  }
}

.line-anim {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: lineDraw 2s ease-out forwards;
}

@keyframes lineDraw {
  to {
    stroke-dashoffset: 0;
  }
}

.donut-anim {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: donutFill 1.5s ease-out forwards;
}

@keyframes donutFill {
  to {
    stroke-dashoffset: 40;
  }
}

/* =====================================================
   HEADER - Mobile optimized
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

html.dark-mode .header {
  background: rgba(10, 10, 10, 0.9);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Mobile nav container padding */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 12px;
  }
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

/* Mobile nav height reduced */
@media (max-width: 768px) {
  .nav-content {
    height: 60px;
    gap: 8px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Actualizado logo-icon para mostrar imagen en lugar de SVG */
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotateSlow 15s linear infinite;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}

.logo-icon img {
  width: 220%;
  height: 220%;
  object-fit: contain;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-fg);
}

/* Mobile logo sizing */
@media (max-width: 480px) {
  .logo-icon {
    width: 36px;
    height: 36px;
  }
  .logo-icon svg {
    width: 20px;
    height: 20px;
  }
  .logo-text {
    font-size: 18px;
  }
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  color: var(--color-muted-fg);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-fg);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile header actions */
@media (max-width: 480px) {
  .header-actions {
    gap: 8px;
  }
}

.dark-mode-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.dark-mode-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: scale(1.05);
}

.dark-mode-btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-fg);
}

.dark-mode-btn .icon-sun {
  display: block;
}
.dark-mode-btn .icon-moon {
  display: none;
}
html.dark-mode .dark-mode-btn .icon-sun {
  display: none;
}
html.dark-mode .dark-mode-btn .icon-moon {
  display: block;
}

/* Mobile dark mode button */
@media (max-width: 480px) {
  .dark-mode-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .dark-mode-btn svg {
    width: 18px;
    height: 18px;
  }
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-whatsapp);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  transform: translateY(-2px);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-whatsapp .whatsapp-text {
  display: none;
}

@media (min-width: 768px) {
  .btn-whatsapp .whatsapp-text {
    display: inline;
  }
}

/* Mobile WhatsApp button - icon only */
@media (max-width: 480px) {
  .btn-whatsapp {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 10px;
  }
  .btn-whatsapp svg {
    width: 18px;
    height: 18px;
  }
}

/* =====================================================
   HERO SECTION - Mobile optimized
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: visible;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-muted) 100%);
}

/* Mobile hero padding and height */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 40px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 16px 32px;
  }
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 24px;
  animation: bounceSubtle 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.badge:hover {
  background: #000;
  border-color: #000;
}

.badge:hover .badge-icon,
.badge:hover span {
  color: #fff;
}

.badge-icon {
  width: 16px;
  height: 16px;
  color: #000;
  flex-shrink: 0;
}

.badge span {
  font-size: 13px;
  color: #000;
  font-weight: 500;
}

/* Mobile badge sizing */
@media (max-width: 480px) {
  .badge {
    padding: 6px 12px;
    margin-bottom: 16px;
    gap: 6px;
  }
  .badge-icon {
    width: 14px;
    height: 14px;
  }
  .badge span {
    font-size: 11px;
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: scaleIn 1.2s ease-out;
}

.hero-title-new {
  font-family: "Montserrat", sans-serif !important;
  font-size: clamp(1.5rem, 5vw, 4rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* Mobile hero title sizing */
@media (max-width: 480px) {
  .hero-title-new {
    font-size: clamp(1.3rem, 6vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 16px;
  }
}

.highlight-impulsa {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  font-weight: 900;
  animation: impulsaEntrance 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  text-shadow: 0 0 30px rgba(22, 101, 52, 0.5);
}

.highlight-impulsa::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: shimmerLine 2s linear infinite;
}

/* Mobile impulsa underline */
@media (max-width: 480px) {
  .highlight-impulsa::before {
    height: 3px;
    bottom: -3px;
  }
}

@keyframes impulsaEntrance {
  0% {
    opacity: 0;
    transform: translateX(-150px) rotate(-20deg) scale(0.3);
    filter: blur(10px);
  }
  40% {
    opacity: 1;
    transform: translateX(30px) rotate(5deg) scale(1.2);
    filter: blur(0);
  }
  60% {
    transform: translateX(-15px) rotate(-3deg) scale(0.9);
  }
  80% {
    transform: translateX(8px) rotate(1deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) rotate(0) scale(1);
  }
}

@keyframes shimmerLine {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* =====================================================
   HERO IMAGES CAROUSEL - Mobile optimized
   ===================================================== */
.hero-images-carousel {
  width: 150%;
  max-width: 1900px;
  margin-left: -25%;
  overflow: hidden;
  position: relative;
  height: 280px;
  border-radius: 16px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.hero-images-carousel::before,
.hero-images-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-images-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.hero-images-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.hero-images-track {
  display: flex;
  gap: 24px;
  animation: scrollImagesRight 40s linear infinite;
  will-change: transform;
}

.hero-image-item {
  flex-shrink: 0;
  width: 500px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-image-item:hover {
  transform: scale(1.05);
  z-index: 1;
}

.hero-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes scrollImagesRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-500px * 4 - 24px * 4));
  }
}

/* Tablet carousel sizing */
@media (max-width: 768px) {
  .hero-images-carousel {
    height: 180px;
    width: 120%;
    margin-left: -10%;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .hero-images-carousel::before,
  .hero-images-carousel::after {
    width: 60px;
  }

  .hero-image-item {
    width: 300px;
    height: 180px;
  }

  .hero-images-track {
    gap: 16px;
  }

  @keyframes scrollImagesRight {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 4 - 16px * 4));
    }
  }
}

/* Mobile carousel sizing - optimized for 430px screens */
@media (max-width: 480px) {
  .hero-images-carousel {
    height: 140px;
    width: 110%;
    margin-left: -5%;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .hero-images-carousel::before,
  .hero-images-carousel::after {
    width: 40px;
  }

  .hero-image-item {
    width: 220px;
    height: 140px;
    border-radius: 8px;
  }

  .hero-images-track {
    gap: 12px;
  }

  @keyframes scrollImagesRight {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-220px * 4 - 12px * 4));
    }
  }
}

/* =====================================================
   HERO BUTTONS - Mobile stacked layout
   ===================================================== */
.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
  animation: fadeInUp 1s ease-out 0.6s backwards;
  flex-wrap: wrap;
}

/* Mobile buttons - stacked vertically with proper spacing */
@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 32px auto;
    padding: 0 16px;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-secondary);
  color: white;
  border: 2px solid var(--color-secondary);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  transform: scale(1.05);
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

/* Mobile secondary button */
@media (max-width: 640px) {
  .btn-secondary {
    width: 100%;
    padding: 4px 44px;
    font-size: 15px;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-fg);
  border: 2px solid var(--color-border);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-play-animated {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  overflow: visible;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: rgba(22, 101, 52, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-play-animated:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(22, 101, 52, 0.3);
}

/* Mobile play button */
@media (max-width: 640px) {
  .btn-play-animated {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    gap: 10px;
  }
}

.play-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.play-icon {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 3;
  transition: transform 0.3s ease;
}

.btn-play-animated:hover .play-icon {
  transform: scale(1.2);
  animation: playBounce 0.6s ease-in-out infinite;
}

.play-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  animation: pulsate 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.play-pulse-2 {
  animation-delay: 0.8s;
}
.play-pulse-3 {
  animation-delay: 1.6s;
}

@keyframes pulsate {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

@keyframes playBounce {
  0%,
  100% {
    transform: scale(1.2) translateX(0);
  }
  50% {
    transform: scale(1.2) translateX(3px);
  }
}

.play-text {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Mobile play icon container */
@media (max-width: 480px) {
  .play-icon-container {
    width: 28px;
    height: 28px;
  }
  .play-icon {
    width: 16px;
    height: 16px;
  }
}

/* Sticky button styles */
[data-sticky-button] .btn-icon {
  display: none;
}

[data-sticky-button].sticky-active {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 9999 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  animation: slideUp 0.3s ease-out !important;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile sticky button - ahora muestra texto "Comenzar Ahora" en lugar del icono de play */
@media (max-width: 768px) {
  [data-sticky-button].sticky-active {
    bottom: 10% !important;
    right: 30px !important;
    /* Removido width/height fijos y border-radius circular para mostrar como botón pill */
    width: auto !important;
    height: auto !important;
    padding: 5px 4px !important;
    border-radius: 30px !important;
  }

  /* Mostrar el texto del botón en sticky móvil */
  [data-sticky-button].sticky-active .btn-text {
    display: none !important;
    font-size: 2px !important;
  }

  [data-sticky-button].sticky-active .icon-arrow {
    display: inline !important;
    font-size: 1px !important;
  }

  /* Mantener oculto el icono de play */
  [data-sticky-button].sticky-active .btn-icon {
    display: inline !important;
    font-size: 18px !important;

  }
}
