/* Reemplazar todo el archivo CSS con esta versión optimizada */
:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #10b981;
  --dark-color: #1e293b;
  --light-color: #f8fafc;
  --gray-color: #64748b;
  --gray-light: #e2e8f0;
  --gray-dark: #334155;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --background-color: #ffffff;
  --text-color: #1e293b;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --box_shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --service-category-title: #2563eb;
  --heading-color: #1e293b;
  --primary-font: 'Plus Jakarta Sans', sans-serif;
  --secondary-font: 'Inter', sans-serif;
}

.dark {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --secondary-color: #10b981;
  --dark-color: #f8fafc;
  --light-color: #0f172a;
  --gray-color: #94a3b8;
  --gray-light: #1e293b;
  --gray-dark: #cbd5e1;
  --background-color: #0f172a;
  --text-color: #f8fafc;
  --card-bg: #1a2234;
  --border-color: rgba(255, 255, 255, 0.1);
  --heading-color: #ffffff;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--secondary-font);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.logo span,
.nav-links a,
.btn-primary,
.btn-secondary {
  font-family: var(--primary-font);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-color);
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box_shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box_shadow);
}

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

.mt-50 {
  margin-top: 50px;
}

/* Form */
.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  padding: 15px;
  margin-top: 15px;
  text-align: center;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 15px;
  margin-top: 15px;
  text-align: center;
}

/* Header */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  z-index: 1000;
  padding: 20px 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
              0 2px 8px rgba(0, 0, 0, 0.08),
              0 0 2px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dark header {
  background-color: rgba(15, 23, 42, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35),
              0 2px 8px rgba(0, 0, 0, 0.2),
              0 0 2px rgba(0, 0, 0, 0.1);
}

header.sticky {
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
  max-width: 100%;
  border-radius: 0;
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
              0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.sticky .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto; /* Mantiene la proporción */
  margin-right: 1px;
  transition: all 0.3s ease;
  display: none; /* Ocultar todos los logos por defecto */
}

.logo img.logo-light {
  display: block; /* Mostrar solo el logo claro por defecto */
}

.logo img.logo-dark {
  display: none; /* Ocultar el logo oscuro por defecto */
}

.dark .logo img.logo-light {
  display: none; /* Ocultar el logo claro en modo oscuro */
}

.dark .logo img.logo-dark {
  display: block; /* Mostrar el logo oscuro en modo oscuro */
}

/* Texto en modo claro */
.logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark-color); /* Color por defecto */
  transition: all 0.3s ease;
}

/* Texto en modo oscuro */
.dark .logo span {
  color: white; /* Ajusta el color para que sea visible en modo oscuro */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  font-weight: 500;
  transition: color 0.3s ease;
  color: var(--text-color);
  font-size: 1.05rem;
}

.nav-links a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

.nav-links a.btn-primary {
  color: white;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: var(--primary-color);
  border: none;
}

.nav-links a.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
  background: var(--primary-dark);
}

.nav-actions {
  display: none;
}

.currency-toggle {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-weight: 500;
  cursor: pointer;
}

.currency-option {
  padding: 5px;
  transition: color 0.3s ease;
}

.currency-option.active {
  color: var(--primary-color);
  font-weight: 600;
}

.currency-separator {
  margin: 0 5px;
  color: var(--gray-color);
}

/* Theme Toggle en Header */
.theme-toggle {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-primary);
  margin-left: 15px;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--bg-hover);
}

.theme-toggle i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Eliminar outline azul en botones del header */
.nav-links a:focus {
  outline: none;
  box-shadow: none;
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}


/*Modal contact*/
/* Estilos del modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro semi-transparente */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Asegura que esté por encima de todo */
}

.modal.active {
  display: flex; /* Mostrar cuando tenga la clase "active" */
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close-modal:hover {
  color: #000;
}

/* Estilos del botón dentro del modal */
.modal-content button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.modal-content button:hover {
  background-color: #0056b3;
}

/* Estilos para el mensaje de carga */
.loading {
  display: none;
  text-align: center;
  margin-top: 10px;
}

.loading.d-block {
  display: block;
}
/* Estilos para los mensajes de carga y éxito */
.loading, .sent-message {
  display: none;
  text-align: center;
  margin-top: 10px;
}

.loading.d-block, .sent-message.d-block {
  display: block;
}


/* Botón Volver Arriba */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--primary-color);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--primary-dark);
}

/* Ajuste para WhatsApp y Back to Top */
.whatsapp-btn {
  right: 30px;
  bottom: 30px;
}

/* Mejoras de Accesibilidad */
:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary:focus,
.btn-secondary:focus,
.nav-links a:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

/* Tooltips */
[data-tooltip] {
  position: relative;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  padding: 8px 12px;
  background-color: var(--dark-color);
  color: white;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}

/* Mejoras Modo Oscuro */
.dark {
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.dark .btn-primary {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.dark .card,
.dark .pricing-card,
.dark .service-card,
.dark .portfolio-item {
  box-shadow: var(--card-shadow);
}

/* Transiciones Suaves */
.theme-transition {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.theme-transition * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Page Header */
.page-header {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  overflow: hidden;
  z-index: 1;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  z-index: -1;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 120%;
  height: 100%;
  background: rgba(255,255,255,0.15);
  transform: rotate(-3deg);
  z-index: -1;
}

.dark .page-header {
  background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
}

.page-header h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  animation: fadeInUp 0.8s ease-out;
  letter-spacing: -0.5px;
}

.page-header p {
  color: rgba(255,255,255,0.95);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  header .container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 25px;
  }

  .nav-links a.btn-primary {
    padding: 7px 16px;
  }

  .hero {
    padding-top: 120px;
  }

  .page-header {
    padding-top: 120px;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .page-header p {
    font-size: 1.1rem;
  }
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  background-color: transparent;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--gray-color);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 90%;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Feature Cards Animation - For Index Page */
.feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.feature-card:hover::before {
  height: 10px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: all 0.3s ease;
}

.dark .feature-icon {
  background-color: rgba(59, 130, 246, 0.15);
}

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

.feature-card:hover .feature-icon i {
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.feature-card:hover h3 {
  color: var(--primary-color);
}

.feature-card p {
  color: var(--gray-color);
  line-height: 1.7;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.about-text p {
  margin-bottom: 30px;
  color: var(--gray-color);
}

.stats {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}

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

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-text {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Services Section */
.service-category-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  letter-spacing: -0.5px;
}

.service-category-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* Service Card Animation */
.service-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.service-card:hover::before {
  height: 10px;
}

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  position: relative;
}

.dark .service-icon {
  background-color: rgba(59, 130, 246, 0.15);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon i {
  color: white;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.service-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.service-card:hover h3::after {
  width: 100%;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Mejora de los enlaces de servicios */
.service-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background: var(--primary-color);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.service-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-link:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.service-link:hover i {
  transform: translateX(5px);
}

.dark .service-link {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.dark .service-link:hover {
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Portfolio Section */
.portfolio-filter-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.portfolio-filter-btn {
  padding: 12px 25px;
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  color: var(--text-color);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.portfolio-item.show {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
  text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.portfolio-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: white;
  color: var(--primary-color);
  border-radius: 5px;
  text-decoration: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  background: var(--primary-color);
  color: white;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p,
.portfolio-item:hover .portfolio-link {
  transform: translateY(0);
}

/* Testimonials Section */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-slide.active {
  opacity: 1;
  z-index: 1;
}

.testimonial-content {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.testimonial-text {
  margin-bottom: 20px;
}

.testimonial-text p {
  font-style: italic;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.testimonial-author p {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--text-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: var(--primary-color);
  color: white;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  margin: 0 20px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-light);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.testimonial-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4f46e5 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: -1;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta .btn-primary:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.cta .btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

/* Pricing Section */
.pricing-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  background-color: transparent;
  border: none;
  padding: 10px 30px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  color: var(--text-color);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.pricing-tab-content {
  display: none;
}

.pricing-tab-content.active {
  display: block;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Pricing Card Animation */
.pricing-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
  text-align: center;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.pricing-card:hover::before {
  height: 10px;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color), transparent);
}

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

.pricing-header h3 {
  transition: color 0.3s ease;
}

.pricing-card:hover .pricing-header h3 {
  color: var(--primary-color);
}

.featured-tag {
  position: absolute;
  top: -5px;
  right: 50%;
  transform: translateX(50%);
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 5;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.currency-usd {
  display: none;
}

/* Añadir estos estilos adicionales para el selector de moneda */
.pricing-currency-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  gap: 10px;
}

.currency-option {
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.currency-option.active {
  background-color: var(--primary-color);
  color: white;
}

.pricing-header p {
  color: var(--gray-color);
}

.pricing-features ul {
  margin-bottom: 30px;
  text-align: center;
  padding-left: 0;
  list-style-position: inside;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-features i {
  color: var(--success-color);
  margin-right: 10px;
}

.pricing-addon {
  background-color: rgba(37, 99, 235, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0 25px;
  text-align: center;
}

.pricing-addon p {
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 500;
}

.pricing-card .btn-primary {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--card-bg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.05), transparent);
}

.faq-question::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-color);
  transition: height 0.3s ease;
}

.faq-item.active .faq-question::before {
  height: 100%;
}

.faq-question:hover {
  background: linear-gradient(to right, rgba(37, 99, 235, 0.1), transparent);
}

.faq-question h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--heading-color);
  padding-right: 40px;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 35px;
}

.faq-question h3::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question h3::before {
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.faq-item.active .faq-question h3 {
  color: var(--primary-color);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
}

.faq-toggle i {
  color: var(--primary-color);
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-color);
  opacity: 0;
  transform: translateY(-10px);
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.03), transparent);
}

.faq-item.active .faq-answer {
  padding: 24px;
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

.faq-item.active .faq-toggle {
  background-color: var(--primary-color);
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
  color: white;
}

.dark .faq-question:hover {
  background: linear-gradient(to right, rgba(59, 130, 246, 0.08), transparent);
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-item i {
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-right: 20px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover i {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.contact-item p {
  color: var(--gray-color);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin: 40px 0;
}

.social-link {
  width: 50px;
  height: 50px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(37, 99, 235, 0.2);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  background-color: var(--background-color);
  color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  transform: translateY(-2px);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 999;
  display: none;
  border: 1px solid var(--border-color);
}

.cookie-consent.active {
  display: block;
  animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cookie-content p {
  flex: 1;
  min-width: 200px;
  color: var(--text-color);
}

.cookie-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-accept {
  padding: 8px 20px;
  white-space: nowrap;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 20px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-logo p {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links,
.footer-services,
.footer-newsletter {
  flex: 1;
  min-width: 200px;
}

footer h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a,
footer ul li {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, padding 0.3s ease;
}

footer ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-family: "Poppins", sans-serif;
}

.footer-newsletter button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom .social-links {
  margin: 0;
}

/* Floating Circles */
.floating-circles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.15;
  will-change: transform;
}

.floating-circle.circle-1 {
  width: 250px;
  height: 250px;
  background: rgba(37, 99, 235, 0.2);
  top: -50px;
  right: -25px;
  animation: calmFloat1 25s infinite ease-in-out;
}

.floating-circle.circle-2 {
  width: 200px;
  height: 200px;
  background: rgba(16, 185, 129, 0.2);
  bottom: -50px;
  left: -25px;
  animation: calmFloat2 28s infinite ease-in-out;
}

.floating-circle.circle-3 {
  width: 180px;
  height: 180px;
  background: rgba(124, 58, 237, 0.15);
  top: 45%;
  right: 25%;
  animation: calmFloat3 30s infinite ease-in-out;
}

.floating-circle.circle-4 {
  width: 150px;
  height: 150px;
  background: rgba(56, 189, 248, 0.15);
  top: 25%;
  left: 15%;
  animation: calmFloat4 26s infinite ease-in-out;
}

@keyframes calmFloat1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -10px);
  }
}

@keyframes calmFloat2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 10px);
  }
}

@keyframes calmFloat3 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(15px, 15px);
  }
}

@keyframes calmFloat4 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-15px, -10px);
  }
}

/* Ajustes para modo oscuro */
.dark .floating-circle.circle-1 {
  background: rgba(59, 130, 246, 0.1);
}

.dark .floating-circle.circle-2 {
  background: rgba(16, 185, 129, 0.1);
}

.dark .floating-circle.circle-3 {
  background: rgba(124, 58, 237, 0.08);
}

.dark .floating-circle.circle-4 {
  background: rgba(56, 189, 248, 0.08);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .footer-bottom {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }

  header .container {
    padding: 0 20px;
  }

  .nav-links {
    gap: 25px;
  }

  .nav-links a.btn-primary {
    padding: 7px 16px;
  }

  .hero {
    padding-top: 120px;
  }

  .page-header {
    padding-top: 120px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--background-color);
    padding: 30px 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 0;
    width: 100%;
    text-align: center;
    transition: color 0.3s ease;
  }

  .nav-links a.btn-primary {
    width: auto;
    min-width: 160px;
    padding: 12px 24px;
    margin: 10px auto;
    font-size: 1rem;
    display: inline-block;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    text-align: center;
  }

  .nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-links li:last-child {
    margin-bottom: 0;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: auto;
    min-width: 200px;
    text-align: center;
    margin: 0;
  }

  .dark .nav-links {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: center;
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-item {
    flex: 1;
    min-width: 120px;
  }

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

  .floating-circle.circle-3,
  .floating-circle.circle-4 {
    display: none;
  }

  .theme-toggle {
    position: fixed;
    top: 1.2rem;
    right: 5rem;
    margin: 0;
    z-index: 101;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-color);
    border: 1px solid var(--border-color);
  }

  .hamburger {
    position: fixed;
    top: 1.2rem;
    right: 1.5rem;
    z-index: 101;
    width: 30px;
    height: 20px;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    margin: 4px 0;
    transition: all 0.3s ease;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--background-color);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    width: 100%;
    text-align: center;
  }

  .nav-links a.btn-primary {
    width: fit-content;
    padding: 8px 16px;
    font-size: 14px;
    margin: 10px auto;
    display: inline-block;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }

  .pricing-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-accept {
    width: 100%;
  }
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Blog Card Animation */
.blog-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
  z-index: 1;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.blog-card:hover::before {
  height: 10px;
}

.blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card h3 {
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  color: var(--primary-color);
}

.blog-link {
  margin-top: auto;
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.blog-card p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.blog-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.blog-link:hover {
  color: var(--primary-dark);
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* Subscription Pricing */
.subscription-pricing .pricing-card {
  text-align: center;
}

.subscription-pricing .pricing-features ul {
  text-align: center;
  padding-left: 0;
  list-style-position: inside;
}

.subscription-pricing .pricing-features li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscription-pricing .pricing-features li i {
  margin-right: 8px;
}

/* Dark Mode Footer Fix */
.dark footer {
  background-color: #1a2234;
}

.dark .footer-logo span,
.dark footer h3,
.dark footer ul li a:hover {
  color: white;
}

.dark footer ul li a,
.dark footer ul li,
.dark .footer-logo p,
.dark .footer-newsletter p,
.dark .footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

/* Mejoras para el formulario de suscripción en blog */
.blog-subscribe {
  padding: 60px 0;
  background-color: var(--light-color);
}

.subscribe-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.subscribe-text {
  margin-bottom: 30px;
}

.subscribe-text h2 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.form-input-group {
  display: flex;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  height: 50px;
  padding: 0 20px;
  border: 1px solid var(--border-color);
  border-radius: 5px 0 0 5px;
  font-size: 16px;
}

.subscribe-form button {
  height: 50px;
  padding: 0 25px;
  border-radius: 0 5px 5px 0;
  font-size: 16px;
  white-space: nowrap;
}

/* Mejoras para Misión y Visión */
.mission-vision {
  padding: 80px 0;
  background-color: var(--light-color);
  transition: background-color 0.3s ease;
}

.dark .mission-vision {
  background-color: var(--dark-color);
}

.mission-vision-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mission-box,
.vision-box {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.mission-box:hover,
.vision-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-icon,
.vision-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 24px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dark .mission-icon,
.dark .vision-icon {
  background-color: rgba(59, 130, 246, 0.2);
}

.mission-box:hover .mission-icon,
.vision-box:hover .vision-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.mission-box h3,
.vision-box h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.mission-box p,
.vision-box p {
  color: var(--text-color);
  line-height: 1.7;
}

/* Mejoras para Valores */
.values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Value Card Animation */
.value-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.value-card:hover::before {
  height: 10px;
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.dark .value-icon {
  background-color: rgba(59, 130, 246, 0.15);
}

.value-card:hover .value-icon {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
  transition: color 0.3s ease;
}

.value-card:hover h3 {
  color: var(--primary-color);
}

/* Mejoras para Proceso */
.process {
  padding: 80px 0;
  background-color: var(--light-color);
}

.process-steps {
  margin-top: 40px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 2px;
  background-color: var(--primary-color);
}

.process-step {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  font-size: 18px;
  margin-right: 25px;
  z-index: 1;
}

.step-content {
  flex: 1;
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Modo oscuro */
.dark .mission-box,
.dark .vision-box,
.dark .value-card,
.dark .step-content,
.dark .subscribe-content {
  background-color: #1e293b;
}

.dark .mission-vision,
.dark .process {
  background-color: #0f172a;
}

/* Responsive */
@media (max-width: 768px) {
  .form-input-group {
    flex-direction: column;
  }

  .subscribe-form input {
    border-radius: 5px;
    margin-bottom: 10px;
  }

  .subscribe-form button {
    border-radius: 5px;
    width: 100%;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
  }

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

/* Add these styles for the redesigned process section */

/* Redesigned Process Section */
.process-redesign {
  padding: 80px 0;
  background-color: var(--light-color);
  transition: background-color 0.3s ease;
}

.dark .process-redesign {
  background-color: #0f172a;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.process-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.process-card:hover::before {
  height: 10px;
}

.process-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.dark .process-icon {
  background-color: rgba(59, 130, 246, 0.15);
}

.process-icon i {
  font-size: 30px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.process-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.process-card:hover .process-icon {
  background-color: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.process-card:hover .process-icon i {
  color: white;
}

.process-card:hover .process-number {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.process-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.process-card:hover h3 {
  color: var(--primary-color);
}

.process-card p {
  color: var(--gray-color);
  line-height: 1.7;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .process-cards {
    grid-template-columns: 1fr;
  }
}

/* Case Study Card Animation */
.case-study-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
}

.case-study-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
  z-index: 1;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.case-study-card:hover::before {
  height: 10px;
}

.case-study-content h3 {
  transition: color 0.3s ease;
}

.case-study-card:hover .case-study-content h3 {
  color: var(--primary-color);
}

/* Why Us Card Animation */
.why-us-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.why-us-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
}

.why-us-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.why-us-card:hover::before {
  height: 10px;
}

.why-us-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.dark .why-us-icon {
  background-color: rgba(59, 130, 246, 0.15);
}

.why-us-card:hover .why-us-icon {
  background-color: var(--primary-color);
  transform: scale(1.1) rotate(5deg);
}

.why-us-card:hover .why-us-icon i {
  color: white;
}

.why-us-card h3 {
  transition: color 0.3s ease;
}

.why-us-card:hover h3 {
  color: var(--primary-color);
}

/* City Card Animation */
.city-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.city-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transition: height 0.3s ease;
  z-index: 1;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.city-card:hover::before {
  height: 10px;
}

.city-content h3 {
  transition: color 0.3s ease;
}

.city-card:hover .city-content h3 {
  color: var(--primary-color);
}

/* Particles Background */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleFloat 25s infinite linear;
  box-shadow: 0 0 15px var(--primary-color);
}

.particle::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  transform: rotate(var(--rotation));
  opacity: 0.25;
  transform-origin: left center;
  box-shadow: 0 0 20px var(--primary-color);
}

.particle:nth-child(1) { top: 15%; left: 25%; animation-delay: 0s; --rotation: 45deg; }
.particle:nth-child(2) { top: 25%; left: 65%; animation-delay: -5s; --rotation: -30deg; }
.particle:nth-child(3) { top: 55%; left: 35%; animation-delay: -10s; --rotation: 60deg; }
.particle:nth-child(4) { top: 75%; left: 75%; animation-delay: -15s; --rotation: -45deg; }
.particle:nth-child(5) { top: 35%; left: 85%; animation-delay: -7s; --rotation: 30deg; }
.particle:nth-child(6) { top: 85%; left: 25%; animation-delay: -12s; --rotation: -60deg; }
.particle:nth-child(7) { top: 45%; left: 55%; animation-delay: -3s; --rotation: 15deg; }
.particle:nth-child(8) { top: 65%; left: 15%; animation-delay: -8s; --rotation: -15deg; }
.particle:nth-child(9) { top: 5%; left: 45%; animation-delay: -11s; --rotation: 75deg; }
.particle:nth-child(10) { top: 95%; left: 55%; animation-delay: -14s; --rotation: -75deg; }
.particle:nth-child(11) { top: 28%; left: 15%; animation-delay: -6s; --rotation: 25deg; }
.particle:nth-child(12) { top: 72%; left: 85%; animation-delay: -9s; --rotation: -25deg; }
.particle:nth-child(13) { top: 18%; left: 35%; animation-delay: -4s; --rotation: 55deg; }
.particle:nth-child(14) { top: 82%; left: 45%; animation-delay: -13s; --rotation: -35deg; }
.particle:nth-child(15) { top: 38%; left: 75%; animation-delay: -2s; --rotation: 20deg; }
.particle:nth-child(16) { top: 62%; left: 25%; animation-delay: -16s; --rotation: -50deg; }

@keyframes particleFloat {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(120px, 60px) rotate(90deg) scale(1.2);
  }
  50% {
    transform: translate(60px, 120px) rotate(180deg) scale(1);
  }
  75% {
    transform: translate(-60px, 60px) rotate(270deg) scale(1.2);
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

/* Ajustes para modo oscuro */
.dark .particle {
  background: var(--primary-color);
  opacity: 0.35;
  box-shadow: 0 0 20px var(--primary-color);
}

.dark .particle::after {
  opacity: 0.12;
  box-shadow: 0 0 25px var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .particle {
    opacity: 0.45;
  }
  
  .particle::after {
    width: 120px;
    opacity: 0.2;
  }
  
  .dark .particle {
    opacity: 0.3;
  }
  
  .dark .particle::after {
    opacity: 0.1;
  }
}

header.sticky .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.dark header.sticky {
  background-color: rgba(15, 23, 42, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pricing Card Styles */
.pricing-header h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

/* Header Typography */
.nav-links a {
  font-family: var(--primary-font);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.2px;
  transition: color 0.3s ease;
  color: var(--text-color);
}

.logo span {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-color);
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.nav-links a.btn-primary {
  font-weight: 600;
  letter-spacing: 0;
  padding: 10px 25px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: var(--primary-color);
  border: none;
}


