/* =========================================================
   MOBILE BASE — Variables + HERO (solo móvil/tablet)
   Objetivo: composición vertical, centrada, nativa en móvil
   ========================================================= */

:root{
  /* =========================
     LAYOUT (Mobile/Tablet)
     ========================= */
  --wbn-container: 720px;                 /* ancho útil “premium” en móvil/tablet */
  --wbn-gutter: clamp(16px, 5vw, 26px);   /* padding lateral fluido */
  --wbn-radius: 18px;                     /* radio base */

  /* =========================
     SPACING (vertical rhythm)
     ========================= */
  --wbn-padY-hero: clamp(84px, 11vh, 120px);
  --wbn-padY-section: clamp(64px, 9vh, 110px);

  /* =========================
     COLOR SYSTEM
     ========================= */
  --wbn-bg: #000;
  --wbn-ink: rgba(255,255,255,.92);
  --wbn-ink-muted: rgba(255,255,255,.72);

  /* Dorado (una sola fuente de verdad) */
  --wbn-gold: #d4af37;                    /* principal */
  --wbn-gold-nav: #c9a227;                /* si quieres un dorado distinto para UI/slider */
  --wbn-gold-soft: rgba(212,175,55,.25);
  --wbn-gold-mid: rgba(212,175,55,.55);

  /* =========================
     GLASS / BORDERS
     ========================= */
  --wbn-glass: rgba(10,10,10,.52);
  --wbn-glass-2: rgba(10,10,10,.34);
  --wbn-border: rgba(255,255,255,.12);

  /* =========================
     EFFECTS (conservadores)
     ========================= */
  --wbn-shadow: 0 26px 80px rgba(0,0,0,.58);
  --wbn-shadow-soft: 0 16px 46px rgba(0,0,0,.55);

  /* =========================
     UI (scroll/anchors)
     ========================= */
  --wbn-scroll-offset: 56px;              /* para scroll-margin-top */
}


.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  background-color: #000;

  background-image:
    radial-gradient(
      circle at 30% 22%,
      rgba(0,0,0,0.18) 0%,
      rgba(0,0,0,0.68) 48%,
      rgba(0,0,0,0.92) 78%,
      #000 100%
    ),
    url("multimedia/HERO_WebyNet.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* En móvil: overlay RADIAL (centrado), no lateral (de PC) */
.hero::before{
  content:'';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 35% 28%,
      rgba(0,0,0,0.12) 0%,
      rgba(0,0,0,0.65) 45%,
      rgba(0,0,0,0.92) 78%,
      #000 100%
    );
}

/* Fade inferior: más corto en móvil para evitar “franja” */
.hero::after{
  content:'';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(110px, 18vh, 170px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.22) 28%,
    rgba(0,0,0,0.62) 62%,
    rgba(0,0,0,0.90) 86%,
    #000 100%
  );
}

.hero__container{
  width: 100%;
  max-width: var(--wbn-container);
  margin: 0 auto;
  padding: 0 var(--wbn-gutter);
  position: relative;
  z-index: 2;
}

/* Composición móvil: centrada y con ancho controlado */
.hero__content{
  max-width: 100%;
  padding: var(--wbn-padY-hero) 0;
  text-align: left; /* en móvil “premium” suele ser left para lectura */
  position: relative;
}

/* El “glow” enorme con blur se vuelve mugre en móvil: simplificado */
.hero__content::before{
  content:'';
  position: absolute;
  inset: -18px -14px;
  z-index: -1;
  border-radius: 22px;
  pointer-events: none;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.70) 55%,
    rgba(0,0,0,0.96) 100%
  );
}

/* Título: grande pero no “monstruo”, con line-height cómodo */
.hero__title{
  font-size: clamp(2.1rem, 7.2vw, 3.0rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: clamp(14px, 3.4vw, 22px);
  text-shadow: 0 2px 20px rgba(0,0,0,0.85);
  position: relative;
}

/* Reducimos el bloque de blur y lo hacemos más “tight” */
.hero__title::after{
  content:'';
  position: absolute;
  inset: -14px -10px;
  z-index: -1;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.38) 70%,
    rgba(0,0,0,0) 100%
  );
  filter: blur(14px);
}

.hero__subtitle{
  font-size: clamp(1.02rem, 3.6vw, 1.22rem);
  line-height: 1.68;
  color: rgba(255,255,255,0.88);
  margin-bottom: clamp(18px, 5.2vw, 30px);
  max-width: 44ch; /* lectura móvil */
  font-weight: 300;
  position: relative;
  text-shadow: 0 2px 16px rgba(0,0,0,0.75);
}

.hero__subtitle::after{
  content:'';
  position: absolute;
  inset: -10px -10px;
  z-index: -1;
  border-radius: 16px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.30) 72%,
    rgba(0,0,0,0) 100%
  );
  filter: blur(12px);
}

/* CTAs: en móvil casi siempre conviene apilar (vertical) */
.hero__actions{
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  position: relative;
}

/* Sombra suave sin “mancha” */
.hero__actions::before{
  content:'';
  position: absolute;
  inset: -10px -10px;
  z-index: -1;
  border-radius: 22px;
  pointer-events: none;
  background: radial-gradient(
    circle at 25% 30%,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.85) 80%,
    rgba(0,0,0,0.96) 100%
  );
  filter: blur(10px);
}

/* =========================================================
   HERO BUTTONS — MOBILE (solo se carga en móvil/tablet)
   Objetivo: botones táctiles, full-width, “premium nativo”
   ========================================================= */

/* Base común (si ya tienes .hero__btn en otro lado, puedes omitir esta) */
.hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  width: 100%;                 /* móvil: CTA dominante */
  min-height: 54px;            /* target táctil */
  padding: 14px 18px;

  border-radius: 999px;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  font-size: 1.02rem;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Si tu botón secundario lleva el SVG del logo, asegúralo aquí */
.hero__btn svg{
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: block;
}

/* ==================== PRIMARY (Contáctanos) ==================== */

.hero__btn--primary{
  --gold1: #d4af37;
  --gold2: #ffd700;
  --gold3: #ffefb0;

  position: relative;
  isolation: isolate;
  overflow: visible;

  background: rgba(255,255,255,0.02);
  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  transition:
    transform .18s cubic-bezier(.2,.8,.2,1),
    box-shadow .18s ease,
    border-color .18s ease,
    background .22s ease;
}

/* Para animar conic-gradient suave */
@property --spin {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.hero__btn--primary::before{
  content:'';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  z-index: -1;
  pointer-events: none;

  background: conic-gradient(
    from var(--spin),
    transparent 0deg 305deg,
    rgba(255,239,176,0.0) 305deg,
    rgba(255,239,176,0.85) 316deg,
    rgba(255,215,0,1.0) 324deg,
    rgba(212,175,55,0.95) 334deg,
    rgba(255,239,176,0.0) 346deg,
    transparent 346deg 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0;
  filter: saturate(1.12);
  transition: opacity .16s ease;
}

.hero__btn--primary::after{
  content:'';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  z-index: -2;
  pointer-events: none;

  background: conic-gradient(
    from var(--spin),
    transparent 0deg 305deg,
    rgba(255,215,0,0.22) 324deg,
    rgba(212,175,55,0.18) 334deg,
    transparent 360deg
  );

  filter: blur(16px);
  opacity: 0;
  transition: opacity .16s ease;
}

/* En móvil: el “feedback” debe existir con tap */
.hero__btn--primary:active{
  transform: translateY(1px) scale(0.99);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

/* Tu control por JS: sweep controlado */
.hero__btn--primary.is-cycle::before,
.hero__btn--primary.is-cycle::after{
  opacity: 1;
  animation: wbnGoldTrace 1.05s linear 1;
}

.hero__btn--primary.is-cycle{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@keyframes wbnGoldTrace{
  to { --spin: 360deg; }
}

.hero__btn--primary:focus-visible{
  outline: none;
  border-color: rgba(255,215,0,0.22);
  box-shadow:
    0 0 0 3px rgba(255,215,0,0.14),
    0 14px 34px rgba(0,0,0,0.55);
}

/* ==================== SECONDARY (Logo / Video / etc.) ==================== */

.hero__btn--secondary{
  position: relative;
  background: transparent;
  color: #fff;

  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.hero__btn--secondary::before{
  content:'';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(
    45deg,
    transparent,
    transparent,
    rgba(212,175,55,0.95),
    transparent,
    transparent
  );
  background-size: 400% 400%;
  animation: goldBorder 7s linear infinite;

  opacity: 0.55; /* en móvil: visible sin hover */
  filter: blur(0.2px);
}

/* feedback táctil */
.hero__btn--secondary:active{
  transform: translateY(1px) scale(0.99);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.18);
}

@keyframes goldBorder{
  0%   { background-position: -300% 0%; }
  100% { background-position:  300% 0%; }
}

/* ==================== SCROLL BUTTON (si lo usas en hero) ==================== */

.hero__scroll{
  position: absolute;
  bottom: clamp(18px, 6vh, 44px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;

  width: 50px;
  height: 50px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.82);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  animation: float 3s ease-in-out infinite;

  overflow: hidden;
}

.hero__scroll::before{
  content:'';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;

  background: linear-gradient(45deg, transparent, transparent, #D4AF37, transparent, transparent);
  background-size: 400% 400%;
  animation: goldBorder 8s linear infinite;
  opacity: 0.35; /* visible sin hover */
}

.hero__scroll:active{
  transform: translateX(-50%) scale(0.98);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.16);
}

.hero__scroll-icon{
  width: 22px;
  height: 22px;
  border-bottom: 2px solid rgba(255,255,255,0.40);
  border-right: 2px solid rgba(255,255,255,0.40);
  transform: rotate(45deg);
  margin-top: -6px;
}

/* Mantén tu float (ok en móvil si no es exagerado) */
@keyframes float{
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(9px); }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce){
  .hero__btn--secondary::before,
  .hero__scroll,
  .hero__btn--primary.is-cycle::before,
  .hero__btn--primary.is-cycle::after{
    animation: none !important;
  }
}

/*******************************************************************/
/* =========================
   QUÉ HACEMOS — MOBILE (INTRO NEGRO)
   1 columna, jerarquía clara, 3D con espacio real
   ========================= */

.what-we-do{ width: 100%; }

.what-we-do__intro{
  width: 100%;
  background: #000;
  padding: 0;
}

.what-we-do__intro-inner{
  width: 100%;
  max-width: var(--wbn-container);
  margin: 0 auto;
  padding: var(--wbn-padY-section) var(--wbn-gutter);

  display: grid;
  grid-template-columns: 1fr;   /* móvil nativo */
  gap: clamp(22px, 6vw, 36px);
  align-items: start;
}

/* Texto */
.what-we-do__text{ color: #fff; }

.what-we-do__lead{
  font-size: clamp(1.85rem, 7vw, 2.55rem);
  line-height: 1.12;
  margin: 0 0 14px 0;
  max-width: 22ch;              /* headline móvil: corto y fuerte */
  letter-spacing: -0.02em;
}

.what-we-do__sub{
  font-size: clamp(1.02rem, 3.6vw, 1.16rem);
  line-height: 1.72;
  margin: 0;
  max-width: 52ch;
  color: rgba(255,255,255,0.86);
}

/* Visual 3D: en móvil conviene que sea el “hero visual” de la sección */
.what-we-do__visual{
  position: relative;
  width: 100%;
  min-height: clamp(340px, 56vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

/* Halo premium detrás del modelo */
.what-we-do__visual::before{
  content:'';
  position: absolute;
  width: min(420px, 92%);
  height: min(420px, 92%);
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255,215,0,0.10) 0%,
    rgba(212,175,55,0.06) 28%,
    rgba(255,255,255,0.04) 45%,
    rgba(0,0,0,0) 72%
  );
  filter: blur(16px);
  opacity: 0.9;
  pointer-events: none;
}

/* model-viewer */
.wbn-model{
  width: min(520px, 100%);
  height: clamp(340px, 56vw, 460px);
  display: block;
  background: transparent;
  border: 0;
  outline: none;
}


/* =========================================================
   WE DO / ICONS GRID + FLIP — MOBILE (solo móvil/tablet)
   Cards cuadradas, jerarquía clara, flip por tap
   ========================================================= */

.what-we-do__icons-inner{
  max-width: var(--wbn-container);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 88px) var(--wbn-gutter);
}

/* Head */
.what-we-do__icons-head{
  display: grid;
  gap: 10px;
  margin: 0 0 clamp(14px, 4vw, 22px) 0;
}

.what-we-do__icons-title{
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;

  margin: 0 0 clamp(10px, 3.2vw, 16px) 0;

  font-size: clamp(1.7rem, 7vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.01em;

  color: rgba(30,30,30,0.90);
  background: #d4af37;

  padding: 0.34em 0.56em 0.20em;
  border-radius: 8px;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.what-we-do__icons-sub{
  margin: 0;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.7;
  font-size: clamp(1.0rem, 3.5vw, 1.12rem);
  max-width: 58ch;
  font-weight: 400;
}

/* GRID: móvil nativo (1 columna), si hay espacio se deja 2 automáticamente */
.what-we-do__services{
  --card-radius: 16px;
  --card-border: rgba(11,11,11,0.10);
  --card-ink: #0b0b0b;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(12px, 3.6vw, 18px);
  align-items: stretch;
}

/* Card */
.what-we-do__card{
  grid-column: auto !important;

  border-radius: var(--card-radius);
  outline: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  /* perspectiva un poco menor para móvil (más natural) */
  perspective: 900px;
}

/* Cuadrada real, con mínima más alta para que respire */
.what-we-do__card-inner{
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 230px;

  position: relative;
  transform-style: preserve-3d;
  transition: transform 560ms cubic-bezier(.2,.85,.2,1);
}

/* Faces */
.what-we-do__card-face{
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  border: 1px solid var(--card-border);

  background: rgba(255,255,255,0.74);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.10),
    inset 0 1px 0 rgba(255,255,255,0.65);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  padding: clamp(16px, 4vw, 22px);
  backface-visibility: hidden;
  overflow: hidden;

  transition: box-shadow 200ms ease, border-color 200ms ease;
}

/* FRONT: título arriba, icono abajo */
.what-we-do__card-face--front{
  transform: rotateY(0deg);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 14px);
  text-align: center;
}

.what-we-do__card-face--front .what-we-do__card-title{ order: 1; }
.what-we-do__card-face--front .what-we-do__card-icon{ order: 2; }

/* BACK */
.what-we-do__card-face--back{
  transform: rotateY(180deg);

  display: grid;
  align-content: center;
  gap: 10px;
  text-align: left;
}

/* En móvil no hay hover: usamos active + focus-visible (y tu clase .is-active si la aplicas por JS) */
.what-we-do__card:active .what-we-do__card-face,
.what-we-do__card:focus-visible .what-we-do__card-face,
.what-we-do__card.is-active .what-we-do__card-face{
  border-color: rgba(212,175,55,0.35);
  box-shadow:
    0 22px 52px rgba(0,0,0,0.14),
    inset 0 1px 0 rgba(255,255,255,0.65);
}

.what-we-do__card:focus-visible{
  box-shadow: 0 0 0 3px rgba(212,175,55,0.18);
}

/* Icono: tamaño pensado a dedo/pantalla */
.what-we-do__card-icon{
  width: clamp(52px, 16vw, 78px);
  height: auto;
  display: block;
  opacity: 0.92;
  filter: grayscale(1);
}

/* Títulos */
.what-we-do__card-title{
  margin: 0;
  color: var(--card-ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.14;
  font-size: clamp(1.05rem, 4vw, 1.22rem);
  text-align: center;
}

.what-we-do__card-face--back .what-we-do__card-title{
  text-align: left;
}

.what-we-do__card-text{
  margin: 0;
  color: rgba(11,11,11,0.72);
  font-weight: 400;
  line-height: 1.65;
  font-size: clamp(0.98rem, 3.4vw, 1.06rem);
  max-width: 48ch;
}

.what-we-do__card-hint{
  margin-top: 6px;
  font-size: 0.88rem;
  color: rgba(11,11,11,0.46);
}

/* FLIP (tap) */
.what-we-do__card.is-flipped .what-we-do__card-inner{
  transform: rotateY(180deg);
}

/* CTA card: premium sin pasarse */
.what-we-do__card--cta .what-we-do__card-face{
  border-color: rgba(212,175,55,0.22);
  background:
    radial-gradient(circle at 30% 20%,
      rgba(212,175,55,0.10),
      rgba(255,255,255,0.72) 55%,
      rgba(255,255,255,0.74) 72%
    );
}

.what-we-do__card--cta:active .what-we-do__card-face,
.what-we-do__card--cta:focus-visible .what-we-do__card-face,
.what-we-do__card--cta.is-active .what-we-do__card-face{
  border-color: rgba(212,175,55,0.50);
}

/* Reduce motion (se queda: accesibilidad, no responsivo) */
@media (prefers-reduced-motion: reduce){
  .what-we-do__card-inner,
  .what-we-do__card-face{
    transition: none !important;
  }
}

/* =========================================================
   WHAT-WE-DO ICONS — MOBILE (GIF BG + MICA PANEL)
   Objetivo: legibilidad total sobre GIF + premium dark-glass
   ========================================================= */

/* Contenedor con GIF */
.what-we-do__icons{
  position: relative;
  overflow: hidden;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #000;
}

/* Overlay: en móvil debe oscurecer más arriba y soltar más rápido */
.what-we-do__icons::before{
  content:"";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* en móvil: fade más corto (no te tapa el bloque entero) */
  --fadeTop: 44%;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.985) 0%,
    rgba(0,0,0,0.92) 10%,
    rgba(0,0,0,0.70) 22%,
    rgba(0,0,0,0.38) 34%,
    rgba(0,0,0,0.00) var(--fadeTop)
  );
}

/* Variables dark-glass (deja SOLO una vez en tu CSS_Mobile) */


/* Contenido arriba del overlay */
.what-we-do__icons-inner{
  position: relative;
  z-index: 1;

  isolation: isolate; /* para el panel */
}

/* Panel mica: en móvil que sea “tight” y no tan invasivo */
.what-we-do__icons-inner::before{
  content:"";
  position:absolute;

  /* en móvil: menos inset para no robar espacio útil */
  inset: clamp(10px, 3.2vw, 14px);
  z-index: -1;

  border-radius: clamp(16px, 4.5vw, 22px);
  border: 1px solid var(--wbn-border);

  background: linear-gradient(
    180deg,
    rgba(12,12,12,.62) 0%,
    rgba(12,12,12,.46) 52%,
    rgba(12,12,12,.32) 100%
  );

  box-shadow:
    0 22px 70px rgba(0,0,0,.62),
    inset 0 1px 0 rgba(255,255,255,.10);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Header legible en dark */
.what-we-do__icons-head{ color: var(--wbn-text); }

.what-we-do__icons-sub{
  color: var(--wbn-text-muted);
  text-shadow: 0 10px 30px rgba(0,0,0,.72);
}

/* Chip dorado con peso */
.what-we-do__icons-title{
  box-shadow:
    0 14px 38px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.18);
}

/* Tarjetas: glass oscuro */
.what-we-do__services{
  --card-border: var(--wbn-border);
  --card-ink: var(--wbn-text);
}

.what-we-do__card-face{
  background: linear-gradient(180deg, var(--wbn-glass), var(--wbn-glass-2));
  border: 1px solid var(--wbn-border);

  box-shadow:
    0 22px 66px rgba(0,0,0,.58),
    inset 0 1px 0 rgba(255,255,255,.10);

  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

/* Línea highlight arriba */
.what-we-do__card-face::before{
  content:"";
  position:absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.22),
    transparent
  );
  opacity: .85;
}

/* Íconos monocromos para dark */
.what-we-do__card-icon{
  filter: invert(1) grayscale(1);
  opacity: .92;
}

/* Textos */
.what-we-do__card-title{
  color: var(--wbn-text);
  text-shadow: 0 14px 32px rgba(0,0,0,.56);
}

.what-we-do__card-text{ color: rgba(255,255,255,.74); }
.what-we-do__card-hint{ color: rgba(255,255,255,.48); }

/* En móvil no hover: usamos active/focus-visible y tu clase (si la pones) */
.what-we-do__card:active .what-we-do__card-face,
.what-we-do__card:focus-visible .what-we-do__card-face,
.what-we-do__card.is-active .what-we-do__card-face{
  border-color: rgba(212,175,55,.42);
  box-shadow:
    0 30px 92px rgba(0,0,0,.66),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* CTA card: sheen sobrio */
.what-we-do__card--cta .what-we-do__card-face{
  border-color: var(--wbn-border);
  background: linear-gradient(180deg, var(--wbn-glass), var(--wbn-glass-2));
}


/* =========================================================
   TITLE CHIP (paralelogramo dorado) — MOBILE
   Usa UNA sola clase: .wbn-title-chip (recomendado)
   ========================================================= */

.wbn-title-chip{
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;

  margin: 0 0 clamp(10px, 3.2vw, 16px) 0;

  font-size: clamp(1.7rem, 7vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.01em;

  color: rgba(30,30,30,0.90);
  padding: 0.34em 0.60em 0.20em;
  background: transparent;

  z-index: 0;
  isolation: isolate;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.wbn-title-chip::before{
  content:"";
  position: absolute;
  inset: -0.10em -0.12em;
  z-index: -1;

  background: var(--wbn-gold, #d4af37);
  border-radius: 9px;

  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);

  box-shadow:
    0 14px 38px rgba(0,0,0,0.50),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.16);
}

.wbn-title-chip::after{
  content:"";
  position: absolute;
  inset: -0.10em -0.12em;
  z-index: -1;

  border-radius: 9px;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.40) 0%,
    rgba(255,255,255,0.12) 18%,
    rgba(0,0,0,0.00) 58%
  );

  opacity: 0.32;
  pointer-events: none;
}

/* Si tu HTML usa .what-we-do__icons-title en vez de .wbn-title-chip,
   mapéalo sin duplicar estilos. */

/* Alternativa segura sin composes: */
.what-we-do__icons-title{
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;

  margin: 0 0 clamp(10px, 3.2vw, 16px) 0;

  font-size: clamp(1.7rem, 7vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.01em;

  color: rgba(30,30,30,0.90);
  padding: 0.34em 0.60em 0.20em;
  background: transparent;

  z-index: 0;
  isolation: isolate;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.what-we-do__icons-title::before{ content:""; position:absolute; inset:-0.10em -0.12em; z-index:-1; background: var(--wbn-gold, #d4af37); border-radius: 9px; clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%); box-shadow: 0 14px 38px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.18), inset 0 -1px 0 rgba(0,0,0,0.16); }
.what-we-do__icons-title::after{ content:""; position:absolute; inset:-0.10em -0.12em; z-index:-1; border-radius: 9px; clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%); background: linear-gradient(to bottom, rgba(255,255,255,0.40) 0%, rgba(255,255,255,0.12) 18%, rgba(0,0,0,0.00) 58%); opacity: 0.32; pointer-events:none; }


/* =========================================================
   PROCESS — MOBILE (timeline vertical premium)
   Reemplaza el layout horizontal + conectores
   ========================================================= */

.process{
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.process__container{
  width: 100%;
  max-width: var(--wbn-container);
  margin: 0 auto;
  padding: var(--wbn-padY-section) var(--wbn-gutter);
}

.process__head{
  display: grid;
  gap: 10px;
  margin: 0 0 clamp(18px, 5.2vw, 28px) 0;
  max-width: 62ch;
}

.process__title{
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.process__sub{
  margin: 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  font-size: clamp(1.0rem, 3.5vw, 1.12rem);
}

/* En móvil: el “flow” debe ser una lista vertical */
.process__flow{
  display: grid;
  gap: 14px;

  padding: clamp(16px, 4vw, 20px);
  border-radius: 18px;

  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 26px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Cada “paso” (asumo que tu HTML es: node + texts + connector)
   En móvil ignoramos el connector y apilamos node + texto en row */
.process__connector{
  display: none;
}

.process__node{
  --node: 64px;

  width: var(--node);
  height: var(--node);
  border-radius: 999px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(212,175,55,0.26);
  background: radial-gradient(circle at 30% 25%,
    rgba(212,175,55,0.12),
    rgba(255,255,255,0.06) 46%,
    rgba(0,0,0,0.02) 78%
  );

  box-shadow:
    0 16px 44px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.process__icon{
  width: 28px;
  height: auto;
  display: block;
  opacity: 0.92;
  filter: grayscale(1) brightness(1.25);
}

/* Contenedor de texto: si tu HTML no tiene wrapper, no pasa nada,
   solo estilizamos títulos/textos. */
.process__step-title{
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.process__step-text{
  margin: 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.65;
  font-size: 0.98rem;
  max-width: 52ch;
}

/* Si tu HTML usa un wrapper por paso, esto lo deja perfecto.
   Si no existe, no afecta. */
.process__step{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: start;
}

.process__step-content{
  display: grid;
  gap: 6px;
}


/* =========================================================
   WHAT-WE-DO ICONS — GIF Overlays (TOP + BOTTOM) — MOBILE
   Unifica tus ::before y ::after (sin duplicados)
   ========================================================= */

.what-we-do__icons{
  position: relative;
  overflow: hidden;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #000;
}

.what-we-do__icons::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;

  /* top fade (suave, no “corte”) */
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.96) 0%,
    rgba(0,0,0,0.78) 18%,
    rgba(0,0,0,0.30) 46%,
    rgba(0,0,0,0.00) 70%
  );
}

.what-we-do__icons::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: clamp(170px, 24vh, 240px);
  pointer-events:none;
  z-index:0;

  /* bottom fade para fusionar con lo siguiente */
  background: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.86) 28%,
    rgba(0,0,0,0.42) 58%,
    rgba(0,0,0,0.00) 100%
  );
}

.what-we-do__icons-inner{
  position: relative;
  z-index: 1;
}



/********************************************************************************************************/
/********************************************************************************************************/
/*                 ª[     { SEGUNDA PARTE }     ]ª                                                      */
/********************************************************************************************************/
/********************************************************************************************************/



/* =========================================================
   HERO BG IMAGE — MOBILE
   ========================================================= */


.hero::after{
  content:'';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(110px, 18vh, 170px);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.22) 28%,
    rgba(0,0,0,0.62) 62%,
    rgba(0,0,0,0.90) 86%,
    #000 100%
  );
}


/* =========================================================
   WHAT-WE-DO BG GIF — MOBILE
   ========================================================= */

.what-we-do__icons{
  background-image: url("https://cdn.dribbble.com/userupload/25133232/file/original-137ce832e52cc644ba051daa621ff086.gif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}


/* =========================================================
   PROCESS (WBN) — MOBILE (sin overflow, sin conectores)
   ========================================================= */

.wbn-process{
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.wbn-process__container{
  width: 100%;
  max-width: var(--wbn-container);
  margin: 0 auto;
  padding: var(--wbn-padY-section) var(--wbn-gutter);
}

.wbn-process__head{
  display: grid;
  gap: 10px;
  margin: 0 0 clamp(18px, 5.2vw, 28px);
  max-width: 62ch;
}

.wbn-process__title{
  margin: 0;
  font-size: clamp(1.85rem, 7vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.wbn-process__sub{
  margin: 0;
  color: rgba(255,255,255,0.74);
  line-height: 1.7;
  font-size: clamp(1.0rem, 3.5vw, 1.12rem);
}

.wbn-process__panel{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 26px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.06);

  padding: clamp(16px, 4vw, 20px);
  overflow: hidden;
}

.wbn-process__grid{
  --minCard: 220px;
  list-style: none;
  padding: 0;
  margin: 0;

  display: grid;
  gap: clamp(12px, 3.6vw, 18px);

  grid-template-columns: repeat(auto-fit, minmax(min(var(--minCard), 100%), 1fr));
  align-items: start;
}

.wbn-process__step{
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;

  padding: 10px 10px;
  border-radius: 16px;
}

.wbn-process__step::after{
  display: none !important;
  content: none !important;
}

.wbn-process__node{
  --node: 72px;

  width: var(--node);
  height: var(--node);
  border-radius: 999px;
  display: grid;
  place-items: center;

  border: 1px solid rgba(212,175,55,0.26);
  background: radial-gradient(circle at 30% 25%,
    rgba(212,175,55,0.14),
    rgba(255,255,255,0.06) 46%,
    rgba(0,0,0,0.02) 78%
  );

  box-shadow:
    0 16px 44px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.wbn-process__icon{
  width: calc(72px * 0.48);
  height: auto;
  display: block;
  opacity: 0.92;
  filter: invert(1) grayscale(1) brightness(1.05);
}

.wbn-process__stepTitle{
  margin: 0;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  font-weight: 650;
}

.wbn-process__stepText{
  margin: 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.65;
  font-size: 0.98rem;
  max-width: 42ch;
}

@media (prefers-reduced-motion: reduce){
  .wbn-process__panel{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.inter-v1{
  font-weight: 200;
  font-size: .88rem;
  color: #d39c06;
}


/* =========================================================
   CAPS — MOBILE (Collage editorial premium)
   Sin media-queries de tamaño: todo es “nativo móvil”
   ========================================================= */

/* Sección */
.caps{
  padding: var(--wbn-padY-section, 96px) 0;
  background: #000;
  color: rgba(255,255,255,0.92);
}

.caps__container{
  width: 100%;
  max-width: var(--wbn-container, 1440px);
  margin: 0 auto;
  padding: 0 var(--wbn-gutter, 22px);
}

/* Head */
.caps__head{
  display: grid;
  gap: 10px;
  margin: 0 0 clamp(16px, 5vw, 24px);
  max-width: 70ch;
}

.caps__title{ margin: 0; }

/* Tag dorado */
.caps__titleTag{
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  line-height: 1;
  letter-spacing: -0.01em;
  font-family: "Prata", serif;

  /* mobile: más compacto */
  font-size: clamp(1.65rem, 7vw, 2.25rem);

  color: rgba(30,30,30,0.90);
  padding: 0.34em 0.62em 0.20em;
  isolation: isolate;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.caps__titleTag::before{
  content:"";
  position:absolute;
  inset: -0.10em -0.12em;
  z-index:-1;
  background: var(--wbn-gold);
  border-radius: 9px;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
  box-shadow:
    0 14px 38px rgba(0,0,0,0.50),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.18);
}

.caps__titleTag::after{
  content:"";
  position:absolute;
  inset: -0.10em -0.12em;
  z-index:-1;
  border-radius: 9px;
  clip-path: polygon(4% 0%, 100% 0%, 96% 100%, 0% 100%);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.38) 0%,
    rgba(255,255,255,0.12) 18%,
    rgba(0,0,0,0.00) 58%
  );
  opacity: 0.32;
  pointer-events: none;
}

.caps__lead{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  font-size: 1.02rem;
}

/* Panel mica */
.caps__shell{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(
    180deg,
    rgba(12,12,12,0.62) 0%,
    rgba(12,12,12,0.46) 52%,
    rgba(12,12,12,0.32) 100%
  );
  box-shadow:
    0 26px 80px rgba(0,0,0,0.58),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

/* MOBILE: 1 columna, collage arriba + copy abajo */
.caps__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: clamp(16px, 4.2vw, 20px);
}

/* Media: no recortar collage */
.caps__media{
  display: grid;
  place-items: center;
  overflow: visible;
  min-height: auto;
}

/* Copy */
.caps__copy{
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

.caps__copyInner{
  width: 100%;
  max-width: 68ch;
}

/* =========================================================
   Collage editorial — MOBILE (sin “placa” abajo y sin recorte)
   ========================================================= */

.caps__collage{
  width: 100%;
  max-width: 560px;

  /* móvil: vertical, para que no se corte */
  aspect-ratio: 1 / 1.28;

  position: relative;
  overflow: visible;
  isolation: isolate;

  /* sin base */
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  padding: 0;
  border-radius: 0;
}

/* No halos en móvil (evita “mancha” debajo). Si los quieres, quita este bloque */
.caps__collage::before,
.caps__collage::after{
  content: none;
}

/* Tarjetas */
.caps__tile{
  position: absolute;
  left: calc(var(--x) * 1%);
  top:  calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
  z-index: var(--z, 1);

  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  transform-origin: center;
  will-change: transform;

  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);

  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow:
    0 24px 70px rgba(0,0,0,0.66),
    inset 0 1px 0 rgba(255,255,255,0.10);

  transition:
    transform 220ms cubic-bezier(.2,.85,.2,1),
    box-shadow 220ms ease,
    filter 220ms ease;
}

.caps__tile::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(0,0,0,0) 52%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.40) 100%);
  opacity: 0.95;
}

.caps__tile::after{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    inset 0 0 0 2px rgba(0,0,0,0.22);
}

/* En móvil: no hover. Levante con tap (active) o si tu JS agrega .is-active */
.caps__tile:active,
.caps__tile.is-active{
  z-index: 20;
  transform: translate(-50%, -52%) rotate(var(--r, 0deg)) scale(1.03);
  filter: saturate(1.04) contrast(1.03);
  box-shadow:
    0 34px 110px rgba(0,0,0,0.74),
    0 0 0 1px rgba(212,175,55,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* La principal domina */
.caps__tile--hero{
  border-color: rgba(212,175,55,0.22);
  box-shadow:
    0 34px 110px rgba(0,0,0,0.72),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

/* =========================================================
   Distribución MOBILE (evita cortes)
   Ajusta solo estas variables si quieres re-componer
   ========================================================= */

/* HERO (dominante centrada) */
.caps__tile--t5{ --x: 50; --y: 52; --w: 62; --h: 58; --r: -2deg; --z: 8; }

/* superiores */
.caps__tile--t2{ --x: 28; --y: 22; --w: 40; --h: 30; --r: 6deg;  --z: 4; }
.caps__tile--t3{ --x: 72; --y: 22; --w: 40; --h: 30; --r: -6deg; --z: 3; }
.caps__tile--t1{ --x: 50; --y: 10; --w: 30; --h: 22; --r: -8deg; --z: 2; }

/* laterales */
.caps__tile--t4{ --x: 12; --y: 52; --w: 26; --h: 22; --r: -10deg; --z: 1; }
.caps__tile--t6{ --x: 88; --y: 50; --w: 26; --h: 22; --r: 10deg;  --z: 1; }

/* base */
.caps__tile--t8{ --x: 28; --y: 78; --w: 44; --h: 34; --r: -5deg; --z: 5; }
.caps__tile--t7{ --x: 72; --y: 70; --w: 44; --h: 34; --r: 5deg;  --z: 6; }
.caps__tile--t9{ --x: 50; --y: 90; --w: 34; --h: 24; --r: 3deg;  --z: 3; }

/* =========================================================
   Copy Title + Text (para el espacio bajo collage)
   ========================================================= */

.caps__copyTitle{
  margin: 0 0 12px 0;
  font-size: clamp(1.45rem, 6vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.94);
  text-shadow: 0 18px 60px rgba(0,0,0,0.65);
  position: relative;
}

.caps__copyTitle::after{
  content: "";
  display: block;
  width: clamp(72px, 22vw, 120px);
  height: 2px;
  margin-top: 10px;
  border-radius: 99px;
  background: linear-gradient(
    90deg,
    rgba(212,175,55,0.0),
    rgba(212,175,55,0.55),
    rgba(255,255,255,0.10),
    rgba(212,175,55,0.0)
  );
  opacity: 0.9;
}

.caps__copyText{
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 300;
  color: rgba(255,255,255,0.74);
  text-shadow: 0 14px 46px rgba(0,0,0,0.70);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .caps__tile{ transition: none !important; }
}


/********************************************************************************************************/
/********************************************************************************************************/
/*                 ª[     { TERCER PARTE }     ]ª                                                      */
/********************************************************************************************************/
/********************************************************************************************************/


/* =========================================================
   CAPS — Team roster V2 (MOBILE editorial minimal)
   ========================================================= */

.caps__roster{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.caps__rosterHead{
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

/* etiqueta editorial */
.caps__rosterKicker{
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;

  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.76);
}

.caps__rosterKicker::after{
  content:"";
  height: 1px;
  width: 72px;
  background: linear-gradient(
    90deg,
    rgba(212,175,55,0.65),
    rgba(255,255,255,0.10),
    rgba(212,175,55,0.00)
  );
  opacity: .9;
}

.caps__rosterLead{
  margin: 0;
  max-width: 62ch;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 14px 44px rgba(0,0,0,0.65);
  font-size: 1.02rem;
}

/* Lista */
.caps__rosterList{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr; /* mobile: 1 col fijo */
  gap: 0;
}

/* Cada fila (editorial) */
.caps__person{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;

  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  transition: transform 180ms cubic-bezier(.2,.85,.2,1);
}

/* Micro-acento dorado (en móvil se siente mejor en active/focus que en hover) */
.caps__person::before{
  content:"";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 2px;
  border-radius: 99px;

  background: linear-gradient(
    180deg,
    rgba(212,175,55,0.00),
    rgba(212,175,55,0.55),
    rgba(212,175,55,0.00)
  );
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

/* Mobile interaction */
.caps__person:active{
  transform: translateY(-1px);
}
.caps__person:active::before{
  opacity: 1;
  transform: translateX(0);
}

/* Mark */
.caps__personMark{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);

  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.caps__personIcon{
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.92;
  filter: invert(1) grayscale(1) brightness(1.08);
}

/* active: aro dorado leve */
.caps__person:active .caps__personMark{
  border-color: rgba(212,175,55,0.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 46px rgba(0,0,0,0.45);
}

/* Texto */
.caps__personBody{
  display: grid;
  gap: 3px;
  min-width: 0;
}

.caps__personName{
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  line-height: 1.2;

  /* mobile: que respire */
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caps__personRole{
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  line-height: 1.35;
  font-size: 0.95rem;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================================================
   SIGNATURE — Starfield + Model (MOBILE)
   ========================================================= */

.signature{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.signature--starfield{
  min-height: 100vh;
  --sf-feather: 120px;
}

/* Canvas cubre toda la sección */
.signature__canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

/* Overlay sutil para legibilidad */
.signature--starfield::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(900px 650px at 50% 40%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.78));
}

/* Feather superior: mata línea */
.signature--starfield::before{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: var(--sf-feather);
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.55) 35%,
    rgba(0,0,0,0) 100%
  );
}

/* Contenedor contenido */
.signature__container{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--wbn-container, 1440px);
  margin: 0 auto;
  padding: var(--wbn-padY-section, 96px) var(--wbn-gutter, 22px);
}

/* Logo 3D centrado */
.signature__visual{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;

  /* Mobile: sí permitimos interacción directa */
  pointer-events: auto;
}

/* Tamaño móvil del logo (más grande y estable) */
.signature__model{
  width: clamp(240px, 72vw, 420px);
  height: clamp(240px, 72vw, 420px);

  background: transparent;
  opacity: 0.96;
  filter: drop-shadow(0 22px 80px rgba(0,0,0,0.55));

  pointer-events: auto;
  cursor: grab;

  /* clave en móvil: que el drag no se vuelva scroll */
  touch-action: none;
}

.signature__model:active{
  cursor: grabbing;
}

/* =========================================================
   SIGNATURE — capas definitivas (MOBILE override final)
   ========================================================= */

/* Base */
.signature{
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Canvas al fondo */
.signature__canvas{ z-index: 0 !important; }

/* Overlay sutil arriba del canvas, abajo del modelo */
.signature--starfield::after{
  z-index: 1 !important;
  pointer-events: none !important;
}

/* Bloque visual (logo + cita) arriba del overlay */
.signature__visual{
  z-index: 2 !important;
  pointer-events: none !important; /* móvil: sin drag */
}

/* Feather arriba (para mezclar secciones sin tapar el modelo) */
.signature--starfield::before{
  z-index: 3 !important;
  pointer-events: none !important;
}

/* Contenido siempre arriba */
.signature__container{
  z-index: 4 !important;
  position: relative;
}

/* Seguridad: ningún pseudo-elemento bloquea interacción */
.signature--starfield::before,
.signature--starfield::after{
  pointer-events: none !important;
}

/* =========================
   Quote (MOBILE)
   ========================= */

.signature__quoteBy{
  display: block;
  width: 100%;
  text-align: right;
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.quote{
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.signature__quoteText{
  font-size: clamp(16px, 4.4vw, 20px);
  line-height: 1.5;
}

/* =========================================================
   SIGNATURE — FIX recorte + no interacción (MOBILE)
   ========================================================= */

.signature--starfield{
  /* lift más controlado para móvil */
  --sig-quote-lift: clamp(18px, 6vw, 64px);
  --sig-gap: clamp(10px, 2.2vh, 18px);

  /* caja del modelo en móvil (para que no se corte al rotar) */
  --sig-model-box: clamp(280px, 86vw, 440px);
  --sig-model-scale: 0.86;
}

/* Bloque visual centrado (logo + cita) */
.signature__visual{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sig-gap);

  overflow: visible;
}

/* Caja grande (evita recorte), pero el tamaño visual se controla con scale */
.signature__model{
  width: var(--sig-model-box) !important;
  height: var(--sig-model-box) !important;

  transform: scale(var(--sig-model-scale)) !important;
  transform-origin: center !important;

  background: transparent;
  opacity: 0.96;
  filter: drop-shadow(0 22px 80px rgba(0,0,0,0.55));

  /* NO drag */
  pointer-events: none !important;
  cursor: default !important;
  touch-action: auto !important;

  /* compensa el “aire” de la caja grande para acercar la cita */
  margin-bottom: calc(var(--sig-model-box) * (1 - var(--sig-model-scale)) / -2) !important;
}

/* Levanta la cita sin mover el modelo */
.signature__quote{
  margin: 0 !important;
  transform: translateY(calc(-1 * var(--sig-quote-lift))) !important;
  will-change: transform;
}

/* =========================================================
   WBN FOOTER — Minimal transparente (MOBILE override final)
   ========================================================= */

.signature--starfield{
  --wbn-footer-reserve: clamp(96px, 15vh, 170px);
}

.signature__stage{
  position: relative;
  min-height: 100vh;
  padding-bottom: var(--wbn-footer-reserve);
}

/* Footer flotando dentro del starfield */
.wbn-footer{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 4;
  pointer-events: auto;

  padding: clamp(12px, 2vh, 18px) 0;
  background: transparent !important;
}

/* Contenedor */
.wbn-footer__container{
  width: 100%;
  max-width: var(--wbn-container, 1440px);
  margin: 0 auto;
  padding: 0 var(--wbn-gutter, 22px);
}

/* Sin placa */
.wbn-footer__surface{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Mobile: 1 columna siempre */
.wbn-footer__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

/* Links */
.wbn-footer__links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.wbn-footer__links a{
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 300;
}

.wbn-footer__links a:active{
  color: rgba(255,255,255,0.92);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.wbn-footer__copy{
  margin-top: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  font-weight: 300;
}

/* Contact */
.wbn-footer__contact{
  text-align: left;
}

.wbn-footer__email{
  display: inline-block;
  text-decoration: none;
  color: rgba(255,255,255,0.94);
  font-family: "Prata", serif;
  font-size: clamp(1.55rem, 7.2vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.wbn-footer__email:active{
  opacity: 0.92;
}

.wbn-footer__meta{
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  font-weight: 300;
}

/* Acciones */
.wbn-footer__actions{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* WhatsApp minimal */
.wbn-footer__btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;

  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
}

.wbn-footer__btn:active{
  color: rgba(255,255,255,0.95);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Social: sin contenedores */
.wbn-footer__social{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.wbn-footer__socialLink{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  opacity: 0.72;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}

.wbn-footer__socialLink:active{
  opacity: 1;
  transform: translateY(-1px);
}

.wbn-footer__socialIcon{
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1) grayscale(1) brightness(1.08);
}

/* =========================================================
   WBN FOOTER — Ajuste fino (MOBILE)
   - Sin 3 columnas: en móvil se rompe feo
   - Copyright centrado
   - Bordes más pegados
   ========================================================= */

#signature-starfield{
  --wbn-footer-inset: clamp(12px, 4vw, 22px);
}

/* Quita gutter grande SOLO en el footer */
#signature-starfield .wbn-footer__container{
  padding-left: var(--wbn-footer-inset) !important;
  padding-right: var(--wbn-footer-inset) !important;
  max-width: none !important;
}

/* Móvil: 1 columna, pero con copyright centrado */
#signature-starfield .wbn-footer__grid{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  align-items: start !important;
}

/* Si existe wrapper legal, no lo rompas a contents en móvil */
#signature-starfield .wbn-footer__legal{
  display: block !important;
}

/* Links arriba */
#signature-starfield .wbn-footer__links{
  justify-self: start !important;
}

/* Copyright centrado */
#signature-starfield .wbn-footer__copy{
  justify-self: center !important;
  text-align: center !important;
  margin-top: 0 !important;
}

/* Contacto abajo (alineado a la izquierda en móvil) */
#signature-starfield .wbn-footer__contact{
  justify-self: start !important;
  text-align: left !important;
}

/* =========================================================
   PROCESS — Título tipo "Capacidades" (MOBILE)
   ========================================================= */

.wbn-process__title{
  font-size: clamp(2.0rem, 7.4vw, 2.65rem);
  line-height: 1.02;
}

/* =========================================================
   HERO — Mini menu superior (MOBILE)
   - Solo brand (sin links)
   - Padding compacto
   ========================================================= */

.hero{ position: relative; }

.hero__nav{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.hero__navInner{
  width: 100%;
  margin: 0 auto;
  padding: 14px var(--wbn-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero__brand{
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
}

.hero__brandMark{
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  color: rgba(255,255,255,0.90);
  opacity: 0.92;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.55));
}

.hero__brandMark svg{ width: 100%; height: 100%; display: block; }

.hero__brandName{
  font-family: "Prata", serif;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero__brand:active{ color: rgba(255,255,255,1); }

/* En móvil SIEMPRE oculta los links */
.hero__navLinks{ display: none !important; }

/* Ajuste fino ancla */
#services-cards{ scroll-margin-top: 56px; }

/* =========================================================
   WBN — Slider/Navegación (MOBILE)
   - En móvil lo quieres ABAJO (horizontal) SIEMPRE
   - Tooltip fuera
   ========================================================= */

.wbn-scroll{
  position: fixed;
  left: 50%;
  bottom: 16px;
  right: auto;
  top: auto;
  transform: translateX(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;

  padding: 12px 14px;
  border-radius: 999px;

  background: var(--wbn-glass);
  border: 1px solid rgba(201,162,39,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 46px rgba(0,0,0,.55);

  --wbn-scroll-progress: 0;

  /* Rail horizontal fijo */
  --wbn-rail-start: 18px;
  --wbn-rail-len: calc(100% - 36px);

  overflow: visible;
  isolation: isolate;
}

/* rail */
.wbn-scroll::before{
  content:"";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
  background: rgba(201,162,39,.22);
  pointer-events: none;
  z-index: 0;
}

/* fill */
.wbn-scroll::after{
  content:"";
  position: absolute;
  left: 18px;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  width: calc((100% - 36px) * var(--wbn-scroll-progress));
  border-radius: 2px;
  background: rgba(201,162,39,.9);
  filter: drop-shadow(0 0 8px rgba(201,162,39,.20));
  pointer-events: none;
  z-index: 0;
}

/* caps no aplican en horizontal móvil */
.wbn-scroll .wbn-scroll__cap{ display: none !important; }

/* rombos */
.wbn-scroll__dot{
  position: relative;
  z-index: 2;

  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  border-radius: 2px;

  background: rgba(0,0,0,.28);
  border: 1px solid var(--wbn-gold-mid);

  transition:
    width .18s ease,
    height .18s ease,
    background .18s ease,
    box-shadow .18s ease,
    transform .18s ease;
}

.wbn-scroll__dot:active{
  background: rgba(201,162,39,.18);
  box-shadow:
    0 0 0 4px rgba(201,162,39,.08),
    0 0 20px rgba(201,162,39,.14);
}

.wbn-scroll__dot[aria-current="true"]{
  width: 34px;
  height: 14px;
  background: rgba(201,162,39,.22);
  border-color: rgba(201,162,39,.95);
  box-shadow:
    0 0 0 4px rgba(201,162,39,.10),
    0 0 26px rgba(201,162,39,.18);
}

/* tooltips: off en móvil */
.wbn-scroll__dot::after{ display: none !important; }

.wbn-scroll__dot:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(201,162,39,.14),
    0 0 0 1px rgba(201,162,39,.75) inset;
}

/* Anclas */
#services-cards,
#equipo-anchor,
#page-bottom{
  height: 1px;
}

#services-intro,
#services-cards,
#equipo-anchor,
#page-bottom{
  scroll-margin-top: 56px;
}

/* Ocultar scrollbar nativa */
html{ scrollbar-width: none; }
html::-webkit-scrollbar{ width: 0; height: 0; }





/********************************************************************************************************/
/********************************************************************************************************/
/*                 ª[     { CUARTO PARTE }     ]ª                                                      */
/********************************************************************************************************/
/********************************************************************************************************/





/* =========================================================
   WBN — Reveal premium (sin AOS)
   Aparece al bajar y se quita al subir (mirror)
   ========================================================= */

html.wbn-js .wbn-reveal{
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  filter: blur(1.5px);
  transition:
    opacity 900ms cubic-bezier(.2,.8,.2,1),
    transform 900ms cubic-bezier(.2,.8,.2,1),
    filter 900ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform, filter;
}

/* Direcciones */
html.wbn-js .wbn-reveal--up{ transform: translate3d(0, 18px, 0); }
html.wbn-js .wbn-reveal--left{ transform: translate3d(-22px, 0, 0); }
html.wbn-js .wbn-reveal--right{ transform: translate3d(22px, 0, 0); }

/* Estado visible */
html.wbn-js .wbn-reveal.is-in{
  opacity: 1;
  transform: translate3d(0,0,0);
  filter: blur(0);
}

/* Delays (premium, sutil) */
html.wbn-js .wbn-reveal--delay-1{ transition-delay: 120ms; }
html.wbn-js .wbn-reveal--delay-2{ transition-delay: 220ms; }
html.wbn-js .wbn-reveal--delay-3{ transition-delay: 320ms; }

/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  html.wbn-js .wbn-reveal{
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* =========================================================
   HERO NAV — Hover solo línea dorada (sin fondo)
   CTA "Contacto" sin dorado por defecto (solo en hover)
   ========================================================= */


/* base */
.hero__navLinks a{
  position: relative;
  display: inline-flex;
  align-items: center;

  text-decoration: none;
  color: rgba(255,255,255,.78);

  padding: 10px 10px;
  border-radius: 999px;

  transition: color .28s ease, transform .28s ease, filter .28s ease;
}

/* línea dorada que nace desde el centro */
.hero__navLinks a::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%) scaleX(0);

  width: calc(100% - 16px);
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(201,162,39,.95),
    transparent
  );

  opacity: 0;
  transition: transform .32s ease, opacity .32s ease;
}

/* hover: solo color + línea */
.hero__navLinks a:hover{
  color: rgba(255,255,255,.98);
  transform: translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(201,162,39,.12));
}

.hero__navLinks a:hover::after{
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* focus accesible */
.hero__navLinks a:focus-visible{
  outline: 2px solid rgba(201,162,39,.55);
  outline-offset: 2px;
}

/* CTA "Contacto": normal igual que los demás (sin dorado/borde) */
.hero__navLinks .hero__navCta{
  color: rgba(255,255,255,.78);
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* en hover, se comporta igual (línea + brillo sutil) */
.hero__navLinks .hero__navCta:hover{
  color: rgba(255,255,255,.98);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .hero__navLinks a,
  .hero__navLinks a::after{
    transition: none !important;
  }
}

/* =========================================================
   WBN — PROCESO: hover pop + estela conectada (SVG overlay)
   ========================================================= */


/* Asegura overlay dentro del panel */
.wbn-process__panel{
  position: relative;
  overflow: hidden; /* evita que la estela se salga feo */
}

/* Los nodos por encima de la estela */
.wbn-process__grid,
.wbn-process__step{
  position: relative;
  z-index: 2;
}

/* ===== POP en contenedor del SVG ===== */
.wbn-process__node{
  cursor: pointer;
  transform: translateZ(0);
  transition: transform .22s ease, filter .22s ease;
  will-change: transform;

  /* opcional: para que el "pop" se sienta premium */
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

.wbn-process__node:hover{
  transform: translateZ(0) scale(1.07);
  filter: drop-shadow(0 0 14px rgba(201,162,39,.18));
}

.wbn-process__node:active{
  transform: translateZ(0) scale(1.06);
}

/* si el JS le pone el pop (para mobile) */
.wbn-process__node.is-pop{
  transform: translateZ(0) scale(1.07);
  filter: drop-shadow(0 0 14px rgba(201,162,39,.18));
}

/* ===== Estela: SVG overlay ===== */
.wbn-process__trail{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* línea base (siempre visible, sutil) */
.wbn-process__trailBase{
  fill: none;
  stroke: rgba(201,162,39,.18);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* glow que “viaja” */
.wbn-process__trailGlow{
  fill: none;
  stroke: rgba(201,162,39,.95);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;

  /* la estela: un tramo brillante y el resto invisible */
  stroke-dasharray: 80 920;
  stroke-dashoffset: 1000;

  opacity: 0;
  filter:
    drop-shadow(0 0 10px rgba(201,162,39,.55))
    drop-shadow(0 0 26px rgba(201,162,39,.22));
}

/* cuando corre la estela */
.wbn-process__panel.wbn-trail--run .wbn-process__trailGlow{
  opacity: 1;
  animation: wbnTrailMove 1.35s cubic-bezier(.2,.9,.2,1) forwards;
}

@keyframes wbnTrailMove{
  from{ stroke-dashoffset: 1000; }
  to{   stroke-dashoffset: 0; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .wbn-process__node,
  .wbn-process__panel.wbn-trail--run .wbn-process__trailGlow{
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   WBN — PROCESO: hover + FIX overlays (para que sí dispare)
   ========================================================= */

/* Asegura stacking correcto */
.wbn-process__panel{ position: relative; }
.wbn-process__grid{ position: relative; z-index: 2; }

/* Si tu JS mete una capa/estela, esto evita que “tape” el hover */
.wbn-process__panel canvas,
.wbn-process__panel .wbn-process__fx,
.wbn-process__panel .wbn-process__beam,
.wbn-process__panel .wbn-process__trail,
.wbn-process__beam,
.wbn-process__trail,
.wbn-process__spark,
.wbn-trail,
.wbn-beam,
.wbn-fx{
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Los nodos arriba y clickeables */
.wbn-process__node{
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
  cursor: pointer;
}

/* Glow integrado (detrás) */
.wbn-process__node::after{
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  pointer-events: none;

  background: radial-gradient(circle,
    rgba(201,162,39,.22) 0%,
    rgba(201,162,39,.10) 35%,
    rgba(201,162,39,0) 70%
  );

  opacity: 0;
  transform: scale(.92);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(.2,.9,.2,1);
}

/* Escala el SVG (img) para no pelear con transform inline de AOS */
.wbn-process__node > img,
.wbn-process__node > .wbn-process__icon{
  display: block;
  transform: translateZ(0) scale(1);
  transform-origin: 50% 50%;
  will-change: transform, filter;
  transition:
    transform 260ms cubic-bezier(.2,.9,.2,1),
    filter 220ms ease;
}

/* Dispara por hover en el LI o en el node (por si hay gaps) */
.wbn-process__step:hover .wbn-process__node::after,
.wbn-process__node:hover::after{
  opacity: 1;
  transform: scale(1);
}

.wbn-process__step:hover .wbn-process__node > img,
.wbn-process__step:hover .wbn-process__node > .wbn-process__icon,
.wbn-process__node:hover > img,
.wbn-process__node:hover > .wbn-process__icon{
  transform: translateZ(0) scale(1.12);
  filter:
    drop-shadow(0 0 14px rgba(201,162,39,.22))
    drop-shadow(0 0 28px rgba(201,162,39,.12));
}

/* Mobile: “hover” equivalente */
@media (hover: none){
  .wbn-process__node:active::after{ opacity: 1; transform: scale(1); }
  .wbn-process__node:active > img,
  .wbn-process__node:active > .wbn-process__icon{
    transform: translateZ(0) scale(1.10);
  }
}

/* ===== YouTube Modal (minimal premium) ===== */
body.yt-modal-open { overflow: hidden; }

.yt-modal[hidden] { display: none; }

.yt-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
}

.yt-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.yt-modal__panel{
  position: relative;
  width: min(1020px, 92vw);
  border-radius: 20px;
  overflow: hidden;

  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 90px rgba(0,0,0,.60);

  transform: translateY(10px) scale(.985);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.yt-modal.is-open .yt-modal__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.yt-modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;

  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;

  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
}

.yt-modal__close:hover{
  border-color: rgba(212, 175, 55, .45); /* acento dorado sutil */
}

/* Contenedor 16:9 */
.yt-modal__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.yt-modal__frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce){
  .yt-modal__panel{ transition: none; transform: none; opacity: 1; }
}


/* =========================================================
   WBN — MOBILE PATCH (PEGAR AL FINAL)
   - Consolidación de duplicados
   - Hover solo donde existe hover real
   - Stacking + pointer-events coherentes
   - Modal siempre encima + oculta slider al abrir
   ========================================================= */

/* 0) Nota: si tu CSS es plano, la línea:
      .what-we-do__icons-title{ composes: wbn-title-chip; }
   es de CSS Modules y te va a marcar error. No rompe el sitio, pero sí conviene borrarla.
*/

/* Si ya metiste el overlay radial dentro de background-image (parte 2),
   apaga el ::before de la parte 1 para NO duplicar “negro” encima */
.hero::before{
  content: none !important;
}

/* 3) WHAT-WE-DO ICONS: deja SOLO un set de fades (top+bottom) coherente */
.what-we-do__icons{
  position: relative;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
}

/* Overlay superior */
.what-we-do__icons::before{
  content:"" !important;
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.96) 0%,
    rgba(0,0,0,0.78) 18%,
    rgba(0,0,0,0.30) 46%,
    rgba(0,0,0,0.00) 70%
  ) !important;
}

/* Overlay inferior */
.what-we-do__icons::after{
  content:"" !important;
  position:absolute;
  left:0; right:0; bottom:0;
  height: clamp(170px, 24vh, 240px);
  pointer-events:none;
  z-index:0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.86) 28%,
    rgba(0,0,0,0.42) 58%,
    rgba(0,0,0,0.00) 100%
  ) !important;
}

/* Asegura contenido arriba de overlays */
.what-we-do__icons-inner{
  position: relative;
  z-index: 1;
}

/* 4) Hover: solo donde exista hover real (evita “hover pegajoso” en iOS) */
@media (hover: hover) and (pointer: fine){
  /* PROCESO hover (PC/trackpad/tablet con hover real) */
  .wbn-process__node:hover{
    transform: translateZ(0) scale(1.07);
    filter: drop-shadow(0 0 14px rgba(201,162,39,.18));
  }

  .wbn-process__step:hover .wbn-process__node::after,
  .wbn-process__node:hover::after{
    opacity: 1;
    transform: scale(1);
  }

  .wbn-process__step:hover .wbn-process__node > img,
  .wbn-process__step:hover .wbn-process__node > .wbn-process__icon,
  .wbn-process__node:hover > img,
  .wbn-process__node:hover > .wbn-process__icon{
    transform: translateZ(0) scale(1.12);
  }

  /* NAV hover (si en algún punto lo vuelves a mostrar en tablet) */
  .hero__navLinks a:hover{
    color: rgba(255,255,255,.98);
    transform: translateY(-1px);
    filter: drop-shadow(0 0 10px rgba(201,162,39,.12));
  }
}

/* En touch: prioriza active / clase JS (sin hover) */
@media (hover: none){
  .wbn-process__node:hover{ transform: none !important; filter: none !important; }
}

/* 5) SIGNATURE: decisión final consistente (por tus overrides, dejas SIN drag) */
#signature-starfield .signature__visual{
  pointer-events: none !important;
}

#signature-starfield .signature__model{
  pointer-events: none !important;
  cursor: default !important;
  touch-action: auto !important;
}

/* Asegura que nada “tape” visualmente el bloque del starfield */
#signature-starfield .signature__canvas{ z-index: 0 !important; }
#signature-starfield.signature--starfield::after{ z-index: 1 !important; }
#signature-starfield .signature__visual{ z-index: 2 !important; }
#signature-starfield.signature--starfield::before{ z-index: 3 !important; }
#signature-starfield .signature__container{ z-index: 4 !important; }

/* 6) MODAL: siempre arriba, y esconde el slider inferior al abrir */
.yt-modal{ z-index: 10050 !important; }

body.yt-modal-open .wbn-scroll{
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* 7) Ocultar scrollbar: acótalo a touch (si un día tu CSS móvil se carga por error en desktop) */
@media (hover: none) and (pointer: coarse){
  html{ scrollbar-width: none; }
  html::-webkit-scrollbar{ width: 0; height: 0; }
}

/* =========================================================
   FIX FINAL — Mobile: NO overflow horizontal (100% viewport)
   Pegar AL FINAL del CSS móvil
   ========================================================= */

html, body{
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden; /* fallback */
}

@supports (overflow-x: clip){
  html, body{ overflow-x: clip; } /* mejor que hidden */
}

*, *::before, *::after{ box-sizing: border-box; }

/* Media/embeds nunca deben empujar el layout */
img, svg, video, canvas, iframe, model-viewer{
  max-width: 100%;
  height: auto;
}

/* “Guard-rail” a secciones principales */
.hero,
.what-we-do,
.what-we-do__intro,
.what-we-do__icons,
.process,
.wbn-process,
.caps,
.signature{
  width: 100%;
  max-width: 100%;
}

/* Contenedores: evita min-width implícito por grid/flex */
.hero__container,
.what-we-do__intro-inner,
.what-we-do__icons-inner,
.process__container,
.wbn-process__container,
.caps__container,
.signature__container{
  max-width: 100%;
  min-width: 0;
}

/* Caso típico #1: barra fixed inferior excede el viewport en algunos móviles */
.wbn-scroll{
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
}

/* Si el contenido interno llegara a crecer, que no empuje el body */
.wbn-scroll{ overflow: hidden; }

/* Caso típico #2: overlay duplicado en HERO (traes gradient en background-image) */
.hero::before{ content: none !important; }



/* =========================================================
   WBN — MOBILE OVERFLOW HOTFIX (PEGAR AL FINAL)
   Objetivo: eliminar overflow horizontal real + “paint overflow”
   ========================================================= */


/* 2) Box model (causa #1 de 100% + padding = overflow) */
html{ box-sizing: border-box; }
*, *::before, *::after{ box-sizing: inherit; }

/* 3) Corta overflow horizontal (layout + blur/shadows) */
html, body{
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden; /* fallback */
}
@supports (overflow-x: clip){
  html, body{ overflow-x: clip; } /* mejor que hidden */
}

/* 4) Grid/Flex: permite encoger (min-width: auto rompe en móvil) */
:where(
  .hero__container,
  .hero__navInner,
  .hero__content,
  .hero__actions,
  .what-we-do__intro-inner,
  .what-we-do__icons-inner,
  .process__container,
  .wbn-process__container,
  .caps__container,
  .caps__grid,
  .caps__copyInner,
  .signature__container,
  .wbn-footer__container
){
  min-width: 0;
}

/* 5) Media nunca empuja el layout */
img, svg, video, canvas, iframe, model-viewer{
  max-width: 100%;
  height: auto;
}

/* 6) HERO: tu background-image YA trae radial-gradient.
      Si dejas el ::before viejo, duplicas overlay y puede “ensuciar” y/o sumar overflow por blur. */
.hero::before{ content: none !important; }

/* 7) Secciones con halos/blur: evita “paint overflow” lateral */
:where(.hero, .what-we-do__icons, .caps, .signature, .process, .wbn-process){
  overflow-x: clip;
}

/* 8) Barra fija inferior: clámpeala al viewport (culpable típico) */
.wbn-scroll{
  box-sizing: border-box;
  max-width: calc(100vw - 24px);
  overflow: hidden; /* evita que algo interno la haga crecer */
}

/* iOS notch/safe-area (por si un día pega raro en algunos devices) */
@supports (padding: env(safe-area-inset-left)){
  .wbn-scroll{
    max-width: calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right) + 24px));
  }
}

/* 9) Por si algún elemento trae width raro en runtime (JS/AOS), esto lo neutraliza */
:where(.hero, .what-we-do, .what-we-do__intro, .what-we-do__icons, .process, .wbn-process, .caps, .signature){
  width: 100%;
  max-width: 100%;
}










































/* =========================================================
   MOBILE PATCH (CONSOLIDADO) — HERO + CTAs + SCROLL + SLIDER
   - CTAs en línea (Contáctanos corto + logo circular)
   - Flecha/scroll arriba del slider (con extra)
   - WBN slider pegado a la derecha y sin línea antes del 1er punto
   - HERO content 100% transparente + bloque más arriba
   ========================================================= */

:root{
  /* Slider/rail */
  --wbn-slider-h: 56px;         /* altura visual aprox del wbn-scroll */
  --wbn-slider-gap: 22px;       /* aire entre flecha y slider */
  --wbn-scroll-extra: 18px;     /* empuje adicional de la flecha */
  --wbn-scroll-inset: 12px;     /* separación al borde derecho */
  --wbn-scroll-padX: 12px;      /* padding horizontal del slider */
  --wbn-scroll-padY: 12px;      /* padding vertical del slider */
  --wbn-dot: 14px;              /* tamaño del rombo */

  /* CTAs */
  --hero-cta-h: 54px;           /* alto táctil consistente */
  --hero-cta-gap: 12px;         /* separación entre CTAs */
}

/* ===== HERO: transparente + subir bloque ===== */
.hero__content,
.hero__actions{
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero__content::before,
.hero__title::after,
.hero__subtitle::after,
.hero__actions::before{
  content: none !important;
}

/* sube el bloque (título + subtítulo + CTAs) */
.hero__content{
  padding-top: clamp(48px, 9vh, 92px) !important;
  padding-bottom: clamp(20px, 4vh, 44px) !important;
}

/* hero alineado hacia arriba */
.hero{
  align-items: flex-start !important;
}

/* reserva para la barra superior */
.hero__container{
  padding-top: clamp(56px, 9vh, 92px) !important;
}

/* ===== CTAs: en una línea, Contáctanos más corto, logo circular ===== */
.hero__actions{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: var(--hero-cta-gap) !important;
}

/* Contáctanos: NO full width, largo controlado */
.hero__btn--primary{
  flex: 0 0 auto !important;
  width: fit-content !important;
  max-width: none !important;
  min-height: var(--hero-cta-h) !important;

  padding: 14px 22px !important; /* controla el “largo” */
  min-width: 180px;              /* ajusta a 160px si lo quieres aún más corto */
}

/* Logo: circular */
.hero__btn--secondary{
  width: var(--hero-cta-h) !important;
  height: var(--hero-cta-h) !important;
  min-height: var(--hero-cta-h) !important;
  padding: 0 !important;

  flex: 0 0 var(--hero-cta-h) !important;
  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero__btn--secondary svg{
  width: 22px !important;
  height: 22px !important;
}

.hero__btn--secondary::before{
  opacity: 0.40 !important;
}

/* ===== Flecha/scroll: arriba del slider ===== */
.hero__scroll{
  bottom: calc(
    clamp(18px, 6vh, 44px)
    + var(--wbn-slider-h)
    + var(--wbn-slider-gap)
    + var(--wbn-scroll-extra)
  ) !important;
}

/* si abres modal (y tu JS oculta o cambia el slider), vuelve a una posición natural */
body.yt-modal-open .hero__scroll{
  bottom: clamp(22px, 7vh, 56px) !important;
}

/* ===== WBN SLIDER: a la derecha + rail sin “línea antes” del primer punto ===== */
.wbn-scroll{
  left: auto !important;
  right: var(--wbn-scroll-inset) !important;
  bottom: 16px !important;
  transform: none !important;

  padding: var(--wbn-scroll-padY) var(--wbn-scroll-padX) !important;
  max-width: calc(100vw - (var(--wbn-scroll-inset) * 2)) !important;
}

/* rail arranca en el centro del primer dot y termina en el centro del último */
.wbn-scroll::before{
  left:  calc(var(--wbn-scroll-padX) + (var(--wbn-dot) / 2)) !important;
  right: calc(var(--wbn-scroll-padX) + (var(--wbn-dot) / 2)) !important;
}

/* fill (progreso) arranca en el mismo punto */
.wbn-scroll::after{
  left: calc(var(--wbn-scroll-padX) + (var(--wbn-dot) / 2)) !important;
  width: calc(
    (100% - (2 * (var(--wbn-scroll-padX) + (var(--wbn-dot) / 2))))
    * var(--wbn-scroll-progress)
  ) !important;
}

.wbn-scroll__dot{
  flex: 0 0 auto;
}


/* =========================================================
   PATCH FINAL (MÓVIL)
   1) Subir bloque HERO (zona roja)
   2) Quitar “línea” antes del primer dot en .wbn-scroll
   ========================================================= */

:root{
  /* Sube el bloque rojo “solo un poco” */
  --hero-content-lift: clamp(8px, 1.6vh, 16px);

  /* Ajustes base del scroll */
  --wbn-scroll-inset: 12px;  /* separación al borde derecho */
  --wbn-scroll-padX: 12px;   /* padding horizontal del scroll */
  --wbn-scroll-padY: 12px;   /* padding vertical del scroll */
  --wbn-dot: 14px;           /* tamaño visual del rombo */
}

/* ===== 1) Subir bloque (zona roja) ===== */
.hero__content{
  transform: translateY(calc(var(--hero-content-lift) * -1)) !important;
}

/* ===== 2) Scroll: pegado a la derecha y sin “stub” al inicio ===== */
.wbn-scroll{
  left: auto !important;
  right: var(--wbn-scroll-inset) !important;
  transform: none !important;

  padding: var(--wbn-scroll-padY) var(--wbn-scroll-padX) !important;
  max-width: calc(100vw - (var(--wbn-scroll-inset) * 2)) !important;
}



/* (opcional/seguridad) evita que algo “se asome” por anti-aliasing */
.wbn-scroll{
  overflow: hidden !important;
  border-radius: 999px !important;
}


/* =========================================================
   FIX — HERO: subir bloque SOLO un poco (sin recortar)
   Pegar AL FINAL
   ========================================================= */

/* 1) Revertir el “lift” agresivo del contenedor */
.hero__container{
  padding-top: clamp(56px, 9vh, 92px) !important;
}

/* 2) Subir SOLO el bloque (ajuste fino) */
:root{
  /* Ajuste realista: 8–22px */
  --hero-content-shift: clamp(10px, 1.8vh, 18px);
}

.hero__content{
  transform: translateY(calc(-1 * var(--hero-content-shift))) !important;
  will-change: transform;
}

/* =========================================================
   FIX — Subir bloque de texto/botones (sin pelear con AOS)
   Pegar AL FINAL
   ========================================================= */

:root{
  /* súbelo “solo un poco”: ajusta aquí */
  --hero-lift: clamp(14px, 2.2vh, 28px);
}

/* aplica al bloque principal */
.hero__content{
  position: relative !important;
  top: calc(-1 * var(--hero-lift)) !important;
}

/* por si tu layout real usa otro wrapper (no rompe si no existe) */
.hero__copy,
.hero__stack,
.hero__text,
.hero__body{
  position: relative !important;
  top: calc(-1 * var(--hero-lift)) !important;
}

:root{
  --hero-lift: clamp(27px, 4.2vh, 54px);
}


/* FIX: quitar “línea larga” al inicio SIN romper el último dot */
.wbn-scroll{ overflow: hidden !important; }

/* Corta SOLO el inicio (izquierda). No cortes derecha. */
.wbn-scroll::before,
.wbn-scroll::after{
  clip-path: inset(
    0 0 0
    calc(var(--wbn-scroll-padX) + (var(--wbn-dot) / 2))
  ) !important;
}


/* =========================================================
   SIGNATURE (MÓVIL) — FIX DEFINITIVO
   - Evita encimados: logo/cita arriba + footer abajo (grid)
   - Footer nunca queda tapado por el slider fijo
   - Email legible y con wrap sin invadir el centro
   Pegar AL FINAL del CSS móvil
   ========================================================= */

#signature-starfield{
  /* altura del slider fijo (ya la traes, pero aquí hay fallback) */
  --_sliderH: var(--wbn-slider-h, 56px);
  --_sliderGap: 22px; /* aire extra arriba del slider */
  --_safeB: env(safe-area-inset-bottom, 0px);

  /* cita más cerca del logo, pero sin invadir el footer */
  --sig-quote-lift: clamp(10px, 3vw, 18px);
}

/* 1) El stage manda: 1fr (visual) + auto (footer) */
#signature-starfield .signature__stage{
  position: relative !important;
  min-height: 100svh !important;
  display: grid !important;
  grid-template-rows: 1fr auto !important;
  align-items: center !important;
  padding-bottom: 0 !important; /* el footer maneja el espacio del slider */
}

/* 2) El bloque visual deja de ser “absolute center” (para que NO se encime) */
#signature-starfield .signature__visual{
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;

  justify-self: center !important;
  align-self: center !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;

  /* un poco arriba para respirar sobre el footer */
  padding-top: clamp(18px, 5vh, 44px) !important;
  padding-bottom: clamp(10px, 2.5vh, 18px) !important;
}

/* 3) Quita el truco peligroso del margin-bottom negativo del modelo */
#signature-starfield .signature__model{
  margin-bottom: 0 !important;
}

/* Mantén la cita cerca del logo, pero controlada */
#signature-starfield .signature__quote{
  margin: 0 !important;
  transform: translateY(calc(-1 * var(--sig-quote-lift))) !important;
  text-align: center !important;
  max-width: 34ch !important;
}

/* 4) Footer en flujo normal (NO absoluto) + reserva para slider */
#signature-starfield .wbn-footer{
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;

  z-index: 4 !important;
  background: transparent !important;

  /* importantísimo: el slider fijo nunca tapa el contenido */
  padding-top: 10px !important;
  padding-bottom: calc(var(--_sliderH) + var(--_sliderGap) + var(--_safeB)) !important;
}

/* Scrim sutil detrás del footer (no “placa”, solo legibilidad) */
#signature-starfield .wbn-footer::before{
  content: "" !important;
  position: absolute !important;
  left: 0; right: 0; bottom: 0;
  height: clamp(220px, 34vh, 360px) !important;
  pointer-events: none !important;
  z-index: -1 !important;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.62) 42%,
    rgba(0,0,0,0.18) 78%,
    rgba(0,0,0,0.00) 100%
  ) !important;
}

/* 5) Tipografía del footer (evita “correo gigante” que invade) */
#signature-starfield .wbn-footer__links a{
  font-size: 0.88rem !important;
}

#signature-starfield .wbn-footer__copy{
  font-size: 0.86rem !important;
  margin-top: 6px !important;
}

/* Email: más contenido + wrap real */
#signature-starfield .wbn-footer__email{
  display: block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;

  font-size: clamp(1.25rem, 8.2vw, 2.05rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.01em !important;
}

/* Meta: compacta */
#signature-starfield .wbn-footer__meta{
  margin-top: 8px !important;
  font-size: 0.90rem !important;
  line-height: 1.25 !important;
}

/* 6) Acciones: WhatsApp arriba, redes abajo (2 filas limpias) */
#signature-starfield .wbn-footer__actions{
  margin-top: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

#signature-starfield .wbn-footer__social{
  gap: 14px !important;
}

#signature-starfield .wbn-footer__socialIcon{
  width: 20px !important;
  height: 20px !important;
}

/* 7) Si por tu CSS viejo el footer sigue “absolute”, esto lo mata sí o sí */
#signature-starfield .wbn-footer,
#signature-starfield .wbn-footer__container,
#signature-starfield .wbn-footer__surface{
  transform: none !important;
}

/* Asegura que las estrellas (canvas) existan visualmente en mobile */
.signature { position: relative; }

.signature__canvas{
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 1;
  pointer-events: none;
}

/* Todo lo demás arriba del canvas */
.signature__visual,
.signature__quote,
.signature__footer{
  position: relative;
  z-index: 1;
}










/* ===========================
   WBN Loader (overlay)
   =========================== */
.wbn-loader{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;              /* JS lo prende */
  place-items: center;
  background: #000;
}

.wbn-loader.is-on{ display: grid; }

.wbn-loader::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:
    radial-gradient(circle at 50% 45%,
      rgba(212,175,55,.18) 0%,
      rgba(212,175,55,.08) 26%,
      rgba(255,255,255,.06) 38%,
      rgba(0,0,0,0) 60%);
  filter: blur(18px);
  opacity: .9;
  pointer-events:none;
}

.wbn-loader__panel{
  position: relative;
  width: min(520px, 92vw);
  padding: 26px 22px 22px;
  border-radius: 18px;
  background: rgba(12,12,12,.72);
  border: 1px solid rgba(212,175,55,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  gap: 14px;
  text-align: center;
}

.wbn-loader__mark{
  width: 58px;
  height: 58px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.35);
  background: radial-gradient(circle at 30% 30%,
    rgba(212,175,55,.35), rgba(212,175,55,.12) 42%, rgba(0,0,0,.35) 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}

/* Barrido dorado ligero */
.wbn-loader__mark::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg,
    transparent 35%,
    rgba(212,175,55,.45) 50%,
    transparent 65%);
  transform: translateX(-35%) rotate(10deg);
  animation: wbnSweep 1.25s ease-in-out infinite;
  opacity:.9;
}

@keyframes wbnSweep{
  0%{ transform: translateX(-45%) rotate(10deg); }
  50%{ transform: translateX(25%) rotate(10deg); }
  100%{ transform: translateX(55%) rotate(10deg); }
}

.wbn-loader__name{
  font-family: "Prata", serif;
  font-size: 22px;
  letter-spacing: .3px;
  color: #fff;
}

.wbn-loader__sub{
  display:block;
  margin-top: 4px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: 13px;
  color: rgba(255,255,255,.72);
}

.wbn-loader__bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}

.wbn-loader__barFill{
  display:block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(212,175,55,.15),
    rgba(212,175,55,.85),
    rgba(212,175,55,.25));
  filter: saturate(1.05);
  animation: wbnBar 1.05s ease-in-out infinite;
}

@keyframes wbnBar{
  0%{ transform: translateX(-80%); }
  50%{ transform: translateX(40%); }
  100%{ transform: translateX(160%); }
}

.wbn-loader__hint{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial;
  font-size: 12px;
  color: rgba(212,175,55,.85);
  letter-spacing: .3px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .wbn-loader__mark::after,
  .wbn-loader__barFill{
    animation: none !important;
  }
}



.wbn-loader__mark{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;

  background: radial-gradient(120% 120% at 30% 20%,
    rgba(199,156,72,.28), rgba(0,0,0,.55) 58%, rgba(0,0,0,.78));
  border: 1px solid rgba(199,156,72,.28);
  box-shadow: 0 18px 45px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}

.wbn-loader__mark svg{
  width: 40px;   /* ajusta si lo quieres más grande */
  height: 40px;
  display: block;
  color: var(--gold);
  filter: drop-shadow(0 8px 14px rgba(199,156,72,.20));
}

.wbn-loader__mark svg *{
  fill: currentColor;
}
