<!-- start Simple Custom CSS and JS -->
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */

:root {
  /* Colores de marca */
  --celeste-os: #0b7ab5;
  --celeste:    #1ea4de;
  --celeste-cl: #5cd0f5;
  --tomate-cl:  #ffb26b;
  --tomate:     #ed8114;
  --tomate-os:  #e2661f;

  /* Degradado firma */
  --grad: linear-gradient(90deg,
    var(--celeste-os) 0%,
    var(--celeste)    22%,
    var(--celeste-cl) 45%,
    var(--tomate-cl)  74%,
    var(--tomate)     100%);

  /* Tipos */
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --texto:   "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Medidas */
  --ancho: 1200px;
  --nav: 76px;
}

/* ============================================================
   RESET + OVERRIDES
   ============================================================ */

.bs-app *,
.bs-app *::before,
.bs-app *::after,
.bs-nav *,
.bs-nav *::before,
.bs-nav *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #07070c;
  color: #ffffff;
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav);
}

.bs-app img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Font Awesome en modo SVG */
.bs-app svg.svg-inline--fa,
.bs-nav svg.svg-inline--fa {
  width: 1em;
  height: 1em;
}

/* Focus visible para accesibilidad */
.bs-app a:focus-visible,
.bs-app button:focus-visible,
.bs-nav a:focus-visible,
.bs-nav button:focus-visible {
  outline: 2px solid var(--celeste);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   NAVEGACIÓN CON MEGA-MENÚ
   ============================================================ */

.bs-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  min-height: var(--nav);
  display: flex;
  align-items: center;
  background: rgba(7, 7, 12, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  font-family: var(--display);
}

.bs-nav-inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bs-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.bs-logo img {
  height: 34px;
  width: auto;
}

.bs-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Enlaces y disparadores del menú */
.bs-nav-links > a,
.bs-item-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  color: #a8b2c1;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: .93rem;
  padding: 10px 14px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}

.bs-nav-links > a:hover,
.bs-item-btn:hover,
.bs-item:hover .bs-item-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, .06);
}

.bs-item-btn i {
  font-size: .62rem;
  opacity: .7;
  transition: transform .3s ease;
}

.bs-item:hover .bs-item-btn i {
  transform: rotate(180deg);
}

/* CTA del nav */
.bs-nav-links .bs-nav-cta {
  margin-left: 10px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--tomate);
  color: #07070c;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(252, 133, 59, .3);
  text-decoration: none;
}

.bs-nav-links .bs-nav-cta:hover {
  background: var(--tomate-cl);
  color: #07070c;
}

/* --- Mega-menú --- */
.bs-item {
  position: relative;
}

.bs-mega {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: min(580px, 92vw);
  padding: 16px;
  border-radius: 22px;
  background: #0f0f18;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

/* Puente invisible para que el cursor no "caiga" */
.bs-mega::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

/* Filo de degradado arriba del panel */
.bs-mega::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--grad);
}

.bs-item:hover .bs-mega,
.bs-item:focus-within .bs-mega,
.bs-item.abierto .bs-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.bs-mega-cabecera {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bs-mega-cabecera i {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 168, 229, .14);
  color: var(--celeste-cl);
  font-size: .95rem;
}

.bs-mega-cabecera strong {
  display: block;
  color: #fff;
  font-size: .96rem;
  font-weight: 700;
}

.bs-mega-cabecera span {
  display: block;
  color: #7a8494;
  font-size: .82rem;
  line-height: 1.4;
}

.bs-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.bs-mega-grid a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.bs-mega-grid a:hover {
  background: rgba(255, 255, 255, .06);
  transform: translateX(3px);
}

.bs-mega-grid a > i {
  width: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--celeste);
  font-size: .88rem;
  text-align: center;
  transition: color .2s ease;
}

.bs-mega-grid a:hover > i {
  color: var(--tomate);
}

.bs-mega-grid strong {
  display: block;
  color: #ffffff;
  font-size: .89rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.bs-mega-grid em {
  display: block;
  font-style: normal;
  color: #7a8494;
  font-size: .78rem;
  line-height: 1.45;
}

.bs-mega-pie {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--celeste-cl);
  font-size: .87rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.bs-mega-pie:hover {
  background: rgba(28, 168, 229, .12);
  color: #ffffff;
}

/* Hamburguesa */
.bs-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 10px;
}

.bs-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 3px;
  margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}

.bs-burger.abierto span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.bs-burger.abierto span:nth-child(2) {
  opacity: 0;
}

.bs-burger.abierto span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   OVERLAY — NUEVO (desde el segundo archivo)
   ============================================================ */

.bs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, .72);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}

.bs-overlay.activo {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   ANIMACIONES Y EFECTOS — NUEVO (desde el segundo archivo)
   ============================================================ */

/* Texto con degradado animado */
.bs-grad {
  background: var(--grad);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: bs-grad-move 7s ease-in-out infinite;
}

@keyframes bs-grad-move {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Aparición al hacer scroll */
@keyframes bs-entrar {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bs-rev { opacity: 1; }
[data-bs-anim="on"] .bs-rev { opacity: 0; }
[data-bs-anim="on"] .bs-rev.visible { 
  animation: bs-entrar .75s cubic-bezier(.16, 1, .3, 1) forwards; 
}

/* Scroll suave */
html { scroll-behavior: smooth; }

/* Anclas con offset para el nav fijo */
#inicio, #soluciones, #adaptabilidad, #ia, #proceso, #proyectos, #beneficios, #contacto {
  scroll-margin-top: calc(var(--nav) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bs-rev, [data-bs-anim="on"] .bs-rev { 
    opacity: 1 !important; 
  }
}

/* ============================================================
   BOTONES MEJORADOS — NUEVO (desde el segundo archivo)
   ============================================================ */

.bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease,
              background-color .25s ease, border-color .25s ease, color .25s ease;
}

/* Principal: celeste sólido */
.bs-btn--celeste {
  background: var(--celeste-os);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(28, 168, 229, .3);
}

.bs-btn--celeste:hover {
  background: #095f8e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 168, 229, .38);
}

/* Tomate: CTA final */
.bs-btn--tomate {
  background: var(--tomate);
  color: #07070c;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(252, 133, 59, .3);
}

.bs-btn--tomate:hover {
  background: var(--tomate-cl);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(252, 133, 59, .4);
}

/* Degradado completo */
.bs-btn--grad {
  background: var(--grad);
  background-size: 200% 100%;
  color: #07070c;
  font-weight: 700;
  animation: bs-grad-move 7s ease-in-out infinite;
}

.bs-btn--grad:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 30px rgba(28, 168, 229, .32); 
}

/* Contorno */
.bs-btn--ghost {
  background: rgba(255, 255, 255, .05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, .20);
}

.bs-btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--celeste);
  color: var(--celeste-cl);
  background: rgba(255, 255, 255, .09);
}

/* Link con flecha animada */
.bs-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--celeste-cl);
  text-decoration: none;
  transition: gap .25s ease;
}

.bs-link:hover { 
  gap: 14px; 
}

/* ============================================================
   RESPONSIVE — Actualizado con overlay
   ============================================================ */

@media (max-width: 1240px) {
  .bs-nav-links > a,
  .bs-item-btn {
    padding: 10px 11px;
    font-size: .89rem;
  }
  .bs-nav-links .bs-nav-cta {
    padding: 11px 20px;
  }
}

@media (max-width: 1100px) {
  .bs-nav-links > a,
  .bs-item-btn {
    font-size: .85rem;
    padding: 10px 10px;
  }
}

/* --- Menú móvil --- */
@media (max-width: 980px) {
  .bs-burger {
    display: block;
  }

  .bs-nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 88vw);
    height: 100vh;
    background: #0d0d15;
    border-left: 1px solid rgba(255, 255, 255, .10);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 92px 18px 40px;
    overflow-y: auto;
    transition: right .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 10000;
  }

  .bs-nav-links.activo {
    right: 0;
  }

  .bs-nav-links::before {
    content: "MENÚ";
    font-family: var(--mono);
    font-size: .67rem;
    letter-spacing: .2em;
    color: #7a8494;
    padding: 0 12px 14px;
  }

  .bs-nav-links > a,
  .bs-item-btn {
    width: 100%;
    justify-content: space-between;
    padding: 15px 12px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
  }

  .bs-item {
    width: 100%;
  }

  .bs-item-btn i {
    font-size: .7rem;
  }

  /* El panel deja de flotar: se despliega en línea */
  .bs-mega {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    border-left: 2px solid var(--celeste);
    border-radius: 0;
    box-shadow: none;
    margin: 6px 0 10px 12px;
    padding: 4px 0 4px 8px;
    display: none;
  }

  .bs-mega::before,
  .bs-mega::after {
    display: none;
  }

  .bs-item:hover .bs-mega,
  .bs-item:focus-within .bs-mega {
    display: none;
  }

  .bs-item.abierto .bs-mega {
    display: block;
  }

  .bs-item.abierto .bs-item-btn i {
    transform: rotate(180deg);
  }

  .bs-mega-cabecera {
    display: none;
  }

  .bs-mega-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .bs-mega-grid a {
    padding: 11px 10px;
  }

  .bs-mega-grid em {
    display: none;
  }

  .bs-mega-pie {
    margin-top: 6px;
    padding: 11px 12px;
  }

  .bs-nav-links .bs-nav-cta {
    margin: 24px 0 0;
    text-align: center;
    justify-content: center;
    border-bottom: none;
    border-radius: 999px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .bs-nav-inner {
    padding: 0 16px;
  }

  .bs-logo img {
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}</style>
<!-- end Simple Custom CSS and JS -->
