/* =====================================================================
   BlueTech 2026 — Design system premium (hero, navbar, secciones, motion)
   Se carga después de style.css / header.css y solo extiende/sobrescribe.
   Reglas de animación: solo transform + opacity (perf / Lighthouse).
===================================================================== */

:root {
  --bt-ink-950: #05070d;
  --bt-ink-900: #0a0e1a;
  --bt-ink-850: #0d1326;
  --bt-ink-800: #10162a;
  --bt-ink-700: #161e3a;
  --bt-blue: #2563ff;
  --bt-blue-soft: #5b8bff;
  --bt-cyan: #22d3ee;
  --bt-violet: #8b5cf6;
  --bt-white: #f7f9ff;

  --bt-glass-bg: rgba(255, 255, 255, 0.06);
  --bt-glass-bg-strong: rgba(255, 255, 255, 0.1);
  --bt-glass-border: rgba(255, 255, 255, 0.14);
  --bt-glass-bg-light: rgba(255, 255, 255, 0.7);
  --bt-glass-border-light: rgba(15, 23, 42, 0.08);

  --bt-glow-blue: 0 0 60px rgba(37, 99, 255, 0.35);
  --bt-glow-cyan: 0 0 60px rgba(34, 211, 238, 0.28);
  --bt-shadow-float: 0 30px 80px rgba(5, 7, 13, 0.35);
  --bt-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------------
   Noise overlay (sutil, aplicado a fondos oscuros)
--------------------------------------------------------------------- */
.b26-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

/* ---------------------------------------------------------------------
   Scroll progress lateral
--------------------------------------------------------------------- */
.b26-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 3px;
  height: 100vh;
  z-index: 2000;
  pointer-events: none;
}
.b26-scroll-progress-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--bt-cyan), var(--bt-blue));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
  transform-origin: top;
  will-change: height;
}

/* ---------------------------------------------------------------------
   Cursor interactivo (desktop, fine pointer únicamente)
--------------------------------------------------------------------- */
.b26-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  margin-left: -130px;
  margin-top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.16), rgba(34, 211, 238, 0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 300ms ease;
  will-change: transform;
}
.b26-cursor-glow.is-active { opacity: 1; }

/* ---------------------------------------------------------------------
   Reveal utilities (complementan AOS: blur-in, escalado)
--------------------------------------------------------------------- */
[data-b26-reveal] {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  filter: blur(6px);
  transition: opacity 700ms var(--bt-ease), transform 700ms var(--bt-ease), filter 700ms var(--bt-ease);
  will-change: transform, opacity, filter;
}
[data-b26-reveal].b26-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}
[data-b26-reveal="left"] { transform: translateX(-32px) scale(0.98); }
[data-b26-reveal="left"].b26-in { transform: translateX(0) scale(1); }
[data-b26-reveal="right"] { transform: translateX(32px) scale(0.98); }
[data-b26-reveal="right"].b26-in { transform: translateX(0) scale(1); }

/* ---------------------------------------------------------------------
   Glass / glow shared primitives
--------------------------------------------------------------------- */
.b26-glass {
  background: var(--bt-glass-bg);
  border: 1px solid var(--bt-glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
}
.b26-glass-light {
  background: var(--bt-glass-bg-light);
  border: 1px solid var(--bt-glass-border-light);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
}

.b26-tilt {
  transition: transform 320ms var(--bt-ease), box-shadow 320ms var(--bt-ease);
  will-change: transform;
}
.b26-tilt:hover {
  box-shadow: var(--bt-shadow-float);
}

/* ---------------------------------------------------------------------
   Botones premium (glow / ripple / elevación)
--------------------------------------------------------------------- */
.b26-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  isolation: isolate;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 250ms var(--bt-ease), box-shadow 250ms var(--bt-ease), background 250ms var(--bt-ease);
}
.b26-btn:active { transform: scale(0.97); }
.b26-btn:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.5);
  outline-offset: 3px;
}

.b26-btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
  box-shadow: 0 12px 30px rgba(37, 99, 255, 0.35);
}
.b26-btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(37, 99, 255, 0.45), var(--bt-glow-cyan);
}

.b26-btn-ghost {
  color: var(--bt-white);
  background: var(--bt-glass-bg);
  border: 1px solid var(--bt-glass-border);
  backdrop-filter: blur(12px);
}
.b26-btn-ghost:hover {
  color: var(--bt-white);
  transform: translateY(-3px);
  background: var(--bt-glass-bg-strong);
  box-shadow: 0 14px 30px rgba(5, 7, 13, 0.3);
}

.b26-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0.08);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: b26-ripple-anim 650ms ease-out forwards;
  z-index: -1;
}
@keyframes b26-ripple-anim {
  to { transform: scale(3); opacity: 0; }
}

/* =====================================================================
   NAVBAR flotante glass
===================================================================== */
#header.b26-floating {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: min(1180px, calc(100% - 32px));
  border-radius: 999px;
  background: rgba(6, 9, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(5, 7, 13, 0.35);
  padding: 6px 10px;
  transition: transform 380ms var(--bt-ease), background 300ms ease, box-shadow 300ms ease, border-color 300ms ease, top 300ms ease;
  z-index: 1030;
}
#header.b26-floating.header-scrolled,
#header.b26-floating.header-inner-pages {
  background: rgba(5, 7, 13, 0.88);
  box-shadow: 0 24px 60px rgba(5, 7, 13, 0.45);
  border-color: rgba(255, 255, 255, 0.16);
}
#header.b26-floating.b26-nav-hidden {
  transform: translateX(-50%) translateY(-140%);
}
#header.b26-floating .logo img {
  position: relative;
  top: 4px;
  max-height: 40px;
  filter: brightness(0) invert(1);
}
@media (max-width: 991px) {
  #header.b26-floating .logo img { top: 2px; }
}
#header.b26-floating .navbar > ul > li > a,
#header.b26-floating .navbar > ul > li > a span {
  color: rgba(247, 249, 255, 0.9);
}
#header.b26-floating .navbar > ul > li > a:hover,
#header.b26-floating .navbar .active {
  color: #fff;
}
#header.b26-floating .navbar .getstarted {
  background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(8, 28, 70, .2);
  box-shadow: 0 10px 25px rgba(37, 99, 255, 0.35);
}

/* El mega-menu original (header.css) usa #header .navbar .mega-dropdown .mega-menu
   con alta especificidad; igualamos la cadena de selectores para poder sobrescribirlo. */
#header.b26-floating .navbar .mega-dropdown .mega-menu {
  background: #080c16;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 30px 60px rgba(5, 7, 13, 0.5);
}
#header.b26-floating .navbar .mega-dropdown .mega-link {
  min-width: 0;
  align-items: flex-start;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #0e1525;
  border-color: rgba(255, 255, 255, 0.08);
}
#header.b26-floating .navbar .mega-dropdown .mega-link:hover,
#header.b26-floating .navbar .mega-dropdown .mega-link:focus-visible {
  background: rgba(37, 99, 255, 0.16);
  border-color: rgba(34, 211, 238, 0.35);
}
#header.b26-floating .navbar .mega-dropdown .mega-icon {
  background: rgba(37, 99, 255, 0.18);
  color: var(--bt-cyan);
}
#header.b26-floating .navbar .mega-dropdown .mega-icon > i::before {
  transform: translateX(-2px);
}
#header.b26-floating .navbar .mega-dropdown .mega-title { color: #fff; }
#header.b26-floating .navbar .mega-dropdown .mega-text { color: rgba(247, 249, 255, 0.62); }
#header.b26-floating .mobile-nav-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
#header.b26-floating .bi-chevron-down { color: rgba(247, 249, 255, 0.75); }

#header.b26-floating .navbar > ul > li > a:focus-visible,
#header.b26-floating .navbar .getstarted:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.45);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  #header.b26-floating { top: 12px; border-radius: 24px; }
  body.mobile-nav-active #header.b26-floating .navbar.navbar-mobile {
    background: rgba(5, 7, 13, 0.97);
  }
}

/* =====================================================================
   HERO — panel centrado estilo Cloudflare (sin ilustración dispersa)
   Nota: el template legacy define #hero / #hero h1 / #hero:before / #hero:after
   con selector por ID (alta especificidad). Usamos #hero.b26-hero en cada
   regla para igualar el ID y sumar una clase, así ganamos la cascada de forma
   determinística sin depender del orden de los <link>.
===================================================================== */
#hero.b26-hero {
  position: relative;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 24px;
  background: var(--bt-ink-950);
  animation: none;
  overflow: visible;
  color: var(--bt-white);
}
#hero.b26-hero > .container { flex-shrink: 0; }
#hero.b26-hero:before,
#hero.b26-hero:after {
  content: none;
}
#hero.b26-hero .container {
  padding-top: 0;
}

.b26-hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px 32px 44px;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #101c40 0%, var(--bt-ink-900) 55%, var(--bt-ink-950) 100%);
  isolation: isolate;
}

.b26-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.b26-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 70% at 50% 20%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000 30%, transparent 78%);
  animation: b26-grid-pan 60s linear infinite;
}
@keyframes b26-grid-pan {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 56px 112px, 56px 112px; }
}

.b26-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.b26-hero-glow-a {
  width: 620px; height: 620px; left: 50%; top: -320px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 255, 0.45), transparent 70%);
  animation: b26-mesh-drift 24s ease-in-out infinite alternate;
}
.b26-hero-glow-b {
  width: 420px; height: 420px; right: -120px; bottom: -160px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
  animation: b26-mesh-drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes b26-mesh-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.05); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.02); }
}

.b26-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(247, 249, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}
.b26-hero-kicker .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--bt-cyan);
  box-shadow: 0 0 10px var(--bt-cyan);
  animation: b26-pulse-dot 2s ease-in-out infinite;
}
@keyframes b26-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

#hero.b26-hero h1 {
  color: #fff;
  font-size: clamp(2.75rem, 4.2vw, 4.15rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 20px 0 18px;
}
#hero.b26-hero h1 .grad {
  background: linear-gradient(120deg, var(--bt-blue-soft), var(--bt-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#hero.b26-hero .b26-hero-lead {
  color: rgba(247, 249, 255, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 0 26px;
}

.b26-hero-main {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(34px, 4vw, 68px);
}

.b26-hero-copy {
  min-width: 0;
  text-align: left;
}

/* El hero se centra automáticamente cuando la visualización no está presente. */
.b26-hero-main:not(:has(.b26-ops-visual)) {
  display: block;
}

.b26-hero-main:not(:has(.b26-ops-visual)) .b26-hero-copy {
  width: min(100%, 1040px);
  margin-inline: auto;
  text-align: center;
}

#hero.b26-hero .b26-hero-main:not(:has(.b26-ops-visual)) .b26-hero-lead {
  max-width: 800px;
  margin-inline: auto;
}

.b26-hero-main:not(:has(.b26-ops-visual)) .b26-hero-actions,
.b26-hero-main:not(:has(.b26-ops-visual)) .b26-hero-trust {
  justify-content: center;
}

.b26-hero-copy > * {
  animation: b26-copy-in 600ms var(--bt-ease) both;
}

.b26-hero-copy > h1 { animation-delay: 60ms; }
.b26-hero-copy > .b26-hero-lead { animation-delay: 110ms; }
.b26-hero-copy > .b26-hero-actions { animation-delay: 160ms; }
.b26-hero-copy > .b26-hero-trust { animation-delay: 210ms; }

@keyframes b26-copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.b26-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.b26-hero-actions .b26-btn {
  min-height: 52px;
  justify-content: center;
}

.b26-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
}

.b26-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(247, 249, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 600;
}

.b26-hero-trust i {
  color: var(--bt-cyan);
  font-size: 16px;
}

/* Visualización de operación tecnológica */
.b26-ops-visual {
  position: relative;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(4, 8, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 60px rgba(2, 8, 23, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: b26-visual-in 700ms var(--bt-ease) 100ms both;
}

@keyframes b26-visual-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.b26-ops-heading {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(247, 249, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 650;
}

.b26-ops-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.b26-ops-heading i {
  color: var(--bt-cyan);
  font-size: 16px;
}

.b26-ops-live {
  color: #86efac;
  white-space: nowrap;
}

.b26-ops-live > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
  animation: b26-pulse-dot 2s ease-in-out infinite;
}

.b26-ops-map {
  position: relative;
  height: 388px;
  background:
    radial-gradient(circle at 50% 44%, rgba(37, 99, 255, 0.17), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.b26-ops-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.b26-ops-line,
.b26-ops-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.b26-ops-line {
  stroke: rgba(96, 165, 250, 0.2);
  stroke-width: 2;
}

.b26-ops-flow {
  stroke: var(--bt-cyan);
  stroke-width: 2;
  stroke-dasharray: 3 15;
  opacity: 0.78;
  animation: b26-data-flow 2.6s linear infinite;
}

@keyframes b26-data-flow {
  to { stroke-dashoffset: -36; }
}

.b26-ops-node {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 116px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  color: #fff;
  background: rgba(12, 20, 40, 0.88);
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow: 0 10px 28px rgba(2, 8, 23, 0.26);
  opacity: 0;
  animation: b26-node-in 500ms var(--bt-ease) var(--node-delay) forwards;
  transition: transform 180ms var(--bt-ease), border-color 180ms ease, background-color 180ms ease;
}

@keyframes b26-node-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.b26-ops-node > span:last-child {
  min-width: 0;
  text-align: left;
}

.b26-ops-node strong,
.b26-ops-node small {
  display: block;
  white-space: nowrap;
}

.b26-ops-node strong {
  font-size: 0.68rem;
  line-height: 1.2;
}

.b26-ops-node small {
  margin-top: 2px;
  color: rgba(247, 249, 255, 0.48);
  font-size: 0.58rem;
}

.b26-ops-node-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan));
  box-shadow: 0 7px 16px rgba(37, 99, 255, 0.28);
}

.b26-ops-node-cloud { left: 50%; top: 9%; }
.b26-ops-node-security { left: 50%; top: 29%; }
.b26-ops-node-infra { left: 50%; top: 50%; }
.b26-ops-node-apps { left: 18.75%; top: 74%; }
.b26-ops-node-data { left: 50%; top: 74%; }
.b26-ops-node-backup { left: 81.25%; top: 74%; }
.b26-ops-node-monitor { left: 50%; top: 94%; }

@media (hover: hover) and (pointer: fine) {
  .b26-ops-node:hover {
    transform: translate(-50%, -50%) translateY(-3px);
    border-color: rgba(34, 211, 238, 0.48);
    background: rgba(18, 31, 58, 0.96);
  }
}

/* Capacidades, en segundo nivel visual */
.b26-hero-capabilities {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.b26-capability {
  min-width: 0;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: transform 180ms var(--bt-ease), border-color 180ms ease, background-color 180ms ease;
}

.b26-capability-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--bt-cyan);
  font-size: 17px;
  background: rgba(37, 99, 255, 0.16);
}

.b26-capability-icon i {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  text-align: center;
}

.b26-capability strong,
.b26-capability > div > span {
  display: block;
}

.b26-capability strong {
  color: #fff;
  font-size: 0.76rem;
  line-height: 1.25;
}

.b26-capability > div > span {
  margin-top: 3px;
  color: rgba(247, 249, 255, 0.5);
  font-size: 0.65rem;
  line-height: 1.35;
}

@media (hover: hover) and (pointer: fine) {
  .b26-capability:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(34, 211, 238, 0.28);
  }
}

@media (min-width: 1200px) {
  #hero.b26-hero .container {
    width: min(1380px, calc(100% - 48px));
    max-width: 1380px;
  }

  .b26-hero-panel {
    min-height: 650px;
    padding: 48px 54px 32px;
  }

  .b26-hero-kicker {
    padding: 8px 18px;
    font-size: 14px;
  }

  #hero.b26-hero h1 {
    font-size: clamp(3.4rem, 4.1vw, 4.2rem);
  }
}

@media (max-width: 1199px) {
  #hero.b26-hero {
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 30px;
  }

  .b26-hero-panel {
    padding: 42px 36px 28px;
  }

  .b26-hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 30px;
  }

  #hero.b26-hero h1 {
    font-size: clamp(2.8rem, 4.7vw, 3.65rem);
  }

  .b26-ops-map {
    height: 360px;
  }
}

@media (max-width: 991px) {
  .b26-hero-panel {
    border-radius: 28px;
  }

  .b26-hero-main {
    grid-template-columns: 1fr;
  }

  .b26-hero-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  #hero.b26-hero .b26-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .b26-hero-actions,
  .b26-hero-trust {
    justify-content: center;
  }

  .b26-ops-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .b26-hero-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #hero.b26-hero {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  #hero.b26-hero > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .b26-hero-panel {
    padding: 34px 18px 22px;
    border-radius: 24px;
  }

  #hero.b26-hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 3rem);
    line-height: 1.04;
    margin: 17px 0 15px;
  }

  #hero.b26-hero .b26-hero-lead {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .b26-hero-kicker {
    font-size: 11px;
    padding: 7px 11px;
  }

  .b26-hero-actions .b26-btn {
    width: 100%;
  }

  .b26-hero-trust {
    gap: 8px 14px;
  }

  .b26-hero-trust li {
    font-size: 0.7rem;
  }

  .b26-ops-heading {
    padding: 0 12px;
    font-size: 0.68rem;
  }

  .b26-ops-map {
    height: 300px;
  }

  .b26-ops-node {
    min-width: 88px;
    padding: 6px 7px;
    gap: 6px;
  }

  .b26-ops-node-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    font-size: 12px;
  }

  .b26-ops-node strong {
    font-size: 0.58rem;
  }

  .b26-ops-node small {
    display: none;
  }

  .b26-hero-capabilities {
    gap: 8px;
    margin-top: 20px;
  }

  .b26-capability {
    padding: 11px;
    align-items: flex-start;
  }

  .b26-capability-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 15px;
  }

  .b26-capability strong {
    font-size: 0.7rem;
  }

  .b26-capability > div > span {
    font-size: 0.6rem;
  }

  .b26-scroll-cue {
    display: none;
  }
}

@media (max-width: 374px) {
  .b26-hero-capabilities {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b26-hero-copy > *,
  .b26-ops-visual,
  .b26-ops-node {
    opacity: 1;
    animation: none !important;
    transform: none;
  }

  .b26-ops-node {
    transform: translate(-50%, -50%);
  }

  .b26-ops-flow,
  .b26-ops-live > span {
    animation: none !important;
  }
}

/* =====================================================================
   Preloader — versión oscura/premium del spinner original
===================================================================== */
#preloader {
  background: radial-gradient(120% 120% at 50% 50%, var(--bt-ink-900) 0%, var(--bt-ink-950) 100%);
  transition: opacity 320ms ease;
}
#preloader.b26-preloader-out { opacity: 0; }
#preloader img {
  height: 34px;
  width: 34px;
  top: calc(50% - 17px);
  left: calc(50% - 17px);
  animation: b26-pulse-dot 1.6s ease-in-out infinite;
}
#preloader:before {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--bt-cyan);
  border-right-color: var(--bt-blue);
  width: 58px;
  height: 58px;
  top: calc(50% - 29px);
  left: calc(50% - 29px);
  animation: animate-preloader 0.9s linear infinite;
}

.b26-scroll-cue {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  opacity: 0.7;
  transition: opacity 220ms ease;
}
.b26-scroll-cue:hover { opacity: 1; }
.b26-scroll-mouse {
  position: relative;
  width: 26px;
  height: 40px;
  border-radius: 14px;
  border: 2px solid rgba(247, 249, 255, 0.5);
  animation: b26-scroll-bounce 2s ease-in-out infinite;
}
.b26-scroll-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--bt-cyan);
  box-shadow: 0 0 8px var(--bt-cyan);
  animation: b26-scroll-wheel 1.8s ease-in-out infinite;
}
@keyframes b26-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@keyframes b26-scroll-wheel {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* =====================================================================
   Sección kicker/heading genérico reusado
===================================================================== */
.b26-section { position: relative; padding: 110px 0; }
.b26-section-dark {
  background: linear-gradient(180deg, var(--bt-ink-950), var(--bt-ink-900));
  color: var(--bt-white);
}
.b26-section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.b26-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bt-blue);
  margin-bottom: 14px;
}
.b26-section-dark .b26-kicker { color: var(--bt-cyan); }
.b26-section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 14px; }
.b26-section-head p { color: var(--bt-muted); }
.b26-section-dark .b26-section-head p { color: rgba(247, 249, 255, 0.62); }

/* =====================================================================
   Tech marquee
===================================================================== */
.b26-tech-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.b26-tech-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 20px;
  animation: b26-marquee 34s linear infinite;
}
.b26-tech-marquee:hover .b26-tech-track { animation-play-state: paused; }
@keyframes b26-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.b26-tech-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  width: 128px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.06);
  opacity: 0.85;
  transition: opacity 260ms ease, transform 260ms ease, box-shadow 260ms ease;
}
.b26-tech-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(5, 7, 13, 0.25);
}
.b26-tech-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =====================================================================
   Servicios — bloques interactivos
===================================================================== */
.b26-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .b26-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .b26-services-grid { grid-template-columns: 1fr; } }

.b26-service-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--bt-border, rgba(15, 23, 42, 0.1));
  box-shadow: 0 18px 50px rgba(10, 26, 60, 0.06);
  overflow: hidden;
  transform: perspective(800px) rotate(0deg);
}
.b26-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.b26-service-card:hover::before { opacity: 1; }
.b26-service-card:hover {
  transform: perspective(800px) rotate(-1deg) translateY(-6px);
  box-shadow: 0 30px 70px rgba(10, 26, 60, 0.14);
  border-color: rgba(37, 99, 255, 0.25);
}
.b26-service-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan));
  box-shadow: 0 14px 26px rgba(37, 99, 255, 0.3);
  margin-bottom: 18px;
  transition: transform 320ms var(--bt-ease);
}
.b26-service-card:hover .b26-service-icon { transform: rotate(-8deg) scale(1.06); }
.b26-service-card h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.b26-service-card p { color: var(--bt-muted, #4b5563); font-size: 0.95rem; margin-bottom: 16px; }
.b26-service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.b26-service-tags span {
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(37, 99, 255, 0.08);
  color: var(--bt-blue);
}
.b26-service-benefits { list-style: none; padding: 0; margin: 0 0 20px; }
.b26-service-benefits li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.88rem; color: var(--bt-muted, #4b5563);
  margin-bottom: 6px;
}
.b26-service-benefits li i { color: var(--bt-cyan); margin-top: 3px; }
.b26-service-card .b26-service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.9rem; color: var(--bt-blue);
  transition: gap 200ms ease;
}
.b26-service-card .b26-service-link:hover { gap: 10px; color: var(--bt-blue); }

/* =====================================================================
   Casos de uso
===================================================================== */
.b26-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 991px) { .b26-cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .b26-cases-grid { grid-template-columns: 1fr; } }

.b26-case-card {
  padding: 28px;
  border-radius: 20px;
  background: var(--bt-ink-850);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 300ms var(--bt-ease), border-color 300ms ease, box-shadow 300ms ease;
}
.b26-case-card:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 24px 50px rgba(5, 7, 13, 0.4);
}
.b26-case-problem {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: #fb7185;
  margin-bottom: 14px;
}
.b26-case-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.b26-case-card p { color: rgba(247, 249, 255, 0.6); font-size: 0.92rem; margin-bottom: 16px; }
.b26-case-solution {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: var(--bt-cyan);
  padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =====================================================================
   Stats
===================================================================== */
.b26-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; text-align: center; }
@media (max-width: 991px) { .b26-stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .b26-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.b26-stat {
  padding: 30px 16px;
  border-radius: 20px;
  background: var(--bt-glass-bg);
  border: 1px solid var(--bt-glass-border);
}
.b26-stat .b26-stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  background: linear-gradient(120deg, #fff, var(--bt-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.b26-stat .b26-stat-label { font-size: 0.85rem; color: rgba(247, 249, 255, 0.6); margin-top: 6px; }

/* =====================================================================
   Timeline / roadmap
===================================================================== */
.b26-timeline-section .b26-section-head h2,
.b26-timeline-section .b26-timeline-step h3 {
  color: #f7f9ff;
}
.b26-timeline-section .b26-section-head p,
.b26-timeline-section .b26-timeline-step p {
  color: #aebbd0;
}
.b26-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.b26-timeline::before {
  content: "";
  position: absolute;
  left: 22px; top: 0; bottom: 0; width: 2px;
  background: rgba(174, 187, 208, 0.2);
}
.b26-timeline-fill {
  position: absolute;
  left: 22px; top: 0; width: 2px; height: 0%;
  background: linear-gradient(180deg, var(--bt-blue), var(--bt-cyan));
  transition: height 200ms linear;
}
.b26-timeline-step {
  position: relative;
  padding: 0 0 46px 62px;
}
.b26-timeline-step:last-child { padding-bottom: 0; }
.b26-timeline-dot {
  position: absolute; left: 12px; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 2px solid rgba(15, 23, 42, 0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--bt-muted, #4b5563);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  z-index: 2;
}
.b26-timeline-step.b26-in .b26-timeline-dot {
  background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan));
  border-color: transparent; color: #fff;
  box-shadow: 0 0 0 6px rgba(37, 99, 255, 0.12);
}
.b26-timeline-step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.b26-timeline-step p { color: var(--bt-muted, #4b5563); font-size: 0.92rem; margin: 0; }

:root[data-theme="light"] .b26-timeline-section .b26-section-head h2,
:root[data-theme="light"] .b26-timeline-section .b26-timeline-step h3 {
  color: #0f172a;
}
:root[data-theme="light"] .b26-timeline-section .b26-section-head p,
:root[data-theme="light"] .b26-timeline-section .b26-timeline-step p {
  color: #526077;
}
:root[data-theme="light"] .b26-timeline::before {
  background: rgba(15, 23, 42, 0.1);
}

/* =====================================================================
   Testimonios premium
===================================================================== */
.b26-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 991px) { .b26-testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .b26-testimonials-grid { grid-template-columns: 1fr; } }

.b26-testimonial-card {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 44px rgba(10, 26, 60, 0.06);
  transition: transform 300ms var(--bt-ease), box-shadow 300ms ease;
}
.b26-testimonial-card:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 30px 60px rgba(10, 26, 60, 0.12);
}
.b26-testimonial-quote { color: var(--bt-blue); font-size: 30px; line-height: 1; margin-bottom: 10px; }
.b26-testimonial-card p.b26-testimonial-text { color: var(--bt-text, #0f172a); font-size: 0.95rem; margin-bottom: 22px; }
.b26-testimonial-person { display: flex; align-items: center; gap: 12px; }
.b26-testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan));
  color: #fff; font-weight: 700; font-size: 0.95rem;
  flex-shrink: 0;
}
.b26-testimonial-person strong { display: block; font-size: 0.92rem; }
.b26-testimonial-person span { display: block; font-size: 0.8rem; color: var(--bt-muted, #4b5563); }

/* =====================================================================
   CTA final
===================================================================== */
.b26-cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 90px 40px;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, #142352 0%, var(--bt-ink-900) 55%, var(--bt-ink-950) 100%);
  isolation: isolate;
}
.b26-cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  left: 50%; top: -300px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 255, 0.4), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  animation: b26-mesh-drift 20s ease-in-out infinite alternate;
}
.b26-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.02em; margin-bottom: 18px; }
.b26-cta p { color: rgba(247, 249, 255, 0.66); max-width: 560px; margin: 0 auto 34px; }

/* =====================================================================
   Footer premium
===================================================================== */
#footer.b26-footer {
  background: var(--bt-ink-950);
  color: rgba(247, 249, 255, 0.7);
  padding: 80px 0 0;
  font-size: inherit;
}
.b26-footer a { color: rgba(247, 249, 255, 0.7); }
.b26-footer a:hover { color: #fff; }
.b26-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
@media (max-width: 900px) { .b26-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .b26-footer-grid { grid-template-columns: 1fr; } }
.b26-footer-brand img { height: 34px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.b26-footer-brand p { font-size: 0.9rem; max-width: 280px; }
.b26-footer h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.b26-footer ul { list-style: none; padding: 0; margin: 0; }
.b26-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.b26-footer-status { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #34d399; margin-top: 6px; }
.b26-footer-status .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; animation: b26-pulse-dot 2s ease-in-out infinite; }
.b26-footer-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.b26-footer-newsletter input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); color: #fff; font-size: 0.85rem;
}
.b26-footer-newsletter input::placeholder { color: rgba(247, 249, 255, 0.4); }
.b26-footer-newsletter button {
  padding: 11px 16px; border-radius: 10px; border: 0;
  background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
  color: #fff; font-weight: 700; font-size: 0.85rem;
  transition: transform 220ms ease;
}
.b26-footer-newsletter button:hover { transform: translateY(-2px); }
.b26-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.b26-footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 220ms ease, background 220ms ease;
}
.b26-footer-social a:hover { transform: translateY(-3px); background: rgba(37, 99, 255, 0.25); }
.b26-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; font-size: 0.82rem; color: rgba(247, 249, 255, 0.45); flex-wrap: wrap; gap: 10px;
}

/* =====================================================================
   Páginas internas (/servicios/*, /soluciones/*): mismo lenguaje visual
   que la home. Estas reglas comparten especificidad de clase con las
   legacy .service-hero/.service-card/.cta y ganan por orden de carga
   (este archivo se incluye al final en layout.php).
===================================================================== */
.service-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 90px;
  background: radial-gradient(120% 160% at 50% -10%, #101c40 0%, var(--bt-ink-900) 45%, var(--bt-ink-950) 100%);
}
.service-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(60% 80% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000 30%, transparent 78%);
}
.service-hero:after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  left: 50%; top: -280px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 255, 0.4), transparent 70%);
  filter: blur(20px);
}
.service-hero .container { position: relative; z-index: 2; }
.service-hero .service-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 249, 255, 0.85);
  backdrop-filter: blur(12px);
}
.service-hero h1 { color: #fff; letter-spacing: -0.02em; }
.service-hero p { color: rgba(247, 249, 255, 0.7); }

/* padding-bottom va en .container (no en la sección) para que el CTA
   que sigue como hermano quede pegado, sin franja blanca de por medio */
.inner-page { background: #fff; padding: 80px 0 0; }
.inner-page > .container { padding-bottom: 80px; }

.service-card { border-radius: 20px; transition: transform 300ms var(--bt-ease), box-shadow 300ms var(--bt-ease), border-color 300ms ease; }
.service-card:hover { transform: translateY(-5px) rotate(-0.4deg); border-color: rgba(37, 99, 255, 0.22); }
.service-icon {
  background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan));
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(37, 99, 255, 0.28);
}
.service-media { border-radius: 24px; }

/* CTA de páginas internas (extra-cta.php) */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(120% 160% at 50% 0%, #142352 0%, var(--bt-ink-900) 55%, var(--bt-ink-950) 100%);
  padding: 80px 0;
}
.cta:before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 255, 0.4), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
.cta h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.01em; }
.cta p { color: rgba(247, 249, 255, 0.68); }
.cta .cta-btn {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: normal;
  border: 0;
  background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
  box-shadow: 0 12px 30px rgba(37, 99, 255, 0.35);
  transition: transform 250ms var(--bt-ease), box-shadow 250ms var(--bt-ease);
}
.cta .cta-btn:hover {
  background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
  border: 0;
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(37, 99, 255, 0.45);
}

/* Contacto: la sección .contact-modern (rediseño previo) traía un
   degradado violeta/rosa/naranja que no combina con la paleta 2026. */
.contact-modern {
  background: radial-gradient(120% 140% at 15% 0%, #101c40 0%, var(--bt-ink-900) 55%, var(--bt-ink-950) 100%);
}
.contact-modern:before {
  background: radial-gradient(45% 55% at 15% 25%, rgba(37, 99, 255, 0.28) 0%, rgba(37, 99, 255, 0) 65%),
              radial-gradient(40% 50% at 90% 80%, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0) 65%);
}
.contact-modern .contact-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.contact-modern .contact-item i {
  background: rgba(255, 255, 255, 0.08);
  color: var(--bt-cyan);
}
.contact-modern .contact-submit {
  background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
  box-shadow: 0 12px 25px rgba(37, 99, 255, 0.35);
}
.contact-modern .contact-submit:hover {
  box-shadow: 0 16px 30px rgba(37, 99, 255, 0.45);
}

/* =====================================================================
   Magnetic buttons target helper
===================================================================== */
[data-b26-magnetic] { will-change: transform; }

/* =====================================================================
   Tema claro / oscuro
   El modo oscuro conserva la dirección visual original. El claro cambia
   superficies, contraste y glass sin alterar la identidad azul/cian.
===================================================================== */
:root {
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bt-ink-950: #f7f9fc;
  --bt-ink-900: #eef3fa;
  --bt-ink-850: #ffffff;
  --bt-ink-800: #e6edf7;
  --bt-ink-700: #d7e2f0;
  --bt-white: #0f172a;
  --bt-text: #13213a;
  --bt-muted: #526077;
  --bt-border: rgba(15, 23, 42, 0.11);
  --bt-glass-bg: rgba(255, 255, 255, 0.68);
  --bt-glass-bg-strong: rgba(255, 255, 255, 0.9);
  --bt-glass-border: rgba(15, 23, 42, 0.1);
  --bt-shadow-float: 0 24px 60px rgba(30, 64, 120, 0.13);
}

body {
  background: var(--bt-ink-950);
  transition: background-color 220ms var(--bt-ease), color 220ms var(--bt-ease);
}

.b26-theme-item {
  display: flex;
  align-items: center;
  margin-left: 6px;
}

.b26-theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(247, 249, 255, 0.9);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms var(--bt-ease), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.b26-theme-toggle:active {
  transform: scale(0.96);
}

.b26-theme-toggle:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.45);
  outline-offset: 3px;
}

.b26-theme-icon {
  grid-area: 1 / 1;
  font-size: 17px;
  transition: opacity 160ms ease, transform 180ms var(--bt-ease);
}

.b26-theme-icon-moon {
  opacity: 0;
  transform: rotate(-20deg) scale(0.92);
}

.b26-theme-label {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .b26-theme-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(34, 211, 238, 0.35);
  }
}

:root[data-theme="light"] .b26-theme-icon-sun {
  opacity: 0;
  transform: rotate(20deg) scale(0.92);
}

:root[data-theme="light"] .b26-theme-icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Navegación */
:root[data-theme="light"] #header.b26-floating {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 48px rgba(30, 64, 120, 0.12);
}

:root[data-theme="light"] #header.b26-floating.header-scrolled,
:root[data-theme="light"] #header.b26-floating.header-inner-pages {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 52px rgba(30, 64, 120, 0.15);
}

:root[data-theme="light"] #header.b26-floating .logo img,
:root[data-theme="light"] .b26-footer-brand img {
  filter: none;
}

:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a,
:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a span {
  color: #334155;
}

:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a:hover,
:root[data-theme="light"] #header.b26-floating .navbar .active {
  color: #0f172a;
}

:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a.getstarted,
:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a.getstarted:hover,
:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a.getstarted:focus,
:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a.getstarted:focus-visible,
:root[data-theme="light"] #header.b26-floating .navbar > ul > li > a.getstarted.active {
  color: #fff;
}

:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 26px 60px rgba(30, 64, 120, 0.16);
}

:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-link {
  background: #f7f9fd;
  border-color: rgba(15, 23, 42, 0.07);
}

:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-link:hover,
:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-link:focus-visible {
  background: rgba(37, 99, 255, 0.08);
  border-color: rgba(37, 99, 255, 0.2);
}

:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-title {
  color: #0f172a;
}

:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-text {
  color: #64748b;
}

:root[data-theme="light"] #header.b26-floating .bi-chevron-down,
:root[data-theme="light"] #header.b26-floating .mobile-nav-toggle {
  color: #334155;
}

:root[data-theme="light"] .b26-theme-toggle {
  color: #1e3a8a;
  background: rgba(37, 99, 255, 0.07);
  border-color: rgba(37, 99, 255, 0.16);
}

/* Hero y superficies oscuras */
:root[data-theme="light"] #hero.b26-hero {
  background: #f7f9fc;
  color: #0f172a;
}

:root[data-theme="light"] .b26-hero-panel {
  background: radial-gradient(120% 140% at 50% 0%, #ffffff 0%, #edf4ff 58%, #e8f0fa 100%);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06), 0 30px 80px rgba(30, 64, 120, 0.1);
}

:root[data-theme="light"] .b26-hero-grid,
:root[data-theme="light"] .service-hero:before {
  background-image:
    linear-gradient(rgba(37, 99, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 255, 0.075) 1px, transparent 1px);
}

:root[data-theme="light"] .b26-hero-glow-a {
  background: radial-gradient(circle, rgba(37, 99, 255, 0.22), transparent 70%);
}

:root[data-theme="light"] .b26-hero-glow-b {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 70%);
}

:root[data-theme="light"] .b26-noise {
  opacity: 0.018;
  mix-blend-mode: multiply;
}

:root[data-theme="light"] #hero.b26-hero h1,
:root[data-theme="light"] .b26-capability strong {
  color: #0f172a;
}

:root[data-theme="light"] #hero.b26-hero .b26-hero-lead,
:root[data-theme="light"] .b26-hero-trust li,
:root[data-theme="light"] .b26-capability > div > span {
  color: #526077;
}

:root[data-theme="light"] .b26-hero-kicker,
:root[data-theme="light"] .b26-capability {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(15, 23, 42, 0.1);
}

:root[data-theme="light"] .b26-hero-kicker {
  color: #334155;
}

:root[data-theme="light"] .b26-capability:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 255, 0.22);
}

:root[data-theme="light"] .b26-ops-visual {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 28px 60px rgba(30, 64, 120, 0.12);
}

:root[data-theme="light"] .b26-ops-heading {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

:root[data-theme="light"] .b26-ops-live {
  color: #137a50;
}

:root[data-theme="light"] .b26-ops-map {
  background:
    radial-gradient(circle at 50% 44%, rgba(37, 99, 255, 0.12), transparent 42%),
    linear-gradient(rgba(37, 99, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

:root[data-theme="light"] .b26-ops-line {
  stroke: rgba(37, 99, 255, 0.2);
}

:root[data-theme="light"] .b26-ops-flow {
  stroke: #0891b2;
}

:root[data-theme="light"] .b26-ops-node {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 255, 0.15);
  box-shadow: 0 10px 26px rgba(30, 64, 120, 0.1);
}

:root[data-theme="light"] .b26-ops-node small {
  color: #64748b;
}

@media (hover: hover) and (pointer: fine) {
  :root[data-theme="light"] .b26-ops-node:hover {
    background: #fff;
    border-color: rgba(37, 99, 255, 0.3);
  }
}

:root[data-theme="light"] .b26-btn-ghost {
  color: #172033;
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(15, 23, 42, 0.12);
}

:root[data-theme="light"] .b26-btn-ghost:hover {
  color: #0f172a;
  background: #fff;
  box-shadow: 0 14px 30px rgba(30, 64, 120, 0.12);
}

:root[data-theme="light"] .b26-scroll-mouse {
  border-color: rgba(15, 23, 42, 0.4);
}

:root[data-theme="light"] .b26-section-dark {
  background: linear-gradient(180deg, #eef4fb, #f7f9fc);
  color: #0f172a;
}

:root[data-theme="light"] .b26-section-dark .b26-kicker {
  color: #1764d9;
}

:root[data-theme="light"] .b26-section-dark .b26-section-head p {
  color: #526077;
}

:root[data-theme="light"] .b26-case-card,
:root[data-theme="light"] .b26-stat {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 14px 36px rgba(30, 64, 120, 0.07);
}

:root[data-theme="light"] .b26-case-card:hover {
  border-color: rgba(37, 99, 255, 0.2);
  box-shadow: 0 22px 48px rgba(30, 64, 120, 0.12);
}

:root[data-theme="light"] .b26-case-card h3 {
  color: #0f172a;
}

:root[data-theme="light"] .b26-case-card p,
:root[data-theme="light"] .b26-stat .b26-stat-label {
  color: #526077;
}

:root[data-theme="light"] .b26-case-solution {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #087b98;
}

:root[data-theme="light"] .b26-stat .b26-stat-num {
  background: linear-gradient(120deg, #1e3a8a, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Componentes que eran claros: se alinean con la superficie del tema */
:root[data-theme="light"] .home-top,
:root[data-theme="light"] .b26-section,
:root[data-theme="light"] .about-modern,
:root[data-theme="light"] .clients-modern,
:root[data-theme="light"] .inner-page {
  background-color: #f7f9fc;
}

:root[data-theme="light"] .home-top {
  background: linear-gradient(180deg, #f4f8fe 0%, #f7f9fc 72%);
}

:root[data-theme="light"] .b26-service-card,
:root[data-theme="light"] .b26-testimonial-card,
:root[data-theme="light"] .top-solution-card,
:root[data-theme="light"] .about-modern .about-content-card,
:root[data-theme="light"] .about-modern .chip,
:root[data-theme="light"] .why-modern .why-card,
:root[data-theme="light"] .service-card {
  background: #fff;
}

/* CTA, contacto y páginas internas */
:root[data-theme="light"] .b26-cta,
:root[data-theme="light"] .cta,
:root[data-theme="light"] .service-hero {
  background: radial-gradient(120% 150% at 50% 0%, #ffffff 0%, #edf4ff 58%, #e5eef9 100%);
}

:root[data-theme="light"] .b26-cta h2,
:root[data-theme="light"] .cta h3,
:root[data-theme="light"] .service-hero h1 {
  color: #0f172a;
}

:root[data-theme="light"] .b26-cta p,
:root[data-theme="light"] .cta p,
:root[data-theme="light"] .service-hero p {
  color: #526077;
}

:root[data-theme="light"] .service-hero .service-badge {
  color: #334155;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.1);
}

:root[data-theme="light"] .contact-modern {
  background: radial-gradient(120% 140% at 15% 0%, #ffffff 0%, #edf4ff 58%, #e4eef9 100%);
}

:root[data-theme="light"] .contact-modern:before {
  background: radial-gradient(45% 55% at 15% 25%, rgba(37, 99, 255, 0.14) 0%, rgba(37, 99, 255, 0) 65%),
              radial-gradient(40% 50% at 90% 80%, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0) 65%);
}

:root[data-theme="light"] .contact-modern .contact-copy,
:root[data-theme="light"] .contact-modern h2,
:root[data-theme="light"] .contact-modern .contact-item,
:root[data-theme="light"] .contact-modern .contact-item a,
:root[data-theme="light"] .contact-modern .contact-item span {
  color: #0f172a;
}

:root[data-theme="light"] .contact-modern p {
  color: #526077;
}

:root[data-theme="light"] .contact-modern .contact-badge {
  color: #1e3a8a;
  background: rgba(37, 99, 255, 0.08);
  border-color: rgba(37, 99, 255, 0.16);
}

:root[data-theme="light"] .contact-modern .contact-item i {
  background: rgba(37, 99, 255, 0.08);
  color: #1764d9;
}

:root[data-theme="light"] #preloader {
  background: radial-gradient(120% 120% at 50% 50%, #fff 0%, #edf4ff 100%);
}

/* Footer */
:root[data-theme="light"] #footer.b26-footer {
  background: #eef3fa;
  color: #526077;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

:root[data-theme="light"] .b26-footer a {
  color: #526077;
}

:root[data-theme="light"] .b26-footer a:hover,
:root[data-theme="light"] .b26-footer h4 {
  color: #0f172a;
}

:root[data-theme="light"] .b26-footer-grid {
  border-bottom-color: rgba(15, 23, 42, 0.09);
}

:root[data-theme="light"] .b26-footer-social a {
  background: rgba(37, 99, 255, 0.07);
  border-color: rgba(37, 99, 255, 0.13);
}

:root[data-theme="light"] .b26-footer-bottom {
  color: #69768a;
}

@media (max-width: 991px) {
  .b26-theme-item {
    width: 100%;
    margin: 8px 0 0;
  }

  .b26-theme-toggle {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
  }

  .b26-theme-icon {
    grid-area: auto;
  }

  .b26-theme-icon-moon {
    display: none;
  }

  :root[data-theme="light"] .b26-theme-icon-sun {
    display: none;
  }

  :root[data-theme="light"] .b26-theme-icon-moon {
    display: inline-block;
  }

  .b26-theme-label {
    display: inline;
    font-size: 14px;
    font-weight: 600;
  }

:root[data-theme="light"] body.mobile-nav-active #header.b26-floating .navbar.navbar-mobile {
    background: rgba(255, 255, 255, 0.98);
  }
}

.b26-mobile-menu-brand {
  display: none;
}

/* =====================================================================
   Navegación móvil — panel cómodo, jerárquico y accesible
===================================================================== */
@media (max-width: 991px) {
  body.mobile-nav-active #header.b26-floating {
    inset: 0 !important;
    width: auto;
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: 0;
    transform: none !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile {
    position: fixed;
    inset: 0;
    z-index: 3000;
    padding: 8px;
    overflow: hidden;
    background: rgba(2, 6, 15, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul {
    position: absolute;
    inset: 8px 8px 8px auto;
    width: min(420px, calc(100vw - 16px));
    height: auto;
    margin: 0;
    padding: 76px 14px 16px;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 26px;
    background: #090d18;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    animation: b26-mobile-panel-in 280ms cubic-bezier(0.32, 0.72, 0, 1) both;
  }

  @keyframes b26-mobile-panel-in {
    from { opacity: 0; transform: translateX(22px); }
    to { opacity: 1; transform: translateX(0); }
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li {
    width: 100%;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > .b26-mobile-menu-brand {
    position: absolute;
    top: 17px;
    left: 20px;
    right: 72px;
    width: auto;
    height: 42px;
    display: flex;
    align-items: center;
    pointer-events: none;
  }

  .b26-mobile-menu-brand img {
    width: auto;
    height: 38px;
    max-width: 154px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li > a {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #d7deeb;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li > a.active,
  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li > a[aria-current="page"] {
    color: #fff;
    background: rgba(37, 99, 255, 0.17);
    border-color: rgba(91, 139, 255, 0.18);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .dropdown > a[aria-expanded="true"] {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .dropdown > a .bi-chevron-down {
    margin-left: auto;
    color: currentColor;
    font-size: 13px;
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .dropdown > a[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .getstarted,
  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .getstarted:focus {
    min-height: 54px;
    margin: 8px 0 0;
    padding: 0 18px;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(120deg, var(--bt-blue), var(--bt-cyan));
    box-shadow: 0 12px 28px rgba(37, 99, 255, 0.26);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .b26-theme-item {
    margin: auto 0 0;
    padding-top: 12px;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .b26-theme-toggle {
    min-height: 52px;
    border-radius: 15px;
    color: #d7deeb;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.1);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mobile-nav-toggle {
    position: fixed;
    top: 21px;
    right: 21px;
    z-index: 3002;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 13px;
    color: #f7f9ff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 25px;
    line-height: 1;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-menu {
    position: static;
    width: 100%;
    height: auto !important;
    margin: 4px 0 8px;
    padding: 7px !important;
    display: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-menu.dropdown-active {
    display: block;
    animation: b26-mobile-submenu-in 220ms cubic-bezier(0.23, 1, 0.32, 1) both;
  }

  @keyframes b26-mobile-submenu-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-grid,
  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-solution-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 0;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-solution-layout {
    display: block;
    padding: 0;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-link {
    min-height: 54px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 12px;
    color: #eef3fc;
    background: transparent;
    box-shadow: none;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-link:active {
    transform: scale(0.985);
    background: rgba(37, 99, 255, 0.13);
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-icon {
    grid-column: 1;
    grid-row: 1;
    width: 36px;
    height: 36px;
    align-self: center;
    border-radius: 10px;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-title {
    grid-column: 2;
    grid-row: 1;
    color: inherit;
    font-size: 0.84rem;
    line-height: 1.3;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-text,
  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-feature-cta,
  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-partner-links {
    display: none;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-section-label {
    display: block;
    margin: 0;
    padding: 10px 10px 6px;
    color: #7f8ba0;
    font-size: 0.64rem;
  }

  body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-partner-panel {
    margin-top: 5px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: transparent;
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile {
    background: rgba(220, 229, 243, 0.72);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul {
    color: #172033;
    background: #fff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 28px 80px rgba(30, 64, 120, 0.2);
  }

  :root[data-theme="light"] .b26-mobile-menu-brand img {
    filter: none;
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li > a {
    color: #344157;
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li > a.active,
  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile > ul > li > a[aria-current="page"] {
    color: #102044;
    background: rgba(37, 99, 255, 0.09);
    border-color: rgba(37, 99, 255, 0.12);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .dropdown > a[aria-expanded="true"] {
    color: #102044;
    background: rgba(37, 99, 255, 0.055);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .b26-theme-toggle {
    color: #24345c;
    background: #f4f7fd;
    border-color: rgba(37, 99, 255, 0.14);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mobile-nav-toggle {
    color: #243047;
    background: #f4f7fd;
    border-color: rgba(15, 23, 42, 0.08);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-menu {
    background: #f5f8fd;
    border-color: rgba(15, 23, 42, 0.08);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-link {
    color: #172033;
    background: transparent;
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-partner-panel {
    border-top-color: rgba(15, 23, 42, 0.08);
  }

  :root[data-theme="light"] body.mobile-nav-active #header.b26-floating #navbar.navbar-mobile .mega-section-label {
    color: #64748b;
  }
}

/* =====================================================================
   Sitio corporativo — páginas, catálogos y contenido reutilizable
===================================================================== */
.bt-obsolete-home-block { display: none !important; }

.bt-page,
.bt-content-section,
.bt-home-team {
  --bt-page-bg: #070a12;
  --bt-page-panel: #0d1320;
  --bt-page-panel-soft: #0a101b;
  --bt-page-text: #f4f7ff;
  --bt-page-muted: #9aa6ba;
  --bt-page-line: rgba(255, 255, 255, 0.1);
  --bt-page-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  color: var(--bt-page-text);
}

:root[data-theme="light"] .bt-page,
:root[data-theme="light"] .bt-content-section,
:root[data-theme="light"] .bt-home-team {
  --bt-page-bg: #f7f9fc;
  --bt-page-panel: #ffffff;
  --bt-page-panel-soft: #eef4fc;
  --bt-page-text: #0f172a;
  --bt-page-muted: #59677c;
  --bt-page-line: rgba(15, 23, 42, 0.1);
  --bt-page-shadow: 0 24px 70px rgba(30, 64, 120, 0.1);
}

.bt-page { background: var(--bt-page-bg); overflow: clip; }
.bt-page h1, .bt-page h2, .bt-page h3,
.bt-content-section h2, .bt-content-section h3 { color: var(--bt-page-text); }
.bt-page p, .bt-content-section p { color: var(--bt-page-muted); }
.bt-content-section { padding: clamp(78px, 8vw, 126px) 0; background: var(--bt-page-bg); }
.bt-section-tint { background: var(--bt-page-panel-soft); }

.bt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--bt-cyan);
  font: 700 0.76rem/1.2 "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.bt-eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
:root[data-theme="light"] .bt-eyebrow { color: #1764d9; }

.bt-index-hero,
.bt-inner-hero {
  position: relative;
  padding: clamp(185px, 18vw, 260px) 0 clamp(90px, 10vw, 145px);
  background:
    radial-gradient(circle at 72% 25%, rgba(37, 99, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #080b14, #0a101c);
}
.bt-index-hero {
  padding-top: clamp(155px, 12vw, 200px);
}
.bt-inner-hero {
  padding-top: clamp(145px, 10vw, 175px);
}
.bt-index-hero::after,
.bt-inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
  background-image: linear-gradient(rgba(91, 139, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(91, 139, 255, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 5%, black 45%, transparent 100%);
}
.bt-index-hero .container, .bt-inner-hero .container { position: relative; z-index: 1; }
.bt-index-hero h1, .bt-inner-hero h1 {
  max-width: 1050px;
  margin: 0 0 26px;
  color: #f8faff;
  font: 600 clamp(3rem, 6vw, 6.7rem)/.97 "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
}
.bt-index-hero h1 span, .bt-contact-copy h1 span { color: transparent; background: linear-gradient(100deg, #5b8bff, #22d3ee); -webkit-background-clip: text; background-clip: text; }
.bt-index-hero p, .bt-inner-hero p { max-width: 720px; margin: 0; color: #a8b3c7; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.75; }

:root[data-theme="light"] .bt-index-hero,
:root[data-theme="light"] .bt-inner-hero {
  background: radial-gradient(circle at 72% 25%, rgba(37, 99, 255, .14), transparent 36%), linear-gradient(180deg, #fff, #edf4ff);
}
:root[data-theme="light"] .bt-index-hero h1,
:root[data-theme="light"] .bt-inner-hero h1 { color: #0f172a; }
:root[data-theme="light"] .bt-index-hero p,
:root[data-theme="light"] .bt-inner-hero p { color: #526077; }

.bt-inner-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 80px; }
.bt-inner-hero h1 { max-width: 900px; font-size: clamp(3rem, 5.4vw, 5.8rem); }
.bt-back-link { display: block; width: fit-content; margin-bottom: 36px; color: #9eabc0; font-size: .88rem; }
.bt-back-link:hover { color: #fff; }
:root[data-theme="light"] .bt-back-link { color: #526077; }
.bt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.bt-hero-symbol {
  display: grid;
  width: 250px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(91, 139, 255, .24);
  border-radius: 36% 64% 55% 45% / 45% 38% 62% 55%;
  color: #7de7fa;
  background: radial-gradient(circle at 40% 35%, rgba(34, 211, 238, .2), rgba(37, 99, 255, .07) 55%, transparent);
  box-shadow: inset 0 0 50px rgba(37, 99, 255, .1), 0 30px 80px rgba(0,0,0,.18);
}
.bt-hero-symbol i { font-size: 6rem; }
:root[data-theme="light"] .bt-hero-symbol { color: #1764d9; box-shadow: inset 0 0 50px rgba(37,99,255,.08), 0 30px 80px rgba(30,64,120,.1); }

.bt-section-heading { max-width: 760px; margin-bottom: 48px; }
.bt-section-heading h2, .bt-intro-grid h2, .bt-split h2, .bt-story-grid h2, .bt-fit-panel h2, .bt-home-team h2 {
  margin: 0 0 18px;
  font: 600 clamp(2rem, 3.7vw, 3.8rem)/1.08 "Space Grotesk", sans-serif;
  letter-spacing: -.04em;
}
.bt-section-heading > p { font-size: 1.1rem; line-height: 1.75; }
.bt-heading-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.bt-heading-row > div { max-width: 780px; }
.bt-section-number { color: rgba(91, 139, 255, .7); font: 600 1rem/1 "Space Grotesk", sans-serif; }
.bt-intro-grid { display: grid; grid-template-columns: minmax(160px, .42fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 130px); align-items: start; }
.bt-story-grid {
  display: grid;
  grid-template-columns: minmax(470px, .86fr) minmax(0, 1.14fr);
  gap: clamp(64px, 7vw, 110px);
  align-items: start;
}
.bt-story-grid > div { min-width: 0; }
.bt-story-grid h2 {
  max-width: 500px;
  font-size: clamp(2.2rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}
.bt-large-copy { margin: 0; font-size: clamp(1.35rem, 2.3vw, 2.15rem); line-height: 1.55; letter-spacing: -.025em; }
.bt-story-grid .bt-large-copy { color: var(--bt-page-text); }
.bt-prose p { font-size: 1.12rem; line-height: 1.9; }

.bt-card-grid, .bt-value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bt-info-card, .bt-value-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--bt-page-line);
  border-radius: 22px;
  background: var(--bt-page-panel);
  box-shadow: var(--bt-page-shadow);
}
.bt-card-index { display: block; margin-bottom: 52px; color: var(--bt-blue-soft); font: 600 .78rem/1 "Space Grotesk"; letter-spacing: .1em; }
.bt-info-card h3, .bt-value-grid h3 { margin-bottom: 12px; font-size: 1.08rem; }
.bt-info-card p, .bt-value-grid p { margin: 0; font-size: .92rem; line-height: 1.7; }
.bt-value-grid article i { display: block; margin-bottom: 30px; color: var(--bt-cyan); font-size: 2rem; }

.bt-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 140px); align-items: start; }
.bt-split > div > p { max-width: 520px; font-size: 1.05rem; line-height: 1.75; }
.bt-check-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bt-page-line); }
.bt-check-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--bt-page-line); color: var(--bt-page-text); font-size: 1.02rem; }
.bt-check-list i { color: var(--bt-cyan); }
.bt-benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.bt-benefit-list li { padding: 24px; border: 1px solid var(--bt-page-line); border-radius: 16px; background: var(--bt-page-panel); color: var(--bt-page-text); font-weight: 600; }

.bt-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--bt-page-line); }
.bt-process-grid article { position: relative; padding: 30px 28px 0 0; }
.bt-process-grid article:not(:last-child)::after { content: ""; position: absolute; top: -1px; right: 18px; width: 35%; height: 1px; background: linear-gradient(90deg, transparent, var(--bt-cyan)); }
.bt-process-grid article > span { display: block; margin-bottom: 46px; color: var(--bt-cyan); font: 600 .8rem/1 "Space Grotesk"; }
.bt-process-grid h3 { font-size: 1.08rem; }
.bt-process-grid p { margin: 0; font-size: .9rem; line-height: 1.7; }

.bt-risk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.bt-risk-grid article { display: flex; align-items: center; gap: 18px; padding: 25px; border: 1px solid var(--bt-page-line); border-radius: 16px; background: var(--bt-page-panel); color: var(--bt-page-text); }
.bt-risk-grid i { color: #ff9d76; font-size: 1.25rem; }
.bt-component-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--bt-page-line); border: 1px solid var(--bt-page-line); border-radius: 20px; overflow: hidden; }
.bt-component-list article { min-height: 180px; padding: 28px; background: var(--bt-page-panel); }
.bt-component-list span { display: block; margin-bottom: 65px; color: var(--bt-cyan); font: 600 .78rem/1 "Space Grotesk"; }
.bt-component-list h3 { margin: 0; font-size: 1rem; line-height: 1.45; }
.bt-fit-panel { max-width: 950px; padding: clamp(35px, 6vw, 72px); border: 1px solid var(--bt-page-line); border-radius: 28px; background: var(--bt-page-panel); box-shadow: var(--bt-page-shadow); }
.bt-fit-panel p { max-width: 760px; margin: 0; font-size: 1.2rem; line-height: 1.8; }

.bt-catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bt-catalog-card {
  display: grid;
  grid-template-columns: 64px 1fr 28px;
  gap: 24px;
  align-items: start;
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--bt-page-line);
  border-radius: 22px;
  background: var(--bt-page-panel);
  color: var(--bt-page-text);
  box-shadow: var(--bt-page-shadow);
  transition: transform 400ms var(--bt-ease), border-color 400ms var(--bt-ease), box-shadow 400ms var(--bt-ease);
}
.bt-catalog-card:hover { color: var(--bt-page-text); transform: translateY(-5px); border-color: rgba(91, 139, 255, .35); box-shadow: 0 28px 76px rgba(0,0,0,.3); }
.bt-catalog-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan)); box-shadow: 0 12px 30px rgba(37,99,255,.22); }
.bt-catalog-icon i { font-size: 1.65rem; }
.bt-catalog-copy { display: flex; flex-direction: column; }
.bt-catalog-copy small { margin-bottom: 16px; color: var(--bt-blue-soft); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 700; }
.bt-catalog-copy strong { margin-bottom: 12px; color: var(--bt-page-text); font: 600 1.35rem/1.25 "Space Grotesk"; }
.bt-catalog-copy > span { color: var(--bt-page-muted); line-height: 1.7; }
.bt-catalog-arrow { color: var(--bt-page-muted); font-size: 1.1rem; }

.bt-final-cta { padding: 0 0 clamp(80px, 9vw, 140px); background: var(--bt-page-bg, #070a12); }
.bt-final-cta-panel { position: relative; padding: clamp(48px, 8vw, 95px); overflow: hidden; border: 1px solid rgba(91,139,255,.24); border-radius: 30px; background: radial-gradient(circle at 85% 10%, rgba(34,211,238,.18), transparent 30%), linear-gradient(135deg, #101b39, #080d19); box-shadow: 0 30px 90px rgba(0,0,0,.25); }
.bt-final-cta-panel h2 { max-width: 800px; margin: 0 0 18px; color: #fff; font: 600 clamp(2.2rem, 4vw, 4.5rem)/1.05 "Space Grotesk"; letter-spacing: -.045em; }
.bt-final-cta-panel p { max-width: 650px; margin-bottom: 32px; color: #aab6ca; font-size: 1.05rem; line-height: 1.7; }
:root[data-theme="light"] .bt-final-cta { background: #f7f9fc; }

.bt-home-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(460px, .82fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.bt-home-team-grid > div:first-child { min-width: 0; }
.bt-home-team h2 { max-width: 760px; }
.bt-home-team p { max-width: 610px; font-size: 1.08rem; line-height: 1.85; }
.bt-text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--bt-cyan); font-weight: 700; }
a.bt-text-link {
  min-height: 44px;
  gap: 12px;
  font-size: clamp(1rem, .92vw, 1.08rem);
  line-height: 1.3;
  transition: color 180ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1);
}
a.bt-text-link i {
  font-size: 1.08em;
  transition: transform 180ms cubic-bezier(.23, 1, .32, 1);
}
a.bt-text-link:hover i,
a.bt-text-link:focus-visible i { transform: translateX(4px); }
a.bt-text-link:active { transform: scale(.98); }
.bt-text-link:hover { color: var(--bt-blue-soft); }
:root[data-theme="light"] .bt-text-link { color: #1764d9; }
.bt-team-diagram { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 105px 0 0; }
.bt-team-diagram > span:not(.bt-team-core) { display: flex; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--bt-page-line); border-radius: 16px; background: var(--bt-page-panel); color: var(--bt-page-text); font-weight: 600; box-shadow: var(--bt-page-shadow); }
.bt-team-diagram i { color: var(--bt-cyan); font-size: 1.4rem; }
.bt-team-core { position: absolute; top: 0; left: 50%; display: flex; width: 124px; height: 82px; flex-direction: column; justify-content: center; align-items: center; transform: translateX(-50%); border: 1px solid rgba(34,211,238,.35); border-radius: 20px; background: linear-gradient(135deg, rgba(37,99,255,.3), rgba(34,211,238,.12)); color: var(--bt-page-text); font: 700 1rem/1 "Space Grotesk"; }
.bt-team-core small { margin-top: 8px; color: var(--bt-page-muted); font: 500 .7rem/1 "Plus Jakarta Sans"; }
.bt-featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bt-featured-card { min-height: 330px; padding: 30px; border: 1px solid var(--bt-page-line); border-radius: 22px; background: var(--bt-page-panel); color: var(--bt-page-text); transition: transform 350ms var(--bt-ease), border-color 350ms var(--bt-ease); }
.bt-featured-card:hover { color: var(--bt-page-text); transform: translateY(-5px); border-color: rgba(91,139,255,.35); }
.bt-featured-card h3 { margin: 45px 0 14px; font-size: 1.3rem; }
.bt-featured-card p { min-height: 80px; line-height: 1.7; }
.bt-featured-card.is-featured,
.bt-catalog-card.is-featured { border-color: rgba(34,211,238,.34); background: radial-gradient(circle at 90% 10%, rgba(34,211,238,.12), transparent 38%), var(--bt-page-panel); }

.bt-contact-page { min-height: 100vh; padding: clamp(170px, 16vw, 230px) 0 110px; background: radial-gradient(circle at 10% 20%, rgba(37,99,255,.16), transparent 30%), var(--bt-page-bg); }
.bt-contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 115px); align-items: start; }
.bt-contact-copy h1 { margin: 0 0 28px; color: var(--bt-page-text); font: 600 clamp(2.8rem, 5vw, 5.5rem)/1 "Space Grotesk"; letter-spacing: -.055em; }
.bt-contact-copy > p { max-width: 530px; font-size: 1.08rem; line-height: 1.8; }
.bt-contact-details { display: grid; gap: 14px; margin-top: 45px; }
.bt-contact-details > a, .bt-contact-details > span { display: flex; align-items: center; gap: 14px; color: var(--bt-page-text); }
.bt-contact-details i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--bt-cyan); background: rgba(34,211,238,.08); }
.bt-contact-details span span { display: flex; flex-direction: column; }
.bt-contact-details small { margin-bottom: 3px; color: var(--bt-page-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.bt-form-card { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--bt-page-line); border-radius: 26px; background: var(--bt-page-panel); box-shadow: var(--bt-page-shadow); }
.bt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 18px; }
.bt-field { display: flex; flex-direction: column; gap: 8px; }
.bt-field-full { grid-column: 1 / -1; }
.bt-field label { color: var(--bt-page-text); font-size: .78rem; font-weight: 700; }
.bt-field input, .bt-field select, .bt-field textarea { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid var(--bt-page-line); border-radius: 11px; outline: none; background: var(--bt-page-bg); color: var(--bt-page-text); font: 500 .9rem "Plus Jakarta Sans"; transition: border-color 180ms ease, box-shadow 180ms ease; }
.bt-field textarea { resize: vertical; }
.bt-field input:focus, .bt-field select:focus, .bt-field textarea:focus { border-color: var(--bt-blue-soft); box-shadow: 0 0 0 3px rgba(91,139,255,.13); }
.bt-submit { border: 0; cursor: pointer; }
.bt-form-card .loading, .bt-form-card .error-message, .bt-form-card .sent-message { margin-bottom: 15px; }

@media (min-width: 992px) {
  #header.b26-floating .navbar .mega-dropdown .mega-menu {
    left: 50%;
    right: auto;
    width: min(1180px, calc(100vw - 80px));
    overflow: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 180ms var(--bt-ease), transform 180ms var(--bt-ease), visibility 180ms;
  }
  #header.b26-floating .navbar .mega-dropdown:hover .mega-menu,
  #header.b26-floating .navbar .mega-dropdown:focus-within .mega-menu,
  #header.b26-floating .navbar .mega-dropdown.mega-open .mega-menu,
  #header.b26-floating .navbar .mega-dropdown.mega-hover-open .mega-menu {
    transform: translate(-50%, 0);
  }
  #header.b26-floating .navbar .mega-solutions-dropdown .mega-menu { width: min(1180px, calc(100vw - 80px)); }
  #header.b26-floating .navbar .mega-dropdown .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #header.b26-floating .navbar .mega-link-all { background: rgba(37,99,255,.08); border-color: rgba(91,139,255,.18); }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  /* El estado de JS mantiene una única superficie visible al cruzar entre triggers. */
  #header.b26-floating .navbar .mega-dropdown:hover .mega-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
  }

  #header.b26-floating .navbar .mega-dropdown.mega-hover-open .mega-menu,
  #header.b26-floating .navbar .mega-dropdown:focus-within .mega-menu,
  #header.b26-floating .navbar .mega-dropdown.mega-open .mega-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 991px) {
  .bt-inner-hero-grid, .bt-home-team-grid, .bt-contact-grid { grid-template-columns: 1fr; }
  .bt-hero-symbol { display: none; }
  .bt-card-grid, .bt-value-grid { grid-template-columns: 1fr 1fr; }
  .bt-process-grid, .bt-component-list { grid-template-columns: 1fr 1fr; }
  .bt-process-grid article { padding-bottom: 30px; }
  .bt-component-list span { margin-bottom: 35px; }
  .bt-home-team-grid { gap: 50px; }
  .bt-featured-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1199px) {
  .bt-story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .bt-story-grid h2 {
    max-width: 760px;
  }
}

/* Mega menú de soluciones para partners */
.mega-solution-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr); gap: 14px; }
.mega-solution-main, .mega-partner-panel { min-width: 0; }
.mega-section-label { display: block; margin: 3px 4px 10px; color: rgba(247,249,255,.48); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mega-solution-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mega-partner-panel { padding: 12px; border: 1px solid rgba(34,211,238,.17); border-radius: 16px; background: linear-gradient(145deg, rgba(37,99,255,.12), rgba(34,211,238,.04)); }
#header.b26-floating .navbar .mega-dropdown .mega-billing-feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  padding: 17px;
  text-align: left;
  border-color: rgba(34,211,238,.24);
  background: rgba(37,99,255,.13);
}
#header.b26-floating .navbar .mega-dropdown .mega-billing-feature > .mega-title,
#header.b26-floating .navbar .mega-dropdown .mega-billing-feature > .mega-text {
  text-align: left;
}
.mega-billing-feature .mega-icon {
  grid-row: 1 / 4;
}
.mega-feature-cta { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--bt-cyan); font-size: .76rem; font-weight: 700; }
.mega-partner-links { display: grid; gap: 1px; margin-top: 10px; }
#header.b26-floating .mega-partner-links a { padding: 9px 8px; border-radius: 8px; color: rgba(247,249,255,.7); font-size: .73rem; line-height: 1.3; }
#header.b26-floating .mega-partner-links a:hover,
#header.b26-floating .mega-partner-links a:focus-visible { color: #fff; background: rgba(255,255,255,.06); }
:root[data-theme="light"] .mega-section-label { color: #64748b; }
:root[data-theme="light"] .mega-partner-panel { border-color: rgba(37,99,255,.14); background: linear-gradient(145deg, rgba(37,99,255,.07), rgba(34,211,238,.03)); }
:root[data-theme="light"] #header.b26-floating .navbar .mega-dropdown .mega-billing-feature { background: rgba(37,99,255,.06); border-color: rgba(37,99,255,.15); }
:root[data-theme="light"] #header.b26-floating .mega-partner-links a { color: #526077; }
:root[data-theme="light"] #header.b26-floating .mega-partner-links a:hover,
:root[data-theme="light"] #header.b26-floating .mega-partner-links a:focus-visible { color: #0f172a; background: rgba(37,99,255,.06); }

/* Facturación electrónica marca blanca */
.bt-billing-page [id] { scroll-margin-top: 110px; }
.bt-billing-hero {
  position: relative;
  padding: clamp(160px, 15vw, 220px) 0 clamp(80px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(37,99,255,.22), transparent 31%),
    radial-gradient(circle at 86% 34%, rgba(34,211,238,.12), transparent 28%),
    #070a12;
}
.bt-billing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  pointer-events: none;
  background-image: linear-gradient(rgba(91,139,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(91,139,255,.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, transparent 92%);
}
.bt-billing-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1480px;
  padding-right: clamp(24px, 4vw, 64px);
  padding-left: clamp(24px, 4vw, 64px);
}
.bt-breadcrumbs { margin-bottom: clamp(45px, 6vw, 75px); }
.bt-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; color: #738098; font-size: .76rem; }
.bt-breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #465269; }
.bt-breadcrumbs a { color: #9aa7bb; }
.bt-breadcrumbs a:hover { color: #fff; }
.bt-billing-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(500px, .85fr); gap: clamp(48px, 5vw, 78px); align-items: center; }
.bt-billing-copy { min-width: 0; }
.bt-billing-copy h1 { max-width: 820px; margin: 0 0 32px; color: #fff; font: 600 clamp(3.3rem, 4vw, 4.9rem)/1.02 "Space Grotesk", sans-serif; letter-spacing: -.05em; }
.bt-billing-copy h1 .bt-title-main { display: block; color: #fff; background: none; }
.bt-billing-copy h1 .bt-title-accent { display: block; margin-top: .1em; color: transparent; font-size: .88em; background: linear-gradient(100deg, #5b8bff, #22d3ee); -webkit-background-clip: text; background-clip: text; }
.bt-billing-copy > p { max-width: 710px; margin: 0; color: #a8b3c7; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.75; }
.bt-context-line { display: flex; align-items: center; gap: 11px; width: fit-content; margin-top: 28px; padding: 11px 14px; border: 1px solid rgba(34,211,238,.17); border-radius: 999px; color: #c6d0e1; background: rgba(34,211,238,.06); font-size: .82rem; }
.bt-context-line i { color: var(--bt-cyan); }

.bt-integration-map { padding: 26px; border: 1px solid rgba(91,139,255,.2); border-radius: 26px; background: rgba(8,14,27,.76); box-shadow: 0 30px 80px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.bt-flow-primary { display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; gap: 7px; align-items: center; }
.bt-flow-primary > span { display: flex; min-width: 0; min-height: 135px; padding: 16px 10px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; color: #fff; background: rgba(255,255,255,.035); text-align: center; }
.bt-flow-primary > span.is-api { border-color: rgba(34,211,238,.34); background: linear-gradient(145deg, rgba(37,99,255,.22), rgba(34,211,238,.1)); box-shadow: 0 14px 34px rgba(37,99,255,.15); }
.bt-flow-primary span > i { margin-bottom: 13px; color: var(--bt-cyan); font-size: 1.6rem; }
.bt-flow-primary strong { font: 600 .78rem/1.3 "Space Grotesk"; }
.bt-flow-primary small { margin-top: 6px; color: #738198; font-size: .62rem; }
.bt-flow-arrow { color: rgba(34,211,238,.52); text-align: center; }
.bt-flow-response { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; padding: 13px; border-radius: 12px; color: #8f9bb0; background: rgba(255,255,255,.025); font-size: .68rem; }
.bt-flow-response i { color: var(--bt-blue-soft); }

.bt-audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.bt-audience-grid article { min-height: 225px; padding: 27px; border: 1px solid var(--bt-page-line); border-radius: 20px; background: var(--bt-page-panel); box-shadow: var(--bt-page-shadow); }
.bt-audience-grid article > i { display: grid; width: 45px; height: 45px; margin-bottom: 34px; place-items: center; border-radius: 13px; color: var(--bt-cyan); background: rgba(34,211,238,.08); font-size: 1.35rem; }
.bt-audience-grid h3, .bt-model-grid h3 { font-size: 1.08rem; }
.bt-audience-grid p, .bt-model-grid p { margin: 0; font-size: .9rem; line-height: 1.7; }
.bt-model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bt-model-grid article { min-height: 320px; padding: 30px; border: 1px solid var(--bt-page-line); border-radius: 22px; background: var(--bt-page-panel); box-shadow: var(--bt-page-shadow); }
.bt-model-grid .bt-card-index { margin-bottom: 65px; }
.bt-model-grid small { display: inline-flex; margin-top: 26px; padding: 7px 10px; border-radius: 999px; color: var(--bt-blue-soft); background: rgba(91,139,255,.09); font-size: .67rem; font-weight: 700; }
.bt-capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bt-capability-grid article { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--bt-page-line); border-radius: 17px; background: var(--bt-page-panel); }
.bt-capability-grid article > i { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 13px; color: var(--bt-cyan); background: rgba(34,211,238,.08); font-size: 1.3rem; }
.bt-capability-grid h3 { margin: 2px 0 8px; font-size: 1rem; }
.bt-capability-grid p { margin: 0; font-size: .86rem; line-height: 1.65; }

.bt-white-label-grid, .bt-technical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.bt-white-label-grid h2, .bt-technical-grid h2 { margin: 0 0 22px; font: 600 clamp(2.1rem, 3.6vw, 3.8rem)/1.08 "Space Grotesk"; letter-spacing: -.04em; }
.bt-white-label-grid > div:first-child > p, .bt-technical-grid > div:first-child > p { font-size: 1.02rem; line-height: 1.8; }
.bt-note { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid rgba(91,139,255,.16); border-radius: 12px; color: var(--bt-page-muted); background: rgba(91,139,255,.055); font-size: .78rem !important; line-height: 1.55 !important; }
.bt-note i { flex: 0 0 auto; margin-top: 1px; color: var(--bt-blue-soft); }
.bt-brand-preview { padding: 20px; border: 1px solid var(--bt-page-line); border-radius: 25px; background: var(--bt-page-panel); box-shadow: var(--bt-page-shadow); }
.bt-brand-preview-bar { display: flex; align-items: center; gap: 10px; padding: 13px; border-bottom: 1px solid var(--bt-page-line); color: var(--bt-page-muted); font-size: .72rem; }
.bt-brand-preview-bar > span:first-child { width: 9px; height: 9px; border-radius: 50%; background: var(--bt-cyan); box-shadow: 0 0 12px rgba(34,211,238,.5); }
.bt-brand-preview-body { display: grid; grid-template-columns: 110px 1fr; gap: 20px; min-height: 210px; padding: 26px 10px; align-items: center; }
.bt-brand-logo { display: grid; width: 95px; height: 95px; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--bt-blue), var(--bt-cyan)); font-weight: 700; }
.bt-brand-preview-body > div { display: grid; gap: 14px; }
.bt-brand-preview-body > div span { display: block; height: 34px; border-radius: 9px; background: var(--bt-page-panel-soft); }
.bt-brand-preview-body > div span:nth-child(2) { width: 78%; }
.bt-brand-preview-body > div span:nth-child(3) { width: 55%; }
.bt-brand-preview ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 15px 0 0; border-top: 1px solid var(--bt-page-line); }
.bt-brand-preview li { padding: 7px 10px; border-radius: 999px; color: var(--bt-page-muted); background: var(--bt-page-panel-soft); font-size: .68rem; }

.bt-benefit-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; list-style: none; margin: 0; padding: 1px; overflow: hidden; border-radius: 20px; background: var(--bt-page-line); }
.bt-benefit-wall li { display: grid; grid-template-columns: 42px 1fr; gap: 13px; align-items: center; min-height: 95px; padding: 22px; color: var(--bt-page-text); background: var(--bt-page-panel); font-weight: 600; }
.bt-benefit-wall li span { color: var(--bt-cyan); font: 600 .72rem "Space Grotesk"; }
.bt-integration-steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--bt-page-line); }
.bt-integration-steps article { position: relative; padding: 27px 24px 10px 0; }
.bt-integration-steps article > span { display: block; margin-bottom: 45px; color: var(--bt-cyan); font: 600 .75rem "Space Grotesk"; }
.bt-integration-steps h3 { font-size: 1rem; }
.bt-integration-steps p { margin: 0; font-size: .84rem; line-height: 1.65; }
.bt-process-note { max-width: 750px; margin: 45px 0 0; }
.bt-technical-flow { display: grid; justify-items: stretch; gap: 9px; padding: 28px; border: 1px solid var(--bt-page-line); border-radius: 24px; background: var(--bt-page-panel); box-shadow: var(--bt-page-shadow); text-align: center; }
.bt-technical-flow span { padding: 14px; border: 1px solid var(--bt-page-line); border-radius: 11px; color: var(--bt-page-text); background: var(--bt-page-panel-soft); font-size: .82rem; font-weight: 700; }
.bt-technical-flow span.is-api { border-color: rgba(34,211,238,.3); color: var(--bt-cyan); }
.bt-technical-flow i { color: var(--bt-blue-soft); }
.bt-responsibility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bt-responsibility-grid article { padding: clamp(27px, 4vw, 43px); border: 1px solid var(--bt-page-line); border-radius: 22px; background: var(--bt-page-panel); }
.bt-responsibility-grid article > span { display: block; margin-bottom: 26px; color: var(--bt-cyan); font: 600 1.35rem "Space Grotesk"; }
.bt-responsibility-grid ul { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.bt-responsibility-grid li { position: relative; padding-left: 22px; color: var(--bt-page-text); line-height: 1.55; }
.bt-responsibility-grid li::before { content: ""; position: absolute; top: .62em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bt-blue-soft); }
.bt-faq-wrap { display: grid; grid-template-columns: minmax(250px,.6fr) minmax(0,1fr); gap: clamp(45px,8vw,120px); align-items: start; }
.bt-faq-list { border-top: 1px solid var(--bt-page-line); }
.bt-faq-list details { border-bottom: 1px solid var(--bt-page-line); }
.bt-faq-list summary { display: grid; grid-template-columns: 1fr 22px; gap: 18px; align-items: center; padding: 23px 0; color: var(--bt-page-text); cursor: pointer; font-weight: 700; list-style: none; }
.bt-faq-list summary::-webkit-details-marker { display: none; }
.bt-faq-list summary i { color: var(--bt-cyan); }
.bt-faq-list details[open] summary i { transform: rotate(45deg); }
.bt-faq-list details p { max-width: 760px; margin: -6px 35px 24px 0; line-height: 1.75; }
.bt-faq-list summary:focus-visible { outline: 3px solid rgba(34,211,238,.35); outline-offset: 4px; border-radius: 5px; }
.bt-related-offer { padding: 0 0 clamp(80px,9vw,130px); background: var(--bt-page-bg); }
.bt-related-offer-panel { display: grid; grid-template-columns: 58px 1fr auto; gap: 25px; align-items: center; padding: clamp(28px,4vw,48px); border: 1px solid rgba(34,211,238,.24); border-radius: 24px; background: radial-gradient(circle at 90% 10%, rgba(34,211,238,.1), transparent 34%), var(--bt-page-panel); }
.bt-related-offer-panel .bt-eyebrow { margin-bottom: 10px; }
.bt-related-offer-panel h2 { margin: 0 0 9px; font-size: clamp(1.5rem,2.2vw,2.4rem); }
.bt-related-offer-panel p { max-width: 680px; margin: 0; line-height: 1.7; }
.bt-integration-fields { margin: 5px 0; padding: 22px; border: 1px solid rgba(91,139,255,.18); border-radius: 16px; background: rgba(91,139,255,.045); }
.bt-integration-fields[hidden] { display: none; }
.bt-integration-fields legend { float: none; width: auto; margin: 0 0 6px; padding: 0; color: var(--bt-page-text); font-size: .92rem; font-weight: 700; }
.bt-integration-fields > p { margin: 0 0 18px; font-size: .78rem; }

:root[data-theme="light"] .bt-billing-hero { background: radial-gradient(circle at 15% 10%, rgba(37,99,255,.14), transparent 32%), radial-gradient(circle at 86% 34%, rgba(34,211,238,.1), transparent 28%), #f7f9fc; }
:root[data-theme="light"] .bt-billing-copy h1,
:root[data-theme="light"] .bt-billing-copy h1 .bt-title-main { color: #0f172a; }
:root[data-theme="light"] .bt-billing-copy > p { color: #526077; }
:root[data-theme="light"] .bt-context-line { color: #334155; background: rgba(34,211,238,.06); }
:root[data-theme="light"] .bt-breadcrumbs a { color: #526077; }
:root[data-theme="light"] .bt-breadcrumbs a:hover { color: #0f172a; }
:root[data-theme="light"] .bt-integration-map { background: rgba(255,255,255,.78); border-color: rgba(37,99,255,.14); box-shadow: 0 30px 80px rgba(30,64,120,.12); }
:root[data-theme="light"] .bt-flow-primary > span { color: #0f172a; background: rgba(255,255,255,.8); border-color: rgba(15,23,42,.09); }
:root[data-theme="light"] .bt-flow-primary > span.is-api { background: linear-gradient(145deg, rgba(37,99,255,.11), rgba(34,211,238,.08)); }
:root[data-theme="light"] .bt-flow-primary small, :root[data-theme="light"] .bt-flow-response { color: #64748b; }
:root[data-theme="light"] .bt-flow-response { background: rgba(37,99,255,.035); }

@media (max-width: 1279px) {
  .bt-billing-hero-grid { grid-template-columns: 1fr; }
  .bt-integration-map { max-width: 780px; }
}

@media (max-width: 991px) {
  .mega-solution-layout { grid-template-columns: 1fr; padding: 0 10px 10px; }
  .mega-solution-links { grid-template-columns: 1fr; }
  .mega-section-label { margin-top: 12px; }
  .mega-partner-panel { padding: 8px; }
  .bt-audience-grid { grid-template-columns: 1fr 1fr; }
  .bt-integration-steps { grid-template-columns: 1fr 1fr; }
  .bt-white-label-grid, .bt-technical-grid, .bt-faq-wrap { grid-template-columns: 1fr; }
  .bt-related-offer-panel { grid-template-columns: 58px 1fr; }
  .bt-related-offer-panel > .b26-btn { grid-column: 2; width: fit-content; }
}

@media (max-width: 767px) {
  .bt-featured-grid { grid-template-columns: 1fr; }
  .bt-billing-hero { padding-top: 135px; }
  .bt-breadcrumbs { margin-bottom: 42px; }
  .bt-billing-copy h1 { font-size: clamp(2.55rem,12vw,4rem); }
  .bt-billing-copy h1 .bt-title-main br { display: none; }
  .bt-billing-copy h1 .bt-title-accent { font-size: .95em; }
  .bt-context-line { align-items: flex-start; border-radius: 14px; line-height: 1.5; }
  .bt-integration-map { padding: 18px; }
  .bt-flow-primary { grid-template-columns: 1fr; }
  .bt-flow-primary > span { min-height: 105px; }
  .bt-flow-primary > .bt-flow-arrow { transform: rotate(90deg); }
  .bt-flow-response { flex-wrap: wrap; line-height: 1.5; }
  .bt-audience-grid, .bt-model-grid, .bt-capability-grid, .bt-benefit-wall, .bt-responsibility-grid { grid-template-columns: 1fr; }
  .bt-model-grid article { min-height: 0; }
  .bt-model-grid .bt-card-index { margin-bottom: 40px; }
  .bt-integration-steps { grid-template-columns: 1fr; }
  .bt-integration-steps article { padding: 24px 0; border-bottom: 1px solid var(--bt-page-line); }
  .bt-integration-steps article > span { margin-bottom: 15px; }
  .bt-brand-preview-body { grid-template-columns: 85px 1fr; gap: 12px; }
  .bt-brand-logo { width: 75px; height: 75px; font-size: .8rem; }
  .bt-related-offer-panel { grid-template-columns: 1fr; }
  .bt-related-offer-panel > .b26-btn { grid-column: auto; width: 100%; justify-content: center; }
  .bt-integration-fields { padding: 18px; }
}

@media (max-width: 390px) {
  .bt-billing-copy h1 { font-size: 2.4rem; }
  .bt-capability-grid article { grid-template-columns: 42px 1fr; padding: 19px; }
  .bt-capability-grid article > i { width: 40px; height: 40px; }
  .bt-brand-preview { padding: 14px; }
}

/* Normalización óptica de íconos Boxicons dentro de cajas */
:where(
  .b26-capability-icon,
  .b26-ops-node-icon,
  .bt-catalog-icon,
  .mega-icon
) > i {
  display: grid;
  width: 1em;
  height: 1em;
  margin: 0;
  place-items: center;
  line-height: 1;
  text-align: center;
}

:where(
  .b26-capability-icon,
  .b26-ops-node-icon,
  .bt-catalog-icon,
  .mega-icon
) > i::before,
:where(
  .bt-audience-grid article > i,
  .bt-capability-grid article > i,
  .bt-contact-details i,
  .bt-value-grid article > i,
  .bt-flow-primary span > i
)::before {
  display: block;
  margin: 0;
  line-height: 1;
}

:where(
  .bt-audience-grid article > i,
  .bt-capability-grid article > i,
  .bt-contact-details i
) {
  place-items: center;
  line-height: 1;
  text-align: center;
}

@media (max-width: 767px) {
  .bt-index-hero, .bt-inner-hero { padding-top: 155px; padding-bottom: 80px; }
  .bt-index-hero h1, .bt-inner-hero h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .bt-content-section { padding: 72px 0; }
  .bt-intro-grid, .bt-story-grid, .bt-split { grid-template-columns: 1fr; gap: 32px; }
  .bt-card-grid, .bt-value-grid, .bt-catalog-grid, .bt-featured-grid { grid-template-columns: 1fr; }
  .bt-heading-row { align-items: start; flex-direction: column; }
  .bt-catalog-card { grid-template-columns: 52px 1fr 20px; gap: 16px; min-height: 0; padding: 24px 20px; }
  .bt-catalog-icon { width: 50px; height: 50px; }
  .bt-process-grid, .bt-component-list { grid-template-columns: 1fr; }
  .bt-process-grid { gap: 0; }
  .bt-process-grid article { padding: 24px 0; border-bottom: 1px solid var(--bt-page-line); }
  .bt-process-grid article > span { margin-bottom: 18px; }
  .bt-process-grid article::after { display: none; }
  .bt-risk-grid, .bt-benefit-list { grid-template-columns: 1fr; }
  .bt-team-diagram { grid-template-columns: 1fr; }
  .bt-form-grid { grid-template-columns: 1fr; }
  .bt-field-full { grid-column: auto; }
  .bt-final-cta-panel { border-radius: 22px; }
}

@media (max-width: 390px) {
  .bt-index-hero h1, .bt-inner-hero h1, .bt-contact-copy h1 { font-size: 2.45rem; }
  .bt-index-hero p, .bt-inner-hero p, .bt-contact-copy > p { font-size: .98rem; }
  .bt-hero-actions .b26-btn { width: 100%; justify-content: center; }
  .bt-info-card { min-height: 0; }
  .bt-card-index { margin-bottom: 32px; }
  .bt-catalog-card { grid-template-columns: 48px 1fr; }
  .bt-catalog-arrow { display: none; }
}

/* =====================================================================
   Scroll cinematográfico — sistema global, progresivo y accesible
===================================================================== */
html.bt-scroll-motion [data-bt-scroll-reveal] {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(.985);
  transform-origin: 50% 60%;
  transition:
    opacity 720ms cubic-bezier(.22, .75, .22, 1),
    transform 880ms cubic-bezier(.16, 1, .3, 1),
    clip-path 880ms cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--bt-scroll-delay, 0ms);
  will-change: transform, opacity, clip-path;
}

html.bt-scroll-motion [data-bt-scroll-reveal="left"] {
  transform: translate3d(-72px, 0, 0) scale(.985);
}

html.bt-scroll-motion [data-bt-scroll-reveal="right"] {
  transform: translate3d(72px, 0, 0) scale(.985);
}

html.bt-scroll-motion [data-bt-scroll-reveal="scale"] {
  transform: translate3d(0, 26px, 0) scale(.93);
}

html.bt-scroll-motion [data-bt-scroll-reveal="clip"] {
  clip-path: inset(10% 0 12% 0 round 30px);
  transform: translate3d(0, 38px, 0) scale(.97);
}

html.bt-scroll-motion [data-bt-scroll-reveal].bt-scroll-in {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0);
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@media (max-width: 767px) {
  html.bt-scroll-motion [data-bt-scroll-reveal] {
    transform: translate3d(0, 30px, 0) scale(.99);
  }

  html.bt-scroll-motion [data-bt-scroll-reveal="left"],
  html.bt-scroll-motion [data-bt-scroll-reveal="right"] {
    transform: translate3d(0, 34px, 0) scale(.99);
  }

  html.bt-scroll-motion [data-bt-scroll-reveal="scale"],
  html.bt-scroll-motion [data-bt-scroll-reveal="clip"] {
    transform: translate3d(0, 24px, 0) scale(.96);
  }

  html.bt-scroll-motion [data-bt-scroll-reveal].bt-scroll-in {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.bt-scroll-motion [data-bt-scroll-reveal] {
    opacity: 1;
    clip-path: none;
    transform: none;
    transition: none;
  }
}
