/* ===== CONFIGURACIÓN GENERAL DE SCROLLBARS ===== */
html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: "Open Sans", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
}

/* Estilos generales */
* {
    box-sizing: border-box;
    max-width: 100vw;
}

/* Contenedor principal para evitar overflow horizontal */
body > * {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

/* Asegurar que todas las secciones respeten el viewport */
section {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Contenedores principales */
.container, .content, .wrapper, .main {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    box-shadow: 0 4px 24px var(--card-shadow);
    backdrop-filter: blur(8px);
    border-bottom: 1.5px solid var(--nav-border);
    transition: all 0.3s ease;
    padding: 1.2rem 5%;
    position: fixed;
    width: 100% !important;
    max-width: 100vw !important;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    height: 80px;
    left: 0;
    right: 0;
}
  
  .navbar.scrolled {
    background: var(--nav-bg);
    box-shadow: 0 8px 32px var(--card-shadow);
}
  
  .logo img {
    height: 50px;
    width: auto;
    padding-top: 1em;
  }
  .logo2 {
    padding-top: 1rem;
  }


  
  .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    background: none;
    box-shadow: none;
  }
  
  .nav-links li {
    margin-left: 2.5rem;
    display: flex;
    align-items: center;
  }
  
  .nav-links li:first-child {
    margin-left: 0;
  }
  
  .nav-links a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    padding: 0.5rem 0.8rem;
    transition: color 0.3s, background 0.3s;
    border-radius: 8px;
    display: inline-block;
    font-weight: 500;
  }
  
  .nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fda229, #ff6347);
    transition: width 0.3s;
    border-radius: 2px;
    margin: 0 auto;
  }
  
  .nav-links a:hover {
    color: #fda229;
    background: rgba(253, 162, 41, 0.08);
  }
  
  .nav-links a:hover::after {
    width: 80%;
  }
  
  .nav-links li:last-child {
    margin-left: 2.5rem;
  }
  
  .nav-links li:last-child a {
    background: linear-gradient(135deg, #fda229, #ff6347);
    color: #fff !important;
    border-radius: 20px;
    padding: 0.5rem 1.5rem;
    margin-left: 0;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(253,162,41,0.10);
    transition: background 0.3s, color 0.3s;
    border: none;
  }
  
  .nav-links li:last-child a:hover {
    background: linear-gradient(135deg, #ff6347, #fda229);
    color: #fff;
  }
  
  /* Animación del menú hamburguesa */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    margin-left: 2rem;
  }
  
  .bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: all 0.4s cubic-bezier(.68,-0.55,.27,1.55);
    border-radius: 2px;
  }
  
  /* Animación del menú hamburguesa */
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: #fda229;
  }

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

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: #fda229;
  }
  
/* Sección Hero - Diseño Moderno y Profesional */
.hero {
    position: relative;
  min-height: 100vh;
    display: flex;
    align-items: center;
  justify-content: center;
    color: var(--hero-text);
    overflow: hidden;
  background: var(--hero-bg);
    width: 100%;
    max-width: 100vw;
}
  
/* Fondo con video */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.7) contrast(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--hero-overlay);
  z-index: 2;
}

/* Contenedor principal */
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  width: 100%;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Contenido principal */
.hero-content {
  max-width: 600px;
}

/* Badge de confianza */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--hero-badge-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--hero-badge-border);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.badge-icon {
  color: #fda229;
}

/* Título principal */
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.5s; }
.title-line:nth-child(2) { animation-delay: 0.7s; }
.title-line:nth-child(3) { animation-delay: 0.9s; }
.title-line:nth-child(4) { animation-delay: 1.1s; }

.title-line.highlight {
  background: linear-gradient(135deg, #fda229, #ff6347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
    position: relative;
}

.title-line.highlight::after {
  /* Eliminado el subrayado */
  content: none !important;
  display: none !important;
}

/* Subtítulo */
.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 500px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Botones de acción */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.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;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #5b2a70, #135a79);
  color: white;
  box-shadow: 0 10px 30px rgba(91, 42, 112, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(91, 42, 112, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Efecto ripple para botones */
.btn {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Métricas de confianza */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out 1s both;
  margin-bottom: 2rem;
  padding-bottom: 3rem;
}

.metric-item {
  text-align: center;
}

.metric-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fda229;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Elementos visuales */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Puntos de conexión flotantes */
.connection-point {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #fda229, #ff6347);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(253, 162, 41, 0.6);
  animation: pulse 3s ease-in-out infinite;
}

.point-1 {
  top: 25%;
  left: 20%;
  animation-delay: 0s;
}

.point-2 {
  top: 45%;
  right: 25%;
  animation-delay: 0.5s;
}

.point-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 1s;
}

.point-4 {
  top: 60%;
  left: 15%;
  animation-delay: 1.5s;
}

.point-5 {
  bottom: 20%;
  right: 20%;
  animation-delay: 2s;
}

/* Líneas de conexión */
.connection-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(253, 162, 41, 0.4), transparent);
  animation: flow 4s ease-in-out infinite;
}

.line-1 {
  width: 120px;
  top: 35%;
  left: 25%;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.line-2 {
  width: 100px;
  top: 55%;
  right: 30%;
  transform: rotate(-30deg);
  animation-delay: 1s;
}

.line-3 {
  width: 140px;
  bottom: 35%;
  left: 20%;
  transform: rotate(15deg);
  animation-delay: 2s;
}

/* Elemento central con ondas */
.hero-center-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.wave {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(253, 162, 41, 0.3);
  animation: waveExpand 6s ease-out infinite;
}

.wave-1 {
  width: 80px;
  height: 80px;
  top: -40px;
  left: 0;
  animation-delay: 0s;
  overflow: hidden;
}

.wave-2 {
  width: 120px;
  height: 120px;
  top: -60px;
  left: 0;
  animation-delay: 2s;
  overflow: hidden;
}

.wave-3 {
  width: 160px;
  height: 160px;
  top: -80px;
  left: 0;
  animation-delay: 4s;
  overflow: hidden;
}

/* Partículas de energía */
.energy-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fda229;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(253, 162, 41, 0.8);
  animation: energyFloat 5s ease-in-out infinite;
}

.particle-1 {
  top: 30%;
  right: 15%;
  animation-delay: 0s;
}

.particle-2 {
  top: 70%;
  left: 10%;
  animation-delay: 1.5s;
}

.particle-3 {
  bottom: 40%;
  right: 10%;
  animation-delay: 3s;
}

.particle-4 {
  top: 15%;
  left: 40%;
  animation-delay: 4.5s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

.scroll-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.scroll-arrow {
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
}

/* Animaciones */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

@keyframes glow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes flow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1.2);
  }
}

@keyframes waveExpand {
  0% {
    opacity: 1;
    transform: scale(0.5);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes energyFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) scale(1.5);
    opacity: 1;
  }
}

/* Estilos responsive para el hero */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-visual {
    height: 400px;
  }

  .connection-point {
    width: 10px !important;
    height: 10px !important;
  }

  .connection-line {
    width: 80px !important;
  }

  .wave {
    transform: scale(0.8);
  }

  .energy-particle {
    width: 5px !important;
    height: 5px !important;
  }
}

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

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .metric-divider {
    display: none;
  }

  .hero-visual {
    height: 300px;
  }

  .connection-point {
    width: 8px !important;
    height: 8px !important;
  }

  .connection-line {
    width: 60px !important;
  }

  .wave {
    transform: scale(0.6);
  }

  .energy-particle {
    width: 4px !important;
    height: 4px !important;
  }

  .scroll-indicator {
    bottom: 2rem;
  }

  .hero-metrics {
    margin-bottom: 1rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .metric-number {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.8rem;
  }

  /* Mejoras para móviles */
  .hero-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .connection-point {
    backdrop-filter: blur(10px);
  }

  .scroll-indicator {
    opacity: 0.8;
  }
}
 /* Sección 2 - Diseño Moderno Sin Imágenes */
.seccion2 {
  padding: 6rem 2% 2rem 2%;
  background: var(--seccion2-bg);
  position: relative;
  overflow: hidden;
  color: var(--seccion2-text);
}

.seccion2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--seccion2-bg);
  pointer-events: none;
}

/* Asegurar que el contenido esté por encima del fondo */
.seccion2-content {
  position: relative;
  z-index: 2;
}

/* Forzar colores en modo oscuro */
[data-theme="dark"] .seccion2 {
  background: var(--seccion2-bg) !important;
  color: var(--seccion2-text) !important;
}

[data-theme="dark"] .seccion2::before {
  background: var(--seccion2-bg) !important;
}

[data-theme="dark"] .process-card {
  background: var(--seccion2-card-bg) !important;
  border-color: var(--seccion2-card-border) !important;
}

[data-theme="dark"] .seccion2-header h2 {
  color: var(--seccion2-title) !important;
  -webkit-text-fill-color: var(--seccion2-title) !important;
}

[data-theme="dark"] .header-badge {
  background: var(--seccion2-badge-bg) !important;
  color: var(--seccion2-badge-text) !important;
}

/* Asegurar que las transiciones sean suaves */
.seccion2,
.seccion2::before,
.process-card,
.seccion2-header h2,
.header-badge {
  transition: all 0.3s ease !important;
}

/* Animaciones de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.seccion2 {
  --parallax-offset: 0px;
}

.seccion2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(91, 42, 112, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(19, 90, 121, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(253, 162, 41, 0.05) 0%, transparent 50%);
  pointer-events: none;
  transform: translateY(var(--parallax-offset));
  transition: transform 0.1s ease-out;
  }
  
  .seccion2-content {
  max-width: 1400px;
    margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header de la sección */
.seccion2-header {
  text-align: center;
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease-out;
  opacity: 0;
  transform: translateY(30px);
  animation-fill-mode: forwards;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #5b2a70, #135a79);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(91, 42, 112, 0.2);
  animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.2rem;
}

.seccion2-header h2 {
  font-size: 3.5rem;
  font-family: "Playfair Display", serif;
  color: #5b2a70;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #5b2a70, #135a79);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seccion2-subtitle {
  font-size: 1.4rem;
  color: #6c757d;
  font-family: "Open Sans", sans-serif;
  max-width: 700px;
  margin: 0 auto;
    line-height: 1.6;
}

/* Grid principal de proceso */
.seccion2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* Cards de proceso */
.process-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(91, 42, 112, 0.1);
  border: 1px solid rgba(91, 42, 112, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5b2a70, #135a79);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.process-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(91, 42, 112, 0.2);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-card.featured {
  background: linear-gradient(135deg, #5b2a70, #135a79);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(91, 42, 112, 0.3);
}

.process-card.featured:hover {
  transform: scale(1.05) translateY(-15px);
}

.card-number {
    position: absolute;
  top: -15px;
  right: 20px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(91, 42, 112, 0.1);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.process-card.featured .card-number {
  color: rgba(255, 255, 255, 0.2);
}

.card-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #5b2a70, #135a79);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  transition: all 0.3s ease;
  position: relative;
}

.process-card.featured .card-icon-wrapper {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.process-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  animation: pulse 2s infinite;
}

.process-card h3 {
  font-size: 1.8rem;
  font-family: "Playfair Display", serif;
  color: #5b2a70;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.process-card.featured h3 {
  color: white;
}

.process-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 2rem;
}

.process-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-tag {
  background: rgba(91, 42, 112, 0.1);
  color: #5b2a70;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.process-card.featured .feature-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.feature-tag:hover {
  background: rgba(91, 42, 112, 0.2);
  transform: translateX(5px);
}

.process-card.featured .feature-tag:hover {
  background: rgba(255, 255, 255, 0.3);
}

.featured-badge {
    position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #fda229, #ff6347);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse 2s infinite;
}

/* Sección de estadísticas */
.stats-section {
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

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

.stat-item {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(91, 42, 112, 0.1);
  border: 1px solid rgba(91, 42, 112, 0.1);
  transition: all 0.3s ease;
    position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fda229, #ff6347);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(91, 42, 112, 0.15);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #5b2a70;
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #5b2a70, #135a79);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
      font-size: 1rem;
  color: #6c757d;
  font-weight: 500;
  margin-bottom: 1rem;
}

.stat-icon {
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

/* Sección de características */
.features-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
  margin-bottom: 0;
}

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

.features-header h3 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  color: #5b2a70;
  margin-bottom: 1rem;
  font-weight: 600;
}

.features-header p {
  font-size: 1.2rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(91, 42, 112, 0.1);
  border: 1px solid rgba(91, 42, 112, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fda229, #ff6347);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(91, 42, 112, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #fda229, #ff6347);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
  font-size: 1.3rem;
  font-family: "Playfair Display", serif;
  color: #5b2a70;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-card p {
      font-size: 1rem;
  line-height: 1.6;
  color: #6c757d;
  font-family: "Open Sans", sans-serif;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .seccion2-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .seccion2-header h2 {
    font-size: 3rem;
  }
}

  @media (max-width: 768px) {
  .seccion2 {
    padding: 4rem 1rem;
  }
  
  .seccion2-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-card.featured {
    transform: scale(1);
  }
  
  .process-card.featured:hover {
    transform: translateY(-15px);
  }
  
  .seccion2-header h2 {
    font-size: 2.5rem;
  }
  
  .seccion2-subtitle {
    font-size: 1.2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-item {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .seccion2-header h2 {
    font-size: 2rem;
  }
  
  .header-badge {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .process-card {
    padding: 1.5rem 1rem;
  }
  
  .card-number {
    font-size: 3rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  }


  /* Sección 3 */
  .seccion3 {
  padding: 2rem 2% 4rem 2%;
    background-color: #fff;
    text-align: center;
  }
  
  .seccion3-content {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .seccion3 h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #5b2a70;
    font-family: "Playfair Display", serif;
  }
  
  .image-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .image-item {
    flex: 1 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra horizontalmente */
  }
  
  .image-item img {
    height: auto;
    border-radius: 16px;
    margin-bottom: 1rem;
  }
  
  .image-item p {
    font-size: 1rem;
    color: #333;
    font-family: "Open Sans", sans-serif;
    margin: 0; /* Elimina el margen por defecto */
    flex-grow: 1; /* Hace que el texto ocupe el espacio restante */
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
  }
  
  /* Estilos para móviles */
  @media (max-width: 768px) {
    .seccion3 h1 {
      font-size: 2rem;
    }
  
    .image-item {
      flex: 1 1 100%;
      max-width: 100%;
      margin-bottom: 2rem;
    }
  
    .image-item:last-child {
      margin-bottom: 0;
    }
  }

  /* Efecto de hover en la sección */
.seccion3:hover h1 {
    transform: translateY(10px); /* Mueve el título hacia abajo */
    transition: transform 0.5s ease; /* Transición lenta */
  }
  
  .seccion3:hover .image-item {
    transform: scale(0.95); /* Reduce el tamaño de los GIFs y su texto */
    transition: transform 0.5s ease; /* Transición lenta */
  }
  
  /* Asegúrate de que los elementos tengan una transformación inicial para que la transición funcione */
  .seccion3 h1 {
    transition: transform 0.5s ease; /* Transición lenta */
  }
  
  .image-item {
    transition: transform 0.5s ease; /* Transición lenta */
  }
  
/* ===== SECCIÓN 4 - TIMELINE DE BENEFICIOS ===== */
.seccion4 {
  padding: 6rem 2% 4rem 2%;
  background: linear-gradient(135deg, #000000 0%, #1a1a2e 30%, #16213e 70%, #000000 100%) !important;
  position: relative;
  overflow: hidden;
  color: #fff !important;
  border: 5px solid red !important; /* ESTILO DE PRUEBA - ELIMINAR DESPUÉS */
}

/* Fondo con efectos */
.seccion4-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    /* Patrón de puntos sutiles */
    radial-gradient(circle at 25% 25%, rgba(253, 162, 41, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255, 99, 71, 0.1) 2px, transparent 2px),
    /* Gradientes de fondo */
    radial-gradient(circle at 20% 80%, rgba(253, 162, 41, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 99, 71, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(91, 42, 112, 0.1) 0%, transparent 50%),
    /* Patrón de líneas diagonales sutiles */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(253, 162, 41, 0.05) 40px,
      rgba(253, 162, 41, 0.05) 42px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255, 99, 71, 0.05) 40px,
      rgba(255, 99, 71, 0.05) 42px
    );
  opacity: 1;
}

.bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: 
    radial-gradient(circle, rgba(253, 162, 41, 0.15) 0%, transparent 50%),
    radial-gradient(circle, rgba(255, 99, 71, 0.12) 0%, transparent 60%),
    radial-gradient(circle, rgba(91, 42, 112, 0.08) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
  filter: blur(20px);
}

@keyframes glowPulse {
  0%, 100% { 
    opacity: 0.4; 
    transform: translate(-50%, -50%) scale(1) rotate(0deg); 
  }
  50% { 
    opacity: 0.7; 
    transform: translate(-50%, -50%) scale(1.05) rotate(180deg); 
  }
}
  
  .seccion4-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
  z-index: 2;
}

/* Header de la sección */
.seccion4-header {
  text-align: center;
  margin-bottom: 5rem;
  animation: fadeInUp 0.8s ease-out;
}

.seccion4-header .header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fda229, #ff6347);
  color: #1a1a2e;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(253, 162, 41, 0.3);
  animation: float 3s ease-in-out infinite;
}

.seccion4-header h2 {
  font-size: 3.5rem;
  font-family: "Playfair Display", serif;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fda229, #ff6347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.seccion4-subtitle {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Open Sans", sans-serif;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Timeline Container */
.timeline-container {
    position: relative;
  max-width: 1200px;
  margin: 0 auto 5rem auto;
  padding: 2rem 0;
}

.timeline-line {
    position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #fda229, #ff6347, #5b2a70);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(253, 162, 41, 0.5);
}

/* Timeline Items */
.timeline-item {
    position: relative;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  padding-right: 50%;
  text-align: right;
}

.timeline-item.right {
  padding-left: 50%;
  text-align: left;
}

/* Timeline Markers */
.timeline-marker {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5b2a70, #135a79);
  border: 4px solid #fda229;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(253, 162, 41, 0.4);
  z-index: 10;
  transition: all 0.3s ease;
}

.timeline-marker:hover {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 40px rgba(253, 162, 41, 0.6);
}

.marker-icon {
  color: #fda229;
  transition: all 0.3s ease;
}

.timeline-marker:hover .marker-icon {
  transform: rotate(360deg);
}

/* Timeline Content */
.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fda229, #ff6347);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-content:hover::before {
  transform: scaleX(1);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.content-header h3 {
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  color: #fda229;
  font-weight: 600;
  margin: 0;
}

.step-number {
  background: linear-gradient(135deg, #fda229, #ff6347);
  color: #0f0f23;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-family: "Open Sans", sans-serif;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.content-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-chip {
  background: rgba(253, 162, 41, 0.2);
  color: #fda229;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(253, 162, 41, 0.3);
  transition: all 0.3s ease;
}

.feature-chip:hover {
  background: rgba(253, 162, 41, 0.3);
  transform: translateY(-2px);
}

/* CTA Section */
.seccion4-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 3rem 2rem;
  margin-top: 2rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.cta-content h3 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

.cta-buttons .btn {
  min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .timeline-line {
    left: 30px;
    transform: none;
  }
  
  .timeline-item.left,
  .timeline-item.right {
    padding-left: 80px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-marker {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .timeline-content {
    margin: 0;
  }
  
  .seccion4-header h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .seccion4 {
    padding: 4rem 1rem 2rem 1rem;
  }
  
  .seccion4-header h2 {
    font-size: 2.5rem;
  }
  
  .seccion4-subtitle {
      font-size: 1.2rem;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-item.left,
  .timeline-item.right {
    padding-left: 60px;
  }
  
  .timeline-marker {
    left: 20px;
    width: 50px;
    height: 50px;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .content-header h3 {
    font-size: 1.3rem;
  }
  
  .cta-content h3 {
      font-size: 2rem;
    }

  .cta-buttons {
      flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .seccion4-header h2 {
    font-size: 2rem;
  }
  
  .seccion4-subtitle {
    font-size: 1rem;
  }
  
  .timeline-content {
    padding: 1rem;
  }
  
  .content-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  
  .cta-content h3 {
    font-size: 1.8rem;
  }
  
  .cta-content p {
    font-size: 1rem;
    }
  }
  

/* Sección de Testimonios */
.testimonios {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.testimonios-content {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonios-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(253, 162, 41, 0.1);
  color: #FDA229;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testimonios-header h2 {
  font-size: 2.5rem;
  color: #595959;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

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

.testimonio-card {
  
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.testimonio-card.featured {
  background: linear-gradient(135deg, #FDA229 0%, #ff6347 100%);
  color: white;
}

.testimonio-card.featured .testimonio-info p,
.testimonio-card.featured .testimonio-text {
  color: rgba(255, 255, 255, 0.9);
}

.testimonio-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FDA229;
}

.testimonio-card.featured .testimonio-avatar {
  border-color: white;
}

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

.testimonio-info {
  flex: 1;
}

.testimonio-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: #595959;
}

.testimonio-card.featured .testimonio-info h3 {
  color: white;
}

.testimonio-info p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.rating {
  color: #FDA229;
  font-size: 0.9rem;
}

.testimonio-card.featured .rating {
  color: white;
}

.testimonio-quote-icon {
  position: absolute;
  top: 0;
  right: 0;
}

.testimonio-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 2rem;
}

.testimonio-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonio-card.featured .testimonio-stats {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #FDA229;
}

.testimonio-card.featured .stat-value {
  color: white;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
}

.testimonio-card.featured .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

.testimonios-footer {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonios-metrics {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 2rem;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #595959;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1rem;
  color: #666;
}

.btn-testimonios {
  background: linear-gradient(135deg, #FDA229 0%, #ff6347 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(253, 162, 41, 0.2);
}

.btn-testimonios:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 162, 41, 0.3);
}

@media (max-width: 1024px) {
  .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .testimonios-metrics {
    flex-direction: column;
    gap: 2rem;
  }

  .testimonios-header h2 {
    font-size: 2rem;
  }

  .metric-value {
    font-size: 2rem;
  }
}

/* ===== ESTILOS GENERALES DE PLANES ===== */

.planes {
    text-align: center;
    padding: 40px 40px;
    background-color: #ffffff;
    color: white;
  }
  
  .planes h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: black;
  }
  
  .contenedor-planes {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .plan {
    position: relative;
    overflow: hidden;
    width: 360px;
    min-height: 620px;
    background-color: #135A79CC;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    box-sizing: border-box;
  }
  
  .plan:hover {
    transform: translateY(-10px);
  }
  
  .plan:hover .contenido-hover {
    opacity: 1;
  }
  
  /* Imagen circular */
  .imagen-circular {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #5b2a70;
  }
  
/* Precio y descripción */
.precio {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  color: white;
  font-weight: 600;
  margin: 10px 0;
}

.descripcion-plan {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 600;
  color: white;
  text-align: center;
  flex-grow: 1;
  margin: 20px 0;
}

/* Para el precio y la descripción principal (grandes y en blanco) */
.precio,
.descripcion-plan p {
  font-family: "Playfair Display", serif;
  font-size: 38px;
  font-weight: 600;
  color: white;
}

/* Para otros párrafos dentro de .plan (como .descripcion) */
.plan p:not(.precio):not(.descripcion-plan p) {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  color: white;
}

  
  /* Botón principal */
  .boton,
  .boton-hover {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
  }

  .boton {
    background-color: #8A0557;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 24px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    transform: translateY(100px);
  }
  

  .boton:hover {
    background-color: #3a1a4a;
  }
  

  .boton-plan:hover {
    background-color: #570A57;
  }
  
  .boton-hover {
    background-color: #fda229;
    color: #232324;
    margin: 0 auto;
  }
  
  .boton-hover:hover {
    background-color: #e68a00;
  }
  
  /* ===== CONTENIDO HOVER ===== */
  .contenido-hover {
    box-sizing: border-box;
    padding: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5b2a70 0%, #135a79 100%);
    color: white;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
  }
  
  /* Textos Hover */
  .titulo-hover {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .subtitulo-hover {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .lista-hover {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 2rem;
  }
  
  .lista-hover li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    font-size: 1rem;
  }
  
  .lista-hover li::before {
    content: "•";
    color: #fda229;
    position: absolute;
    left: 0;
  }
  
  /* ===== MEDIA QUERIES (RESPONSIVE) ===== */
  @media (max-width: 768px) {
    .contenedor-planes {
      flex-direction: column;
      align-items: center;
    }
  
    .plan {
      width: 90%;
      max-width: 350px;
    }
  
    .boton,
    .boton-hover {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  
    .lista-hover li {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .planes h2 {
      font-size: 2rem;
    }
  
    .precio,
    .titulo-hover {
      font-size: 1.5rem;
    }
  
    .descripcion,
    .subtitulo-hover {
      font-size: 1rem;
    }
  }
  

  
/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #2d1537 0%, #1a1a2e 50%, #16213e 100%);
  color: #fff;
  padding: 6rem 0 2rem 0;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 162, 41, 0.5), transparent);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Sección principal del footer */
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Columna del logo y descripción */
.footer-section:first-child {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-logo h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fda229;
  margin: 0;
}

.footer-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: #fda229;
  color: #2d1537;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(253, 162, 41, 0.3);
}

/* Títulos de sección */
.footer-section h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fda229;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #fda229, #ff6347);
  border-radius: 1px;
}

/* Lista de enlaces */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: #fda229;
  transition: width 0.3s ease;
  transform: translateY(-50%);
}

.footer-links a:hover {
  color: #fda229;
  padding-left: 15px;
}

.footer-links a:hover::before {
  width: 10px;
}

/* Información de contacto */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-item svg {
  color: #fda229;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Línea divisoria */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 2rem 0;
}

/* Sección inferior */
.footer-bottom {
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  color: #ffffff;
  font-size: 0.9rem;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-legal a:hover {
  color: #fda229;
}

/* Responsive del footer */
@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-section:first-child {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 1.5rem 0;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal {
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== CHATBOT SIMPLIFICADO - ESTILOS ELIMINADOS PARA EVITAR CONFLICTOS ===== */
/* Todos los estilos del chatbot ahora están inline en el HTML para garantizar funcionamiento */

/* ===== CONFIGURACIÓN GENERAL DE SCROLLBARS PARA TODA LA WEB ===== */
/* Ocultar scrollbars en todos los elementos excepto el body */
* {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Configurar scrollbar principal solo para el body */
html {
    scrollbar-width: thin !important;
    -ms-overflow-style: auto !important;
}

html::-webkit-scrollbar {
    display: block !important;
    width: 8px !important;
}

html::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 4px !important;
}

html::-webkit-scrollbar-thumb {
    background: #5b2a70 !important;
    border-radius: 4px !important;
}

html::-webkit-scrollbar-thumb:hover {
    background: #135a79 !important;
}
  
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(45, 21, 55, 0.98);
        box-shadow: 0 8px 32px rgba(91, 42, 112, 0.18);
        border-radius: 0 0 24px 24px;
        padding: 1.5rem 2rem 2rem 2rem;
        z-index: 999;
        display: none;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 1rem 0 0 0;
        width: 100%;
    }
    .nav-links a, .nav-links li:last-child a {
        width: 100%;
        text-align: left;
        margin-left: 0;
        border-radius: 12px;
        padding: 0.8rem 1.2rem;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0.7rem 1rem;
        height: 60px;
    }
    .nav-links {
        top: 60px;
        padding: 1rem 1rem 1.5rem 1rem;
    }
    .logo img {
        height: 36px;
        padding-top: 0.5em;
    }
}
  
  /* ===== MENÚ MÓVIL INFERIOR (TAB BAR) ===== */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: rgba(45, 21, 55, 0.98);
  box-shadow: 0 -2px 16px rgba(91, 42, 112, 0.12);
  z-index: 2000;
  border-top: 1.5px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
}

.tabbar-item {
  flex: 1 1 0;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  padding: 0.2rem 0 0.1rem 0;
  transition: color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tabbar-item:active, .tabbar-item:focus, .tabbar-item:hover {
  color: #fda229;
}

.tabbar-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.1rem;
}

.tabbar-label {
  font-size: 0.75rem;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .mobile-tabbar {
    display: flex;
  }
  .navbar {
    position: static !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }
}

@media (min-width: 901px) {
  .mobile-tabbar {
    display: none !important;
  }
}
  
  

/* Variables CSS para temas */
:root {
  /* Tema claro (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f4;
  --text-primary: #333333;
  --text-secondary: #666666;
  --accent-color: #fda229;
  --accent-gradient: linear-gradient(135deg, #fda229, #ff6347);
  --nav-bg: rgba(45, 21, 55, 0.92);
  --nav-text: #ffffff;
  --nav-link-hover: rgba(253, 162, 41, 0.08);
  --nav-border: rgba(255,255,255,0.08);
  --hero-bg: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  --hero-overlay: linear-gradient(135deg, rgba(91, 42, 112, 0.8) 0%, rgba(19, 90, 121, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
  --hero-text: #ffffff;
  --hero-badge-bg: rgba(255, 255, 255, 0.1);
  --hero-badge-border: rgba(255, 255, 255, 0.2);
  --card-bg: #ffffff;
  --card-shadow: rgba(91, 42, 112, 0.1);
  --border-color: rgba(255,255,255,0.08);
  --testimonial-bg: #135a79;
  --footer-bg: linear-gradient(135deg, #2d1537 0%, #1a1a2e 50%, #16213e 100%);
  --input-bg: #D9D9D9;
  --input-text: #8A0557;
  --contact-bg: #2d1537;
  --section-bg: #ffffff;
  --planes-bg: #ffffff;
  --card-text: #333333;
  --seccion2-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --seccion2-title: #5b2a70;
  --seccion2-text: #666666;
  --seccion2-card-bg: #ffffff;
  --seccion2-card-border: rgba(91, 42, 112, 0.1);
  --seccion2-card-shadow: 0 15px 35px rgba(91, 42, 112, 0.1);
  --seccion2-badge-bg: linear-gradient(135deg, #5b2a70, #135a79);
  --seccion2-badge-text: #ffffff;
  --seccion2-number-color: #5b2a70;
  --seccion2-feature-tag-bg: rgba(91, 42, 112, 0.1);
  --seccion2-feature-tag-text: #5b2a70;
}

[data-theme="dark"] {
  /* Tema oscuro */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-color: #fda229;
  --accent-gradient: linear-gradient(135deg, #fda229, #ff6347);
  --nav-bg: rgba(18, 18, 18, 0.95);
  --nav-text: #ffffff;
  --nav-link-hover: rgba(253, 162, 41, 0.15);
  --nav-border: rgba(255,255,255,0.05);
  --hero-bg: linear-gradient(135deg, #0a0a0a 0%, #121212 50%, #1a1a1e 100%);
  --hero-overlay: linear-gradient(135deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(18, 18, 18, 0.5) 100%);
  --hero-text: #ffffff;
  --hero-badge-bg: rgba(253, 162, 41, 0.1);
  --hero-badge-border: rgba(253, 162, 41, 0.2);
  --card-bg: #1e1e1e;
  --card-shadow: rgba(0, 0, 0, 0.2);
  --border-color: rgba(255,255,255,0.05);
  --testimonial-bg: #1e1e1e;
  --footer-bg: linear-gradient(135deg, #121212 0%, #1e1e1e 50%, #121212 100%);
  --input-bg: #2d2d2d;
  --input-text: #fda229;
  --contact-bg: #121212;
  --section-bg: #1e1e1e;
  --planes-bg: #1e1e1e;
  --card-text: #ffffff;
  --seccion2-bg: linear-gradient(135deg, #121212 0%, #1a1a1e 100%);
  --seccion2-title: #fda229;
  --seccion2-text: #cccccc;
  --seccion2-card-bg: #1e1e1e;
  --seccion2-card-border: rgba(253, 162, 41, 0.1);
  --seccion2-card-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  --seccion2-badge-bg: linear-gradient(135deg, #fda229, #ff6347);
  --seccion2-badge-text: #121212;
  --seccion2-number-color: #fda229;
  --seccion2-feature-tag-bg: rgba(253, 162, 41, 0.15);
  --seccion2-feature-tag-text: #fda229;
}

/* Ajustes del botón de tema en el navbar */
.theme-toggle-wrapper {
  margin-left: 1rem !important;
  display: flex;
  align-items: center;
}

.theme-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nav-text);
  transition: all 0.3s ease;
  position: relative;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sun-icon {
  opacity: 0;
  transform: scale(0.5);
}

.moon-icon {
  opacity: 1;
  transform: scale(1);
}

[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: scale(1);
}

[data-theme="dark"] .moon-icon {
  opacity: 0;
  transform: scale(0.5);
}

/* Actualizar todas las secciones con modo oscuro */
.seccion2,
.seccion3,
.seccion4,
.seccion5 {
  background-color: var(--section-bg);
}

.planes {
  background-color: var(--planes-bg);
}

.process-card,
.stat-item,
.feature-card {
  background-color: var(--card-bg);
  color: var(--card-text);
}

[data-theme="dark"] .process-card h3,
[data-theme="dark"] .stat-item h3,
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .stat-number,
[data-theme="dark"] .feature-card h4 {
  color: var(--text-primary);
}

[data-theme="dark"] .process-card p,
[data-theme="dark"] .stat-item p,
[data-theme="dark"] .feature-card p,
[data-theme="dark"] .stat-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .seccion2-header h2,
[data-theme="dark"] .seccion3 h1,
[data-theme="dark"] .seccion4-header h2,
[data-theme="dark"] .seccion5-title {
  color: var(--text-primary);
}

[data-theme="dark"] .seccion2-subtitle,
[data-theme="dark"] .seccion4-subtitle {
  color: var(--text-secondary);
}

[data-theme="dark"] .feature-tag {
  background: rgba(253, 162, 41, 0.1);
  color: var(--accent-color);
}

[data-theme="dark"] .plan {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .planes h2 {
  color: var(--text-primary);
}

/* Ajustes adicionales para mejor contraste */
[data-theme="dark"] .header-badge {
  background: rgba(253, 162, 41, 0.1);
  border: 1px solid rgba(253, 162, 41, 0.2);
}

[data-theme="dark"] .badge-text {
  color: var(--accent-color);
}

/* Asegurar transiciones suaves */
* {
  transition: background-color 0.3s ease, 
              color 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease,
              opacity 0.3s ease,
              transform 0.3s ease;
}
  
[data-theme="dark"] .seccion2 {
  background: linear-gradient(135deg, #121212 0%, #1a1a1e 100%) !important;
  color: #cccccc !important;
}

[data-theme="dark"] .seccion2-header h2 {
  color: #fda229 !important;
  -webkit-text-fill-color: #fda229 !important;
}

[data-theme="dark"] .seccion2-subtitle {
  color: #cccccc !important;
}

[data-theme="dark"] .process-card {
  background-color: rgba(30, 30, 30, 0.95) !important;
  border: 1px solid rgba(253, 162, 41, 0.1) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .card-number {
  color: #fda229 !important;
}

[data-theme="dark"] .process-card h3 {
  color: #fda229 !important;
}

[data-theme="dark"] .process-card p {
  color: #cccccc !important;
}

[data-theme="dark"] .feature-tag {
  background: rgba(253, 162, 41, 0.15) !important;
  color: #fda229 !important;
}

[data-theme="dark"] .header-badge {
  background: linear-gradient(135deg, #fda229, #ff6347) !important;
  color: #ffffff !important;
  border: none !important;
}

[data-theme="dark"] .badge-text {
  color: #ffffff !important;
}

[data-theme="dark"] .badge-icon {
  color: #ffffff !important;
}

/* Asegurar que no haya conflictos con otros estilos */
[data-theme="dark"] .seccion2 * {
  border-color: rgba(253, 162, 41, 0.1) !important;
}
  
[data-theme="dark"] .seccion3 {
  background: linear-gradient(135deg, #121212 0%, #1a1a1e 100%) !important;
}

[data-theme="dark"] .seccion3 h1 {
  color: #fda229 !important;
}

[data-theme="dark"] .seccion3 p,
[data-theme="dark"] .image-item p {
  color: #ffffff !important;
}

[data-theme="dark"] .image-grid {
  background-color: transparent !important;
}
  
[data-theme="dark"] .seccion5 {
  background: linear-gradient(135deg, #121212 0%, #1a1a1e 100%) !important;
}

[data-theme="dark"] .seccion5-title {
  color: #fda229 !important;
}

[data-theme="dark"] .seccion5-list ul li {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .seccion5-list li::before {
  color: #fda229 !important;
  opacity: 1;
}

[data-theme="dark"] .seccion5-container {
  background-color: transparent !important;
}
  
  

[data-theme="dark"] .testimonios {
  background: linear-gradient(135deg, #121212 0%, #1a1a1e 100%) !important;
}

[data-theme="dark"] .testimonios-title {
  background: linear-gradient(135deg, #ffffff, #fda229) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  position: relative !important;
}

[data-theme="dark"] .testimonios-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #fda229, #ff6347);
  border-radius: 2px;
}

[data-theme="dark"] .testimonios-container {
  background-color: transparent !important;
}

[data-theme="dark"] .testimonios-slider-container {
  background: rgba(30, 30, 30, 0.6) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 162, 41, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .testimonio-box {
  background-color: rgba(18, 18, 18, 0.8) !important;
  border: 1px solid rgba(253, 162, 41, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .testimonio-box:hover {
  background-color: rgba(30, 30, 30, 0.9) !important;
  border-color: rgba(253, 162, 41, 0.2);
  transform: translateY(-5px);
}

[data-theme="dark"] .testimonio-title {
  color: #fda229 !important;
  font-weight: 600;
}

[data-theme="dark"] .testimonio-subtitle {
  color: #cccccc !important;
}

[data-theme="dark"] .testimonio-text {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .rating-bubble {
  background: linear-gradient(135deg, #fda229, #ff6347) !important;
  border: none;
  box-shadow: 0 4px 12px rgba(253, 162, 41, 0.2);
}

[data-theme="dark"] .rating-bubble span {
  color: #121212 !important;
  text-shadow: none;
}

/* Efectos de hover y animaciones */
[data-theme="dark"] .testimonio-box {
  transition: all 0.3s ease !important;
}

[data-theme="dark"] .testimonio-box:hover .rating-bubble {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(253, 162, 41, 0.3);
}

/* Ajustes responsive */
@media (max-width: 768px) {
  [data-theme="dark"] .testimonio-box {
    background-color: rgba(18, 18, 18, 0.95) !important;
  }
}
  
  

/* ===== CHATBOT STYLES ===== */
.chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 30px;
  z-index: 9999;
  font-family: "Montserrat", sans-serif;
}

.chatbot-toggle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fda229, #ff6347);
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

.chatbot-toggle-icon {
  width: 35px;
  height: 35px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.chat-icon, .close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
}

.chatbot-box {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 400px;
  height: 600px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.chatbot-box.active {
  display: flex;
}

.chatbot-header {
  padding: 15px;
  background: linear-gradient(135deg, #fda229, #ff6347);
  color: white;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px 25px 0 0;
  position: relative;
  flex-shrink: 0;
}

.chatbot-logo {
  width: 35px;
  height: 35px;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.chatbot-header-text {
  text-align: left;
  flex: 1;
}

.chatbot-header h3 {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  font-weight: 600;
}

.chatbot-header p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  background: #f8f9fa;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 0;
}

.message {
  padding: 15px 20px;
  border-radius: 18px;
  max-width: 85%;
  font-size: 1rem;
  line-height: 1.5;
  word-wrap: break-word;
  white-space: pre-wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin: 0;
}

.bot-message {
  background: white;
  margin-right: auto;
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.user-message {
  background: linear-gradient(135deg, #fda229, #ff6347);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 5px;
  align-self: flex-end;
}

.chatbot-input {
  padding: 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0 0 25px 25px;
  flex-shrink: 0;
}

/* Scrollbar styles */
.chatbot-messages::-webkit-scrollbar {
  width: 12px !important;
  background-color: #f8f9fa !important;
}

.chatbot-messages::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 10px !important;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: #fda229 !important;
  border-radius: 10px !important;
  border: 3px solid #f1f1f1 !important;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
  background: #ff6347 !important;
}

/* Firefox */
.chatbot-messages {
  scrollbar-width: thin !important;
  scrollbar-color: #fda229 #f1f1f1 !important;
}

/* Dark mode */
[data-theme="dark"] .chatbot-box {
  background: #1e1e1e;
}

[data-theme="dark"] .chatbot-messages {
  background: #2d2d2d;
  scrollbar-color: #fda229 #2d2d2d !important;
}

[data-theme="dark"] .chatbot-messages::-webkit-scrollbar {
  background-color: #2d2d2d !important;
}

[data-theme="dark"] .chatbot-messages::-webkit-scrollbar-track {
  background: #2d2d2d !important;
}

[data-theme="dark"] .chatbot-messages::-webkit-scrollbar-thumb {
  border-color: #2d2d2d !important;
}

[data-theme="dark"] .chatbot-input {
  background: #1e1e1e;
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .bot-message {
  background: #3d3d3d;
  color: white;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .chatbot-box {
    width: calc(100% - 40px);
    height: calc(100vh - 140px);
    right: 20px;
  }

  .chatbot-messages {
    height: calc(100% - 180px);
  }
}
  
  

.quick-replies {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.quick-reply {
  background: #f0f2f5;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-reply:hover {
  background: #e4e6eb;
  transform: translateY(-2px);
}

.input-container {
  display: flex;
  gap: 15px;
  align-items: center;
}

.message-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.message-input:focus {
  outline: none;
  border-color: #fda229;
  background: white;
  box-shadow: 0 0 0 3px rgba(253, 162, 41, 0.1);
}

.send-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fda229, #ff6347);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(253, 162, 41, 0.3);
}

.send-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(253, 162, 41, 0.4);
}

.send-button svg {
  width: 24px;
  height: 24px;
}

.chatbot-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.chatbot-close:focus {
  outline: none;
  box-shadow: none;
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Dark mode input styles */
[data-theme="dark"] .message-input {
  background: #2d2d2d;
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

[data-theme="dark"] .message-input:focus {
  background: #3d3d3d;
  border-color: #fda229;
}

[data-theme="dark"] .message-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .quick-reply {
  background: #3d3d3d;
  color: white;
}

[data-theme="dark"] .quick-reply:hover {
  background: #4d4d4d;
}

/* Mobile adjustments for inputs */
@media (max-width: 480px) {
  .quick-reply {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  
  .message-input {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  
  .send-button {
    width: 45px;
    height: 45px;
  }
  
  .chatbot-box {
    width: calc(100% - 40px);
    height: calc(100vh - 140px);
    right: 20px;
    bottom: 100px;
  }
  
  .chatbot-messages {
    padding: 15px;
  }
  
  .message {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}
  
  

.chatbot-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.chatbot-close:focus {
  outline: none;
  box-shadow: none;
}

.chatbot-close svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}
  
  

/* Estilos del Chatbot - Responsive */
@media (max-width: 768px) {
  .chatbot-container {
    bottom: 5rem;
  }
  
  .chatbot-box {
    bottom: calc(5rem + 60px);
    width: 90%;
    max-width: 400px;
    left: 50%;
    transform: translateX(-50%);
    max-height: 80vh;
    right: auto;
  }
}

.chatbot-toggle .close-icon {
  display: none;
}

.chatbot-toggle.active .chat-icon {
  display: none;
}

.chatbot-toggle.active .close-icon {
  display: block;
}

.chatbot-notification {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  background-color: #ff4444;
  border-radius: 50%;
  display: none;
}

/* Estilos para el botón de chat en la sección de contacto */
.boton-chat {
  background-color: #FDA229;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.boton-chat:hover {
  background-color: #ff6347;
}
  
  

/* Sección de Garantías */
.garantias {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.garantias-content {
  max-width: 1200px;
  margin: 0 auto;
}

.garantias-header {
  text-align: center;
  margin-bottom: 4rem;
}

.garantias-header h2 {
  font-size: 2.5rem;
  color: #232324;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.garantias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Estilos para la columna de industrias */
.industrias-container {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.industrias-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.industrias-icon {
  width: 48px;
  height: 48px;
  background: rgba(253, 162, 41, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FDA229;
}

.industrias-header h3 {
  font-size: 1.5rem;
  color: #232324;
  margin: 0;
}

.industrias-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.industria-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: white;
  border: 1px solid #eee;
}

.industria-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #FDA229;
}

.industria-icon {
  width: 40px;
  height: 40px;
  background: rgba(253, 162, 41, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.industria-info {
  flex: 1;
}

.industria-info h4 {
  font-size: 1.1rem;
  color: #232324;
  margin: 0 0 0.25rem 0;
}

.industria-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.success-rate {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FDA229;
  padding: 0.5rem 1rem;
  background: rgba(253, 162, 41, 0.1);
  border-radius: 20px;
}

/* Estilos para la columna de beneficios */
.beneficios-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.beneficios-card {
  background: linear-gradient(135deg, #FDA229 0%, #ff6347 100%);
  border-radius: 20px;
  padding: 2rem;
  color: white;
}

.beneficios-header {
  margin-bottom: 2rem;
}

.beneficios-header h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
}

.beneficios-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.beneficios-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.beneficio-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FDA229;
  font-weight: bold;
  flex-shrink: 0;
}

.beneficio-content h4 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem 0;
}

.beneficio-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.garantia-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
  font-size: 2rem;
}

.badge-content h4 {
  font-size: 1.1rem;
  margin: 0 0 0.25rem 0;
}

.badge-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.stats-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #232324;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #eee;
}

@media (max-width: 1024px) {
  .garantias-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

  .garantias-header h2 {
    font-size: 2rem;
  }

  .industria-item {
    flex-direction: column;
    text-align: center;
  }

  .success-rate {
    margin-top: 1rem;
  }

  .stats-card {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
  }
}
  
  

/* Sección Contacto */
.contactanos {
  padding: 80px 40px;
  background-color: #2d1537;
  color: #fff;
}

.contenedor-contacto {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.columna-izquierda,
.columna-derecha {
  flex: 1;
}

.columna-izquierda h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #fff;
}

.descripcion-contacto {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #fff;
}

.info-contacto {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.campo-contacto {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 15px;
  transition: all 0.3s ease;
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
}

.campo-contacto:hover {
  background-color: #570A5780;
  border: 2px solid #FDA229;
}

.campo-contacto:active {
  background-color: #570A5780;
  border: 2px solid #FDA229;
}

.campo-contacto .icono {
  font-size: 1.5em;
  color: #FDA229;
}

.campo-contacto p {
  font-size: 1.1em;
  margin: 0;
  color: #fff;
}

.contenedor-formulario {
  background-color: #D9D9D9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 500px;
}

.columna-derecha h3 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #135A79;
}

.botones-contacto {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.boton-contacto {
  flex: 1;
  min-width: 120px;
  padding: 12px 20px;
  border: 2px solid #FDA229;
  background-color: transparent;
  color: #232324;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.boton-contacto:hover {
  background-color: rgba(253, 162, 41, 0.1);
}

.boton-contacto.selected {
  background-color: #FDA229;
  color: white;
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(253, 162, 41, 0.2);
}

.boton-contacto.selected::after {
  content: '✓';
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 12px;
  background: white;
  color: #FDA229;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin: 1.5rem 0;
}

.input-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.formulario-contacto input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.formulario-contacto input:focus {
  border-color: #FDA229;
  outline: none;
  box-shadow: 0 0 0 3px rgba(253, 162, 41, 0.1);
}

.formulario-contacto input.error {
  border-color: #ff4444;
}

.formulario-contacto input.valid {
  border-color: #4CAF50;
}

.boton-chat {
  display: block;
  width: 60%;
  background-color: #28a745;
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1em;
  margin: 20px auto 0;
  text-align: center;
  transition: background-color 0.3s ease;
}

.boton-chat:hover {
  background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-contacto {
    flex-direction: column;
  }
  
  .botones-contacto {
    flex-direction: column;
  }
  
  .boton-chat {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .campo-contacto {
    padding: 0;
    font-size: 1.1rem;
  }

  .columna-izquierda h2 {
    font-size: 2rem;
    padding-bottom: 1rem;
  }
}
  
  

/* Estilos para mensajes de error y validación */
.error-message {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 4px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: -22px;
  left: 0;
  transition: all 0.3s ease;
  background-color: rgba(255, 68, 68, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  border-left: 3px solid #ff4444;
  font-weight: 500;
}

.input-group.active .error-message {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 0.3s ease;
}

/* Estilos para el botón de chat */
.boton-chat {
  display: block;
  width: 100%;
  background-color: #FDA229;
  color: white;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  margin: 20px auto 0;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(253, 162, 41, 0.2);
}

.boton-chat:hover {
  background-color: #ff6347;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(253, 162, 41, 0.3);
}

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

/* Sección de Planes */
.planes {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #2d1537 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.planes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(253, 162, 41, 0.5), transparent);
}

.planes-header h2 {
  color: white;
}

.planes-header .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.planes-content {
  max-width: 1200px;
  margin: 0 auto;
}

.planes-header {
  text-align: center;
  margin-bottom: 4rem;
  color: white !important;
}

.planes-header .section-badge {
  background: rgba(253, 162, 41, 0.1);
  color: #FDA229;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.planes-header h2 {
  color: white !important;
  font-size: 2.5rem;
  margin: 1rem 0;
  font-weight: 700;
}

.planes-header .section-subtitle {
  color: white !important;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto;
  line-height: 1.6;
  opacity: 0.8;
}

.planes-header h2 {
  font-size: 2.5rem;
  color: #232324;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

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

.plan-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.plan-card.featured {
  background: rgba(253, 162, 41, 0.05);
  border: 1px solid rgba(253, 162, 41, 0.2);
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.plan-ribbon {
  position: absolute;
  top: 1.5rem;
  right: -2rem;
  background: #FDA229;
  color: #2d1537;
  padding: 0.5rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 1;
}

.plan-content {
  padding: 2rem;
  flex: 1;
}

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

.plan-badge {
  background: rgba(253, 162, 41, 0.1);
  color: #FDA229;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.plan-card.featured .plan-badge {
  background: #FDA229;
  color: #2d1537;
}

.plan-header h3 {
  color: white;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1rem;
}

.plan-price .currency {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.plan-price .amount {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price .period {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.plan-features {
  margin-top: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: #FDA229;
  flex-shrink: 0;
}

.plan-card.featured .feature-icon {
  color: #FDA229;
}

.plan-footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-button {
  width: 100%;
  padding: 1rem;
  border: 2px solid #FDA229;
  border-radius: 12px;
  background: transparent;
  color: #FDA229;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.plan-card.featured .plan-button {
  background: #FDA229;
  color: #2d1537;
}

.plan-button:hover {
  background: #FDA229;
  color: #2d1537;
  transform: translateY(-2px);
}

.plan-card.featured .plan-button:hover {
  background: transparent;
  color: #FDA229;
}

@media (max-width: 1024px) {
  .planes-grid {
    gap: 1.5rem;
    padding: 0 2rem;
  }

  .plan-card.featured {
    transform: scale(1.03);
  }

  .plan-card.featured:hover {
    transform: scale(1.03) translateY(-5px);
  }
}

@media (max-width: 768px) {
  .planes-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 2rem;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-5px);
  }

  .plan-content {
    padding: 1.5rem;
  }

  .plan-footer {
    padding: 1.5rem;
  }
}
  
  


  
  

/* ===== MODO OSCURO PARA SECCIÓN DE GARANTÍAS ===== */

[data-theme="dark"] .garantias {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] .garantias-header h2 {
  color: #ffffff;
}

[data-theme="dark"] .garantias-header .section-badge {
  background: linear-gradient(135deg, #FDA229 0%, #ff6347 100%);
  color: #ffffff;
}

[data-theme="dark"] .garantias-header .section-subtitle {
  color: #b0b0b0;
}

/* Contenedor de industrias en modo oscuro */
[data-theme="dark"] .industrias-container {
  background: #2a2a2a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid #404040;
}

[data-theme="dark"] .industrias-header h3 {
  color: #ffffff;
}

[data-theme="dark"] .industrias-icon {
  background: rgba(253, 162, 41, 0.2);
  color: #FDA229;
}

/* Items de industria en modo oscuro */
[data-theme="dark"] .industria-item {
  background: #333333;
  border: 1px solid #404040;
}

[data-theme="dark"] .industria-item:hover {
  background: #3a3a3a;
  border-color: #FDA229;
  box-shadow: 0 4px 12px rgba(253, 162, 41, 0.2);
}

[data-theme="dark"] .industria-info h4 {
  color: #ffffff;
}

[data-theme="dark"] .industria-info p {
  color: #b0b0b0;
}

[data-theme="dark"] .industria-icon {
  background: rgba(253, 162, 41, 0.2);
}

[data-theme="dark"] .success-rate {
  background: rgba(253, 162, 41, 0.2);
  color: #FDA229;
  border: 1px solid rgba(253, 162, 41, 0.3);
}

/* Tarjeta de beneficios en modo oscuro */
[data-theme="dark"] .beneficios-card {
  background: linear-gradient(135deg, #FDA229 0%, #ff6347 100%);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(253, 162, 41, 0.3);
}

[data-theme="dark"] .beneficios-header h3 {
  color: #ffffff;
}

[data-theme="dark"] .beneficios-header p {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .beneficio-content h4 {
  color: #ffffff;
}

[data-theme="dark"] .beneficio-content p {
  color: rgba(255, 255, 255, 0.9);
}

[data-theme="dark"] .check-icon {
  background: #ffffff;
  color: #FDA229;
}

[data-theme="dark"] .garantia-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .badge-content h4 {
  color: #ffffff;
}

[data-theme="dark"] .badge-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Tarjeta de estadísticas en modo oscuro */
[data-theme="dark"] .stats-card {
  background: #2a2a2a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid #404040;
}

[data-theme="dark"] .stat-number {
  color: #FDA229;
}

[data-theme="dark"] .stat-label {
  color: #b0b0b0;
}

[data-theme="dark"] .stat-divider {
  background: #404040;
}

/* Efectos hover mejorados para modo oscuro */
[data-theme="dark"] .industria-item:hover .industria-icon {
  background: rgba(253, 162, 41, 0.3);
  transform: scale(1.1);
}

[data-theme="dark"] .industria-item:hover .success-rate {
  background: rgba(253, 162, 41, 0.3);
  transform: scale(1.05);
}

[data-theme="dark"] .beneficios-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(253, 162, 41, 0.4);
}

[data-theme="dark"] .stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-color: #FDA229;
}

/* Animaciones para modo oscuro */
@keyframes darkGlow {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(253, 162, 41, 0.2);
  }
  50% {
    box-shadow: 0 8px 32px rgba(253, 162, 41, 0.4);
  }
}

[data-theme="dark"] .industrias-container:hover {
  animation: darkGlow 2s ease-in-out infinite;
}

[data-theme="dark"] .stats-card:hover {
  animation: darkGlow 2s ease-in-out infinite;
}

/* Responsive para modo oscuro */
@media (max-width: 768px) {
  [data-theme="dark"] .garantias {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }
  
  [data-theme="dark"] .industria-item {
    background: #333333;
    border: 1px solid #404040;
  }
  
  [data-theme="dark"] .stats-card {
    background: #2a2a2a;
    border: 1px solid #404040;
  }
}

@media (max-width: 480px) {
  [data-theme="dark"] .garantias-header h2 {
    color: #ffffff;
  }
  
  [data-theme="dark"] .industria-info h4 {
    color: #ffffff;
  }
  
  [data-theme="dark"] .stat-number {
    color: #FDA229;
  }
}
  
  
