/* ===============================
   BASE TIPOGRÁFICA Y BODY
=============================== */
body {
  font-family: 'Poppins', sans-serif;
  background: #1c2b50;
  color: #e2e8f0;
}

.gradient-text {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===============================
   BOTONES CTA
=============================== */
.btn-cta {
  background: linear-gradient(90deg,#00c6ff,#0072ff);
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.4),transparent);
  transition: 0.6s;
}

.btn-cta:hover {
  transform: translateY(-3px);
}

.btn-cta:hover::after {
  left: 100%;
}



/* ===============================
   HERO PREMIUM
=============================== */
.hero-video {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

/* Video full cover */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.5s ease-in-out;
}

/* Overlay degradado y animación sutil */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2;
}

.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,198,255,0.25), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(0,114,255,0.25), transparent 60%);
  animation: moveGradient 8s ease-in-out infinite alternate;
}

@keyframes moveGradient {
  0% { transform: translate(0px, 0px); }
  100% { transform: translate(-30px, 20px); }
}

/* Contenido sobre video */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  transition: transform 0.2s ease-out;
}

/* H1 hero */
.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Descripción hero */
.hero-content p.lead {
  font-size: 1.05rem;
  color: #e2e8f0;
  margin-bottom: 20px;
}

/* Ajuste responsive hero */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
  }

  .hero-content p.lead {
    font-size: 1rem;
  }

  .btn-cta {
    padding: 10px 22px;
    font-size: 1rem;
  }
}



/* ===============================
   SECCIONES
=============================== */
.section-light { 
  padding: 120px 0;
  background: #0f172a;
}

.section-dark { 
  padding: 120px 0; 
  background: #0f172a; 
  color: white; 
}

.section-label {
  color: #00c6ff;
  font-size: 0.9rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 15px;
}

.section-label::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #00c6ff;
  margin-top: 8px;
}

@media (min-width: 992px) {
  .section-label {
    font-size: 1rem;
    letter-spacing: 4px;
  }
}

section h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

section p {
  font-size: 1.05rem;
  color: #9aa7b5;
  line-height: 1.6;
}

section p strong {
  color: #ffffff;
  font-weight: 600;
}

.section-light p {
  color: #aab4c0;
}

.section-light p strong {
  font-size: 1.1rem;
  display: block;
  margin-top: 10px;
}

.subtitle-metodo {
  color: #ccc;
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===============================
   TARJETAS METODO
=============================== */
.card-process-pro {
  background: #111;
  padding: 35px 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  border: 1px solid rgba(255,255,255,0.05);
}

.card-process-pro:hover {
  transform: translateY(-8px);
  border: 1px solid rgba(255,255,255,0.15);
}

.icon-box {
  font-size: 32px;
  margin-bottom: 15px;
}

.step-number {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #777;
  margin-bottom: 10px;
}

.card-process-pro h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

.card-process-pro p {
  font-size: 0.95rem;
  color: #bbb;
}

@media (max-width: 768px) {
  .card-process-pro {
    padding: 30px 20px;
  }
  .icon-box {
    font-size: 28px;
  }
  .hero-video {
    height: auto;
    padding: 120px 0 80px 0;
  }
  .overlay {
    background: rgba(15, 23, 42, 0.9);
  }
}
/* ===============================
   NAVBAR MEJORADO
=============================== */
.navbar {
  padding: 20px 0;
  transition: all 0.4s ease;
  position: fixed;
  width: 100%;
  z-index: 1100;
}

/* Navbar al hacer scroll */
#mainNav.scrolled {
  background: rgba(8, 48, 140, 0.38);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  padding: 12px 0;
}

/* Links generales */
.nav-link {
  color: #cbd5e1 !important;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #00c6ff !important;
  transform: translateY(-2px);
}

/* Links cuando el navbar está scrolleado */
#mainNav.scrolled .nav-link {
  color: #ffffff !important;
}

#mainNav.scrolled .nav-link:hover {
  color: #00c6ff !important;
}

/* ===============================
   MENÚ HAMBURGUESA MÓVIL
=============================== */
/* Fondo, sombra y borde del menú abierto */
#nav.collapse.show {
  background-color: rgba(15, 23, 42, 0.95); /* fondo semiopaco */
  backdrop-filter: blur(12px);               /* efecto blur moderno */
  padding: 0.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
  position: absolute;
  top: 60px;
  right: 15px;
  left: 15px;
  z-index: 1200;
  transition: all 0.35s ease;
}

/* Links dentro del menú hamburguesa */
#nav.collapse.show .nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin: 0.5rem 0;
  display: block;
  font-size: 1rem;
}

/* Hover links menú hamburguesa */
#nav.collapse.show .nav-link:hover {
  color: #00c6ff !important;
  transform: translateX(4px);
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Botón CTA dentro del menú hamburguesa */
#nav.collapse.show .btn-cta {
  background: linear-gradient(90deg,#00c6ff,#0072ff);
  color: white;
  border-radius: 30px;
  padding: 10px 25px;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

#nav.collapse.show .btn-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.4),transparent);
  transition: 0.6s;
}

#nav.collapse.show .btn-cta:hover::after {
  left: 100%;
}

/* Ajustes responsive para móviles */
@media (max-width: 991px) {
  #nav.collapse.show {
    top: 55px;
    padding: 0.75rem 1rem;
  }

  #nav.collapse.show .nav-link {
    font-size: 1rem;
    margin: 0.5rem 0;
  }
}


/* LOGO ATIXOFT */
.navbar-brand {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  color: transparent;
  position: relative;
  user-select: none;
  -webkit-text-stroke: 0.8px #f9f8f8;
}

.navbar-brand .text-atix {
  background: linear-gradient(90deg, #96daf5, #176bc0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0.6px #000;
  transition: color 0.3s ease;
}

.navbar-brand .text-oft {
  color: #f0f4f8;
  -webkit-text-stroke: 0.5px #000;
  transition: color 0.3s ease;
}

.navbar-brand:hover .text-atix {
  background: linear-gradient(90deg, #003366, #0059b3);
}

.navbar-brand:hover .text-oft {
  color: #ffffff;
}

/* NAVBAR TOGGLER */
.navbar-toggler {
  border: none;
  outline: none;
  padding: 6px 10px;
  cursor: pointer;
  background: transparent;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
  content: "";
  background-color: white;
  position: absolute;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before { top: 0; }
.navbar-toggler-icon div { top: 50%; transform: translateY(-50%); }
.navbar-toggler-icon::after { bottom: 0; }

/*======= logo pagina  =========*/

.navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Logo de navbar manteniendo proporción */
.logo-navbar {
    height: 60px;          /* altura fija */
    width: auto;            /* ancho se ajusta automáticamente */
    border-radius: 12px;    /* esquinas redondeadas */
    object-fit: contain;    /* evita recortes, mantiene proporción */
    transition: transform 0.3s ease;
}

/* Hover suave */
.logo-navbar:hover {
    transform: scale(1.05);
}

/* Responsive: reduce tamaño en móviles */
@media (max-width: 767px) {
    .logo-navbar {
        height: 40px;       /* solo altura cambia, ancho ajusta automáticamente */
    }
}

/* ===============================
   BOTÓN VOLVER ARRIBA
=============================== */
.btn-top {
  position: fixed;
  bottom: 100px;  
  right: 30px; /* Cambiado de left a right */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8) translateY(20px);
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 2000;
}

.btn-top.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.btn-top:hover {
  background: linear-gradient(135deg, #00d4ff, #007bff);
  transform: scale(1.08);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.4);
}

@media (max-width: 768px) {
  .btn-top {
    left: 15px;
    bottom: 90px;
    width: 45px;
    height: 45px;
  }
}

/* ===============================
   WHATSAPP FLOTANTE
=============================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(37,211,102,0.4);
  border-radius: 50%;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 70px;
    height: 70px;
  }
}

/*================
 Popup WhatsApp 
 =================*/
/* Botón WhatsApp flotante estilo */
/* Botón flotante */
.whatsapp-float {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

/* Tooltip compacto al lado del botón */
.wa-tooltip {
  background: white;
  color: #222;
  border-radius: 18px;
  padding: 6px 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  font-size: 12px;
  font-weight: 500;
  max-width: 200px;
  user-select: none;

  position: absolute; /* relativo al contenedor */
  left: 70px; /* distancia desde el botón */
  bottom: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wa-tooltip.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Popup grande aparece sobre el botón */
.wa-popup {
  width: 280px;
  background: #25D366;
  color: white;
  border-radius: 12px;
  padding: 15px;
  position: fixed;
  bottom: 30px; /* misma que el botón */
  left: 30px;   /* misma que el botón */
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.wa-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 10px;
}

#wa-close {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.wa-body {
  display: flex;
  flex-direction: column;
}

.wa-message {
  margin-bottom: 8px;
  font-size: 14px;
}

.wa-button {
  background: white;
  color: #25D366;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  margin-top: 5px;
}