@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/orbitron.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Capsmall_clean';
  src: url('../fonts/Capsmall_clean.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: transparent;
  /*color: #00e5ff;*/
  /*font-family: 'Capsmall_clean', sans-serif;*/
}
.color1{
  color: #772c9b !important;
}
.color2{
  color: #00e5ff !important;
}
.orbitron{
  font-family: 'Orbitron', sans-serif !important;
}
h4,h5,h6,p,b{
  color: #fff;
}
h1,h2,h3{
    color: #772c9b !important;
}
.bg-color-1{
  background-color:#772c9b !important;
}
.bg-color-2{
  background-color:#00e5ff !important;
}
section{
  padding-top: 10% !important;
  padding-bottom: 10% !important;
}
input.bg-dark::placeholder,
textarea.bg-dark::placeholder {
  /* color neón cyan */
  color: #00e5ff !important;
  /* forzar opacidad máxima (algunos navegadores bajan la opacidad por defecto) */
  opacity: 1 !important;
}

/* Soporte para navegadores antiguos */
input.bg-dark::-webkit-input-placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
input.bg-dark:-ms-input-placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
input.bg-dark::-ms-input-placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
textarea.bg-dark::-webkit-input-placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
textarea.bg-dark:-ms-input-placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
textarea.bg-dark::-ms-input-placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
/* --- Menú SERVICIOS: correr SOLO el primer nivel --- */
@media (min-width: 992px) {
  /* mueve el dropdown principal hacia la izquierda */
  #serviciosDropdown + .dropdown-menu{
    left: 0;                 /* ancla normal */
    right: auto;
    transform: translateX(-50%); /* ajústalo a gusto (-40%, -60%, etc.) */
    overflow: visible;       /* deja ver submenús */
    z-index: 1055;
  }

  /* --- SUBMENÚS: abrir a la IZQUIERDA del menú padre, sin transform --- */
  #serviciosDropdown + .dropdown-menu .dropdown-submenu{
    position: relative;
  }
  #serviciosDropdown + .dropdown-menu .dropdown-submenu > .dropdown-menu{
    top: 0;
    left: auto;
    right: calc(100% + .5rem);   /* abre a la izquierda con un pequeño gap */
    margin: 0;
    min-width: 14rem;
    border-radius: .5rem;
    transform: none !important;  /* evita que herede el translateX del padre */
    z-index: 1056;
  }

  /* “puente” para que no se cierre al pasar el mouse entre niveles */
  #serviciosDropdown + .dropdown-menu .dropdown-submenu > .dropdown-menu::after{
    content: "";
    position: absolute;
    top: 0;
    right: -10px;      /* va del lado derecho porque abrimos hacia la izquierda */
    width: 10px;
    height: 100%;
    background: transparent;
    pointer-events: auto;
  }
}

#toggleSound {
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.3s;
}

#toggleSound:hover {
  opacity: 1;
}

/* === NAVBAR Transparente con transición === */
.navbar-transparent {
  background: rgba(0, 0, 0, 0); /* completamente transparente */
  transition: background 0.6s ease, backdrop-filter 0.6s ease;
  backdrop-filter: none;
}

/* Cuando se scrollea, se agrega clase .scrolled con JS */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9); /* casi negro sólido */
  backdrop-filter: blur(6px); /* efecto elegante */
}

.navbar a {
  font-weight: 600; /* Más grueso */
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease-in-out;
  text-decoration: none;
}
/* ===== Colores de texto/fondo para links dentro del DROPDOWN ===== */
.dropdown-menu {
  /* Texto base en dropdown (sobre fondo blanco) */
  --bs-dropdown-link-color: #0f1720;              /* gris muy oscuro */
  --bs-dropdown-link-hover-color: #0f1720;
  --bs-dropdown-link-active-color: #0f1720;

  /* Fondos de realce */
  --bs-dropdown-link-hover-bg: rgba(0, 229, 255, 0.08);  /* tu cian translúcido */
  --bs-dropdown-link-active-bg: rgba(0, 229, 255, 0.12);
}

/* Por si algún tema/sobrescritura no respeta las vars, fuerza los estados: */
.dropdown-menu .dropdown-item { color: #0f1720; }
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus { 
  color: #0f1720;
  background-color: rgba(0, 229, 255, 0.08);
}
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.active {
  color: #0f1720 !important;
  background-color: rgba(0, 229, 255, 0.12) !important;
}
/* Evita que :visited cambie el color en algunos navegadores */
.dropdown-menu .dropdown-item:visited { color: #0f1720; }

/* Mantén el nav principal en cian/blanco sobre fondo oscuro */
.navbar-nav > .nav-item > .nav-link { color: #00e5ff; }
.navbar-nav > .nav-item > .nav-link:hover,
.navbar-nav > .nav-item > .nav-link:active,
.navbar-nav > .nav-item > .nav-link.active { color: #fff; }

/* ==== Submenús multinivel (izquierda) para Bootstrap 5 ==== */

/* Contenedor del submenú */
.dropdown-submenu { position: relative; }

/* Submenú abre a la izquierda */
.dropdown-submenu > .dropdown-menu {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: -0.25rem;
  margin-right: 0.25rem;
  min-width: 14rem;
  border-radius: 0.5rem;
}

/* "Puente" invisible para evitar que se cierre al mover el mouse */
.dropdown-submenu > .dropdown-menu::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;   /* como abrimos a la izquierda, el puente va en el borde derecho */
  width: 12px;
  height: 100%;
  background: transparent;
  pointer-events: auto;
}

/* ====== Caret a la IZQUIERDA ====== */
.dropdown-submenu > a.dropdown-toggle {
  position: relative;
  padding-left: 1.5rem; /* espacio para la flecha a la izquierda */
}

/* Desktop: flecha hacia la izquierda */
@media (min-width: 992px) {
  .dropdown-submenu > a.dropdown-toggle::before {
    content: "‹";                 /* apunta hacia la izquierda */
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 0.85rem;
    color: inherit;
  }
}

/* Quitamos la flecha por defecto a la derecha */
.dropdown-submenu > a.dropdown-toggle::after {
  content: none !important;
}
/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  height: 100svh;       /* en desktop ocupa toda la altura */
  min-height: 480px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
}

/* ===== Móvil ===== */
@media (max-width: 991.98px) {
  .hero-section {
    height: 100svh;      /* ocupa solo 50% de la pantalla */
    min-height: 280px;  /* no quede muy chiquito */
  }

  .hero-video {
    height: 100svh;      /* el video se limita a la mitad también */
    object-position: center 30%;
  }
}

@media (max-width:991.98px){ .hero-video{ object-position:center 30%; } }

/* Fallback (usa el mismo poster como background) */
.hero-fallback{
  position:absolute; inset:0; z-index:0;
  background: #000 url("<?= url('assets/img/hero-poster.jpg') ?>") center / cover no-repeat;
  transition: opacity .25s ease;
}
/* Estado base: visible */
#heroCopy{
  opacity: 1;
  transition: opacity .6s ease, transform .6s ease, visibility .6s ease;
  will-change: opacity, transform;
}

/* Al aplicar la clase => se desvanece y deja de interactuar */
#heroCopy.hero-fade-out{
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
}

.hero-ready .hero-fallback{ opacity:0; }

/* Asegura que el contenido y navbar queden encima */
.navbar{ z-index:1000; }

/* Estética */
.navbar .dropdown-menu {
  padding: 0.5rem 0.25rem;
  border-radius: 0.5rem;
}
/* Ajustar dropdown principal hacia la izquierda */
.navbar .dropdown-menu {
  left: auto !important;   /* anula la posición por defecto */
  right: auto;               /* se alinea con el borde derecho del botón */
  transform: none;  /* lo empujamos más a la izquierda (ajusta %) */
}

/* Opcional: que solo aplique en desktop */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    transform: translateX(-60%); /* aún más a la izquierda en pantallas grandes */
  }
}

/* Animación suave basada en .show de Bootstrap */
.navbar .dropdown-menu {
  display: block;               /* dejamos que Bootstrap controle .show */
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s ease, visibility .12s ease;
}
.navbar .dropdown.show > .dropdown-menu,
.dropdown-submenu.show > .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.navbar .dropdown-item { padding: 0.5rem 0.75rem; border-radius: 0.375rem; }
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus { background: rgba(0, 255, 255, 0.08); }

/* ====== Desktop: hover (el JS maneja delays) ====== */
@media (min-width: 992px) {
  /* sin reglas de display aquí para no pelear con JS/Bootstrap */
}

/* ====== Móvil/Tablet (stack) ====== */
@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    right: auto;
    margin: 0.25rem 0 0.5rem;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  /* En móvil, caret abajo también en el lado izquierdo */
  .dropdown-submenu > a.dropdown-toggle::before {
    content: "▾";
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 0.85rem;
    color: inherit;
  }
}

/* Hover en los links del navbar principal (INICIO, SERVICIOS, PROYECTOS) */
.navbar-nav > .nav-item > .nav-link:hover,
.navbar-nav > .nav-item > .nav-link.active {
  color: white; /* aquí sí está bien blanco porque el fondo es oscuro */
}

/* Hover en los items del dropdown (submenús) */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  color: #212529; /* gris oscuro/negro */
  background-color: rgba(0, 255, 255, 0.08); /* tu highlight cian translúcido */
}


.btn-outline-info {
  border-color: #00e5ff;
  color: #00e5ff;
}

.btn-outline-info:hover {
  background-color: #00e5ff;
  color: #000;
}
.header-line {
  height: 4px;
  border: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #00e5ff 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  border-radius: 2px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}






.planet-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.planet {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(0,229,255,0.2) 0%, transparent 70%),
    repeating-conic-gradient(from 0deg, #00e5ff 0deg 2deg, transparent 2deg 8deg),
    repeating-linear-gradient(0deg, #00e5ff 0px, #00e5ff 1px, transparent 1px, transparent 10px),
    repeating-linear-gradient(90deg, #d08bff 0px, #d08bff 1px, transparent 1px, transparent 10px);
  background-blend-mode: screen;
  box-shadow: 0 0 25px #00e5ff, 0 0 80px #d08bff inset;
  animation: rotatePlanet 10s linear infinite;
  transform-style: preserve-3d;
}
@keyframes rotatePlanet {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
.form-control.neon {
  background: transparent !important;        /* sin fondo */
  border: 1px solid #00e5ff !important;      /* borde cian */
  border-radius: 0.25rem;                    /* esquinas ligeramente redondeadas */
  color: #00e5ff !important;                 /* texto cian */
  font-family: 'Orbitron', sans-serif;       /* tu tipografía “cuadrada” */
  padding: 0.75rem 1rem;                     /* ajusta alto y espacio interno */
  height: auto;                              /* deja que el padding marque la altura */
  box-shadow: none !important;               /* quita sombras por defecto */
}

/* Placeholder también neón */
.form-control.neon::placeholder {
  color: #00e5ff !important;
  opacity: 1 !important;
}
.contact-section {
  /*background-color: #000;    */
  overflow: hidden;          /* para que no se salga el pseudo-elemento */
  position: relative;        /* necesario para el ::before */
}

/* pseudo-elemento que dibuja el gradiente a la izquierda */
.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;               /* ancho del “destello” */
  height: 100%;
  background: linear-gradient(
    to top right,
    rgba(0, 229, 255, 0.2) 0%,
    rgba(0, 229, 255, 0) 100%
  );
  pointer-events: none;       /* no interfiere con clicks */
  z-index: 0;                 /* detrás de tu form */
}

/* Asegúrate de que tu form esté por encima del gradiente */
.contact-section .row {
  position: relative;
  z-index: 1;
}

footer .nav-link {
  font-weight: 600;
  color: #00e5ff;
}
footer .nav-link:hover {
  color: #fff;
}
footer img {
  display: block;
}
/* Reducir el tamaño de los iconos sociales en el footer */
footer .social-icons img {
  width: 48px !important;
  height: 48px !important;
}
/* === Panel oscuro tipo glass con borde cian y glow sutil === */
.section-panel {
  position: relative;
  background: rgba(5, 10, 12, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 16px;
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 10px 40px rgba(0,229,255,0.06), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Banda superior e inferior tipo “ruler” */
.section-panel::before,
.section-panel::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #00e5ff 35%, transparent 70%);
  opacity: .75;
}
.section-panel::before { top: -10px; }
.section-panel::after  { bottom: -10px; }

/* Títulos con subrayado neón */
.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: .35rem;
}
.heading-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg,#00e5ff, rgba(0,229,255,0.15));
  filter: drop-shadow(0 0 8px rgba(0,229,255,.45));
  border-radius: 2px;
}

/* Tipografía más viva */
.lead-sec { color: #a7dce4; line-height: 1.6; }

/* Lista con checks neón */
.checklist {
  list-style: none; padding: 0; margin: 0;
}
.checklist li {
  position: relative; padding-left: 1.65rem; margin-bottom: .6rem;
  color: #bff7ff; font-weight: 600;
}
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0; line-height: 1;
  color: #50fa7b; font-weight: 800;
}

/* Botón principal más “presente” */
.btn-neo {
  border: 1px solid #00e5ff; color: #00e5ff; 
  border-radius: 12px; padding: .8rem 1.2rem; font-weight: 700;
  box-shadow: 0 0 0 0 rgba(0,229,255,.25);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-neo:hover {
  background: #00e5ff; color: #051016; transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,229,255,.18);
}

/* Link CTA */
.link-neo { color: #69efff; font-weight: 700; text-decoration: none; border-bottom: 1px dashed rgba(0,229,255,.4); }
.link-neo:hover { color: #fff; border-bottom-color: rgba(255,255,255,.5); }

/* Tarjetas de servicio densas con icono “falso” */
.card-glow {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card-glow:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,229,255,0.10);
  border-color: rgba(0,229,255,0.5);
}
.card-glow .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,255,.6), rgba(0,229,255,.08));
  box-shadow: inset 0 0 18px rgba(0,229,255,.35);
  display: grid; place-items: center; font-weight: 800; color: #081216;
}

/* Grid más compacto en desktop */
@media (min-width: 992px) {
  .services-grid { row-gap: 1.25rem; }
}

/* Métricas mejor jerarquizadas */
.metric-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,229,255,0.14);
  border-radius: 14px;
  padding: 1.25rem;
}
.metric-number { font-size: clamp(28px, 4vw, 44px); color: #00e5ff; font-weight: 800; line-height: 1; }
.metric-label  { color: #a7dce4; font-size: .95rem; }

/* Entrada suave en scroll */
.reveal { opacity: 0; transform: translateY(12px); transition: all .5s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ==== Contenedor y grilla de la sección ==== */
.pv-clean .container-narrow { max-width: 1200px; }
.pv-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;  /* proporción estable */
  column-gap: clamp(24px, 4vw, 48px);
  align-items: start;                   /* alinea topo con topo */
}

/* divisor vertical alineado al grid */
.pv-right{
  position: relative;
  padding-left: clamp(18px, 2vw, 28px);
}
.pv-right::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:1px;
  background: linear-gradient(#07343a, rgba(0,229,255,.25), #07343a);
  opacity:.65;
}

/* Título y subrayado perfectamente alineados */
.section-title{
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
}
.title-underline{
  width: min(520px, 100%);              /* mismo ancho en todos los viewports */
  height: 2px;
  background: linear-gradient(90deg,#00e5ff,rgba(0,229,255,0));
  margin: 14px 0 18px;
}

/* Texto */
.section-subtitle{ color:#a7dce4; line-height:1.6; }

/* Acciones alineadas al grid, con separación consistente */
.pv-actions{
  display:flex; gap:16px; align-items:center;
  margin-top: 22px;
}

/* Lista con checks alineada al baseline del título */
.checks{ list-style:none; margin:6px 0 0; padding:0; }
.checks li{
  display:flex; gap:10px; align-items:baseline;
  margin-bottom:.65rem; color:#bfefff; font-weight:600;
}
.checks li i{ font-style:normal; color:#50fa7b; }

/* Botones/links */
.btn-plain{
  padding:.75rem 1.1rem; border:1px solid rgba(0,229,255,.5);
  border-radius:10px; color:#00e5ff; font-weight:700; text-decoration:none;
  transition:background .15s ease,color .15s ease,transform .15s ease;
}
.btn-plain:hover{ background:#00e5ff; color:#061015; transform:translateY(-1px); }
.link-soft{ color:#7fefff; font-weight:700; text-decoration:none; border-bottom:1px solid rgba(0,229,255,.25); }
.link-soft:hover{ color:#fff; border-bottom-color:rgba(255,255,255,.4); }

/* Responsivo: pila y quita divisor en móvil */
@media (max-width: 991.98px){
  .pv-grid{ grid-template-columns: 1fr; row-gap:28px; }
  .pv-right{ padding-left:0; }
  .pv-right::before{ display:none; }
  .title-underline{ width: 100%; }
  .pv-actions{ flex-wrap:wrap; }
}

/* Altura estándar para TODAS las cards de servicios */
.services-section .card { min-height: var(--svc-card-min, 150px); }
@media (min-width: 992px) { /* en desktop puedes subirla un poco si quieres */
  .services-section .card { min-height: var(--svc-card-min-lg, 180px); }
}
.bg-img-overlay {
  background: url("https://images.unsplash.com/photo-1644293536407-3d4a19f66b6a?q=80&w=1600&auto=format&fit=crop") 
              center/cover no-repeat;
  opacity: 0.6; /* controla la transparencia */
}
/* ===== Banda separadora oscura con líneas neón ===== */
.metrics-band{
  position: relative;
  background: white;
  /*background: radial-gradient(ellipse at center,
              rgba(0,229,255,0.06) 0%,
              rgba(6,16,21,1) 55%,
              rgba(6,16,21,1) 100%);*/
  overflow: hidden;
}

/* Líneas neón arriba/abajo (borde luminoso) */
.metrics-band::before,
.metrics-band::after{
  content:"";
  position:absolute; left:0; right:0; height:3px; z-index:0;
  background: linear-gradient(90deg, transparent, #00e5ff 35%, transparent 70%);
  opacity:.85; filter: drop-shadow(0 0 10px rgba(0,229,255,.55));
}
.metrics-band::before{ top:0; }
.metrics-band::after { bottom:0; }

/* Tipografía/colores dentro de la banda */
.metrics-band h2{ color:#fff; }
.metrics-band .text-muted{ color:rgba(255,255,255,.65) !important; }

/* Métricas */
.text-cyan{ color:#00e5ff !important; }
.metric-number{
  letter-spacing:.5px;
  text-shadow: 0 0 18px rgba(0,229,255,.18);
}
.metric .metric-label{
  margin-top:.35rem;
}

/* Un pelín de escala al hacer hover en desktop */
@media (hover:hover){
  .metric-number{ transition: transform .18s ease; }
  .metric:hover .metric-number{ transform: translateY(-2px) scale(1.02); }
}

/* Espaciado vertical más contundente en desktop */
@media (min-width:992px){
  .py-lg-6{ padding-top:4.5rem !important; padding-bottom:4.5rem !important; }
}

/* ===== Casos de Uso ===== */
.usecases-section {
  background: #fff;
}

.usecases-section .header-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00e5ff, transparent);
  border: none;
  opacity: .8;
}


/* Íconos */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0,229,255,.08);
}
.icon-wrap i {
  line-height: 1;
}
.usecases-section .header-line{
  width: 90px; height: 3px; border: 0;
  background: linear-gradient(90deg,#00e5ff,transparent);
  opacity:.9;
}
.case-card{ transition:transform .25s ease, box-shadow .25s ease; border-radius:1rem; }
.case-card:hover{ transform: translateY(-4px); box-shadow:0 10px 28px rgba(0,229,255,.2); }
.icon-wrap{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; background:rgba(0,229,255,.08); }
.carousel-indicators button{ width:8px; height:8px; border-radius:50%; background:#7fefff; opacity:.6; }
.carousel-indicators .active{ opacity:1; background:#00e5ff; }

/* Separador de título (ya usas .header-line en otras secciones) */
.process-section .header-line{
  height: 3px; border: 0;
  background: linear-gradient(90deg, #00e5ff, rgba(0,229,255,0));
  opacity: .9;
}

/* Línea conectora del timeline */
.process-track::before{
  content:"";
  position: absolute; left: 0; right: 0; top: 44px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0,229,255,.15), rgba(0,229,255,.45), rgba(0,229,255,.15));
  border-radius: 2px;
}

/* Cards de cada paso */
.step-card{
  position: relative;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 16px;
  padding: 1.5rem 1.25rem 1.25rem 1.25rem;
  box-shadow: 0 8px 20px rgba(0,229,255,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,229,255,.16);
  border-color: rgba(0,229,255,.45);
}

/* Badge numerado */
.step-badge{
  width: 44px; height: 44px;
  display:grid; place-items:center;
  font-weight: 800; color:#061015;
  border-radius: 50%;
  margin-bottom: .75rem;
  background: radial-gradient(circle at 30% 30%, #00e5ff 0%, #7fefff 60%, #bdfbff 100%);
  box-shadow: 0 0 0 4px rgba(0,229,255,.15), 0 6px 18px rgba(0,229,255,.25);
}
@media (max-width: 767.98px) {
  .step-card h4 {
    margin-left: 10px;
  }
  #bottomfooter{
  margin-left: 10px;
  }
}


/* Responsivo: la línea se vuelve vertical en móvil */
@media (max-width: 767.98px){
  .process-track::before{
    left: 22px; right: auto; top: 0; bottom: 0;
    width: 2px; height: 100%;
    background: linear-gradient(#00e5ff33, #00e5ff80, #00e5ff33);
  }
  .step-card{
    padding-left: 3.25rem;
  }
  .step-badge{
    position: absolute; left: .75rem; top: 1rem;
    margin-bottom: 0;
  }
}
/* Fondo con gradiente y textura */
.cta-section .cta-bg {
  background: linear-gradient(135deg, #0a0f14 0%, #051d24 50%, #0a0f14 100%);
  opacity: 0.95;
  z-index: 0;
}

/* Texto y elementos dentro siempre por encima */
.cta-section .container {
  z-index: 2;
}

/* Botón con hover potente */
.cta-section .btn-info {
  background: linear-gradient(90deg, #00e5ff, #7fffd4);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-section .btn-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,229,255,.4);
}


/* === Panel con glow dinámico y líneas neón === */
.section-panel{
  position:relative;
  overflow:hidden;
  isolation:isolate; /* que los efectos no escapen */
}
.section-panel::before,
.section-panel::after{
  content:"";
  position:absolute; left:0; right:0; height:2px; z-index:0;
  background: linear-gradient(90deg, transparent, #00e5ff 35%, transparent 70%);
  opacity:.85; filter: drop-shadow(0 0 10px rgba(0,229,255,.45));
}
.section-panel::before{ top:-2px; }
.section-panel::after { bottom:-2px; }

/* halo en los bordes */
.section-panel::selection{ background: rgba(0,229,255,.2); }

/* === Aparición suave al hacer scroll === */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* === QR: respiración + parallax sutil === */
#qr-card .bg-white{
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,229,255,.15), inset 0 1px 0 rgba(255,255,255,.5);
  animation: breathe 4s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}
@keyframes breathe{
  0%,100%{ box-shadow: 0 12px 40px rgba(0,229,255,.14), inset 0 1px 0 rgba(255,255,255,.45); }
  50%    { box-shadow: 0 16px 50px rgba(0,229,255,.22), inset 0 1px 0 rgba(255,255,255,.6); }
}
/* 4 columnas fijas dentro de cada slide */
  #logoCarousel .logos-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 1.25rem; /* ~gap-3 */
    padding: 0.5rem 0;
  }

  /* Evita que el CSS del theme estire las imágenes a 100% de ancho */
  #logoCarousel .logos-row img.logo-item {
    justify-self: center;
    max-height: 160px;    /* ajusta a tu gusto */
    max-width: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* Opcional para fondo oscuro */
    /* filter: brightness(0) invert(1); */
  }

  #logoCarousel .logos-row img.logo-item:hover {
    transform: scale(1.08);
  }

  /* Transición del slide más suave */
  #logoCarousel .carousel-item {
    transition: transform 0.9s ease-in-out;
  }

  /* Responsivo: en móviles 2 logos por fila */
  @media (max-width: 575.98px) {
    #logoCarousel .logos-row {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }
    #logoCarousel .logos-row img.logo-item {
      max-height: 64px;
    }
  }
/* línea de escaneo sobre el QR */
#qrWhatsapp{
  position:relative;
}
#qrWhatsapp::after{
  content:"";
  position:absolute; left:8%; right:8%;
  height:2px; top:10%;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  box-shadow: 0 0 12px rgba(0,229,255,.6);
  animation: scan 3.2s linear infinite;
  border-radius:2px;
}
@keyframes scan{
  0%{ top:10%; opacity:.2 }
  50%{ top:85%; opacity:.65 }
  100%{ top:10%; opacity:.2 }
}

/* Texto “escanéame” con pulso leve */
#contacto-rapido .small.text-white{
  animation: pulseText 2.8s ease-in-out infinite;
}
@keyframes pulseText{
  0%,100%{ opacity:.65 }
  50%    { opacity:1 }
}

/* === Ítems de datos: slide & glow on hover === */
#contacto-rapido .d-flex.align-items-start{
  transition: transform .18s ease, filter .18s ease;
}
#contacto-rapido .d-flex.align-items-start:hover{
  transform: translateX(2px);
  filter: drop-shadow(0 0 8px rgba(0,229,255,.25));
}

/* Título con subrayado neón animado */
#contacto-rapido h2{
  position:relative; display:inline-block;
}
#contacto-rapido h2::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-6px; height:3px;
  background: linear-gradient(90deg,#00e5ff, rgba(0,229,255,0));
  filter: drop-shadow(0 0 8px rgba(0,229,255,.45));
  animation: underlineFlow 4s linear infinite;
}
@keyframes underlineFlow{
  0%{ transform: translateX(-10%) }
  100%{ transform: translateX(10%) }
}

/* === Botones: glow + ripple === */
.btn-outline-info, .btn-info{
  position:relative; overflow:hidden;
  transition: transform .18s ease, box-shadow .2s ease;
}
.btn-info:hover, .btn-outline-info:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,229,255,.25);
}
.btn-ripple::after{
  content:""; position:absolute; transform: translate(-50%,-50%) scale(0);
  width:180px; height:180px; border-radius:50%;
  background: rgba(0,229,255,.25); pointer-events:none;
  animation: ripple .6s ease-out forwards;
  mix-blend-mode: screen;
}
@keyframes ripple{ to { transform: translate(-50%,-50%) scale(1); opacity:0; } }

/* === Parallax hover muy sutil en el QR === */
.parallax-tilt{ transition: transform .2s ease; transform-style: preserve-3d; }

/* Respeto a usuarios con “reducir movimiento” */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}
