/* --------------------------------------------------
   FUENTE GENERAL
-------------------------------------------------- */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
}

/* --------------------------------------------------
   VARIABLES VORTEXCODE
-------------------------------------------------- */
:root {
  --c1: #00C6FF;
  --c2: #0072FF;
  --c3: #7A00FF;
  --c4: #FF00C8;

  --dark-bg: #0F0F1C;
  --light-bg: #F6F8FF;
}

/* GRADIENTES */
.vortex-gradient-text {
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vortex-button {
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c4));
  color: #fff;
}

/* GLASSMORPHISM */
.glass-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  transition: .3s;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(122,0,255,0.25);
}

/* FORMULARIO */
.form-input {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d4d4d4;
}
.form-input:focus {
  outline: none;
  border-color: var(--c3);
  box-shadow: 0 0 0 3px rgba(122,0,255,0.25);
}

/* ANIMACIONES */
@keyframes fade-up {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fade-up 1.2s ease-out both;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* VORTEX BG ANIMADO */
#vortex-bg {
  background: radial-gradient(circle,
    rgba(0,198,255,0.25),
    rgba(0,114,255,0.25),
    rgba(122,0,255,0.18),
    rgba(255,0,200,0.12));
  filter: blur(35px);
  animation: vortexMove 20s infinite alternate ease-in-out;
}
@keyframes vortexMove {
  0% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.2) translate(15px,-20px); }
  100% { transform: scale(1.1) translate(-20px,10px); }
}

/* CHATBOT */
.chat-bot { background: #f4f4f4; }
.chat-user { background: #d6e1ff; }

.tech-item {
  text-align: center;
  transition: 0.3s ease;
}

.tech-icon {
  width: 70px;
  height: 70px;
  transition: 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.15));
}

.tech-item:hover .tech-icon {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(122, 0, 255, 0.35));
}

.tech-item:hover p {
  color: var(--c3);
}


/* ---------------------------
   VORTEX ORBITAL SYSTEM
----------------------------*/

/* ---------- ÓRBITAS ---------- */

/* ========== CONTENEDOR DE LA ÓRBITA ========== */



/* -----------------------------
   TEAM CARDS
------------------------------*/
.team-card {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.4);
}

.team-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 0 30px rgba(122,0,255,0.25),
    0 0 60px rgba(0,114,255,0.15);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 15px auto;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
}

.team-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #3c3c3c;
}

.team-role {
  font-size: 0.95rem;
  color: var(--c3);
  font-weight: 600;
  margin-bottom: 15px;
}

.team-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

/* ----------------------------------------------------
   ANIMACIONES DE MENÚ RESPONSIVE
---------------------------------------------------- */
@keyframes slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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


/* Tarjeta premium estilo Vortex */
.premium-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: 0.4s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
  position: relative;
  overflow: hidden;
}

/* Efecto hover flotante + glow */
.premium-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 
    0 0 20px rgba(122,0,255,0.35),
    0 0 60px rgba(0,114,255,0.25),
    0 0 90px rgba(255,0,200,0.30);
}

/* Icono dentro de un halo */
.icon-wrapper {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #00C6FF, #0072FF, #7A00FF, #FF00C8);
  box-shadow: 
    0 0 30px rgba(122,0,255,0.5),
    0 0 50px rgba(0,114,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animación suave */
.premium-card {
  animation: premiumFadeUp 1s ease both;
}

@keyframes premiumFadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.icon-wrapper i {
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.3));
}

/* Bola Vortex con icono dentro */
.vortex-ball {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #00C6FF, #0072FF, #7A00FF, #FF00C8);
  box-shadow:
    0 0 25px rgba(122,0,255,0.25),
    0 0 40px rgba(0,114,255,0.20),
    0 0 55px rgba(255,0,200,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;      /* tamaño del icono */
  color: #ffffff;       /* color del icono */
}


/* Nodos de la línea del tiempo */
.timeline-dot {
  width: 0px;
  height: 0px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00C6FF, #0072FF, #7A00FF, #FF00C8);
  box-shadow:
    0 0 15px rgba(122,0,255,0.5),
    0 0 35px rgba(0,114,255,0.3),
    0 0 50px rgba(255,0,200,0.25);
}

/* Animación suave de aparición */
.timeline-item {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

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


/* Fondo vórtice detrás del proceso */
.process-vortex-bg {
  background: radial-gradient(circle at center,
    rgba(0,198,255,0.25),
    rgba(0,114,255,0.18),
    rgba(122,0,255,0.15),
    transparent 70%);
  filter: blur(10px);
}

/* Pasos: estado base y activo */
.process-step {
  opacity: 0.4;
  transform: scale(0.92);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.process-step.active {
  opacity: 1;
  transform: scale(1);
}

/* Dots del carrusel */
.proceso-dot.active {
  background: linear-gradient(135deg, #00C6FF, #0072FF, #7A00FF, #FF00C8);
}

/* Contenedor que sostiene los anillos */
.vortex-rings-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Anillo base */
.vortex-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid transparent;
  animation: spin linear infinite;
}

/* Anillos de colores personalizados */
.vortex-ring-1 { 
  border-color: rgba(0, 198, 255, 0.7);
  animation-duration: 9s;
}

.vortex-ring-2 { 
  border-color: rgba(0, 114, 255, 0.7);
  animation-duration: 12s;
}

.vortex-ring-3 { 
  border-color: rgba(122, 0, 255, 0.7);
  animation-duration: 15s;
}

.vortex-ring-4 { 
  border-color: rgba(255, 0, 200, 0.7);
  animation-duration: 18s;
}

.vortex-ring-5 { 
  border-color: rgba(255, 120, 0, 0.7);
  animation-duration: 21s;
}

/* Animación de rotación */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Entrada suave */
.vortex-rings-container.active {
  opacity: 1;
}

/* --- Tarjetas premium estilo Vortex --- */
.vortex-service-card {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.35);
  transition: transform .5s ease, box-shadow .5s ease;
  position: relative;
}

/* Hover 3D + glow */
.vortex-service-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow:
    0 0 25px rgba(0,198,255,0.5),
    0 0 40px rgba(0,114,255,0.4),
    0 0 60px rgba(255,0,200,0.4);
}

/* --- Bola vortex para íconos --- */
.vortex-ball-service {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: linear-gradient(135deg, #00C6FF, #0072FF, #7A00FF, #FF00C8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  animation: vortexPulse 4s infinite ease-in-out;
  box-shadow:
    0 0 35px rgba(122,0,255,0.35),
    0 0 60px rgba(0,114,255,0.30),
    0 0 85px rgba(255,0,200,0.40);
}

/* Suave latido */
@keyframes vortexPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Texto fuerte con brillo */
.vortex-text-strong {
  background: linear-gradient(90deg, #00C6FF, #7A00FF, #FF00C8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Partículas flotantes --- */
.vortex-particles::before,
.vortex-particles::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle,
    rgba(0,198,255,0.18),
    rgba(122,0,255,0.12),
    rgba(255,0,200,0.08),
    transparent 60%
  );
  filter: blur(45px);
  transform: translateX(-50%);
  animation: floatY 12s infinite ease-in-out;
}

@keyframes floatY {
  0% { transform: translate(-50%, 0); opacity: 0.85; }
  50% { transform: translate(-50%, -55px); opacity: 1; }
  100% { transform: translate(-50%, 0); opacity: 0.85; }
}

/* Contenedor global de mini vórtices */
#vortex-mini-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2; /* debajo del chatbot y UI principal */
}

/* El mini vórtice */
.vortex-mini {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: radial-gradient(circle at center,
    rgba(0,198,255,0.7),
    rgba(0,114,255,0.65),
    rgba(122,0,255,0.6),
    rgba(255,0,200,0.55),
    transparent 70%
  );
  box-shadow:
    0 0 12px rgba(0,198,255,0.6),
    0 0 20px rgba(122,0,255,0.45),
    0 0 28px rgba(255,0,200,0.45);
  filter: blur(1.2px);
  animation: vortex-float linear infinite;
  opacity: 0.75;
}

/* Movimiento */
@keyframes vortex-float {
  0% { transform: translate(0, 0) scale(0.9); }
  50% { transform: translate(50px, -60px) scale(1.1); }
  100% { transform: translate(0, 0) scale(0.9); }
}

/* Mini vórtices más pequeños */
.vortex-mini.small {
  width: 28px;
  height: 28px;
  opacity: 0.6;
}

/* Mini vórtices más grandes */
.vortex-mini.big {
  width: 80px;
  height: 80px;
  opacity: 0.45;
  filter: blur(2px);
}

/* --- Ajustes para móviles --- */
@media (max-width: 640px) {

  /* reducir tamaño de iconos */
  .orbit-icon {
    width: 38px;
    height: 38px;
  }
  
  
  .orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spin linear infinite;
  transform-origin: center center; /* 🔥 CLAVE */
}

  /* NUEVAS DISTANCIAS REDUCIDAS */
  .orbit-distance-1  { transform: translate(-50%, -30px); }
  .orbit-distance-2  { transform: translate(-50%, -45px); }
  .orbit-distance-3  { transform: translate(-50%, -60px); }
  .orbit-distance-4  { transform: translate(-50%, -75px); }
  .orbit-distance-5  { transform: translate(-50%, -90px); }
  .orbit-distance-6  { transform: translate(-50%, -105px); }
  .orbit-distance-7  { transform: translate(-50%, -120px); }
  .orbit-distance-8  { transform: translate(-50%, -135px); }
  .orbit-distance-9  { transform: translate(-50%, -150px); }
  .orbit-distance-10 { transform: translate(-50%, -165px); }
  .orbit-distance-11 { transform: translate(-50%, -180px); }
  .orbit-distance-12 { transform: translate(-50%, -195px); }

  /* núcleo más pequeño */
  .vortex-core {
    width: 90px;
    height: 90px;
  }
}