/* ======================================================
   LAYOUT GLOBAL
====================================================== */
:root{
  --container: 1280px;
  --gutter: 24px;
}

@media (max-width: 980px){
  :root{
    --gutter: 16px;
  }
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}


/* ======================================================
   NAVBAR
====================================================== */
:root{
  --bg: #060B1A;
  --glass: rgba(255,255,255,0.10);
  --glass-strong: rgba(255,255,255,0.14);
  --stroke: rgba(255,255,255,0.18);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(31,107,255,0.35), transparent 60%),
    radial-gradient(800px 500px at 80% 0%, rgba(42,167,255,0.25), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(255,255,255,0.06), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

.nav-wrap{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 16px;
}

.navbar{
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 170px;
}

.brand-logo-img{
  height: 38px;
  width: auto;
  display: block;
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}

.nav-toggle-lines{
  width: 18px;
  height: 2px;
  background: var(--text);
  display: inline-block;
  position: relative;
  border-radius: 999px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.nav-toggle-lines::before{ top: -6px; }
.nav-toggle-lines::after{ top: 6px; }

.nav-menu{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-link{
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
}

/* ======================================================
   SUBMENU
====================================================== */
.has-submenu{
  position: relative;
}

.submenu{
  list-style: none;
  position: absolute;
  top: 100%;
  margin-top: 6px;
  left: 0;
  min-width: 190px;
  background: rgba(20,30,60,0.96);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 8px;
  display: none;
  flex-direction: column;
  box-shadow: var(--shadow);
  z-index: 100;
}

.submenu a{
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  display: block;
}

.submenu a:hover{
  background: rgba(255,255,255,0.12);
}

.has-submenu::after{
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

@media (min-width: 981px){
  .has-submenu:hover .submenu{
    display: flex;
    animation: fadeIn 0.15s ease;
  }
}

@keyframes fadeIn{
  from{
    opacity: 0;
    transform: translateY(-4px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================================================
   FLECHA SUBMENU
====================================================== */
.arrow{
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

@media (min-width: 981px){
  .has-submenu:hover .arrow{
    transform: rotate(180deg);
  }
}

/* ======================================================
   NAVBAR (CELULAR)
====================================================== */
@media (max-width: 980px){
  .navbar{
    padding: 12px;
  }

  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu{
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .nav-menu.open{
    display: flex;
  }

  .nav-link{
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 14px;
  }

  .submenu{
    position: static;
    margin-top: 0;
    display: none;
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
    min-width: auto;
  }

  .submenu a{
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.85);
  }


  .has-submenu.open .submenu{
    display: flex;
  }

  .has-submenu.open .arrow{
    transform: rotate(180deg);
  }
}

/* ======================================================
   NAV MENU (MÓVIL) - MÁS LEGIBLE
====================================================== */
@media (max-width: 980px){
  .nav-menu{
    background: rgba(10,16,36,0.92);
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .nav-link{
    color: rgba(255,255,255,0.92);
  }

  .nav-link:hover{
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.98);
  }

  .submenu a{
    color: rgba(255,255,255,0.90);
  }
}

/* ======================================================
   FOOTER
====================================================== */
.site-footer{
  padding: 54px 0 26px;
}

.site-footer-inner{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

.site-footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 18px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-footer-brand{
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer-logo{
  height: 36px;
  width: auto;
  display: block;
}

.site-footer-tagline{
  margin: 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.74);
  font-weight: 650;
}

.site-footer-social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  font-size: 22px;
  line-height: 1;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.site-footer-social-link:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.16);
  opacity: 0.92;
}

.site-footer-social-link:active{
  transform: translateY(1px);
}

.site-footer-col{
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer-title{
  font-weight: 950;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.90);
}

.site-footer-link{
  width: fit-content;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer-link:hover{
  color: rgba(255,255,255,0.92);
}

.site-footer-link:active{
  transform: translateY(1px);
}

.site-footer-note{
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
  font-weight: 650;
}

.site-footer-bottom{
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 6px 0;
}

.site-footer-copy{
  font-weight: 750;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
}

.site-footer-legal{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-footer-legal-link{
  text-decoration: none;
  font-weight: 850;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  transition: color 160ms ease;
}

.site-footer-legal-link:hover{
  color: rgba(255,255,255,0.92);
}

.site-footer-legal-sep{
  opacity: 0.5;
}

/* ======================================================
   FOOTER (CELULAR)
====================================================== */
@media (max-width: 980px){
  .site-footer{
    padding: 40px 0 22px;
  }

  .site-footer-grid{
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .site-footer-bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ======================================================
   ANIMACIONES DE ENTRADA (REVEAL)
====================================================== */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  will-change: opacity, transform, filter;
}

.reveal[data-reveal="left"]{ transform: translateX(-18px); }
.reveal[data-reveal="right"]{ transform: translateX(18px); }
.reveal[data-reveal="up"]{ transform: translateY(18px); }

.reveal.is-visible{
  opacity: 1;
  transform: translate(0,0);
  filter: blur(0);
}

.reveal-stagger .reveal{
  transition-delay: var(--reveal-delay, 0ms);
}

/* ======================================================
   REVEAL (MÓVIL SIN BLUR)
====================================================== */
@media (max-width: 980px){
  .reveal{
    filter: none;
    transition: opacity 420ms ease, transform 420ms ease;
    will-change: opacity, transform;
  }

  .reveal.is-visible{
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce){
  .reveal,
  .reveal.is-visible{
    transition: none;
    transform: none;
    opacity: 1;
    filter: none;
  }
}

/* ======================================================
   FONDO DINÁMICO (GLASSMORPHISM) - OPTIMIZADO
====================================================== */
body{
  position: relative;
  overflow-x: hidden;
}

/* PC: blur MUCHO más ligero + movimiento muy leve */
body::before{
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;

  background:
    radial-gradient(520px 420px at 20% 20%, rgba(31,107,255,0.32), transparent 62%),
    radial-gradient(520px 420px at 85% 18%, rgba(42,167,255,0.24), transparent 62%),
    radial-gradient(650px 520px at 60% 85%, rgba(31,107,255,0.14), transparent 66%),
    radial-gradient(520px 520px at 12% 75%, rgba(255,255,255,0.06), transparent 62%),
    linear-gradient(180deg, rgba(6,11,26,1), rgba(6,11,26,1));

  filter: blur(6px) saturate(112%);
  transform: translate3d(0,0,0);
  animation: bgFloatLite 28s ease-in-out infinite alternate;
}

/* Grano: más sutil para no pesar */
body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 2px,
      transparent 5px
    );

  opacity: 0.12;
  mix-blend-mode: overlay;
  animation: grainMoveLite 10s steps(10) infinite;
}

@keyframes bgFloatLite{
  0%{ transform: translate3d(-8px, -6px, 0) scale(1.01); }
  50%{ transform: translate3d(6px, 8px, 0) scale(1.02); }
  100%{ transform: translate3d(8px, -4px, 0) scale(1.01); }
}

@keyframes grainMoveLite{
  0%{ transform: translate3d(0,0,0); }
  25%{ transform: translate3d(-3px, 2px, 0); }
  50%{ transform: translate3d(2px, -2px, 0); }
  75%{ transform: translate3d(-2px, -3px, 0); }
  100%{ transform: translate3d(0,0,0); }
}

/* ======================================================
   FONDO (MÓVIL) - SIN ANIMACIÓN Y MÁS LIGERO
====================================================== */
@media (max-width: 980px){
  body::before{
    animation: none;
    filter: blur(2px) saturate(106%);
    inset: -10%;
  }

  body::after{
    animation: none;
    opacity: 0.08;
  }
}

/* ======================================================
   OPCIÓN EXTRA: QUITAR COMPLETAMENTE EL "BLOB" EN MÓVIL
   (Si lo quieres, descomenta este bloque)
====================================================== */
/*
@media (max-width: 980px){
  body::before{ display: none; }
}
*/

@media (prefers-reduced-motion: reduce){
  body::before,
  body::after{
    animation: none;
  }
}


/* ======================================================
   REVEAL (MÓVIL) - SIN ANIMACIONES
====================================================== */
@media (max-width: 980px){
  .reveal{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    will-change: auto !important;
  }

  .reveal.is-visible{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


:root{
  --bg: #060B1A;
  --glass: rgba(255,255,255,0.10);
  --glass-strong: rgba(255,255,255,0.14);
  --stroke: rgba(255,255,255,0.18);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.72);
  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --grad: linear-gradient(135deg, rgba(31,107,255,1), rgba(42,167,255,1));
}



body::before{
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;
  background:
    radial-gradient(520px 420px at 20% 20%, rgba(31,107,255,0.32), transparent 62%),
    radial-gradient(520px 420px at 85% 18%, rgba(42,167,255,0.24), transparent 62%),
    radial-gradient(650px 520px at 60% 85%, rgba(31,107,255,0.14), transparent 66%),
    radial-gradient(520px 520px at 12% 75%, rgba(255,255,255,0.06), transparent 62%),
    linear-gradient(180deg, rgba(6,11,26,1), rgba(6,11,26,1));
  filter: blur(6px) saturate(112%);
  transform: translate3d(0,0,0);
  animation: bgFloatLite 28s ease-in-out infinite alternate;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 2px,
      transparent 5px
    );
  opacity: 0.12;
  mix-blend-mode: overlay;
  animation: grainMoveLite 10s steps(10) infinite;
}

@keyframes bgFloatLite{
  0%{ transform: translate3d(-8px, -6px, 0) scale(1.01); }
  50%{ transform: translate3d(6px, 8px, 0) scale(1.02); }
  100%{ transform: translate3d(8px, -4px, 0) scale(1.01); }
}

@keyframes grainMoveLite{
  0%{ transform: translate3d(0,0,0); }
  25%{ transform: translate3d(-3px, 2px, 0); }
  50%{ transform: translate3d(2px, -2px, 0); }
  75%{ transform: translate3d(-2px, -3px, 0); }
  100%{ transform: translate3d(0,0,0); }
}

@media (max-width: 980px){
  body::before{
    animation: none;
    filter: blur(2px) saturate(106%);
    inset: -10%;
  }
  body::after{
    animation: none;
    opacity: 0.08;
  }
}

@media (prefers-reduced-motion: reduce){
  body::before,
  body::after{
    animation: none;
  }
}

.uc{

  display: grid;
  place-items: center;

}

.uc-inner{
  width: 100%;
  max-width: 980px;
  position: relative;
}

.uc-card{
  border-radius: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  overflow: hidden;
}

.uc-badge{
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

.uc-title{
  margin: 14px 0 10px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.6px;
}

.uc-title span{
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.uc-subtitle{
  margin: 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.76);
  font-weight: 650;
}

.uc-actions{
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.uc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 950;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
  white-space: nowrap;
}

.uc-btn:active{ transform: translateY(1px); }

.uc-primary{
  color: #061127;
  background: var(--grad);
  box-shadow: 0 12px 28px rgba(31,107,255,0.22);
}

.uc-primary:hover{ box-shadow: 0 16px 34px rgba(31,107,255,0.30); }

.uc-secondary{
  color: rgba(255,255,255,0.92);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.14);
}

.uc-secondary:hover{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.20);
}

.uc-ghost{
  color: rgba(255,255,255,0.90);
  background: transparent;
  border-color: rgba(255,255,255,0.14);
}

.uc-ghost:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}

.uc-mini{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.uc-mini-item{
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 14px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.uc-mini-ico{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(42,167,255,1);
  font-size: 16px;
}

.uc-mini-title{
  font-weight: 950;
  font-size: 13px;
  color: rgba(255,255,255,0.92);
}

.uc-mini-desc{
  margin-top: 3px;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
}

.uc-glow{
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(520px 360px at 70% 40%, rgba(31,107,255,0.30), transparent 60%),
    radial-gradient(460px 340px at 30% 70%, rgba(42,167,255,0.18), transparent 60%);
  filter: blur(18px);
  z-index: -1;
}

@media (max-width: 980px){
  .uc{ padding: 36px 16px; }
  .uc-card{ padding: 16px; }
  .uc-title{ font-size: 30px; }
  .uc-btn{ width: 100%; }
  .uc-mini{ grid-template-columns: 1fr; }
}
