/* Generado por scripts/build-css.js. No editar directamente. */

/* source: roadmap3d.css */
/* High-End 3D Roadmap Design System */

#ruta {
  position: relative;
  perspective: 2000px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05), transparent);
  padding: 120px 0;
  overflow: visible !important;
}

/* Three.js Canvas for Roadmap */
#roadmap-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.roadmap-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

/* Step Container */
.route-step {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 120px;
  width: 100%;
  opacity: 0;
  transform-style: preserve-3d;
}

/* The actual 3D Cards */
.route-step_content {
  background: rgba(255, 255, 255, 0.7) !important;
  /* Brighter background for light mode */
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  /* Subtle dark border for light mode */
  border-radius: 24px;
  padding: 40px;
  width: 45%;
  position: relative;
  box-shadow:
    0 25px 80px -20px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateZ(0);
  overflow: hidden;
}

.route-step_content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent);
  transition: 0.5s;
}

.route-step:hover .route-step_content::before {
  left: 100%;
}

.dark .route-step_content {
  background: rgba(15, 15, 20, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.6);
}

.route-step_content::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), transparent 60%);
  border-radius: 24px;
  z-index: -1;
  opacity: 0.3;
}

.route-step:hover .route-step_content {
  transform: translateZ(50px) rotateX(2deg) rotateY(2deg);
  box-shadow: 0 40px 80px -20px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

/* Indicators as 3D Orbs */
.route-step_indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateZ(80px);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f97316, #d946ef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  box-shadow:
    0 0 30px rgba(249, 115, 22, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  z-index: 10;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.route-step_number {
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Side Specific Positions */
.route-step:nth-child(even) .route-step_content {
  margin-left: auto;
  transform-origin: left center;
}

.route-step:nth-child(odd) .route-step_content {
  margin-right: auto;
  transform-origin: right center;
}

/* Animations using GSAP-like classes */
.route-step.is-visible {
  animation: stepEntrance 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes stepEntrance {
  0% {
    opacity: 0;
    transform: perspective(1000px) scale(0.8) translateZ(-200px);
  }

  100% {
    opacity: 1;
    transform: perspective(1000px) scale(1) translateZ(0);
  }
}

/* Floating labels for steps */
.step-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #1e1b4b, #7c3aed);
  /* Much darker for light mode */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark .step-title {
  background: linear-gradient(90deg, #fff, #a78bfa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Connector Spline replacement */
.md\:block.absolute.left-1\/2.bg-border {
  display: none !important;
  /* Managed by Three.js splines now */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .route-step_content {
    width: 85%;
    margin: 0 auto !important;
  }

  .route-step_indicator {
    left: 20px;
    transform: translateX(0) translateZ(30px);
    width: 50px;
    height: 50px;
  }
}

/* source: founder-section.css */
/* ============================================
   FOUNDER SECTION - Sección Nuestra Fundadora
   Estilos encapsulados para evitar conflictos
   ============================================ */

/* Contenedor principal de la sección */
.founder-section {
  position: relative;
  background: rgba(var(--muted-rgb, 243, 244, 246), 0.3);
  padding: 4rem 0;
}

.dark .founder-section {
  background: rgba(var(--muted-rgb, 17, 24, 39), 0.2);
}

/* Contenedor interno con max-width */
.founder-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Título de la sección */
.founder-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
  letter-spacing: -0.025em;
}

.dark .founder-title {
  color: #f9fafb;
}

.founder-title-highlight {
  color: #8B5CF6;
}

/* Grid de dos columnas */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .founder-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .founder-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .founder-title {
    font-size: 3rem;
  }
  
  .founder-section {
    padding: 6rem 0;
  }
}

/* Contenedor de imagen */
.founder-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.founder-image-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  max-width: 400px;
  width: 100%;
}

.dark .founder-image-card {
  background: rgba(31, 41, 55, 0.8);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.founder-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 25px 50px -12px rgba(139, 92, 246, 0.25),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Imagen de la fundadora */
.founder-photo-container {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #8B5CF6 0%, #F97316 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.founder-image-card:hover .founder-photo {
  transform: scale(1.05);
}

/* Info debajo de la imagen */
.founder-info {
  text-align: center;
  padding: 0 1rem;
}

.founder-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #8B5CF6;
  margin-bottom: 0.5rem;
}

.dark .founder-name {
  color: #a78bfa;
}

.founder-role {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
}

.dark .founder-role {
  color: #9ca3af;
}

/* Contenido de texto */
.founder-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.founder-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #374151;
}

.dark .founder-text {
  color: #d1d5db;
}

.founder-text:first-child {
  font-weight: 500;
}

/* Animaciones de entrada */
@keyframes founderFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founder-section.animate-in .founder-title {
  animation: founderFadeIn 0.6s ease-out;
}

.founder-section.animate-in .founder-image-wrapper {
  animation: founderFadeIn 0.6s ease-out 0.2s both;
}

.founder-section.animate-in .founder-content {
  animation: founderFadeIn 0.6s ease-out 0.4s both;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .founder-section {
    padding: 3rem 0;
  }
  
  .founder-container {
    padding: 0 1.5rem;
  }
  
  .founder-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .founder-text {
    font-size: 1rem;
  }
  
  .founder-image-card {
    max-width: 320px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .founder-image-card,
  .founder-photo {
    transition: none;
  }
  
  .founder-section.animate-in .founder-title,
  .founder-section.animate-in .founder-image-wrapper,
  .founder-section.animate-in .founder-content {
    animation: none;
  }
}

/* source: mission-section.css */
/* ============================================
   MISSION SECTION - Nuestra Misión
   Estilos encapsulados para la sección de misión
   ============================================ */

/* Contenedor principal */
.mission-section {
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  padding: 4rem 0;
}

.dark .mission-section {
  background: rgba(17, 24, 39, 0.3);
}

/* Contenedor interno */
.mission-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Título de la sección */
.mission-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
  letter-spacing: -0.025em;
}

.dark .mission-title {
  color: #f9fafb;
}

.mission-title-highlight {
  color: #8B5CF6;
}

/* Grid de dos columnas */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .mission-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .mission-title {
    font-size: 3rem;
  }
  
  .mission-section {
    padding: 6rem 0;
  }
}

/* Contenido de texto */
.mission-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mission-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #374151;
}

.dark .mission-text {
  color: #d1d5db;
}

/* Valores (badges) */
.mission-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.mission-value-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: #EDE9FE;
  color: #5B21B6;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.dark .mission-value-badge {
  background: #2E1065;
  color: #DDD6FE;
  border-color: rgba(139, 92, 246, 0.3);
}

.mission-value-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  background: #E4DDFD;
}

.dark .mission-value-badge:hover {
  background: #3B167D;
}

/* Contenedor de imagen/ilustración */
.mission-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-illustration-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  transform: rotate(3deg);
}

.dark .mission-illustration-card {
  background: rgba(31, 41, 55, 0.8);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.mission-illustration-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 
    0 25px 50px -12px rgba(139, 92, 246, 0.25);
}

/* SVG dentro de la ilustración */
.mission-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Animaciones */
@keyframes missionFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mission-section.animate-in .mission-title {
  animation: missionFadeIn 0.6s ease-out;
}

.mission-section.animate-in .mission-content {
  animation: missionFadeIn 0.6s ease-out 0.2s both;
}

.mission-section.animate-in .mission-image-wrapper {
  animation: missionFadeIn 0.6s ease-out 0.4s both;
}

/* Responsive */
@media (max-width: 767px) {
  .mission-section {
    padding: 3rem 0;
  }
  
  .mission-container {
    padding: 0 1.5rem;
  }
  
  .mission-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .mission-text {
    font-size: 1rem;
  }
  
  .mission-svg {
    max-width: 250px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .mission-illustration-card,
  .mission-value-badge {
    transition: none;
  }
  
  .mission-section.animate-in .mission-title,
  .mission-section.animate-in .mission-content,
  .mission-section.animate-in .mission-image-wrapper {
    animation: none;
  }
}

/* source: safari-components.css */
/* ============================================
   SAFARI COMPONENTS - Componentes Interactivos
   CSS para todos los componentes animados
   ============================================ */

/* ============================================
   1. HERO PARTICLES
   ============================================ */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   2. STATS COUNTER
   ============================================ */
.stats-counter {
  text-align: center;
  padding: 1.5rem;
  margin: 1rem;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.stats-counter:hover {
  transform: translateY(-5px);
}

.stats-counter__value {
  font-size: 3rem;
  font-weight: bold;
  color: #8B5CF6;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
}

.dark .stats-counter__value {
  color: #a78bfa;
}

.stats-counter__label {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 500;
}

.dark .stats-counter__label {
  color: #9ca3af;
}

/* ============================================
   3. TESTIMONIAL CAROUSEL
   ============================================ */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.dark .testimonial-carousel {
  background: rgba(31, 41, 55, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-carousel__inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-carousel__item {
  flex: 0 0 100%;
  padding: 3rem 2rem;
}

.testimonial-carousel__content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-carousel__quote {
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.2;
  width: 40px;
  height: 40px;
}

.testimonial-carousel__text {
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 1.25rem;
  line-height: 1.8;
  color: #374151;
}

.dark .testimonial-carousel__text {
  color: #d1d5db;
}

.testimonial-carousel__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-carousel__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #8B5CF6;
}

.testimonial-carousel__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-carousel__info strong {
  color: #8B5CF6;
  font-size: 1.125rem;
  font-weight: 700;
}

.dark .testimonial-carousel__info strong {
  color: #a78bfa;
}

.testimonial-carousel__info span {
  color: #6b7280;
  font-size: 0.875rem;
}

.dark .testimonial-carousel__info span {
  color: #9ca3af;
}

.testimonial-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
}

.testimonial-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonial-carousel__dot:hover {
  background-color: #9ca3af;
  transform: scale(1.2);
}

.testimonial-carousel__dot--active {
  background-color: #8B5CF6;
  width: 32px;
  border-radius: 6px;
}

.dark .testimonial-carousel__dot--active {
  background-color: #a78bfa;
}

/* ============================================
   4. INTERACTIVE FAQ
   ============================================ */
.interactive-faq {
  max-width: 800px;
  margin: 2rem auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.dark .faq-item {
  background: rgba(31, 41, 55, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.dark .faq-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.faq-item__question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.dark .faq-item__question {
  color: #f9fafb;
}

.faq-item__question:hover {
  color: #8B5CF6;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  color: #8B5CF6;
}

.faq-item--active .faq-item__question {
  background: linear-gradient(135deg, #8B5CF6 0%, #7c3aed 100%);
  color: white;
}

.faq-item--active .faq-item__icon {
  transform: rotate(45deg);
  color: white;
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 1.5rem;
}

.faq-item--active .faq-item__answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-item__answer p {
  color: #6b7280;
  line-height: 1.75;
  margin: 0;
}

.dark .faq-item__answer p {
  color: #9ca3af;
}

/* ============================================
   5. SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade"] {
  transform: none;
}

[data-animate="slide-left"] {
  transform: translateX(-50px);
}

[data-animate="slide-left"].animate-in {
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(50px);
}

[data-animate="slide-right"].animate-in {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.9);
}

[data-animate="scale"].animate-in {
  transform: scale(1);
}

/* ============================================
   6. DIFERENCIAS SECTION
   ============================================ */
.diferencias-section {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.5);
}

.dark .diferencias-section {
  background: rgba(17, 24, 39, 0.3);
}

.diferencias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.diferencia-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.dark .diferencia-card {
  background: rgba(31, 41, 55, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(139, 92, 246, 0.2);
}

.diferencia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.diferencia-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.diferencia-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8B5CF6;
  margin-bottom: 1rem;
}

.dark .diferencia-title {
  color: #a78bfa;
}

.diferencia-text {
  color: #6b7280;
  line-height: 1.75;
  font-size: 1rem;
}

.dark .diferencia-text {
  color: #9ca3af;
}

/* ============================================
   7. RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .testimonial-carousel__item {
    padding: 2rem 1rem;
  }

  .testimonial-carousel__text {
    font-size: 1rem;
  }

  .stats-counter {
    min-width: 150px;
    padding: 1rem;
  }

  .stats-counter__value {
    font-size: 2rem;
  }

  .stats-counter__label {
    font-size: 0.875rem;
  }

  .faq-item__question {
    font-size: 1rem;
    padding: 1rem;
  }

  .faq-item__answer {
    padding: 0 1rem;
  }

  .faq-item--active .faq-item__answer {
    padding: 1rem;
  }

  .diferencias-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   8. ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles for accessibility */
.faq-item__question:focus,
.testimonial-carousel__dot:focus {
  outline: 2px solid #8B5CF6;
  outline-offset: 2px;
}

/* source: comentarios.css */
/* Comentarios de la comunidad — usa los mismos tokens de color del resto
   del sitio (hsl(var(--...))), así combina con el tema claro/oscuro en
   vez de un morado y un fondo blanco fijos. */

.comentarios-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.comentarios-lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.comentario-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.comentario-quote {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
  opacity: 0.3;
  margin-bottom: 0.75rem;
}

.comentario-texto {
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--card-foreground));
  flex-grow: 1;
  margin-bottom: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.comentario-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid hsl(var(--border));
  padding-top: 0.75rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.comentario-nombre {
  font-weight: 700;
  font-size: 0.95rem;
  color: hsl(var(--card-foreground));
  margin: 0;
}

.comentario-fecha {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin: 0.15rem 0 0;
}

.comentario-editado-tag {
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
  font-style: italic;
}

.comentario-acciones {
  display: flex;
  gap: 0.5rem;
}

.comentario-accion-btn {
  background: none;
  border: 1px solid hsl(var(--primary) / 0.4);
  color: hsl(var(--primary));
  border-radius: 8px;
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comentario-accion-btn:hover {
  background: hsl(var(--primary) / 0.1);
}

.comentario-accion-btn.borrar {
  border-color: hsl(var(--destructive) / 0.4);
  color: hsl(var(--destructive));
}

.comentario-accion-btn.borrar:hover {
  background: hsl(var(--destructive) / 0.1);
}

.comentarios-vacio {
  text-align: center;
  color: hsl(var(--muted-foreground));
  padding: 2rem 0;
}

.comentarios-cargando {
  text-align: center;
  color: hsl(var(--muted-foreground));
  padding: 2rem 0;
}

/* Formulario */
.comentario-form {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1.75rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comentario-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: hsl(var(--card-foreground));
  margin: 0 0 1rem;
}

.comentario-form-row {
  margin-bottom: 0.9rem;
}

.comentario-form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.35rem;
}

.comentario-form-row input,
.comentario-form-row textarea {
  width: 100%;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--input));
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.comentario-form-row input:focus,
.comentario-form-row textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
}

.comentario-form-row textarea {
  min-height: 100px;
  resize: vertical;
}

.comentario-form-contador {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-align: right;
  margin-top: 0.2rem;
}

.comentario-form-error {
  color: hsl(var(--destructive));
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.comentario-form-exito {
  color: #16a34a;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.comentario-submit-btn {
  background: linear-gradient(135deg, #8B5CF6 0%, #F97316 100%);
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comentario-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.comentario-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 640px) {
  .comentarios-lista {
    grid-template-columns: 1fr;
  }
}

/* source: logo-circular.css */
/* Estilo para logo circular de Corporación Safari */
img[alt="Corporación Safari Logo"],
img[alt="Corporación Safari Logo"] {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Header más espacioso */
header {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  header {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }
}

/* source: glassmorphism.css */
/* 3D Mesh Gradient Background */
@keyframes meshGradient {
  0% {
    background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%;
  }

  25% {
    background-position: 50% 50%, 0% 0%, 100% 100%, 0% 50%;
  }

  50% {
    background-position: 100% 100%, 50% 50%, 0% 0%, 100% 50%;
  }

  75% {
    background-position: 50% 0%, 100% 50%, 50% 100%, 0% 0%;
  }

  100% {
    background-position: 0% 0%, 100% 0%, 0% 100%, 100% 100%;
  }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%;
  animation: meshGradient 15s ease infinite;
  pointer-events: none;
  z-index: -1;
}

/* Glassmorphism Header Enhancement */
header {
  background: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.dark header {
  background: rgba(0, 0, 0, 0.5) !important;
}

/* Login Button Styling - Neomórfico */
.safari-login-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow:
    0 8px 16px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05));
}

.safari-login-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 24px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.safari-login-btn:active {
  transform: translateY(0);
  box-shadow:
    0 4px 8px rgba(139, 92, 246, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.safari-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.safari-login-btn:hover::before {
  left: 100%;
}

/* Safari Capture Section */
.safari-capture-card {
  animation: float 6s ease-in-out infinite;
  box-shadow:
    0 20px 40px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes float {

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

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

.safari-capture-card button {
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.safari-capture-card button:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .safari-capture-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Page Transitions */
body {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Card Hover Effects */
.rounded-lg.border {
  transition: all 0.3s ease;
}

/* Footer Enhancements */
footer a {
  transition: all 0.2s ease;
}

footer a:hover {
  transform: translateX(4px);
}

/* FAQ Accordion Smooth Transitions */
.w-full.space-y-3 [data-state="closed"]>.overflow-hidden {
  max-height: 0 !important;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  pointer-events: none;
  overflow: hidden !important;
}

.w-full.space-y-3 [data-state="open"]>.overflow-hidden {
  max-height: 2000px !important;
  /* Extremely high to accommodate content */
  opacity: 1;
  pointer-events: auto;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

/* Ensure the button icon rotates smoothly */
button[aria-expanded="true"] svg.lucide-chevron-down {
  transform: rotate(180deg);
}

button svg.lucide-chevron-down {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contrast & Legibility Enhancements */
:root {
  --muted-foreground: #374151;
  /* Even darker gray (slate-700) for better reading */
  --secondary-foreground: #111827;
}

.dark {
  --muted-foreground: #9ca3af;
  --secondary-foreground: #f9fafb;
}

.text-muted-foreground {
  color: var(--muted-foreground) !important;
}

.text-secondary-foreground {
  color: var(--secondary-foreground) !important;
}

/* Ensure headings are always strong */
h1,
h2,
h3,
h4 {
  color: #111827;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4 {
  color: #f9fafb;
}

/* source: sticky-header.css */
/* ============================================
   STICKY HEADER - RESPONSIVE DESIGN
   Banner que sigue al usuario en todas las páginas
   ============================================ */

/* Desktop: Banner completo con todos los menús */
@media (min-width: 768px) {
  .sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid hsl(var(--border) / 0.2);
    background-color: hsl(var(--background) / 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .sticky-header-container {
    display: flex;
    height: 4rem; /* h-16 */
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    gap: 2rem;
  }

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

  .sticky-header-logo img {
    height: 38px;
    width: auto;
    max-width: 140px;
  }

  .sticky-header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
  }

  .sticky-header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    color: hsl(var(--muted-foreground));
    white-space: nowrap;
  }

  .sticky-header-nav a:hover {
    color: hsl(var(--foreground) / 0.8);
  }

  .sticky-header-nav a.active {
    color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
  }

  .sticky-header-nav a.active:dark {
    background-color: hsl(var(--primary) / 0.2);
  }

  /* Dropdown Styles */
  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
  }

  .dropdown-toggle svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.2s;
  }

  .dropdown.open .dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    background-color: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-out;
    z-index: 100;
  }

  .dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 0;
  }

  .dropdown-menu a:hover {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
  }

.sticky-header-login {
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid hsl(var(--primary) / 0.5);
    color: hsl(var(--primary));
    cursor: pointer;
    white-space: nowrap;
}

.sticky-header-vitrina {
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    cursor: pointer;
    white-space: nowrap;
    margin-left: 1rem;
}

.sticky-header-vitrina:hover {
    background-color: hsl(var(--primary) / 0.2);
}

.sticky-header-login:hover {
    background-color: hsl(var(--primary) / 0.1);
  }

  .sticky-header-theme {
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .sticky-header-theme:hover {
    background-color: hsl(var(--primary) / 0.1);
  }

  .sticky-header-theme svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .sticky-header-controls {
    display: none;
  }

  /* Agregar padding al body para que no se superponga con el header fixed */
  body {
    padding-top: 4rem;
  }
}

/* Mobile: Menú hamburguesa colapsado */
@media (max-width: 767px) {
  .sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid hsl(var(--border) / 0.2);
    background-color: hsl(var(--background) / 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .sticky-header-container {
    display: flex;
    height: 3.5rem; /* h-14 */
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
  }

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

  .sticky-header-logo img {
    height: 32px;
    width: auto;
    max-width: 100px;
  }

  .sticky-header-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    background-color: hsl(var(--background));
    border-bottom: 1px solid hsl(var(--border) / 0.2);
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1rem;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .sticky-header-nav.mobile-open {
    max-height: 600px;
    opacity: 1;
    padding: 1rem;
  }

  .sticky-header-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.75rem;
    border-radius: 0.375rem;
    color: hsl(var(--muted-foreground));
    display: block;
  }

  .sticky-header-nav a:hover {
    color: hsl(var(--foreground));
    background-color: hsl(var(--primary) / 0.1);
  }

  .sticky-header-nav a.active {
    color: hsl(var(--primary));
    background-color: hsl(var(--primary) / 0.1);
  }

  /* Mobile Dropdown Styles */
  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 300px;
  }

  .dropdown-menu a {
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    border-left: 2px solid hsl(var(--primary) / 0.3);
    display: block;
  }

.sticky-header-login {
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid hsl(var(--primary) / 0.5);
    color: hsl(var(--primary));
    cursor: pointer;
    display: block;
    text-align: center;
}

.sticky-header-vitrina {
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid hsl(var(--primary) / 0.5);
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    cursor: pointer;
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

.sticky-header-vitrina:hover {
    background-color: hsl(var(--primary) / 0.2);
}

.sticky-header-login:hover {
    background-color: hsl(var(--primary) / 0.1);
  }

  .sticky-header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .sticky-header-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    height: 2.25rem;
    width: 2.25rem;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: hsl(var(--foreground));
  }

  .sticky-header-menu-btn:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
  }

  .sticky-header-menu-btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .sticky-header-theme {
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    width: 2.25rem;
  }

  .sticky-header-theme:hover {
    background-color: hsl(var(--primary) / 0.1);
  }

  .sticky-header-theme svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  /* Agregar padding al body para que no se superponga con el header fixed */
  body {
    padding-top: 3.5rem;
  }
}

/* Animación suave para el menú móvil */
@media (max-width: 767px) {
  .sticky-header-nav {
    animation: slideDown 0.3s ease-out;
  }

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

/* source: mobile-menu.css */
/* ============================================
   MOBILE MENU - DRAWER LATERAL
   Menú móvil independiente con UX nativa
   ============================================ */

/* Desktop: Menú normal (sin cambios) */
@media (min-width: 768px) {
  .mobile-menu-overlay,
  .mobile-menu-drawer,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Mobile: Drawer lateral */
@media (max-width: 767px) {
  /* Ocultar menú desktop en móvil */
  .sticky-header-nav {
    display: none !important;
  }

  /* Mostrar el botón del sticky header en móvil */
  .sticky-header-menu-btn {
    display: flex !important;
  }

  /* Botón hamburguesa */
  .mobile-menu-toggle,
  .sticky-header-menu-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background: hsl(var(--primary));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
  }

  .mobile-menu-toggle:active,
  .sticky-header-menu-btn:active {
    transform: scale(0.95);
  }

  .mobile-menu-toggle span {
    position: relative;
    width: 20px;
    height: 2px;
    background: white;
    display: block;
    transition: all 0.3s;
  }

  .mobile-menu-toggle span::before,
  .mobile-menu-toggle span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s;
  }

  .mobile-menu-toggle span::before {
    top: -6px;
  }

  .mobile-menu-toggle span::after {
    top: 6px;
  }

  /* Animación X cuando está abierto */
  .mobile-menu-toggle.active span,
  .sticky-header-menu-btn.active svg {
    background: transparent;
  }

  .mobile-menu-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .mobile-menu-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Animación para el botón del sticky header */
  .sticky-header-menu-btn.active svg {
    transform: rotate(90deg);
  }

  /* Overlay oscuro */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(2px);
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Drawer lateral */
  .mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: hsl(var(--background));
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  }

  .mobile-menu-drawer.active {
    transform: translateX(0);
  }

  /* Header del drawer */
  .mobile-menu-header {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .mobile-menu-header img {
    height: 32px;
    width: auto;
    border-radius: 4px;
  }

  .mobile-menu-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
  }

  /* Lista de navegación */
  .mobile-menu-nav {
    padding: 1rem 0;
  }

  .mobile-menu-item {
    border-bottom: 1px solid hsl(var(--border) / 0.3);
  }

  .mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    color: hsl(var(--foreground));
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-link:active {
    background: hsl(var(--primary) / 0.1);
  }

  /* Ícono de expandir */
  .mobile-menu-expand {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
  }

  .mobile-menu-expand svg {
    width: 16px;
    height: 16px;
    stroke: hsl(var(--muted-foreground));
  }

  .mobile-menu-item.expanded .mobile-menu-expand {
    transform: rotate(180deg);
  }

  /* Submenú acordeón */
  .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: hsl(var(--muted) / 0.3);
    transition: max-height 0.3s ease;
  }

  .mobile-menu-item.expanded .mobile-submenu {
    max-height: 300px;
  }

  .mobile-submenu a {
    display: block;
    padding: 0.875rem 1.25rem 0.875rem 2.5rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-submenu a:active {
    background: hsl(var(--primary) / 0.1);
    border-left-color: hsl(var(--primary));
    color: hsl(var(--primary));
  }

  /* Login button */
  .mobile-menu-login {
    margin: 1rem 1.25rem;
    padding: 0.875rem;
    background: hsl(var(--primary));
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: transform 0.2s;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-login:active {
    transform: scale(0.98);
  }

  /* Prevenir scroll del body */
  body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

/* source: login-modal.css */
/* Modal Fullscreen Glassmorphism */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.login-modal.active {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 0.5s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; backdrop-filter: blur(0px); }
  to { opacity: 1; backdrop-filter: blur(20px); }
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 2;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.modal-text {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
}

.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.8)); }
}

.modal-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

.progress-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500, #8B5CF6);
  width: 0%;
  animation: progressLoad 3s ease-out forwards;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

@keyframes progressLoad {
  to { width: 88%; }
}

.progress-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-top: 1rem;
  font-style: italic;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 4;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.close-btn::before,
.close-btn::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #FFD700;
}

.close-btn::before {
  transform: rotate(45deg);
}

.close-btn::after {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .modal-title {
    font-size: 2rem;
    letter-spacing: 0.05em;
  }
  
  .close-btn {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}
