* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f9fafc;
  color: #333;
  overflow-x: hidden;
}

/* 🔹 NAVBAR (MANTENIDO IGUAL) */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  z-index: 1000;
  transition: background 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.navbar.glass {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.4);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3em;
  color: #fff;
}

.navbar .logo img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.navbar .logo span {
  color: #fff;
}

.navbar .logo b {
  color: #00bcd4;
}

.navbar nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #00bcd4;
}

.btn-admin {
  background: #1976d2;
  color: white !important;
  padding: 10px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.btn-admin:hover {
  background: #0d47a1;
  transform: translateY(-2px);
}

/* 🔹 HERO SLIDER CON OVERLAY NEGRO MEJORADO */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease-in-out, transform 10s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* OVERLAY NEGRO MEJORADO - CUBRE TODO Y MÁS OSCURO */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(0, 0, 0, 0.85) 0%, 
    rgba(0, 0, 0, 0.75) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 2;
}

.hero-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 25px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3em;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1976d2;
  padding: 16px 35px;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(25, 118, 210, 0.4);
}

/* Animaciones de texto */
.animate-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-text.delay {
  animation-delay: 0.3s;
}

.animate-text.delay2 {
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🔹 SERVICIOS MODERNIZADOS */
.servicios {
  padding: 100px 10%;
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.servicios::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230078ff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.servicios h2 {
  font-size: 3em;
  color: #0d47a1;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.servicios h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  border-radius: 2px;
}

.servicios .intro {
  color: #666;
  margin-bottom: 60px;
  font-size: 1.2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: #fff;
  padding: 50px 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 120, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 120, 255, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
  transition: all 0.6s ease;
  z-index: 1;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 120, 255, 0.15);
  border-color: rgba(0, 120, 255, 0.3);
}

.card:hover::before {
  left: 0;
}

.card i {
  font-size: 3.5em;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.card:hover i {
  transform: scale(1.2) rotate(5deg);
}

.card h3 {
  font-size: 1.5em;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  line-height: 1.3;
}

.card p {
  color: #666;
  line-height: 1.8;
  font-size: 1.05em;
  position: relative;
  z-index: 2;
}

/* 🔹 APLICACIONES MODERNIZADAS */
.apps {
  padding: 100px 10%;
  background: #f8f9fa;
  text-align: center;
  position: relative;
}

.apps h2 {
  font-size: 3em;
  color: #0d47a1;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.apps h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  border-radius: 2px;
}

.apps .intro {
  color: #666;
  margin-bottom: 60px;
  font-size: 1.2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-card {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 45px 35px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 120, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  transform: scaleX(0);
  transition: all 0.4s ease;
}

.app-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 120, 255, 0.15);
}

.app-card:hover::before {
  transform: scaleX(1);
}

.app-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 20px;
  padding: 15px;
  background: #f8f9fa;
  border: 2px solid rgba(0, 120, 255, 0.1);
  transition: all 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.app-card:hover img {
  transform: scale(1.1) rotate(2deg);
  border-color: #0078ff;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 120, 255, 0.2);
  filter: drop-shadow(0 8px 25px rgba(0, 120, 255, 0.3));
}

.app-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 15px;
  line-height: 1.3;
}

.app-card p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(0, 120, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00bcd4, #0078ff);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 120, 255, 0.4);
  border-color: #0078ff;
  color: #0078ff;
  background: transparent;
}

.btn:hover::before {
  left: 0;
}

/* 🔹 CLIENTES MODERNIZADOS */
.clientes {
  padding: 100px 10%;
  background: #fff;
  text-align: center;
  position: relative;
}

.clientes h2 {
  font-size: 3em;
  color: #0d47a1;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.clientes h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  border-radius: 2px;
}

.clientes .intro {
  color: #666;
  margin-bottom: 60px;
  font-size: 1.2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.clientes .apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.clientes .app-card {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 50px 35px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 120, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.clientes .app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  transform: scaleX(0);
  transition: all 0.4s ease;
}

.clientes .app-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 120, 255, 0.15);
}

.clientes .app-card:hover::before {
  transform: scaleX(1);
}

.clientes .app-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 20px;
  padding: 15px;
  background: #f8f9fa;
  border: 2px solid rgba(0, 120, 255, 0.1);
  transition: all 0.4s ease;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.clientes .app-card:hover img {
  transform: scale(1.1) rotate(2deg);
  border-color: #0078ff;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 120, 255, 0.2);
  filter: drop-shadow(0 8px 25px rgba(0, 120, 255, 0.3));
}

.clientes .app-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 15px;
  line-height: 1.3;
}

.clientes .app-card p {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1.05em;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(0, 120, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-app::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00bcd4, #0078ff);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-app:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 120, 255, 0.4);
  border-color: #0078ff;
  color: #0078ff;
  background: transparent;
}

.btn-app:hover::before {
  left: 0;
}

/* 🔹 ESTILOS PARA CUANDO NO HAY IMAGEN (MEJORADOS) */
.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 0 auto 25px auto;
  border: 2px dashed rgba(0, 120, 255, 0.3);
  background: #f8f9fa;
  transition: all 0.4s ease;
}

.app-card .no-image {
  width: 120px;
  height: 120px;
}

.clientes .app-card .no-image {
  width: 140px;
  height: 140px;
}

.no-image i {
  opacity: 0.7;
  transition: all 0.4s ease;
}

.app-card .no-image i {
  font-size: 2.5rem;
  color: #0078ff;
}

.clientes .app-card .no-image i {
  font-size: 3rem;
  color: #0078ff;
}

.app-card:hover .no-image {
  border-color: #0078ff;
  background: #fff;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 120, 255, 0.15);
}

.app-card:hover .no-image i {
  opacity: 1;
  transform: scale(1.1);
  color: #0078ff;
}

/* 🔹 FOOTER MODERNO */
.footer {
  background: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer::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.05'%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");
}

.footer-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content h3 {
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer .social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.footer .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.3em;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .social a:hover {
  background: #0078ff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 120, 255, 0.4);
}

.footer-bottom {
  margin-top: 40px;
  padding: 30px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 2;
  text-align: center;
}

/* 🔹 DROPDOWN */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
  color: #fff;
  text-decoration: none;
}

.dropbtn:hover {
  color: #00b7ff;
}

.dropdown-content {
  position: absolute;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(6px);
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  top: 45px;
  left: 0;
  z-index: 1000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background: #007bff;
  color: #fff;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}

/* 🔹 RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .navbar nav {
    display: none;
  }
  
  .hero-content h1 {
    font-size: 2.2em;
  }
  
  .hero-content p {
    font-size: 1.1em;
  }
  
  .servicios,
  .apps,
  .clientes {
    padding: 80px 5%;
  }
  
  .servicios h2,
  .apps h2,
  .clientes h2 {
    font-size: 2.2em;
  }
  
  .grid,
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .card,
  .app-card {
    padding: 35px 25px;
  }
  
  .dropdown-content {
    position: static;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    background: none;
    padding: 10px 0;
  }

  .dropdown-content a:hover {
    background: none;
    color: #007bff;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8em;
  }
  
  .servicios h2,
  .apps h2,
  .clientes h2 {
    font-size: 1.8em;
  }
  
  .app-card img {
    width: 100px;
    height: 100px;
  }
  
  .clientes .app-card img {
    width: 120px;
    height: 120px;
  }
  
  .app-card .no-image {
    width: 100px;
    height: 100px;
  }
  
  .clientes .app-card .no-image {
    width: 120px;
    height: 120px;
  }
  
  .app-card .no-image i {
    font-size: 2rem;
  }
  
  .clientes .app-card .no-image i {
    font-size: 2.5rem;
  }
}

/* 🔹 SCROLL SMOOTH */
html {
  scroll-behavior: smooth;
}

/* 🔹 BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* 🔹 QUIÉNES SOMOS */
.quienes-somos {
  padding: 100px 10%;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.quienes-somos .container {
  max-width: 1200px;
  margin: 0 auto;
}

.quienes-somos h2 {
  font-size: 3em;
  color: #0d47a1;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.quienes-somos h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  border-radius: 2px;
}

.quienes-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.quienes-text {
  color: #333;
}

.quienes-text .lead {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #0d47a1;
}

.quienes-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.1em;
  color: #555;
}

.quienes-text strong {
  color: #0d47a1;
}

.quienes-text em {
  color: #0078ff;
  font-style: italic;
}

/* 🔹 TARJETAS OBJETIVO, MISIÓN Y VISIÓN */
.mision-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mision-vision-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 120, 255, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mision-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 120, 255, 0.05) 0%, rgba(0, 188, 212, 0.05) 100%);
  transition: all 0.6s ease;
  z-index: 1;
}

.mision-vision-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 120, 255, 0.15);
  border-color: rgba(0, 120, 255, 0.3);
}

.mision-vision-card:hover::before {
  left: 0;
}

.mision-vision-card .icon {
  font-size: 2.8em;
  margin-bottom: 20px;
  display: inline-block;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.mision-vision-card:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

/* Colores específicos para cada tarjeta */
.mision-vision-card:nth-child(1) .icon {
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mision-vision-card:nth-child(2) .icon {
  background: linear-gradient(135deg, #00bcd4, #0078ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mision-vision-card:nth-child(3) .icon {
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mision-vision-card h3 {
  font-size: 1.4em;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mision-vision-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1.05em;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

/* Efectos de borde superior con colores diferentes */
.mision-vision-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  transform: scaleX(0);
  transition: all 0.4s ease;
}

.mision-vision-card:nth-child(1)::after {
  background: linear-gradient(135deg, #0078ff, #00bcd4);
}

.mision-vision-card:nth-child(2)::after {
  background: linear-gradient(135deg, #00bcd4, #0078ff);
}

.mision-vision-card:nth-child(3)::after {
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
}

.mision-vision-card:hover::after {
  transform: scaleX(1);
}

.quienes-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 15px 50px rgba(0, 120, 255, 0.2);
  transition: all 0.4s ease;
}

.image-placeholder:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 120, 255, 0.3);
}

.image-placeholder i {
  font-size: 4em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.image-placeholder p {
  font-size: 1.1em;
  font-weight: 600;
  text-align: center;
}

/* Responsive para Quiénes Somos */
@media (max-width: 968px) {
  .quienes-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .quienes-image {
    order: -1;
  }
  
  .image-placeholder {
    width: 250px;
    height: 250px;
  }
  
  .mision-vision-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .quienes-somos {
    padding: 80px 5%;
  }
  
  .quienes-somos h2 {
    font-size: 2.2em;
  }
  
  .mision-vision-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .mision-vision-card {
    padding: 35px 25px;
    min-height: 250px;
  }
  
  .image-placeholder {
    width: 200px;
    height: 200px;
  }
  
  .image-placeholder i {
    font-size: 3em;
  }
  
  .mision-vision-card .icon {
    font-size: 2.5em;
  }
  
  .mision-vision-card h3 {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .mision-vision-card {
    padding: 30px 20px;
    min-height: 220px;
  }
  
  .mision-vision-card h3 {
    font-size: 1.2em;
    flex-direction: column;
    gap: 5px;
  }
  
  .mision-vision-card p {
    font-size: 1em;
  }
}

/* 🔹 CARRUSEL PARA APLICACIONES Y CLIENTES - CORREGIDO */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  box-sizing: border-box;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
  will-change: transform;
}

/* CORRECCIÓN: Usar porcentajes consistentes con el JS */
.carousel-slide {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 0;
  box-sizing: border-box;
}

/* 🔹 LÍNEA SUPERIOR MEJORADA */
.carousel-slide .app-card {
  position: relative;
  overflow: visible;
  padding-top: 50px;
  margin-top: 5px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.carousel-slide .app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  transform: scaleX(0);
  transition: all 0.4s ease;
  border-radius: 4px 4px 0 0;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.carousel-slide .app-card:hover::before {
  transform: scaleX(1);
}

/* Botones de navegación */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 120, 255, 0.3);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-btn:hover {
  background: linear-gradient(135deg, #00bcd4, #0078ff);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 120, 255, 0.4);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%);
}

/* Indicadores */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: linear-gradient(135deg, #0078ff, #00bcd4);
  transform: scale(1.2);
}

/* Ajustes responsive */
@media (max-width: 1024px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .carousel-container {
    padding: 0 50px;
  }
  
  .carousel-slide {
    flex: 0 0 calc(100% - 10px);
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    padding: 0 40px;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
  }
}