/* =============================================================================
   Orkestralabs — design system
   Loaded after bootstrap.min.css. Order: tokens → base → layout → components →
   page-specific blocks → motion. Colors always come from the --ol-* tokens so
   light mode, dark mode and the always-dark bands (.band-dark) stay in sync.
   ============================================================================= */

/* ─── Tokens ───────────────────────────────────────────────────────────────── */
:root,
[data-bs-theme=light],
[data-bs-theme=light] .theme-reset {
  --ol-navy: #24285b;
  --ol-night: #12153d;
  --ol-night-2: #1b1f52;
  --ol-gold: #ffd200;
  --ol-gold-hover: #ffdc33;
  --ol-on-gold: #14173d;
  --ol-whatsapp: #25d366;

  --ol-ink: #14173d;
  --ol-text: #383c60;
  --ol-muted: #585e7e;
  --ol-bg: #ffffff;
  --ol-bg-alt: #f4f5fa;
  --ol-surface: #ffffff;
  --ol-surface-2: #f8f9fc;
  --ol-border: #e3e5ef;
  --ol-border-strong: #c7cadc;
  --ol-icon-bg: #fff2b0;
  --ol-icon-fg: #24285b;
  --ol-accent-text: #24285b;
  --ol-check: #a38300;
  --ol-focus: #3b44b8;
  --ol-shadow: 0 1px 2px rgba(20, 23, 61, .05), 0 22px 44px -28px rgba(20, 23, 61, .38);
  --ol-shadow-lg: 0 40px 80px -40px rgba(12, 15, 46, .55);

  --ol-radius-sm: 10px;
  --ol-radius: 16px;
  --ol-radius-lg: 24px;
  --ol-ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;

  --bs-body-font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-font-sans-serif: var(--bs-body-font-family);
  --bs-body-line-height: 1.7;
  --bs-body-bg: var(--ol-bg);
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-body-color: var(--ol-text);
  --bs-body-color-rgb: 56, 60, 96;
  --bs-heading-color: var(--ol-ink);
  --bs-emphasis-color: var(--ol-ink);
  --bs-secondary-color: var(--ol-muted);
  --bs-border-color: var(--ol-border);
  --bs-link-color-rgb: 36, 40, 91;
  --bs-link-hover-color-rgb: 20, 23, 61;
}

[data-bs-theme=dark],
[data-bs-theme=dark] .theme-reset {
  color-scheme: dark;
  --ol-ink: #f2f3fb;
  --ol-text: #c9cde3;
  --ol-muted: #9ea3c2;
  --ol-bg: #0b0e2b;
  --ol-bg-alt: #0f1336;
  --ol-surface: #141841;
  --ol-surface-2: #181d4a;
  --ol-border: rgba(255, 255, 255, .09);
  --ol-border-strong: rgba(255, 255, 255, .2);
  --ol-icon-bg: rgba(255, 210, 0, .12);
  --ol-icon-fg: #ffd200;
  --ol-accent-text: #ffd200;
  --ol-check: #ffd200;
  --ol-focus: #ffd200;
  --ol-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 22px 44px -28px rgba(0, 0, 0, .8);

  --bs-body-bg: var(--ol-bg);
  --bs-body-bg-rgb: 11, 14, 43;
  --bs-body-color: var(--ol-text);
  --bs-body-color-rgb: 201, 205, 227;
  --bs-heading-color: var(--ol-ink);
  --bs-emphasis-color: var(--ol-ink);
  --bs-secondary-color: var(--ol-muted);
  --bs-border-color: var(--ol-border);
  --bs-link-color-rgb: 255, 210, 0;
  --bs-link-hover-color-rgb: 255, 220, 51;
}

/* Bands that stay dark in both themes (heroes, showcase, footer). */
.band-dark {
  --ol-ink: #ffffff;
  --ol-text: rgba(234, 236, 250, .84);
  --ol-muted: rgba(214, 218, 242, .68);
  --ol-border: rgba(255, 255, 255, .12);
  --ol-border-strong: rgba(255, 255, 255, .24);
  --ol-surface: rgba(255, 255, 255, .045);
  --ol-icon-bg: rgba(255, 210, 0, .14);
  --ol-icon-fg: #ffd200;
  --ol-accent-text: #ffd200;
  --ol-check: #ffd200;
  --ol-focus: #ffd200;
  /* Bootstrap resolves these once at :root, so re-declare them for the band. */
  --bs-heading-color: var(--ol-ink);
  --bs-body-color: var(--ol-text);
  --bs-secondary-color: var(--ol-muted);
  --bs-border-color: var(--ol-border);
  position: relative;
  isolation: isolate;
  background-color: var(--ol-night);
  color: var(--ol-text);
}

[data-bs-theme=dark] .band-dark {
  background-color: #0f1238;
}

/* ─── Base ─────────────────────────────────────────────────────────────────── */
html {
  scroll-padding-top: calc(var(--nav-live, var(--nav-h)) + 72px);
}

body {
  font-family: var(--bs-body-font-family);
  background: var(--ol-bg);
  color: var(--ol-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--ol-ink);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--ol-accent-text);
  text-underline-offset: 3px;
}

::selection {
  background: var(--ol-gold);
  color: var(--ol-on-gold);
}

:focus-visible {
  outline: 3px solid var(--ol-focus);
  outline-offset: 3px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 2000;
  padding: .6rem 1rem;
  border-radius: var(--ol-radius-sm);
  background: var(--ol-gold);
  color: var(--ol-on-gold);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Hide body until the saved English translation is applied (see head.php). */
.i18n-pending body {
  visibility: hidden;
}

/* ─── Typography ───────────────────────────────────────────────────────────── */
.display-hero {
  font-size: clamp(2.4rem, 1.3rem + 3.4vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.display-page {
  font-size: clamp(2.2rem, 1.45rem + 3vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.h-section {
  font-size: clamp(1.85rem, 1.35rem + 1.9vw, 2.75rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lead-lg {
  font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem);
  line-height: 1.65;
  color: var(--ol-text);
}

.muted {
  color: var(--ol-muted);
}

.measure {
  max-width: 38rem;
}

/* Brand marker: a gold stroke under key words, drawn in on load. Built as a
   background (not a pseudo-element) so it follows the text across line breaks. */
.underline {
  --ul-h: .26em;
  --ul-y: 90%;
  background-image: linear-gradient(var(--ol-gold), var(--ol-gold));
  background-repeat: no-repeat;
  background-size: 100% var(--ul-h);
  background-position: 0 var(--ul-y);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.underline::after {
  content: none;
}

.band-dark .underline {
  --ul-h: .07em;
  --ul-y: 100%;
  color: var(--ol-gold);
  padding-bottom: .04em;
}

.band-dark .theme-reset .underline {
  --ul-h: .26em;
  --ul-y: 90%;
  color: inherit;
  padding-bottom: 0;
}

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 1.3rem;
  --bs-btn-padding-y: .78rem;
  --bs-btn-font-size: .95rem;
  --bs-btn-border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  letter-spacing: -0.005em;
  transition: background-color .2s var(--ol-ease), border-color .2s var(--ol-ease), color .2s var(--ol-ease), transform .2s var(--ol-ease), box-shadow .2s var(--ol-ease);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn-sm {
  --bs-btn-padding-x: .9rem;
  --bs-btn-padding-y: .5rem;
  --bs-btn-font-size: .875rem;
  --bs-btn-border-radius: 10px;
}

.btn-lg {
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-padding-y: .95rem;
  --bs-btn-font-size: 1rem;
}

.btn-gold {
  --bs-btn-color: var(--ol-on-gold);
  --bs-btn-bg: var(--ol-gold);
  --bs-btn-border-color: var(--ol-gold);
  --bs-btn-hover-color: var(--ol-on-gold);
  --bs-btn-hover-bg: var(--ol-gold-hover);
  --bs-btn-hover-border-color: var(--ol-gold-hover);
  --bs-btn-active-color: var(--ol-on-gold);
  --bs-btn-active-bg: #f2c700;
  --bs-btn-active-border-color: #f2c700;
  box-shadow: 0 10px 28px -14px rgba(255, 210, 0, .9);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -14px rgba(255, 210, 0, 1);
}

.btn-ink {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ol-navy);
  --bs-btn-border-color: var(--ol-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2f3474;
  --bs-btn-hover-border-color: #2f3474;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1b1f4a;
  --bs-btn-active-border-color: #1b1f4a;
}

[data-bs-theme=dark] .btn-ink {
  --bs-btn-color: var(--ol-on-gold);
  --bs-btn-bg: var(--ol-gold);
  --bs-btn-border-color: var(--ol-gold);
  --bs-btn-hover-color: var(--ol-on-gold);
  --bs-btn-hover-bg: var(--ol-gold-hover);
  --bs-btn-hover-border-color: var(--ol-gold-hover);
  --bs-btn-active-color: var(--ol-on-gold);
  --bs-btn-active-bg: #f2c700;
  --bs-btn-active-border-color: #f2c700;
}

.btn-line {
  --bs-btn-color: var(--ol-ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--ol-border-strong);
  --bs-btn-hover-color: var(--ol-ink);
  --bs-btn-hover-bg: var(--ol-surface);
  --bs-btn-hover-border-color: var(--ol-ink);
  --bs-btn-active-color: var(--ol-ink);
  --bs-btn-active-bg: var(--ol-surface);
  --bs-btn-active-border-color: var(--ol-ink);
}

.band-dark .btn-line {
  --bs-btn-bg: rgba(255, 255, 255, .04);
  --bs-btn-hover-bg: rgba(255, 255, 255, .1);
  --bs-btn-active-bg: rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ol-accent-text);
}

.link-arrow .icon {
  transition: transform .2s var(--ol-ease);
}

.link-arrow:hover .icon {
  transform: translateX(3px);
}

/* ─── Navbar ───────────────────────────────────────────────────────────────── */
#mainNav {
  padding: 1rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ol-ease), border-color .3s var(--ol-ease), padding .3s var(--ol-ease), box-shadow .3s var(--ol-ease);
}

#mainNav .navbar-brand {
  color: #fff;
}

#mainNav .nav-link {
  position: relative;
  padding: .5rem .9rem;
  font-size: .925rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  transition: color .2s;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: #fff;
}

#mainNav .nav-link.active {
  font-weight: 600 !important;
}

#mainNav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .1rem;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--ol-gold);
}

#mainNav .nav-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 38px;
  padding: 0 .55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .85);
  font-size: .78rem;
  font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}

#mainNav .nav-tool:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.lang-seg {
  gap: .1rem;
}

.lang-seg span {
  padding: .2rem .4rem;
  border-radius: 6px;
  opacity: .6;
  transition: background-color .2s, opacity .2s, color .2s;
}

.lang-seg span.is-active {
  opacity: 1;
  background: var(--ol-gold);
  color: var(--ol-on-gold);
}

.theme-icon-sun { display: none; }
[data-bs-theme=dark] .theme-icon-sun { display: block; }
[data-bs-theme=dark] .theme-icon-moon { display: none; }

#mainNav .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  padding: .45rem;
  color: #fff;
  box-shadow: none;
}

#mainNav .navbar-toggler .icon {
  width: 22px;
  height: 22px;
}

#mainNav .navbar-toggler .icon-close { display: none; }
#mainNav.menu-open .navbar-toggler .icon-open { display: none; }
#mainNav.menu-open .navbar-toggler .icon-close { display: block; }

/* Solid state: after scrolling, or while the mobile menu is open. */
#mainNav.is-scrolled,
#mainNav.menu-open {
  padding: .6rem 0;
  background: color-mix(in srgb, var(--ol-bg) 86%, transparent);
  border-bottom-color: var(--ol-border);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
}

#mainNav.menu-open {
  background: var(--ol-bg);
}

#mainNav.is-scrolled .navbar-brand,
#mainNav.menu-open .navbar-brand {
  color: var(--ol-ink);
}

#mainNav.is-scrolled .nav-link,
#mainNav.menu-open .nav-link {
  color: var(--ol-muted);
}

#mainNav.is-scrolled .nav-link:hover,
#mainNav.is-scrolled .nav-link.active,
#mainNav.menu-open .nav-link:hover,
#mainNav.menu-open .nav-link.active {
  color: var(--ol-ink);
}

#mainNav.is-scrolled .nav-tool,
#mainNav.menu-open .nav-tool,
#mainNav.is-scrolled .navbar-toggler,
#mainNav.menu-open .navbar-toggler {
  border-color: var(--ol-border-strong);
  background: transparent;
  color: var(--ol-ink);
}

#mainNav.is-scrolled .nav-tool:hover,
#mainNav.menu-open .nav-tool:hover {
  background: var(--ol-bg-alt);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
  text-decoration: none;
  color: inherit;
}

.brand-mark svg {
  width: 30px;
  height: 30px;
}

.brand-mark .wm-a {
  font-weight: 700;
}

.brand-mark .wm-b {
  font-weight: 400;
  opacity: .78;
}

@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    max-height: calc(100svh - 70px);
    overflow-y: auto;
  }

  #mainNav .navbar-nav {
    padding: 1rem 0 .5rem;
  }

  #mainNav .nav-link {
    padding: .8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--ol-border);
  }

  #mainNav .nav-link.active::after {
    left: auto;
    right: .25rem;
    top: 50%;
    bottom: auto;
    margin: -2.5px 0 0;
  }

  #mainNav .nav-actions {
    padding: .75rem 0 1.25rem;
  }

  #mainNav .nav-actions .btn {
    flex: 1;
  }
}

/* ─── Sections & layout ────────────────────────────────────────────────────── */
/* Phones: a 20px side gutter, and paired action buttons stretch full width. */
@media (max-width: 575.98px) {
  .container {
    --bs-gutter-x: 2.5rem;
  }

  .d-flex.flex-wrap > .btn-lg,
  .cta-actions > .btn {
    flex: 1 1 100%;
  }
}

/* The custom Bootstrap build stops at 960px; give wide screens more room. */
@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1240px; }
}

.section {
  padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem);
}

.section-sm {
  padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem);
}

.section-alt {
  background: var(--ol-bg-alt);
}

.section-head {
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.section-head p {
  font-size: 1.075rem;
  color: var(--ol-muted);
  margin-bottom: 0;
}

/* Grid pattern + soft glow used on every dark band. */
.band-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.band-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 78% 42%, rgba(255, 210, 0, .13), transparent 70%),
    radial-gradient(45% 60% at 8% 0%, rgba(96, 108, 255, .28), transparent 70%),
    radial-gradient(60% 50% at 50% 120%, rgba(96, 108, 255, .18), transparent 70%);
  pointer-events: none;
}

/* ─── Hero (home) ──────────────────────────────────────────────────────────── */
.hero {
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 4.5rem;
  overflow: hidden;
}

.hero .lead-lg {
  max-width: 34rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  color: var(--ol-muted);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hero-points .icon {
  color: var(--ol-gold);
  width: 1.1em;
  height: 1.1em;
}

/* The orchestration diagram — the site's signature element. */
.orchestra {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.orchestra > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orchestra .ring {
  fill: none;
  stroke: rgba(255, 255, 255, .1);
  stroke-width: 1;
}

.orchestra .ring-dash {
  fill: none;
  stroke: rgba(255, 255, 255, .16);
  stroke-dasharray: 1 7;
  stroke-linecap: round;
  stroke-width: 1.5;
  transform-box: view-box;
  transform-origin: 50% 50%;
}

.orchestra .link {
  fill: none;
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 1.25;
}

.orchestra .pulse {
  fill: none;
  stroke: var(--ol-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 9 120;
  stroke-dashoffset: 9;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 210, 0, .85));
}

.orchestra-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2c3278, #161a4a 70%);
  border: 1px solid rgba(255, 210, 0, .5);
  box-shadow: 0 0 0 10px rgba(255, 210, 0, .05), 0 0 60px rgba(255, 210, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
  color: #fff;
}

.orchestra-hub svg {
  width: 46%;
  height: 46%;
}

.orchestra-hub::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 0, .6);
  opacity: 0;
}

.orchestra-node {
  position: absolute;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .85rem .5rem .5rem;
  border-radius: 14px;
  background: rgba(22, 26, 74, .72);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
}

.orchestra-node .node-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 210, 0, .14);
  color: var(--ol-gold);
}

.orchestra-node .node-icon .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 575.98px) {
  .orchestra-node {
    flex-direction: column;
    gap: .3rem;
    padding: .45rem .5rem;
    font-size: .68rem;
    border-radius: 12px;
  }

  .orchestra-node .node-icon {
    width: 28px;
    height: 28px;
  }
}

/* ─── Page hero (inner pages) ──────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + clamp(3rem, 2rem + 4vw, 5.5rem)) 0 clamp(3.5rem, 2.5rem + 4vw, 6rem);
  overflow: hidden;
}

.page-hero .lead-lg {
  max-width: 40rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: .85rem;
  color: var(--ol-muted);
}

.crumbs a {
  color: var(--ol-muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: #fff;
}

.crumbs li + li::before {
  content: "/";
  margin-right: .5rem;
  opacity: .5;
}

/* Page-specific illustration on the right of inner-page heroes (below the text on phones). */
.hero-visual {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

@media (max-width: 991.98px) {
  .hero-visual {
    max-width: 380px;
  }
}

/* ─── Section nav (sticky, inner pages) ────────────────────────────────────── */
.subnav {
  position: sticky;
  top: var(--nav-live, var(--nav-h));
  z-index: 1020;
  background: color-mix(in srgb, var(--ol-bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--ol-border);
  transition: top .3s var(--ol-ease);
}

.subnav-list {
  display: flex;
  gap: .35rem;
  margin: 0;
  padding: .65rem 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-list::-webkit-scrollbar {
  display: none;
}

.subnav-list a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 500;
  color: var(--ol-muted);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.subnav-list a .icon {
  width: 16px;
  height: 16px;
}

.subnav-list a:hover {
  color: var(--ol-ink);
  background: var(--ol-bg-alt);
}

.subnav-list a.active {
  color: #fff;
  background: var(--ol-navy);
}

[data-bs-theme=dark] .subnav-list a.active {
  color: var(--ol-on-gold);
  background: var(--ol-gold);
}

/* ─── Icon tile ────────────────────────────────────────────────────────────── */
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--ol-icon-bg);
  color: var(--ol-icon-fg);
  flex-shrink: 0;
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
}

.icon-tile-sm {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.icon-tile-sm .icon {
  width: 20px;
  height: 20px;
}

.icon-tile-lg {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.icon-tile-lg .icon {
  width: 30px;
  height: 30px;
}

/* ─── Partner logos ────────────────────────────────────────────────────────── */
.partners {
  padding-block: 2.75rem;
  border-bottom: 1px solid var(--ol-border);
}

.partners-label {
  margin-bottom: 1.5rem;
  font-size: .9rem;
  color: var(--ol-muted);
  text-align: center;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.75rem clamp(2rem, 1rem + 4vw, 4.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.partners-row img {
  height: var(--h, 34px);
  width: auto;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s, opacity .3s;
}

.partners-row img:hover {
  filter: none;
  opacity: 1;
}

[data-bs-theme=dark] .partners-row img {
  filter: grayscale(1) brightness(1.8);
  opacity: .55;
}

[data-bs-theme=dark] .partners-row img:hover {
  filter: none;
  opacity: 1;
}

/* ─── Service cards (home) ─────────────────────────────────────────────────── */
.svc-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .svc-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .svc-grid > :nth-child(1) { grid-column: span 7; }
  .svc-grid > :nth-child(2) { grid-column: span 5; }
  .svc-grid > :nth-child(3) { grid-column: span 5; }
  .svc-grid > :nth-child(4) { grid-column: span 7; }
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  border-radius: var(--ol-radius-lg);
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  color: var(--ol-text);
  text-decoration: none;
  overflow: hidden;
  transition: border-color .25s var(--ol-ease), transform .25s var(--ol-ease), box-shadow .25s var(--ol-ease);
}

.svc-card:hover {
  color: var(--ol-text);
  border-color: var(--ol-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--ol-shadow);
}

.svc-card h3 {
  margin: 1.5rem 0 .6rem;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.svc-card p {
  color: var(--ol-muted);
  margin-bottom: 1.25rem;
}

.svc-card .go {
  position: absolute;
  top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  right: clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ol-border);
  color: var(--ol-ink);
  transition: background-color .25s var(--ol-ease), border-color .25s var(--ol-ease), color .25s var(--ol-ease), transform .25s var(--ol-ease);
}

.svc-card .go .icon {
  width: 20px;
  height: 20px;
}

.svc-card:hover .go {
  background: var(--ol-gold);
  border-color: var(--ol-gold);
  color: var(--ol-on-gold);
  transform: rotate(-45deg);
}

.svc-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.svc-card li {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--ol-bg-alt);
  border: 1px solid var(--ol-border);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ol-text);
}

/* The featured (software) card is dark in both themes. */
.svc-card.band-dark {
  background: linear-gradient(150deg, #262b6e 0%, var(--ol-night) 70%);
  border-color: transparent;
}

.svc-card.band-dark:hover {
  border-color: rgba(255, 210, 0, .4);
}

.svc-card.band-dark li {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
}

.svc-card.band-dark .go {
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}

.svc-card .code-deco {
  position: absolute;
  right: -1rem;
  bottom: -2.5rem;
  width: 220px;
  height: 220px;
  color: rgba(255, 210, 0, .07);
  pointer-events: none;
}

/* ─── Features (why us) ────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  gap: 2.25rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature h3 {
  margin: 1.1rem 0 .45rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--ol-muted);
  font-size: .95rem;
}

@media (min-width: 992px) {
  .sticky-lg {
    position: sticky;
    top: calc(var(--nav-live, var(--nav-h)) + 6rem);
  }
}

/* ─── Process ──────────────────────────────────────────────────────────────── */
.process {
  position: relative;
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: 4.25rem;
}

.process-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ol-bg);
  border: 1px solid var(--ol-border-strong);
  color: var(--ol-ink);
  font-weight: 700;
  font-size: .95rem;
  z-index: 1;
}

/* Scroll-scrubbed: the line grows with --enter and each number fills gold as the line reaches it. */
.process-step {
  --s: clamp(0, calc((var(--enter) - var(--t, 0)) * 10), 1);
}

.process-num {
  background: color-mix(in srgb, var(--ol-gold) calc(var(--s) * 100%), var(--ol-bg));
  border-color: color-mix(in srgb, var(--ol-gold) calc(var(--s) * 100%), var(--ol-border-strong));
  color: color-mix(in srgb, var(--ol-on-gold) calc(var(--s) * 100%), var(--ol-ink));
}

.process-step h3 {
  margin: .6rem 0 .5rem;
  font-size: 1.15rem;
}

.process-step p {
  margin: 0;
  color: var(--ol-muted);
  font-size: .95rem;
}

/* Connecting line: vertical on mobile, horizontal on desktop. */
.process::before,
.process::after {
  content: "";
  position: absolute;
  left: 23.5px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--ol-border-strong);
}

.process::after {
  background: var(--ol-gold);
  width: 2px;
  left: 23px;
  transform: scaleY(var(--enter));
  transform-origin: top;
}

@media (min-width: 992px) {
  .process {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .process-step {
    padding: 4.5rem 0 0;
  }

  .process::before,
  .process::after {
    left: 24px;
    right: 24px;
    top: 23.5px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .process::after {
    height: 2px;
    top: 23px;
    transform: scaleX(var(--enter));
    transform-origin: left;
  }
}

.process-step:nth-child(1) { --t: .02; }
.process-step:nth-child(2) { --t: .31; }
.process-step:nth-child(3) { --t: .6; }
.process-step:nth-child(4) { --t: .88; }

/* ─── Showcase (Hosty) ─────────────────────────────────────────────────────── */
.showcase {
  overflow: hidden;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .8rem .35rem .45rem;
  border-radius: 999px;
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ol-ink);
}

.chip .dot {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ol-gold);
  color: var(--ol-on-gold);
}

.chip .dot .icon {
  width: 13px;
  height: 13px;
}

.check-list {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: .2rem;
  color: var(--ol-check);
}

.browser {
  position: relative;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--ol-shadow-lg), 0 0 0 8px rgba(255, 255, 255, .04);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  background: #eef0f6;
  border-bottom: 1px solid #e0e3ec;
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd3df;
}

.browser-bar i:nth-child(1) { background: #ff6058; }
.browser-bar i:nth-child(2) { background: #ffbd2e; }
.browser-bar i:nth-child(3) { background: #28c941; }

.browser-url {
  flex: 1;
  max-width: 280px;
  margin-inline: auto;
  padding: .2rem .8rem;
  border-radius: 7px;
  background: #fff;
  font-size: .72rem;
  color: #6b7090;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser img,
.browser video {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-visual {
  position: relative;
}

.showcase-visual::before {
  content: "";
  position: absolute;
  inset: 10% 5% -5% 15%;
  background: radial-gradient(closest-side, rgba(255, 210, 0, .28), transparent);
  filter: blur(30px);
  z-index: -1;
}

/* ─── CTA band ─────────────────────────────────────────────────────────────── */
.cta {
  padding: clamp(1.75rem, 1rem + 3.5vw, 4.5rem);
  border-radius: clamp(20px, 1rem + 1vw, 28px);
  overflow: hidden;
}

.cta h2 {
  max-width: 22ch;
}

.cta p {
  max-width: 36rem;
}

[data-bs-theme=dark] .cta {
  border: 1px solid rgba(255, 255, 255, .08);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (min-width: 992px) {
  .cta-actions {
    flex-direction: column;
  }
}

/* ─── Service detail blocks (inner pages) ──────────────────────────────────── */
.svc-block {
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
}

.svc-block:nth-of-type(even) {
  background: var(--ol-bg-alt);
}

.svc-block h2 {
  margin: 1.5rem 0 1rem;
}

.svc-block-text {
  color: var(--ol-muted);
  font-size: 1.05rem;
}

.feature-panel {
  border-radius: var(--ol-radius-lg);
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  overflow: hidden;
}

.feature-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem clamp(1.25rem, 1rem + 1vw, 2rem);
}

.feature-row + .feature-row {
  border-top: 1px solid var(--ol-border);
}

@media (max-width: 575.98px) {
  .feature-row {
    flex-direction: column;
    gap: .9rem;
  }
}

.feature-row h3 {
  margin: .35rem 0 .45rem;
  font-size: 1.1rem;
}

.feature-row p {
  margin: 0;
  color: var(--ol-muted);
  font-size: .95rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-cloud li {
  padding: .5rem 1rem;
  border-radius: 999px;
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  font-size: .9rem;
  font-weight: 500;
  color: var(--ol-ink);
}

/* ─── Product feature cards (Hosty) ────────────────────────────────────────── */
.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  padding: 2rem;
  border-radius: var(--ol-radius-lg);
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
}

.product-card h3 {
  margin: 1.25rem 0 1rem;
  font-size: 1.2rem;
}

.product-card ul {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  font-size: .925rem;
  color: var(--ol-muted);
  line-height: 1.55;
}

.product-card li strong {
  display: block;
  color: var(--ol-ink);
  font-weight: 600;
}

.app-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffe14d, #ffc400);
  color: var(--ol-on-gold);
  box-shadow: 0 16px 36px -14px rgba(255, 210, 0, .8);
}

.app-icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.75;
}

/* Segmented control (demo tabs). */
.segmented {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  margin: 0;
  border-radius: 14px;
  background: var(--ol-bg-alt);
  border: 1px solid var(--ol-border);
  list-style: none;
}

.segmented .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ol-muted);
  font-size: .9rem;
  font-weight: 600;
  transition: background-color .2s, color .2s, box-shadow .2s;
}

.segmented .nav-link:hover {
  color: var(--ol-ink);
}

.segmented .nav-link.active {
  background: var(--ol-surface);
  color: var(--ol-ink);
  box-shadow: 0 1px 2px rgba(20, 23, 61, .08), 0 4px 12px -6px rgba(20, 23, 61, .25);
}

[data-bs-theme=dark] .segmented .nav-link.active {
  background: var(--ol-gold);
  color: var(--ol-on-gold);
}

.video-frame {
  border-color: var(--ol-border);
  box-shadow: var(--ol-shadow-lg);
}

.video-frame video {
  aspect-ratio: 16 / 9;
  background: #f4f4f6;
}

/* ─── Contact ──────────────────────────────────────────────────────────────── */
.theme-reset {
  color: var(--ol-text);
}

.theme-reset h1, .theme-reset h2, .theme-reset h3 {
  color: var(--ol-ink);
}

.form-status {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin: .9rem 0 0;
  padding: .8rem 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--ol-whatsapp) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ol-whatsapp) 40%, transparent);
  color: var(--ol-ink);
  font-size: .9rem;
}

.form-status[hidden] {
  display: none;
}

.form-status .icon {
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  color: #1a9e4b;
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--ol-radius-lg);
  background: var(--ol-surface);
  border: 1px solid var(--ol-border);
  box-shadow: var(--ol-shadow);
}

.form-card h2 {
  font-size: 1.5rem;
  margin-bottom: .35rem;
}

.form-floating > .form-control,
.form-floating > .form-select {
  border-radius: 12px;
  border-color: var(--ol-border-strong);
  background-color: var(--ol-surface);
  color: var(--ol-ink);
}

.form-floating > label {
  color: var(--ol-muted);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
  color: var(--ol-muted);
}

.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.form-floating > .form-select ~ label::after {
  background-color: var(--ol-surface);
}

.was-validated .form-control:invalid,
.was-validated .form-control:invalid:focus {
  border-color: #d93a4b;
  box-shadow: 0 0 0 4px rgba(217, 58, 75, .15);
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: var(--ol-border-strong);
  background-image: none;
  padding-right: .75rem;
}

.invalid-feedback {
  color: #d93a4b;
  font-size: .82rem;
}

[data-bs-theme=dark] .invalid-feedback {
  color: #ff8a96;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ol-focus);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ol-focus) 18%, transparent);
  background-color: var(--ol-surface);
  color: var(--ol-ink);
}

textarea.form-control {
  min-height: 150px !important;
}

.form-note {
  display: flex;
  gap: .5rem;
  margin: .9rem 0 0;
  font-size: .85rem;
  color: var(--ol-muted);
}

.form-note .icon {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
}

.contact-aside {
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border-radius: var(--ol-radius-lg);
  height: 100%;
  overflow: hidden;
}

.wa-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--ol-radius);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}

.wa-card:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: rgba(37, 211, 102, .6);
}

.wa-card .wa-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ol-whatsapp);
  color: #fff;
  flex-shrink: 0;
}

.wa-card small {
  display: block;
  color: var(--ol-muted);
}

.mini-steps {
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: mini;
}

.mini-steps li {
  position: relative;
  padding-left: 3rem;
  counter-increment: mini;
}

.mini-steps li::before {
  content: counter(mini);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 0, .5);
  color: var(--ol-gold);
  font-size: .85rem;
  font-weight: 700;
}

.mini-steps strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.mini-steps span {
  font-size: .9rem;
  color: var(--ol-muted);
}

/* ─── Accordion (FAQ) ──────────────────────────────────────────────────────── */
.faq .accordion {
  --bs-accordion-bg: var(--ol-surface);
  --bs-accordion-color: var(--ol-text);
  --bs-accordion-border-color: var(--ol-border);
  --bs-accordion-border-radius: var(--ol-radius);
  --bs-accordion-inner-border-radius: var(--ol-radius);
  --bs-accordion-btn-color: var(--ol-ink);
  --bs-accordion-btn-bg: var(--ol-surface);
  --bs-accordion-active-color: var(--ol-ink);
  --bs-accordion-active-bg: var(--ol-surface);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 1.4rem;
  --bs-accordion-btn-padding-y: 1.2rem;
  --bs-accordion-body-padding-x: 1.4rem;
  --bs-accordion-body-padding-y: 0;
  display: grid;
  gap: .75rem;
}

.faq .accordion-item {
  border: 1px solid var(--ol-border) !important;
  border-radius: var(--ol-radius) !important;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--ol-border-strong) !important;
  box-shadow: var(--ol-shadow);
}

.faq .accordion-button {
  gap: 1rem;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  box-shadow: none !important;
}

.faq .accordion-button:focus-visible {
  outline: 3px solid var(--ol-focus);
  outline-offset: -3px;
}

.faq .accordion-button::after {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--ol-bg-alt);
  background-image: none;
  -webkit-mask: none;
  content: "+";
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: var(--ol-ink);
  transition: transform .3s var(--ol-ease), background-color .2s, color .2s;
}

.faq .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  background-color: var(--ol-gold);
  color: var(--ol-on-gold);
}

.faq .accordion-body {
  padding-bottom: 1.4rem;
  color: var(--ol-muted);
}

.faq .accordion-body p:last-child {
  margin-bottom: 0;
}

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  padding: clamp(3.5rem, 2.5rem + 3vw, 5rem) 0 2rem;
  overflow: hidden;
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
}

.site-footer ul {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:not(.btn) {
  color: var(--ol-muted);
  text-decoration: none;
  font-size: .925rem;
  transition: color .2s;
}

.site-footer a:not(.btn):hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--ol-border);
  font-size: .85rem;
  color: var(--ol-muted);
}

.social {
  display: flex !important;
  gap: .5rem !important;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ol-border);
}

.social a:hover {
  border-color: var(--ol-border-strong);
  background: rgba(255, 255, 255, .06);
}

.social .icon {
  width: 19px;
  height: 19px;
}

/* ─── WhatsApp floating button ─────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  right: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  z-index: 1040;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ol-whatsapp);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7), 0 2px 6px rgba(0, 0, 0, .15);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .3s var(--ol-ease), transform .3s var(--ol-ease);
}

.wa-fab.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-fab:hover {
  color: #fff;
  transform: scale(1.06);
}

.wa-fab .icon {
  width: 28px;
  height: 28px;
}

/* ─── 404 ──────────────────────────────────────────────────────────────────── */
.not-found {
  min-height: 82svh;
  display: flex;
  align-items: center;
}

.big-404 {
  font-size: clamp(6rem, 3rem + 14vw, 13rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.07em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .25));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ─── Scroll-driven progress ───────────────────────────────────────────────────
   Elements with [data-scroll] receive --enter (0→1) from ui.js as they move into
   view. Registering the property lets hero scenes animate it on load too. */
@property --enter {
  syntax: '<number>';
  inherits: true;
  initial-value: 1;
}

.js [data-scroll] {
  --enter: 0;
}

/* Big statement whose words light up as you scroll (home). */
.statement {
  margin: 0;
  max-width: 21em;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--ol-ink);
}

.statement .w {
  opacity: calc(.16 + .84 * clamp(0, calc((var(--enter) * (var(--n) + 4) - var(--i)) / 4), 1));
  transition: opacity .15s linear;
}

/* Media that settles flat as it scrolls in. */
.tilt {
  transform: perspective(1600px) rotateX(calc((1 - var(--enter)) * 14deg)) scale(calc(.93 + var(--enter) * .07));
  transform-origin: 50% 0;
}

/* ─── Service blocks with a sticky scene ───────────────────────────────────── */
.svc-head {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

@media (min-width: 992px) {
  .svc-visual {
    position: sticky;
    top: calc(var(--nav-live, var(--nav-h)) + 5.5rem);
  }
}

.feature-row {
  position: relative;
  transition: background-color .4s var(--ol-ease);
}

.feature-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 3px;
  border-radius: 3px;
  background: var(--ol-gold);
  transform: scaleY(0);
  transition: transform .4s var(--ol-ease);
}

.feature-row .icon-tile {
  transition: background-color .4s var(--ol-ease), color .4s var(--ol-ease);
}

.feature-row.is-active {
  background: color-mix(in srgb, var(--ol-gold) 6%, transparent);
}

.feature-row.is-active::before {
  transform: scaleY(1);
}

.feature-row.is-active .icon-tile {
  background: var(--ol-gold);
  color: var(--ol-on-gold);
}

/* ─── Scenes (partials/scenes.php) ─────────────────────────────────────────── */
.scene {
  position: relative;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(70% 60% at 78% 12%, rgba(96, 108, 255, .32), transparent 70%),
    radial-gradient(60% 50% at 12% 100%, rgba(255, 210, 0, .1), transparent 70%),
    linear-gradient(160deg, #1d2266, #10133a);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 40px 80px -40px rgba(12, 15, 46, .55);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 80%);
}

.scene svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--bs-body-font-family);
}

.scene.is-hero {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.scene.is-hero::before {
  display: none;
}

/* Palette — scenes are always dark, in both themes. */
.scene .w { fill: #1f2569; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.scene .w2 { fill: #283078; stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.scene .k { fill: rgba(255, 255, 255, .15); }
.scene .k2 { fill: rgba(255, 255, 255, .34); }
.scene .wk { fill: rgba(255, 255, 255, .75); }
.scene .wt { fill: rgba(255, 255, 255, .9); }
.scene .au { fill: #ffd200; }
.scene .vi { fill: #8b93ff; }
.scene .gr { fill: #3ddc97; }
.scene .bl { fill: #5ab8ff; }
.scene .rd { fill: #ff6b6b; }
.scene .dr { fill: #ff7a7a; }
.scene .dy { fill: #ffcb57; }
.scene .dg { fill: #3ddc97; }
.scene .pp { fill: #eef0f8; }
.scene .nv { fill: #24285b; }
.scene .nvb { fill: rgba(36, 40, 91, .28); }
.scene .nvl { fill: none; stroke: rgba(36, 40, 91, .3); stroke-width: 1.5; }
.scene .screen { fill: #13174a; }
.scene .tile { fill: #fff; }
.scene .bub-u { fill: #4650c8; }
.scene .face { fill: #10133a; }
.scene .bot { fill: #2d3592; stroke: rgba(255, 210, 0, .55); stroke-width: 1.5; }
.scene .status { fill: rgba(61, 220, 151, .12); stroke: rgba(61, 220, 151, .35); }
.scene .cite { fill: rgba(255, 210, 0, .12); stroke: rgba(255, 210, 0, .5); }
.scene .tile-ico { fill: rgba(255, 210, 0, .14); }
.scene .band { fill: rgba(139, 147, 255, .2); }
.scene .cone { fill: rgba(255, 210, 0, .12); }
.scene .glow-au { fill: rgba(255, 210, 0, .06); }
.scene .ground { fill: rgba(255, 255, 255, .05); }
.scene .scan-glow { fill: rgba(255, 210, 0, .12); }
.scene .bay, .scene .port { fill: #10133a; stroke: rgba(255, 255, 255, .14); }
.scene .fan { fill: #10133a; stroke: rgba(255, 255, 255, .2); }
.scene .pin { fill: rgba(255, 210, 0, .7); }
.scene .core { fill: rgba(255, 210, 0, .55); }
.scene .pad { fill: #12153d; stroke: #ffd200; stroke-width: 2; }
.scene .die { fill: #2a3285; stroke: rgba(255, 210, 0, .6); stroke-width: 1.5; }
.scene .chip-body, .scene .au-edge { stroke: rgba(255, 210, 0, .55); }
.scene .lens { fill: #10133a; stroke: #ffd200; stroke-width: 2; }
.scene .spark { fill: #ffd200; filter: drop-shadow(0 0 4px #ffd200); }

.scene .ln, .scene .ln-d, .scene .au-s, .scene .vi-s, .scene .wt-s, .scene .chk, .scene .chk-au,
.scene .cbox, .scene .ring, .scene .trace, .scene .cable, .scene .tower, .scene .tower-thin,
.scene .wave, .scene .arm, .scene .needle, .scene .gauge-track, .scene .grid, .scene .rail,
.scene .batt, .scene .detect, .scene .secure, .scene .feed-line, .scene .pulse-ring {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene .ln { stroke: rgba(255, 255, 255, .24); stroke-width: 1.5; }
.scene .ln.faint { opacity: .5; }
.scene .ln-d { stroke: rgba(255, 255, 255, .26); stroke-width: 1.5; stroke-dasharray: 3 6; }
.scene .au-s { stroke: #ffd200; stroke-width: 2.2; }
.scene .vi-s { stroke: #8b93ff; stroke-width: 2.2; }
.scene .wt-s { stroke: rgba(255, 255, 255, .9); stroke-width: 2.2; }
.scene .dash { stroke-dasharray: 5 6; }
.scene .link { stroke-width: 2.6; }
.scene .chk { stroke: #14173d; stroke-width: 2.4; }
.scene .chk-au { stroke: #ffd200; stroke-width: 2; }
.scene .cbox, .scene .ring { stroke: rgba(255, 255, 255, .35); stroke-width: 1.5; }
.scene .trace { stroke: rgba(255, 210, 0, .45); stroke-width: 2; }
.scene .cable { stroke-width: 3.5; }
.scene .c-bl { stroke: #5ab8ff; }
.scene .c-vi { stroke: #8b93ff; }
.scene .c-au { stroke: #ffd200; }
.scene .c-gr { stroke: #3ddc97; }
.scene .tower { stroke: rgba(255, 255, 255, .75); stroke-width: 3; }
.scene .tower-thin { stroke: rgba(255, 255, 255, .3); stroke-width: 1.2; }
.scene .wave { stroke: #ffd200; stroke-width: 2; opacity: .7; }
.scene .arm { stroke: rgba(255, 255, 255, .4); stroke-width: 4; }
.scene .needle { stroke: #fff; stroke-width: 3; }
.scene .gauge-track { stroke: rgba(255, 255, 255, .12); stroke-width: 6; }
.scene .gauge { stroke-width: 6; }
.scene .grid { stroke: rgba(255, 255, 255, .07); }
.scene .rail { stroke: rgba(255, 255, 255, .12); stroke-width: 2; stroke-dasharray: 2 8; }
.scene .batt { stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.scene .detect { stroke: #ffd200; stroke-width: 1.8; stroke-dasharray: 4 3; }
.scene .secure { stroke: rgba(255, 210, 0, .55); stroke-width: 1.8; stroke-dasharray: 6 7; }
.scene .feed-line { stroke: rgba(255, 255, 255, .1); }
.scene .pulse-ring { stroke: #ffd200; stroke-width: 1.5; opacity: 0; }
.scene .typing circle { fill: rgba(255, 255, 255, .55); }

.scene .t { fill: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; }
.scene .t.big { font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.scene .tn { fill: #14173d; font-size: 11px; font-weight: 700; }
.scene .ts { fill: rgba(255, 255, 255, .6); font-size: 9.5px; font-weight: 600; letter-spacing: .08em; }
.scene .ts-gr { fill: #3ddc97; letter-spacing: .02em; }
.scene .die-t { fill: #ffd200; font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.scene .ico { color: rgba(255, 255, 255, .88); }
.scene .ico-au { color: #ffd200; }
.scene .ico-nv { color: #14173d; }
.scene .chip { filter: drop-shadow(0 12px 18px rgba(4, 6, 30, .45)); }

/* Build steps: each part maps --enter onto its own 0→1 window [--t, --t + --d]. */
.scene .b, .scene .bf, .scene .bd, .scene .bx, .scene .by, .scene .bs,
.scene .pk, .scene .scan, .scene .br {
  --k: clamp(0, calc((var(--enter) - var(--t, 0)) / var(--d, .25)), 1);
}

.scene .b {
  opacity: var(--k);
  transform: translateY(calc((1 - var(--k)) * 18px));
}

.scene .bf {
  opacity: var(--k);
}

.scene .bd {
  stroke-dasharray: 1 2;
  stroke-dashoffset: calc(1 - var(--k));
  opacity: min(1, calc(var(--k) * 12));
}

.scene .bx,
.scene .by,
.scene .bs {
  transform-box: fill-box;
}

.scene .bx {
  transform-origin: 0 50%;
  transform: scaleX(var(--k));
}

.scene .by {
  transform-origin: 50% 100%;
  transform: scaleY(var(--k));
}

.scene .bs {
  transform-origin: 50% 50%;
  transform: scale(calc(.55 + var(--k) * .45));
  opacity: var(--k);
}

.scene .pk {
  transform: translate(
    calc((var(--x0) + (var(--x1) - var(--x0)) * var(--k)) * 1px),
    calc((var(--y0) + (var(--y1) - var(--y0)) * var(--k)) * 1px)
  );
  opacity: min(1, calc(var(--k) * 8), calc((1 - var(--k)) * 8));
}

.scene .scan {
  transform: translateY(calc(var(--k) * 212px));
  opacity: min(1, calc(var(--k) * 10), calc((1 - var(--k)) * 10));
}

.scene .br {
  transform-box: view-box;
  transform: rotate(calc(var(--r0) + (var(--r1) - var(--r0)) * var(--k)));
}

/* Feature-linked highlight: the part being read lights up, the rest dims. */
.scene [data-part] {
  transition: opacity .5s var(--ol-ease);
}

.scene.has-active [data-part]:not(.is-on) {
  opacity: .3;
}

.scene [data-part] .hl {
  transition: stroke .4s var(--ol-ease);
}

.scene [data-part].is-on .hl {
  stroke: rgba(255, 210, 0, .85);
  stroke-width: 1.5;
}

/* ─── Motion ───────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* Page-load sequence: one orchestrated moment per page. */
  [data-load] {
    animation: ol-rise .9s var(--ol-ease) both;
    animation-delay: calc(var(--d, 0) * 1s);
  }

  .underline {
    animation: ol-draw .9s cubic-bezier(.65, 0, .35, 1) .55s both;
  }

  /* Orchestration: rings appear, links draw, nodes arrive, then pulses flow. */
  .orchestra .ring,
  .orchestra .ring-dash {
    animation: ol-fade 1.2s var(--ol-ease) .2s both;
  }

  .orchestra .ring-dash {
    animation: ol-fade 1.2s var(--ol-ease) .2s both, ol-spin 90s linear 1.4s infinite;
  }

  .orchestra .ring-dash.reverse {
    animation: ol-fade 1.2s var(--ol-ease) .2s both, ol-spin-rev 120s linear 1.4s infinite;
  }

  .orchestra .link {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: ol-line 1s var(--ol-ease) both;
    animation-delay: calc(.55s + var(--i) * .08s);
  }

  .orchestra .pulse {
    animation: ol-pulse 4.8s cubic-bezier(.45, 0, .25, 1) infinite;
    animation-delay: calc(1.6s + var(--i) * .8s);
  }

  .orchestra-hub {
    animation: ol-pop .9s var(--ol-ease) .15s both;
  }

  .orchestra-hub::before {
    animation: ol-beat 2.4s ease-out 1.6s infinite;
  }

  .orchestra-node {
    animation:
      ol-pop .7s var(--ol-ease) both,
      ol-float 6s ease-in-out infinite alternate,
      ol-hit 4.8s ease-out infinite;
    animation-delay:
      calc(.75s + var(--i) * .09s),
      calc(var(--i) * -1.1s),
      calc(1.6s + var(--i) * .8s);
  }

  /* Scenes: hero illustrations build on load; small "alive" details loop gently. */
  .scene.is-hero {
    animation: sc-build 2s cubic-bezier(.3, .7, .2, 1) .3s both;
  }

  .scene .blink {
    animation: sc-blink 2.6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -.9s);
  }

  .scene .cursor {
    animation: sc-cursor 1.1s steps(1) infinite;
  }

  .scene .typing circle {
    animation: sc-type 1.2s ease-in-out infinite;
  }

  .scene .typing circle:nth-child(2) { animation-delay: .15s; }
  .scene .typing circle:nth-child(3) { animation-delay: .3s; }

  .scene .pulse-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: sc-ring 3s ease-out 1.5s infinite;
  }

  .scene .eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: sc-eye 5s ease-in-out infinite;
  }

  .scene .wave {
    animation: sc-wave 2.4s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * .3s);
  }

  /* Scroll reveal — only applied when JS is running (html.js). */
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .8s var(--ol-ease), transform .8s var(--ol-ease);
    transition-delay: calc(var(--d, 0) * 1s);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orchestra .pulse,
  .scene .spark {
    display: none;
  }

  /* Show every scroll-driven element in its finished state. */
  .js [data-scroll] {
    --enter: 1 !important;
  }
}

@keyframes sc-build {
  from { --enter: 0; }
  to { --enter: 1; }
}

@keyframes sc-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

@keyframes sc-cursor {
  50% { opacity: 0; }
}

@keyframes sc-type {
  0%, 100% { opacity: .3; }
  50% { opacity: 1; }
}

@keyframes sc-ring {
  0% { opacity: .6; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.9); }
}

@keyframes sc-eye {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(.15); }
}

@keyframes sc-wave {
  0%, 100% { opacity: .2; }
  50% { opacity: .9; }
}

@keyframes ol-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes ol-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ol-draw {
  from { background-size: 0% var(--ul-h); }
  to { background-size: 100% var(--ul-h); }
}

@keyframes ol-spin {
  to { transform: rotate(360deg); }
}

@keyframes ol-spin-rev {
  to { transform: rotate(-360deg); }
}

@keyframes ol-line {
  to { stroke-dashoffset: 0; }
}

@keyframes ol-pop {
  from { opacity: 0; scale: .82; }
  to { opacity: 1; scale: 1; }
}

@keyframes ol-float {
  from { transform: translateY(-4px); }
  to { transform: translateY(5px); }
}

@keyframes ol-pulse {
  0% { stroke-dashoffset: 9; opacity: 1; }
  30% { stroke-dashoffset: -100; opacity: 1; }
  31%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes ol-hit {
  0%, 27% { border-color: rgba(255, 255, 255, .14); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
  33% { border-color: rgba(255, 210, 0, .75); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6), 0 0 26px rgba(255, 210, 0, .35); }
  55%, 100% { border-color: rgba(255, 255, 255, .14); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); }
}

@keyframes ol-beat {
  from { opacity: .7; transform: scale(1); }
  to { opacity: 0; transform: scale(1.7); }
}
