@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@700;800;900&display=swap');

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', 'Outfit', 'Poppins', Arial, sans-serif;
  background: linear-gradient(120deg, #0d0d1f 0%, #181c24 100%) fixed;
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* Fondo animado con partículas */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.13;
  background: linear-gradient(135deg, #00ffd5 0%, #3ea6ff 100%);
  animation: particleMoveBg 16s linear infinite;
}
@keyframes particleMoveBg {
  0% { transform: translateY(0) scale(1); opacity: 0.13; }
  50% { transform: translateY(-60px) scale(1.2); opacity: 0.22; }
  100% { transform: translateY(0) scale(1); opacity: 0.13; }
}
header {
  background: rgba(24, 28, 36, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px 0 #00ffd520, 0 2px 8px rgba(30, 41, 59, 0.10);
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: unset;
  border-bottom: 1.5px solid #3ea6ff22;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  min-height: 60px;
}
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  font-size: 2.1rem;
  font-weight: 800;
  color: #223056;
  letter-spacing: 1px;
  text-shadow: 0 0 12px #3ea6ff80, 0 2px 8px #00ffd540;
  transition: text-shadow 0.3s, transform 0.2s;
}
.logo:hover {
  text-shadow: 0 0 24px #3ea6ffcc, 0 2px 16px #00ffd580;
  transform: scale(1.04) rotate(-2deg);
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px #3ea6ff80);
  border-radius: 12px;
  background: #181c24;
  transition: filter 0.3s, transform 0.2s;
}
.logo-img:hover {
  filter: drop-shadow(0 0 32px #00ffd5cc);
  transform: scale(1.08) rotate(-4deg);
}
.logo-text {
  font-size: 2.1rem;
  color: #f3f6fa;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-family: 'DM Sans', 'Montserrat', 'Inter', 'Outfit', 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 0 8px #3ea6ff60;
}
.logo-text strong {
  color: #3ea6ff;
  font-weight: 900;
  letter-spacing: 2.5px;
  text-shadow: 0 0 12px #3ea6ff80;
  font-family: 'DM Sans', 'Montserrat', 'Inter', 'Outfit', 'Segoe UI', Arial, sans-serif;
}
.logo .agency {
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #4f8cff;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links li a {
  text-decoration: none;
  color: #eaf0fa;
  font-weight: 600;
  letter-spacing: 0.7px;
  font-size: 1.08rem;
  padding: 0.2rem 0.7rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-links li a:hover, .nav-links li .btn-primary {
  color: #00ffd5;
  background: rgba(62,166,255,0.08);
  box-shadow: 0 2px 8px #00ffd540;
}
.btn-primary {
  background: linear-gradient(90deg, #3ea6ff 0%, #00ffd5 100%);
  color: #0d0d1f !important;
  padding: 0.6rem 2.1rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.7px;
  font-size: 1.13rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px #00ffd540, 0 2px 8px #3ea6ff33;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
  outline: none;
  animation: btn-gradient-move 3s linear infinite;
}
@keyframes btn-gradient-move {
  0% { filter: brightness(1) drop-shadow(0 0 0 #00ffd5); }
  50% { filter: brightness(1.08) drop-shadow(0 0 8px #00ffd5); }
  100% { filter: brightness(1) drop-shadow(0 0 0 #00ffd5); }
}
.btn-primary:hover {
  background: linear-gradient(90deg, #00ffd5 0%, #3ea6ff 100%);
  color: #0d0d1f !important;
  box-shadow: 0 8px 32px #00ffd580, 0 2px 8px #3ea6ff33;
  transform: scale(1.06);
}
.btn-secondary {
  background: #181c24;
  color: #4f8cff;
  border: 2px solid #4f8cff;
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: 1rem;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
  background: #4f8cff;
  color: #fff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #f3f6fa;
  border-radius: 2px;
  display: block;
}
.hero {
  text-align: center;
  padding: 5rem 2rem 3rem 2rem;
  background: linear-gradient(120deg, #23283a 0%, #181c24 100%);
}
.hero h1 {
  font-size: 2.1rem;
  color: #f3f6fa;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero h2 {
  font-size: 2.5rem;
  color: #4f8cff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.15rem;
  color: #bfc7d5;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.servicios {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem 2rem;
  background: #181c24;
}
/* Título principal */
.servicios h2 {
  color: #3ea6ff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 10px #3ea6ff50;
}

/* Subtítulo */
.servicios h3 {
  color: #c2d3e0;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 2.2rem;
}

/* Grid de tarjetas */
.servicios-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  padding: 40px 0 0 0;
  justify-content: center;
}

.card {
  background-color: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  padding: 24px 12px 32px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.card .front, .card .back {
  background: transparent;
  color: #d1e7ff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card .icon {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .icon svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px #3ea6ff80);
  transition: filter 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(62,166,255,0.4);
  border: 1px solid rgba(62,166,255,0.4);
}
.card:hover .icon svg {
  filter: drop-shadow(0 0 24px #3ea6ffcc);
}
.card strong, .card .front strong {
  color: #3ea6ff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}
.card .front {
  color: #d1e7ff;
}
.card .back h4 {
  color: #3ea6ff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.card .back ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card .back ul li {
  color: #c2d3e0;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.contacto {
  background: linear-gradient(120deg, #23283a 60%, #181c24 100%);
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 #3ea6ff18;
  margin-bottom: 3rem;
}
.contacto h2 {
  color: #fff;
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 16px #00ffd540;
}
.contacto p {
  color: #bfc7d5;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.contact-info div {
  background: rgba(30, 41, 59, 0.85);
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px 0 #00ffd540;
  border: 1.5px solid #3ea6ff44;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  min-width: 220px;
  color: #f3f6fa;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  font-size: 1.1rem;
  font-weight: 500;
  animation: contactoFadeIn 1.2s cubic-bezier(.4,0,.2,1) both;
}
.contact-info div:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 8px 32px 0 #00ffd580, 0 2px 8px #3ea6ff33;
  border-color: #00ffd5;
}
.contact-info div::before {
  content: '';
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ea6ff 60%, #00ffd5 100%);
  opacity: 0.18;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.contact-info div h4 {
  color: #00ffd5;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-info div h4::before {
  content: attr(data-icon);
  font-size: 1.3rem;
  margin-right: 0.3rem;
  color: #3ea6ff;
  filter: drop-shadow(0 0 6px #00ffd5);
}
.contact-info div p {
  color: #eaf0fa;
  font-size: 1.05rem;
  margin: 0;
  position: relative;
  z-index: 1;
}
@keyframes contactoFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
footer {
  background: #1a1f29;
  text-align: center;
  padding: 1.5rem 2rem;
  color: #bfc7d5;
  font-size: 1rem;
  margin-top: 2rem;
}

/* Animaciones de entrada */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Efecto hover en tarjetas de servicios */
.servicio {
  transition: transform 0.3s, box-shadow 0.3s;
}
.servicio:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.10);
  border-color: #c7d2fe;
}

/* Efectos en botones */
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 8px rgba(0,188,212,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
  box-shadow: 0 1px 4px rgba(0,188,212,0.10);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.12);
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  animation: whatsapp-pulse 1.5s infinite;
}
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.08);
}

/* Animación de fade-in para secciones */
section, .servicio, .contact-info div {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 1s cubic-bezier(.4,0,.2,1);
}
section.visible, .servicio.visible, .contact-info div.visible {
  opacity: 1;
  transform: none;
}

/* --- Tarjetas 3D Flip para Servicios --- */
.card {
  overflow: visible;
  width: 100%;
  min-width: 220px;
  max-width: 270px;
  height: 320px;
  margin: 0 auto;
  perspective: 1000px;
  background: none;
}
.card .content {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 16px 2px #22305622;
  border-radius: 12px;
  position: relative;
  background: none;
}
.card:hover .content {
  transform: rotateY(180deg);
}
.card .front, .card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  text-align: center;
  padding: 0 1.2rem;
}
.card .back ul, .card .front ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card .back ul li, .card .front ul li {
  text-align: center;
  width: 100%;
}
.card .front {
  background: #23283a;
  color: #f3f6fa;
  z-index: 2;
  padding: 1.5rem 1rem;
  transform: rotateY(0deg);
}
.card .back {
  background: linear-gradient(135deg, #4f8cff 60%, #223056 100%);
  color: #fff;
  transform: rotateY(180deg);
  z-index: 1;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.card .front h4 {
  font-size: 1.2rem;
  color: #4f8cff;
  margin-bottom: 1rem;
  font-weight: 700;
  text-align: center;
}
.card .front ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card .front ul li {
  color: #223056;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.card .back .icon {
  margin-bottom: 1rem;
}
.card .back strong {
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.card .front strong {
  color: #4f8cff;
}
.card .back h4 {
  color: #fff;
}
.card .back ul li {
  color: #f3f6fa;
}
.card .icon svg {
  filter: drop-shadow(0 2px 8px #4f8cff44);
}

/* Tarjetas de servicios con borde luminoso */
.card {
  background: #20243a;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 2px #22305633;
  border: 2px solid #23283a;
  transition: box-shadow 0.3s, border 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.card .front, .card .back {
  background: transparent;
}
.card .icon svg, .card .front strong {
  color: #4f8cff !important;
  fill: #4f8cff !important;
}
.card .front strong, .card .front {
  color: #4f8cff;
}
.card:hover {
  box-shadow: 0 0 24px 4px #4f8cff99, 0 2px 16px 2px #22305633;
  border: 2.5px solid #4f8cff;
  transform: translateY(-6px) scale(1.03);
}
.card .front, .card .back {
  color: #f3f6fa;
}
.card .front strong {
  color: #4f8cff;
}
.card .front {
  font-weight: 600;
  font-size: 1.1rem;
}
.card .icon svg {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px #4f8cff66);
}
.card .front, .card .back {
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Ajuste de títulos de sección */
.servicios h2, .servicios h3 {
  color: #4f8cff;
  text-align: center;
}

/* Ajuste de contraste en textos */
.card .front, .card .back, .card .front strong {
  color: #eaf0fa;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3ea6ff;
  margin-bottom: 1.1rem;
  text-align: left;
  width: 100%;
  letter-spacing: 0.5px;
}
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.card-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #d1e7ff;
  font-size: 1.08rem;
  text-align: left;
  line-height: 1.5;
  padding-left: 2px;
}
.card-bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  min-height: 18px;
}
@media (max-width: 600px) {
  .card-title {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
  }
  .card-list li {
    font-size: 0.98rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 1rem;
  }
  .servicios-lista {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 1rem 0;
    z-index: 99;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 3rem 1rem 2rem 1rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .servicios-lista {
    grid-template-columns: 1fr;
  }
  .contact-info {
    flex-direction: column;
    gap: 1rem;
  }
  .logo-img {
    width: 64px;
    height: 64px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .servicios-lista {
    grid-template-columns: 1fr;
  }
  .card {
    height: 260px;
    min-width: 160px;
    max-width: 100%;
  }
} 

/* Casos de Éxito */
.casos-exito {
  background: #181c24;
  padding: 4rem 2rem 2rem 2rem;
  text-align: center;
}
.casos-exito h2 {
  color: #4f8cff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.casos-exito h3 {
  color: #bfc7d5;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
}
.casos-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.caso-card {
  background: #23283a;
  border: 1px solid #2d3344;
  border-radius: 1rem;
  box-shadow: 0 2px 16px 2px #22305622;
  width: 320px;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.caso-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 #4f8cff33;
  border-color: #4f8cff;
}
.caso-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.caso-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #fff1;
}
.caso-info h4 {
  color: #4f8cff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.caso-info p {
  color: #f3f6fa;
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.caso-info .btn-secondary {
  margin-top: 0.5rem;
}
@media (max-width: 900px) {
  .casos-lista {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .caso-card {
    width: 95vw;
    max-width: 400px;
  }
} 

/* Casos de Éxito Detallados */
.casos-exito {
  background: #181c24;
  padding: 4rem 2rem 2rem 2rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
}
.caso-exito-grid {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  background: #181c24;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
  border: 1.5px solid #00ffd540;
  box-shadow: 0 0 48px 12px #00ffd540, 0 2px 16px 2px #22305622;
  padding: 3.2rem 2.8rem 2.8rem 2.8rem;
  overflow: visible;
}
.caso-exito-grid.reverse {
  flex-direction: row-reverse;
}
.caso-exito-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 320px;
  max-width: 540px;
  border-radius: 1.2rem;
  padding: 2.2rem 2.2rem 1.5rem 2.2rem;
  background: rgba(24, 28, 36, 0.92);
  overflow: visible;
}
.caso-exito-card h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.caso-sector {
  color: #4f8cff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  display: block;
}
.caso-metricas {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.caso-metricas > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.caso-metrica {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}
.valor-azul { color: #4f8cff; }
.valor-verde { color: #3eea8a; }
.valor-morado { color: #b18cff; }
.caso-metricas span:last-child {
  font-size: 0.95rem;
  color: #bfc7d5;
  font-weight: 400;
}
.caso-quote {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #bfc7d5;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  margin-top: 0.5rem;
}
.caso-quote svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.caso-logros {
  margin-bottom: 1.2rem;
}
.caso-logros strong {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  display: block;
}
.caso-logros ul {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0 0;
}
.caso-logros li {
  color: #bfc7d5;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.punto-azul {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4f8cff;
  border-radius: 50%;
}
.caso-persona {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}
.caso-persona img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4f8cff;
}
.caso-nombre {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}
.caso-cargo {
  color: #bfc7d5;
  font-size: 0.98rem;
}
.caso-exito-img {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  max-width: 420px;
}
.caso-exito-img img {
  width: 100%;
  max-width: 400px;
  border-radius: 0.7rem;
  box-shadow: 0 2px 16px 2px #22305644;
  background: #23283a;
}
@media (max-width: 1100px) {
  .caso-exito-grid, .caso-exito-grid.reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 2rem 0.5rem;
  }
  .caso-exito-img, .caso-exito-card {
    max-width: 100%;
    min-width: 0;
  }
  .caso-exito-img img {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .casos-exito {
    padding: 2rem 0.2rem 1rem 0.2rem;
  }
  .caso-exito-card h2 {
    font-size: 1.2rem;
  }
  .caso-metricas {
    gap: 1rem;
  }
  .caso-exito-img img {
    max-width: 98vw;
  }
} 

/* Animación fadeIn para tarjetas */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.card {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; } 

body {
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  background: #0d0d1f;
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Títulos y subtítulos */
.servicios h2 {
  color: #3ea6ff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 16px #3ea6ff40;
  letter-spacing: 0.5px;
}
.servicios h3 {
  color: #c2d3e0;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.2rem;
  letter-spacing: 0.2px;
}

/* Grid de tarjetas */
.servicios-lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 48px 0 0 0;
  justify-content: center;
}

.card {
  background: rgba(255,255,255,0.025);
  border: 1.5px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  box-shadow: 0 6px 24px 0 #3ea6ff18;
  padding: 24px 12px 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.card .front, .card .back {
  background: transparent;
  color: #ffffff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card .icon {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card .icon svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 0 16px #3ea6ff80);
  transition: filter 0.3s;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 #00ffd540, 0 6px 24px 0 #3ea6ff18;
  border: 1.5px solid #3ea6ff;
}
.card:hover .icon svg {
  filter: drop-shadow(0 0 32px #00ffd5cc);
}
.card strong, .card .front strong {
  color: #3ea6ff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.2px;
}
.card .front {
  color: #ffffff;
}
.card .back h4 {
  color: #3ea6ff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: 0.2px;
}
.card .back ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card .back ul li {
  color: #c2d3e0;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  word-break: break-word;
  line-height: 1.45;
  white-space: normal;
}
.card-bullet svg circle {
  filter: drop-shadow(0 0 6px #00ffd5);
}

/* Botones y elementos interactivos */
.btn-primary, .btn-secondary {
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 0.6rem 1.6rem;
  font-size: 1.1rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px #00ffd540;
}
.btn-primary {
  background: linear-gradient(90deg, #3ea6ff 0%, #00ffd5 100%);
  color: #0d0d1f !important;
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(90deg, #00ffd5 0%, #3ea6ff 100%);
  color: #0d0d1f !important;
  box-shadow: 0 4px 16px #00ffd580;
}
.btn-secondary {
  background: none;
  color: #3ea6ff;
  border: 2px solid #3ea6ff;
}
.btn-secondary:hover {
  background: #3ea6ff;
  color: #0d0d1f;
  box-shadow: 0 4px 16px #3ea6ff80;
}

/* Sombra y brillo sutil en iconos */
.card .icon svg, .btn-primary, .btn-secondary {
  box-shadow: 0 0 8px #3ea6ff33;
}

/* Espaciado general */
section, .servicios, .casos-exito {
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .servicios-lista {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 0 0 0;
  }
}
@media (max-width: 600px) {
  .servicios-lista {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 12px 0 0 0;
  }
  .card {
    min-height: 180px;
    padding: 16px 6px 20px 6px;
  }
  .card .icon svg {
    width: 36px;
    height: 36px;
  }
  .servicios h2 {
    font-size: 1.5rem;
  }
  .servicios h3 {
    font-size: 1rem;
  }
}

/* Animación fadeIn para tarjetas */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
.card {
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; } 

/* Asegura que el contenido de las cards nunca se corte */
.card {
  min-height: 0;
  height: auto;
  max-width: 370px;
  padding: 24px 12px 24px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  position: relative;
  overflow: visible;
}
.card .content, .card .front, .card .back {
  height: auto;
  min-height: 0;
  overflow: visible;
}
.card .back ul {
  max-width: 98%;
  margin: 0 auto;
  padding-bottom: 0.5rem;
}
.card .back ul li {
  word-break: break-word;
  font-size: 1.01rem;
  line-height: 1.45;
  white-space: normal;
} 

/* --- TARJETAS DE SERVICIOS: RESTAURACIÓN TOTAL Y LIMPIA --- */
.servicios-lista {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 48px 0 0 0;
  justify-content: center;
}
.card {
  background: rgba(24, 28, 36, 0.82);
  border-radius: 22px;
  box-shadow: 0 8px 32px 0 #00ffd540, 0 2px 8px #3ea6ff33;
  border: 2.5px solid #00ffd540;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  max-width: 370px;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  perspective: 1200px;
  transition: box-shadow 0.4s, border 0.4s, transform 0.25s;
  animation: cardFadeIn 1.1s cubic-bezier(.4,0,.2,1) both;
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.card::before { display: none; }
.card:hover {
  box-shadow: 0 0 32px 8px #00ffd580, 0 8px 32px 0 #3ea6ff33;
  border-color: #00ffd5;
  transform: translateY(-10px) scale(1.03) rotate(-1deg);
}
.card .icon {
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background: none !important;
  box-shadow: none !important;
}
.card .icon svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 0 18px #3ea6ff80);
  transition: filter 0.3s, transform 0.3s;
  animation: iconPulse 2.2s infinite alternate;
  background: none !important;
  box-shadow: none !important;
}
@keyframes iconPulse {
  0% { filter: drop-shadow(0 0 10px #00ffd5cc); }
  100% { filter: drop-shadow(0 0 24px #3ea6ffcc); }
}
.card:hover .icon svg {
  filter: drop-shadow(0 0 32px #00ffd5cc);
  transform: scale(1.12) rotate(-6deg);
}
.card strong, .card .front strong {
  color: #3ea6ff;
  font-family: 'Outfit', 'Poppins', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.3px;
  position: relative;
  display: inline-block;
  z-index: 2;
  transition: color 0.2s;
}
.card strong::after, .card .front strong::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00ffd5 0%, #3ea6ff 100%);
  border-radius: 2px;
  margin: 0.2rem auto 0 auto;
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}
.card:hover strong::after, .card:hover .front strong::after {
  width: 80%;
}
.card .front {
  color: #ffffff;
}
.card .back h4 {
  color: #3ea6ff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  letter-spacing: 0.2px;
}
.card .back ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 98%;
  margin: 0 auto;
  padding-bottom: 0.5rem;
}
.card .back ul li {
  color: #c2d3e0;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-align: left;
  word-break: break-word;
  line-height: 1.45;
  white-space: normal;
}
.card-bullet svg circle {
  filter: drop-shadow(0 0 6px #00ffd5);
}
@media (max-width: 1100px) {
  .servicios-lista {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px 0 0 0;
  }
  .card, .card .front, .card .back {
    min-height: 260px;
    padding: 24px 10px 28px 10px;
  }
}
@media (max-width: 700px) {
  .servicios-lista {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 12px 0 0 0;
  }
  .card, .card .front, .card .back {
    min-height: 160px;
    padding: 12px 4px 16px 4px;
  }
  .card .icon svg {
    width: 36px;
    height: 36px;
  }
} 

/* === GLOW Y PARTICULAS GLOBALES === */
.glow-effect {
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s, border 0.3s;
}
.glow-effect:hover::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(62,166,255,0.18) 0%, rgba(0,255,213,0.10) 60%, transparent 100%);
  z-index: 2;
  animation: glowPulse 1.2s infinite alternate;
}
@keyframes glowPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}
.particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #00ffd5 0%, #3ea6ff 80%, transparent 100%);
  pointer-events: none;
  opacity: 0.7;
  z-index: 3;
  filter: blur(0.5px);
  animation: particleMove 1.2s linear forwards;
}
@keyframes particleMove {
  to {
    transform: translateY(-40px) scale(0.7);
    opacity: 0;
  }
} 

html {
  scroll-behavior: smooth;
} 

/* Cursor personalizado */
.custom-cursor {
  display: none !important;
}

/* Partículas trailing del cursor */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, #00ffd5 0%, #3ea6ff 60%, #4f8cff 100%, transparent 100%);
  opacity: 0.32;
  filter: blur(2.5px);
  animation: cursorTrailFade 0.9s linear forwards;
}
@keyframes cursorTrailFade {
  0% { opacity: 0.32; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.7); }
} 

/* === EFECTOS PROFESIONALES GLOBALES === */

/* Animación de entrada para secciones y tarjetas */
section, .card, .caso-exito-card, .contact-info div {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1);
}
section.visible, .card.visible, .caso-exito-card.visible, .contact-info div.visible {
  opacity: 1;
  transform: none;
}

/* Hover animado en botones y enlaces */
.btn-primary, .btn-secondary, a, button {
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.btn-primary:hover, .btn-secondary:hover, a:hover, button:hover {
  box-shadow: 0 0 24px 4px #00ffd580, 0 2px 8px #3ea6ff33;
  transform: scale(1.06) rotate(-1deg);
}

/* Glow animado en tarjetas y bloques */
.card, .caso-exito-card, .contact-info div {
  box-shadow: 0 0 32px 8px #00ffd540, 0 2px 8px #3ea6ff33;
  transition: box-shadow 0.4s, border 0.4s, transform 0.25s;
}
.card:hover, .caso-exito-card:hover, .contact-info div:hover {
  box-shadow: 0 0 48px 16px #00ffd580, 0 8px 32px 0 #3ea6ff33;
  border-color: #00ffd5;
  transform: translateY(-10px) scale(1.03) rotate(-1deg);
}

/* Escala y rotación en íconos de tarjetas */
.card .icon svg, .caso-exito-card svg {
  transition: filter 0.3s, transform 0.3s;
}
.card:hover .icon svg, .caso-exito-card:hover svg {
  filter: drop-shadow(0 0 32px #00ffd5cc);
  transform: scale(1.12) rotate(-8deg);
}

/* Parallax sutil en fondo de partículas */
.bg-particles {
  animation: bgParallax 24s linear infinite alternate;
}
@keyframes bgParallax {
  0% { transform: translateY(0); }
  100% { transform: translateY(-30px); }
}

/* Transiciones suaves en todos los elementos interactivos */
input, textarea, select {
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #00ffd5;
  box-shadow: 0 0 8px #00ffd540;
} 

.chulo-img {
  border-radius: 22px;
  box-shadow: 0 0 16px 2px #00ffd540, 0 1px 4px #3ea6ff22;
  background: rgba(255,255,255,0.04);
  border: 2.5px solid transparent;
  transition: box-shadow 0.4s, border 0.4s, transform 0.25s, filter 0.3s;
  animation: chuloFadeIn 1.2s cubic-bezier(.4,0,.2,1) both;
  filter: brightness(0.98) blur(0.2px);
  position: relative;
  z-index: 2;
}
.chulo-img:hover {
  box-shadow: 0 0 24px 6px #00ffd5aa, 0 2px 8px 0 #3ea6ff33;
  border: 2.5px solid #00ffd5;
  transform: scale(1.04) rotate(-1deg);
  filter: brightness(1.08) blur(0);
}
@keyframes chuloFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(40px);}
  to { opacity: 1; transform: none;}
} 