/* Fondo base */
html, body {
  background: #000;
}

/* Habilitar scroll SOLO para esta demo (base.css puede bloquearlo) */
body.demo-5 {
  font-family: var(--pipeline-font);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}


/* Secciones */
.demo-5 .section {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

/* Sección 1: el canvas vive dentro de .content--canvas */
.demo-5 .content--canvas {
  position: relative; /* clave para que el canvas absolute sea “solo sección 1” */
  overflow: hidden;

  /* ✅ IMPORTANTE: ocupar toda la sección (evita franja negra abajo) */
  min-height: 100vh;
  height: 100vh;
  width: 100%;

  /* Centrado del título */
  display: flex;
  align-items: center;
  justify-content: center;
}



/* El canvas lo inyecta pipeline.js */
.demo-5 .content--canvas canvas {
  pointer-events: none;
}

/* ===== Variables de control ===== */
:root {
  /* Fuente minimalista (sin dependencias externas) */
--pipeline-font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";

  /* Título más fino + opción de tamaño (responsive con clamp) */
  --pipeline-title-weight: 300;
  --pipeline-title-scale: 0.86;   /* bajá a 0.75 si lo querés más chico */
  --pipeline-title-min: 2.0rem;
  --pipeline-title-vw: 10vw;
  --pipeline-title-max: 6.2rem;
  --pipeline-title-margin-top: -3.0vw;

  /* Entrada difuminada (más lenta) */
  --pipeline-title-duration: 2800ms;
  --pipeline-hint-duration: 3600ms;
  --pipeline-ease: cubic-bezier(.2,.8,.2,1);
  --pipeline-title-delay: 140ms;
  --pipeline-hint-delay: 900ms;

  /* Hint */
  --pipeline-hint-opacity: 0.88;
  --pipeline-hint-size: 12px;
  --pipeline-hint-tracking: 0.16em;

  /* ✅ Pipeline “más fino” (multiplica el grosor) */
  --pipeline-stroke-scale: 0.75; /* 1 = normal, 0.6 = más fino, 1.2 = más grueso */

  /* Sección 2 */
  --solutions-maxw: 980px;
}

/* Fuente minimalista SOLO para títulos/hints de estas secciones */
.demo-5 .content__title,
.demo-5 .content__hint,
.demo-5 .solutions__title,
.demo-5 .solutions__lead,
.demo-5 .solutions__item-title,
.demo-5 .solutions__item-text {
  font-family: var(--pipeline-font);
}

/* ===== Título y hint (Sección 1) ===== */
.demo-5 .content__title,
.demo-5 .content__hint {
  opacity: 1; /* fallback visible si JS no corre */
  will-change: transform, opacity, filter;
}

/* Título */
.demo-5 .content__title {
  font-weight: var(--pipeline-title-weight);
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  font-size: clamp(
    var(--pipeline-title-min),
    calc(var(--pipeline-title-vw) * var(--pipeline-title-scale)),
    var(--pipeline-title-max)
  );

  max-width: 100%;
  padding: 0 1rem;
  text-align: center;
  line-height: 1.02;
  margin: var(--pipeline-title-margin-top) 0 0 0;

  animation: pipelineFadeInTitle var(--pipeline-title-duration) var(--pipeline-ease) both;
  animation-delay: var(--pipeline-title-delay);
}

/* Indicador: siempre arriba del canvas */
.demo-5 .content__hint {
  position: absolute;
  left: 50%;
  bottom: 2.25rem;
  z-index: 120; /* arriba del canvas */
  transform: translate3d(-50%, 0, 0);

  margin: 0;
  padding: 0.55rem 0.9rem;

  font-size: var(--pipeline-hint-size);
  letter-spacing: var(--pipeline-hint-tracking);
  text-transform: uppercase;
  opacity: var(--pipeline-hint-opacity);

  color: rgba(255,255,255,0.92);
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);

  border-radius: 999px;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);

  animation: pipelineFadeInHint var(--pipeline-hint-duration) var(--pipeline-ease) both;
  animation-delay: var(--pipeline-hint-delay);
  cursor: pointer;
}

/* Flecha con micro bounce */
.demo-5 .content__hint-arrow {
  display: inline-block;
  margin-right: 10px;
  transform: translateY(-1px);
  animation: hintBounce 1200ms var(--pipeline-ease) infinite;
}

@keyframes pipelineFadeInTitle {
  from { opacity: 0; transform: translate3d(0, 18px, 0); filter: blur(12px); }
  to   { opacity: 1; transform: translate3d(0, 0, 0);  filter: blur(0); }
}

@keyframes pipelineFadeInHint {
  from { opacity: 0; transform: translate3d(-50%, 10px, 0); filter: blur(10px); }
  to   { opacity: var(--pipeline-hint-opacity); transform: translate3d(-50%, 0, 0); filter: blur(0); }
}

@keyframes hintBounce {
  0%, 100% { transform: translateY(-1px); }
  50%      { transform: translateY(3px); }
}

/* Respeto a reduced motion */
@media (prefers-reduced-motion: reduce) {
  .demo-5 .content__title,
  .demo-5 .content__hint,
  .demo-5 .content__hint-arrow {
    animation: none !important;
  }
}

/* ===== Sección 2 (soluciones) ===== */
.demo-5 .section--solutions {
  background: #000;
}

.demo-5 .content--solutions {
  min-height: 100vh;
  padding: 7rem 1.25rem;
  max-width: var(--solutions-maxw);
  margin: 0 auto;
}

.demo-5 .solutions__title {
  font-weight: 300;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  letter-spacing: 0.01em;
  margin: 0 0 0.8rem 0;
}

.demo-5 .solutions__lead {
  opacity: 0.82;
  margin: 0 0 2.2rem 0;
  max-width: 62ch;
}

.demo-5 .solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.demo-5 .solutions__item {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 14px;
  padding: 1.1rem 1.1rem;
}

.demo-5 .solutions__item-title {
  font-weight: 300;
  margin: 0 0 0.35rem 0;
}

.demo-5 .solutions__item-text {
  margin: 0;
  opacity: 0.78;
  line-height: 1.5;
}

/* Mobile */
/* Mobile */
@media (max-width: 820px) {

  /* ✅ Hero más largo en mobile (mejor que vh por barras del navegador) */
  .demo-5 .section {
    min-height: 100svh;
  }

  /* ✅ El canvas también ocupa todo ese alto */
  /* ✅ El canvas ocupa el alto real del viewport (sin “inicio eterno”) */
.demo-5 .content--canvas {
  min-height: 100svh;
  height: 100svh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8svh;
  padding-bottom: 10svh; /* ✅ menos aire: el hint queda adaptado */
}


  :root {
    /* ✅ Que se vean más las partículas en mobile */
    --pipeline-stroke-scale: 0.90;

    /* Si tu JS/CSS usa estas variables (lo estás usando inline en el canvas), esto ayuda */
    --pipeline-canvas-blur: 2.2px;
    --pipeline-canvas-opacity: 0.92;

    /* Título controlado en pantallas chicas */
    --pipeline-title-min: 1.75rem;
    --pipeline-title-vw: 8.5vw;
    --pipeline-title-scale: 0.92;
  }

  /* Hint centrado y un poco más arriba */
  .demo-5 .content__hint {
    bottom: clamp(22px, 6svh, 56px);
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    text-align: center;
  }
}

/* Extra: pantallas MUY chicas (ej 360–375px) -> hint más largo y en una línea */
@media (max-width: 420px) {
  .demo-5 .content__hint {
    width: clamp(240px, 82vw, 340px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    white-space: nowrap;           /* evita el salto “HAY QUE / SCROLLEAR” */
    padding: 0.65rem 1.05rem;      /* pill más largo */
    font-size: 11px;               /* leve ajuste para que entre cómodo */
    letter-spacing: 0.12em;        /* un toque menos para que no corte */
  }

  .demo-5 .content__hint-arrow {
    margin-right: 0; /* ahora usamos gap */
  }
}

/* ============================
   NAV / LINKS / PILL
============================ */

/* Logo PNG en lugar de .brand-mark */
.brand-logo{
  width: 49px;
  height: 49px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.10));
  opacity: 0.95;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
  padding: 0 6px;
  min-width: 0;
}

.nav-link{
  font-size: 16px;
  letter-spacing: 0.01em;
  color: rgb(255, 255, 255);
  padding: 4px 8px;
  line-height: 1;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
  white-space: nowrap;
}

.nav-link:hover{
  color: rgba(6, 155, 255, 0.92);
  background: rgba(255,255,255,0.06);
}

.nav-link.is-active{
  color: rgba(246, 246, 246, 0.92);
}

.nav-pill{
  padding: 6px 12px;
  gap: 6px;
}

.pill-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 0 14px rgba(255,255,255,0.12);
}

.pill-caret{
  opacity: 0.7;
  margin-left: 2px;
}

/* ============================
   Header row (icon + navbar)
============================ */
.header-row{
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Icono fuera de la navbar */
.brand-outside{
  position: absolute;
  left: 32px;
  top: 30px;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  pointer-events: auto;
}

/* Navbar ahora solo ocupa su contenido */
.topbar{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: content-box;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  height: 44px;
  padding: 4px 50px;

  background: rgba(10,10,10,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.06);

  white-space: nowrap;
  pointer-events: auto;
}

/* ============================
   Hamburger (mobile)
============================ */

/* Botón hamburguesa (oculto en desktop) */
.nav-toggle{
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Icono hamburguesa */
.burger{
  position: relative;
  width: 16px;
  height: 2px;
  background: rgba(255,255,255,0.78);
  border-radius: 999px;
}
.burger::before,
.burger::after{
  content:"";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: rgba(255,255,255,0.78);
  border-radius: 999px;
}
.burger::before{ top: -6px; }
.burger::after{ top: 6px; }

/* Overlay del menú (siempre existe, pero oculto) */
.mobile-menu{
  position: fixed;
  inset: 0;
  z-index: 5000;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .45s ease, visibility 0s linear .45s;
}

/* Backdrop */
.mobile-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  transition: opacity .45s ease;
}

/* Panel */
.mobile-panel{
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(12,12,12,0.78);
  box-shadow: 0 30px 120px rgba(0,0,0,0.80), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;

  transform: translateY(-40px) scale(0.90);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2,.9,.2,1), opacity .55s ease;

  will-change: transform, opacity;
}

/* Estado abierto */
.mobile-menu.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .45s ease, visibility 0s linear 0s;
}

.mobile-menu.is-open .mobile-backdrop{ opacity: 1; }

.mobile-menu.is-open .mobile-panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Estado cerrándose (para animar salida) */
.mobile-menu.is-closing{
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity .48s ease, visibility 0s linear .48s;
}
.mobile-menu.is-closing .mobile-backdrop{ opacity: 0; }
.mobile-menu.is-closing .mobile-panel{
  transform: translateY(-40px) scale(0.98);
  opacity: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .mobile-menu,
  .mobile-backdrop,
  .mobile-panel{
    transition: none !important;
  }
}

.mobile-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-title{
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  letter-spacing: .01em;
}
.mobile-close{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255, 0, 0, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  font-size: 15px;
}

.mobile-nav{
  display:flex;
  flex-direction: column;
  padding: 10px;
  gap: 8px;
}
.mobile-link{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}
.mobile-link:hover{ background: rgba(255,255,255,0.06); }
.mobile-link.is-pill{ gap: 10px; }

/* Responsive (mobile) */
@media (max-width: 760px){
  .topbar .nav{ display: none; }
  .nav-toggle{ display: inline-flex; }

  .topbar{
    height: 44px;
    padding: 6px 10px;
  }

  /* Logo fuera de la navbar: se oculta al scrollear hacia abajo (controlado por JS) */
  .brand-outside{
    transition: opacity .18s ease, transform .18s ease;
    will-change: opacity, transform;
  }
  .header-row.is-logo-hidden .brand-outside{
    opacity: 0;
    transform: translateY(-50%) scale(0.86);
    pointer-events: none;
  }
}

/* Burger -> X */
.nav-toggle.is-open .burger{ background: transparent; }
.nav-toggle.is-open .burger::before{
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.is-open .burger::after{
  top: 0;
  transform: rotate(-45deg);
}
.burger::before,
.burger::after{
  transition: transform .2s ease, top .2s ease;
}
.burger{ transition: background .2s ease; }
/* =========================================================
   DROPDOWN DESKTOP: "Soluciones"
========================================================= */

.nav-dropdown{
  position: relative;
  display: inline-block;
}

.nav-dropdown__trigger{
  list-style: none;
  cursor: pointer;
  user-select: none;
}

/* Oculta el triangulito default de <summary> */
.nav-dropdown__trigger::-webkit-details-marker{ display: none; }
.nav-dropdown__trigger::marker{ content: ""; }

/* Panel */
.nav-dropdown__panel{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.98);

  min-width: 240px;
  padding: 10px;
  border-radius: 16px;

  background: rgba(12,12,12,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 30px 90px rgba(0,0,0,0.72), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  opacity: 0;
  pointer-events: none;

  transition: opacity .22s ease, transform .22s ease;
  z-index: 9999;
}

.nav-dropdown[open] .nav-dropdown__panel{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown__item{
  display: flex;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  background: transparent;
}

.nav-dropdown__item:hover{
  background: rgba(255,255,255,0.06);
  color: rgba(6, 155, 255, 0.92);
}

/* =========================================================
   MOBILE: acordeón "Soluciones"
========================================================= */

.mobile-accordion{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.mobile-accordion__trigger{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
}

.mobile-accordion__trigger::-webkit-details-marker{ display: none; }
.mobile-accordion__trigger::marker{ content: ""; }

.mobile-accordion__panel{
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 6px;
}

/* En mobile queremos que los links del panel se vean “limpios” */
.mobile-accordion__panel .nav-link{
  display: block;
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}

.mobile-accordion__panel .nav-link:hover{
  background: rgba(255,255,255,0.06);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .nav-dropdown__panel{
    transition: none !important;
  }
}
/*FOOTER */
/* ============================
   Footer — Transparent Crystal (sin color)
   - glass puro (blur + border + highlights)
============================ */
.site-footer{
  --border: rgba(255,255,255,0.14);
  --border2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.78);
  --strong: rgba(255,255,255,0.94);
  --muted: rgba(255,255,255,0.56);

  margin-top: 26px;
  padding: 18px 22px 14px;

  /* transparente, sin tint */
  background: transparent;

  border: 1px solid var(--border2);
  border-radius: 18px;

  position: relative;
  overflow: hidden;

  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);

  box-shadow:
    0 18px 48px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

/* “Liquid” sin color: solo brillos/blancos en movimiento */
.site-footer::before,
.site-footer::after{
  content:"";
  position: absolute;
  inset: -60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  filter: blur(24px);
}

.site-footer::before{
  background:
    radial-gradient(260px 200px at 18% 35%, rgba(255, 255, 255, 0), transparent 70%),
    radial-gradient(240px 180px at 70% 30%, rgba(255, 255, 255, 0), transparent 72%),
    radial-gradient(260px 220px at 60% 80%, rgba(255, 255, 255, 0), transparent 74%);
  animation: footerGlassFlow 11s ease-in-out infinite alternate;
  opacity: 0.7;
}

.site-footer::after{
  background:
    radial-gradient(240px 200px at 35% 85%, rgba(255, 255, 255, 0), transparent 72%),
    radial-gradient(260px 220px at 85% 70%, rgba(255, 255, 255, 0), transparent 74%);
  animation: footerGlassFlow2 13s ease-in-out infinite alternate;
  opacity: 0.55;
}

@keyframes footerGlassFlow{
  0%   { transform: translate3d(-10px, 10px, 0) scale(1.02); }
  100% { transform: translate3d(14px, -8px, 0) scale(1.08); }
}
@keyframes footerGlassFlow2{
  0%   { transform: translate3d(12px, -6px, 0) scale(1.00); }
  100% { transform: translate3d(-16px, 12px, 0) scale(1.10); }
}

.site-footer__inner{
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

/* TOP: 3 columnas para que el botón quede a la MISMA altura */
.site-footer__top{
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* brand | mid | right */
  gap: 16px;
  align-items: center; /* 🔥 misma altura */
}

.site-footer__brandLink{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-footer__logo{
  height: 38px;
  width: auto;
  object-fit: contain;
  opacity: 0.96;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}

.site-footer__brandText{
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.05;
  flex-wrap: wrap;
}

.site-footer__brandName{
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--strong);
}

.site-footer__brandLabs{
  font-weight: 800;
  letter-spacing: 1.1px;
  color: var(--strong);
  opacity: 0.92;
}

/* MID: centrado real */
.site-footer__mid{
  display: flex;
  justify-content: center;
}

/* Botón Space: transparente (solo borde + blur) */
.site-footer__spaceBtn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;

  color: var(--strong);

  background: transparent;
  border: 1px solid var(--border);

  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);

  box-shadow:
    0 14px 40px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.10);

  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-footer__spaceArrow{
  opacity: 0.9;
  transform: translateY(-1px);
}

.site-footer__spaceBtn:hover{
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    0 18px 54px rgba(0,0,0,0.50),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* RIGHT */
.site-footer__right{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.site-footer__social{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__socialLink{
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;

  color: rgba(255,255,255,0.90);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  box-shadow:
    0 12px 34px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.10);

  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-footer__socialLink svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer__socialLink:hover{
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(255,255,255,0.22);
  box-shadow:
    0 16px 44px rgba(0,0,0,0.52),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* BOTTOM */
.site-footer__bottom{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__copyright{
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__legal{
  display: flex;
  gap: 14px;
}

.site-footer__link{
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer__link:hover{
  color: var(--strong);
  transform: translateX(2px);
}

/* Responsive */
@media (max-width: 860px){
  .site-footer__top{
    grid-template-columns: 1fr; /* apila */
    align-items: start;
  }

  .site-footer__mid{
    justify-content: flex-start; /* si querés igual centrado en mobile, cambiamos a center */
  }

  .site-footer__right{
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .site-footer::before,
  .site-footer::after{
    animation: none !important;
  }
  .site-footer__socialLink,
  .site-footer__spaceBtn,
  .site-footer__link{
    transition: none !important;
  }
}

/* SOLO el texto "LABS" con color (footer sigue 100% transparente) */
.site-footer__brandLabs{
  font-weight: 800;
  letter-spacing: 1.1px;

  /* color del acento (cambiá el hex si querés) */
  color: #00b7ff;

  /* glow suave estilo cristal */
  text-shadow:
    0 0 14px rgba(0, 183, 255, 0.25),
    0 0 28px rgba(0, 183, 255, 0.14);
}

/* ============================
   FOOTER: TODO centrado en mobile
============================ */
@media (max-width: 860px){
  /* el contenedor general */
  .site-footer{
    text-align: center;
  }

  /* apila y centra */
  .site-footer__top{
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 14px;
  }

  /* brand centrado */
  .site-footer__brand{
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .site-footer__brandLink{
    justify-content: center;
  }

  /* botón space centrado */
  .site-footer__mid{
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* right centrado */
  .site-footer__right{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* redes centradas */
  .site-footer__social{
    justify-content: center;
    width: 100%;
  }

  /* bottom centrado y apilado */
  .site-footer__bottom{
    justify-content: center;
    text-align: center;
  }

  .site-footer__legal{
    justify-content: center;
    width: 100%;
  }
}

/* ============================
   Contact Button — INDEPENDIENTE / BLINDADO
   - no depende de .btn ni variables del sitio
   - resistente a estilos globales (a, button, reset, etc.)
============================ */
.site-footer__contactBtn{
  /* Reset defensivo (evita herencia rara) */
  all: unset;                 /* corta herencias */
  display: inline-flex;       /* recupera layout */
  align-items: center;
  justify-content: center;

  /* Tamaño / caja */
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;

  /* Tipografía (fija y consistente) */
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.2px;
  line-height: 1;

  /* Colores propios */
  color: rgba(255,255,255,0.95);
  background: rgba(255, 255, 255, 0.008);
  border: 1px solid rgba(255,255,255,0.18);

  /* Crystal look */
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.10);

  /* Interacción */
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  text-decoration: none; /* por si algún reset lo mete */
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

/* Estados */
.site-footer__contactBtn:hover{
  transform: translateY(-1px) scale(1.02);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.26);
  box-shadow:
    0 18px 54px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.site-footer__contactBtn:active{
  transform: translateY(0) scale(0.99);
}

.site-footer__contactBtn:focus{
  outline: none;
}

.site-footer__contactBtn:focus-visible{
  outline: 2px solid rgba(0,183,255,0.55);
  outline-offset: 3px;
}
