/* OPTupply V2 — dark Decision Intelligence theme
   Loaded after optupply-custom.css. Overrides visual language only. */

/* ---------- Global (landing only via this stylesheet) ---------- */
html {
  scroll-behavior: smooth;
}

body#top:not(.diagnostico-page) {
  font-family: var(--font);
  background:
    radial-gradient(circle at 82% 6%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 8% 0%, rgba(56, 189, 248, 0.07), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 42%, #0a101c 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
  background-color: var(--bg);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.language-option:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.65);
  outline-offset: 2px;
}

.text-emphasis,
.text-primary {
  color: var(--brand-light) !important;
}

.btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, var(--brand) 100%);
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
  color: #fff;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #60a5fa 0%, var(--brand-hover) 100%);
  border-color: rgba(147, 197, 253, 0.35);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.36);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-primary:hover {
    transition: none;
    transform: none;
  }
}

/* ---------- Navbar sticky dark (V2 iteration: header only) ---------- */
nav.navbar.navbar-optupply.navbar-optupply--v2 {
  --nav-h: 70px;
  position: sticky;
  top: 0;
  z-index: 1030;
  height: var(--nav-h);
  min-height: var(--nav-h);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: rgba(7, 11, 20, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

nav.navbar.navbar-optupply.navbar-optupply--v2.navbar-light {
  --bs-navbar-color: var(--muted);
  --bs-navbar-hover-color: var(--text);
  --bs-navbar-active-color: var(--text);
  --bs-navbar-brand-color: var(--brand);
  --bs-navbar-brand-hover-color: var(--brand-light);
  --bs-navbar-toggler-border-color: transparent;
}

/* Same horizontal system as hero (.container) — undo custom inset */
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

@media (min-width: 576px) {
  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-container {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }
}

@media (min-width: 992px) {
  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-container {
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  }
}

/* Brand cluster: icon + wordmark */
nav.navbar.navbar-optupply.navbar-optupply--v2 > .container > .d-flex.align-items-center {
  gap: 0.53125rem; /* ~8.5px */
  flex-shrink: 0;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-logo {
  /* PNG content ~88.8% alto → 58px CSS ≈ ~51.5px visibles */
  height: 3.625rem; /* 58px */
  width: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  margin: 0; /* neutralize Bootstrap .me-2; gap handled by brand cluster */
  flex-shrink: 0;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-brand.navbar-optupply-wordmark,
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-wordmark {
  font-family: var(--font) !important;
  font-size: 1.9375rem !important; /* 31px — overrides optupply-custom !important */
  font-weight: 600 !important; /* Inter 600; overrides custom weight 100 */
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--brand) !important;
  padding: 0 !important;
  margin: 0 !important;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-brand.navbar-optupply-wordmark:hover,
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-brand.navbar-optupply-wordmark:focus,
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-wordmark:hover,
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-wordmark:focus {
  color: var(--brand-light) !important;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-brand.navbar-optupply-wordmark:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.65);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Right cluster: nav links + language as one unit */
nav.navbar.navbar-optupply.navbar-optupply--v2 #navbarSupportedContent {
  flex-grow: 0;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-nav {
  align-items: center;
  gap: 0;
  column-gap: 0;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link {
  color: #b6c3d6 !important;
  font-size: 0.9375rem !important; /* 15px */
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.4rem 0 !important;
  margin: 0 0.85rem; /* ~27px optical gap between items */
  border-radius: 0;
  background: transparent;
  transition: color 0.18s ease, opacity 0.18s ease;
  position: relative;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language):first-child .nav-link {
  margin-left: 0;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:hover,
nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:focus {
  color: var(--text) !important;
  background: transparent;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:hover::after,
nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: rgba(96, 165, 250, 0.45);
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.55);
  outline-offset: 4px;
  border-radius: 6px;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:active {
  color: var(--brand-light) !important;
}

/* Language: closer to nav than brand is to nav */
nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item-language {
  display: flex;
  align-items: center;
  margin-left: 0.65rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher.language-switcher--navbar {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option {
  flex: 0 0 auto;
  margin: 0;
  border: none;
  background: transparent;
  min-height: 1.7rem;
  padding: 0.2rem 0.7rem;
  font-size: 0.8125rem; /* 13px */
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  color: #a8b6c9;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option:hover {
  background: rgba(37, 99, 235, 0.12);
  color: var(--text);
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.45);
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option--active,
nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option--active:hover,
nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option--active:focus-visible {
  background: var(--brand);
  color: #fff;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .language-switcher--navbar .language-option:active:not(.language-option--active) {
  color: var(--brand-light);
}

/* Mobile toggler */
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.35rem 0.55rem;
  box-shadow: none;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-toggler:focus,
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-toggler:focus-visible {
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.4);
  outline: none;
}

nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-toggler i,
nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-toggler .bi-list {
  color: var(--brand-light) !important;
  font-size: 1.55rem !important;
  line-height: 1;
}

@media (min-width: 992px) {
  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 0;
    align-items: center;
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-nav.ms-auto {
    margin-left: 0 !important;
  }
}

@media (max-width: 991.98px) {
  nav.navbar.navbar-optupply.navbar-optupply--v2 {
    height: auto;
    min-height: 64px;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-logo {
    height: 2.5rem; /* 40px CSS → ~35.5px visibles */
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-brand.navbar-optupply-wordmark,
  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-optupply-wordmark {
    font-size: 1.5rem !important; /* 24px */
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 > .container > .d-flex.align-items-center {
    gap: 0.46875rem; /* ~7.5px */
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 #navbarSupportedContent {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(17, 24, 39, 0.94);
    border: 1px solid var(--line);
    width: 100%;
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .navbar-nav {
    align-items: stretch;
    width: 100%;
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link {
    margin: 0;
    padding: 0.7rem 0.35rem !important;
    font-size: 0.95rem !important;
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:hover::after,
  nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item:not(.nav-item-language) .nav-link:focus-visible::after {
    display: none;
  }

  nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-item-language {
    margin-left: 0;
    margin-top: 0.55rem;
    padding-left: 0;
    border-left: none;
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  nav.navbar.navbar-optupply.navbar-optupply--v2 .nav-link,
  nav.navbar.navbar-optupply.navbar-optupply--v2 .language-option {
    transition: none;
  }
}

/* ---------- Hero (split Decision Intelligence) ---------- */
header.masthead.masthead-split {
  background: transparent !important;
  overflow: hidden;
}

header.masthead.masthead-split .masthead-split-outer {
  position: relative;
  width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(circle at 86% 28%, rgba(37, 99, 235, 0.22), transparent 36%),
    radial-gradient(circle at 10% 16%, rgba(56, 189, 248, 0.08), transparent 28%),
    linear-gradient(165deg, rgba(17, 24, 39, 0.55) 0%, rgba(11, 18, 32, 0.18) 55%, transparent 100%) !important;
  padding-top: 2.75rem !important;
  padding-bottom: 3.25rem !important;
}

header.masthead.masthead-split .masthead-split-inner {
  position: relative;
  z-index: 1;
}

/* Explicit layout — independent of Bootstrap .row / .col */
header.masthead.masthead-split .masthead-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  min-height: 0;
}

header.masthead.masthead-split .masthead-split-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

header.masthead.masthead-split .masthead-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  color: var(--brand-light);
  font-size: var(--fs-eyebrow);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

header.masthead.masthead-split .masthead-eyebrow::before {
  content: "";
  width: 27px;
  height: 1px;
  background: var(--brand-light);
}

header.masthead.masthead-split .masthead-split-title {
  color: var(--text) !important;
  font-size: clamp(2.35rem, 8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin: 0 0 0.95rem !important;
  max-width: none;
}

header.masthead.masthead-split .masthead-split-title .masthead-title-opt,
header.masthead.masthead-split .masthead-typed-accent {
  color: var(--brand-light);
}

header.masthead.masthead-split .masthead-typed-line {
  color: var(--brand-light);
  min-height: 1.2em;
}

header.masthead.masthead-split .masthead-typed-cursor {
  font-weight: 300;
  margin-left: 1px;
  animation: masthead-typed-cursor-blink 1s step-end infinite;
}

header.masthead.masthead-split .masthead-tagline {
  color: var(--brand-light) !important;
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

header.masthead.masthead-split .masthead-lead {
  color: var(--muted) !important;
  font-size: 0.96875rem; /* ~15.5px */
  line-height: 1.55;
  max-width: 36rem;
  margin: 0 0 1.35rem;
}

header.masthead.masthead-split .masthead-cta {
  padding: 0.78rem 1.55rem;
  font-size: 1rem;
}

header.masthead.masthead-split .masthead-octopus-bleed {
  display: none !important;
}

/* Hero Decision Intelligence visual */
.masthead-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
}

.masthead-visual-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  min-height: 22rem;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background:
    radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(158deg, #15233a 0%, #0d1526 62%, #0a101c 100%);
  box-shadow: var(--shadow-lg);
}

.masthead-visual-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

/* Hero visual V1 — promesa conceptual */
.hero-promise {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  padding: 1.35rem 1.15rem 1.4rem;
  box-sizing: border-box;
}

.hero-promise-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.hero-promise-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(17, 24, 39, 0.72);
  color: var(--brand-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
}

.hero-promise-connectors {
  display: flex;
  justify-content: center;
  margin: 0.15rem 0 0.05rem;
  color: rgba(96, 165, 250, 0.55);
}

.hero-promise-connectors-svg {
  display: block;
  width: min(100%, 16rem);
  height: 1.65rem;
}

.hero-promise-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.48);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.2), rgba(11, 18, 32, 0.88));
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 0 28px rgba(37, 99, 235, 0.14);
  text-align: center;
}

.hero-promise-core-brand {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-promise-core-sub {
  margin: 0;
  color: var(--brand-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero-promise-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(147, 197, 253, 0.7);
  font-size: 0.95rem;
  line-height: 1;
  opacity: 0.85;
}

.hero-promise-alts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.35rem;
}

.hero-promise-alts-label {
  margin: 0;
  color: #9eacbf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.hero-promise-alts-nodes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.hero-promise-node {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  border: 1.5px solid rgba(96, 165, 250, 0.45);
  background: transparent;
  box-sizing: border-box;
}

.hero-promise-node--active {
  width: 0.9rem;
  height: 0.9rem;
  border-color: rgba(96, 165, 250, 0.85);
  background: rgba(37, 99, 235, 0.85);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}

.hero-promise-decision {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.42);
  background: rgba(17, 24, 39, 0.78);
  text-align: center;
}

.hero-promise-decision-mark {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  flex-shrink: 0;
}

.hero-promise-decision-text {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Hero visual V2 — exploración de alternativas (activa) */
.masthead-visual-v2 {
  background:
    radial-gradient(circle at 50% 58%, rgba(37, 99, 235, 0.16), transparent 42%),
    linear-gradient(158deg, #15233a 0%, #0d1526 62%, #0a101c 100%);
}

.hero-explore {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  padding: 1.2rem 1.15rem 1.25rem;
  box-sizing: border-box;
  gap: 0.55rem;
}

.hero-explore-complexity {
  text-align: center;
}

.hero-explore-complexity-label {
  margin: 0 0 0.35rem;
  color: var(--brand-light);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-explore-factors {
  margin: 0;
  color: #9eacbf;
  font-size: 0.78rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.hero-explore-core {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 1.15rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.38);
  background: rgba(17, 24, 39, 0.72);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.06), 0 0 20px rgba(37, 99, 235, 0.12);
  text-align: center;
}

.hero-explore-core-brand {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero-explore-core-sub {
  margin: 0;
  color: var(--brand-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-explore-space {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.35rem 0.15rem;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 20, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.hero-explore-space-label {
  margin: 0 0 0.35rem;
  color: #9eacbf;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.hero-explore-graph-wrap {
  width: 100%;
  max-width: 22rem;
}

.hero-explore-graph {
  display: block;
  width: 100%;
  height: auto;
  max-height: 11.5rem;
}

.hero-explore-edges-muted {
  color: rgba(148, 163, 184, 0.28);
}

.hero-explore-edges-active {
  color: rgba(96, 165, 250, 0.85);
}

.hero-explore-node {
  fill: rgba(30, 41, 59, 0.95);
  stroke: rgba(148, 163, 184, 0.45);
  stroke-width: 1.25;
}

.hero-explore-node--selected {
  fill: rgba(37, 99, 235, 0.95);
  stroke: rgba(147, 197, 253, 0.95);
  stroke-width: 1.75;
}

.hero-explore-node--sink {
  fill: rgba(37, 99, 235, 0.35);
  stroke: rgba(96, 165, 250, 0.9);
  stroke-width: 1.5;
}

.hero-explore-decision {
  padding: 0.85rem 0.95rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.4);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(17, 24, 39, 0.82));
  text-align: center;
}

.hero-explore-decision-title {
  margin: 0 0 0.3rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.hero-explore-decision-text {
  margin: 0;
  color: #b4c0d2;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Hero visual V3 — merge V1 structure + V2 exploration (activa) */
.masthead-visual-v3 {
  background:
    radial-gradient(circle at 50% 55%, rgba(37, 99, 235, 0.15), transparent 44%),
    linear-gradient(158deg, #15233a 0%, #0d1526 62%, #0a101c 100%);
}

.hero-merge {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  padding: 1.1rem 1.05rem 1.15rem;
  box-sizing: border-box;
  gap: 0.28rem;
}

.hero-merge-top {
  text-align: center;
}

.hero-merge-complexity {
  margin: 0 0 0.55rem;
  color: var(--brand-light);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-merge-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.hero-merge-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(17, 24, 39, 0.72);
  color: var(--brand-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-merge-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.22rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.48);
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.2), rgba(11, 18, 32, 0.9));
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 0 28px rgba(37, 99, 235, 0.14);
  text-align: center;
}

.hero-merge-core-brand {
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-merge-core-sub {
  margin: 0;
  color: var(--brand-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-merge-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: rgba(147, 197, 253, 0.7);
  font-size: 0.8rem;
  line-height: 1;
  opacity: 0.85;
  margin: 0;
  padding: 0.05rem 0;
  min-height: 0.85rem;
}

/* Flechas compactas: menos aire vertical */
.hero-merge-core + .hero-merge-arrow,
.hero-merge-space + .hero-merge-arrow {
  margin-top: 0.05rem;
  margin-bottom: 0.05rem;
  padding-top: 0;
  padding-bottom: 0;
}

.hero-merge-space {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  margin-top: 0.15rem;
  padding: 0.55rem 0.65rem 0.45rem;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 20, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.08);
  overflow: hidden;
}

.hero-merge-space-label {
  margin: 0 0 0.3rem;
  color: #9eacbf;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  flex: 0 0 auto;
}

/* V3 panel grows with its content so the exploration network keeps its own height */
.masthead-visual-stage.masthead-visual-v3 {
  aspect-ratio: auto;
}

/* Exploration network: SVG viewBox is synced to this box by JS (1 unit = 1px) */
.hero-net {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 2.3 / 1;
  min-height: 9.5rem;
  max-height: 15rem;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hero-net-svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-net-edge {
  fill: none;
  stroke-linecap: round;
}

.hero-net-layer--back .hero-net-edges {
  stroke: rgba(100, 116, 139, 0.24);
}

.hero-net-layer--mid .hero-net-edges {
  stroke: rgba(148, 163, 184, 0.24);
}

.hero-net-layer--front .hero-net-edges {
  stroke: rgba(147, 197, 253, 0.28);
}

.hero-net-layer--back .hero-net-node {
  fill: #4f6a92;
}

.hero-net-layer--mid .hero-net-node {
  fill: #6fa3e6;
}

.hero-net-layer--mid .hero-net-halo {
  fill: rgba(96, 165, 250, 0.1);
}

.hero-net-layer--front .hero-net-node {
  fill: url(#heroNetCore);
  stroke: rgba(191, 219, 254, 0.5);
  stroke-width: 0.6;
}

.hero-net-layer--front .hero-net-halo {
  fill: rgba(125, 211, 252, 0.13);
}

.hero-net-route-line,
.hero-net-route-glow {
  fill: none;
  stroke: url(#heroNetRouteGrad);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-net-route-glow {
  opacity: 0.4;
}

.hero-net-lit {
  fill: url(#heroNetCore);
  stroke: rgba(224, 242, 254, 0.75);
  stroke-width: 0.6;
}

.hero-net-lit-halo {
  fill: rgba(125, 211, 252, 0.5);
}

.hero-net-solution-ring {
  fill: none;
  stroke: #e0f2fe;
}

.hero-net-solution-label {
  fill: #dbeafe;
  font-family: var(--font);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(10, 16, 28, 0.85);
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}

.hero-merge-decision {
  padding: 0.8rem 0.9rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(96, 165, 250, 0.38);
  background: rgba(17, 24, 39, 0.78);
  text-align: center;
}

.hero-merge-decision-title {
  margin: 0 0 0.28rem;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.hero-merge-decision-text {
  margin: 0;
  color: #b4c0d2;
  font-size: 0.78rem;
  line-height: 1.45;
}

/* Desktop split: two real columns */
@media (min-width: 992px) {
  header.masthead.masthead-split .masthead-split-outer {
    padding-top: 3rem !important;
    padding-bottom: 3.5rem !important;
  }

  header.masthead.masthead-split .masthead-split-inner {
    width: 100%;
  }

  header.masthead.masthead-split .masthead-split-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    column-gap: clamp(1.75rem, 3.5vw, 3.25rem);
    row-gap: 0;
    align-items: center;
    width: 100%;
    min-height: clamp(26rem, 58vh, 34rem);
  }

  header.masthead.masthead-split .masthead-split-copy {
    max-width: none;
    margin: 0;
    padding-right: 0.25rem;
    text-align: left !important;
  }

  header.masthead.masthead-split .masthead-split-title {
    font-size: clamp(3.2rem, 4.5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 1.1rem !important;
    max-width: 11.5em;
  }

  header.masthead.masthead-split .masthead-tagline {
    font-size: 1.1875rem; /* 19px */
    margin-bottom: 0.85rem;
  }

  header.masthead.masthead-split .masthead-lead {
    font-size: 1.015625rem; /* ~16.25px */
    line-height: 1.55;
    margin-bottom: 1.6rem;
    max-width: 34rem;
  }

  .masthead-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .masthead-visual-stage {
    width: 100%;
    max-width: 38rem;
    min-height: 28rem;
    aspect-ratio: 5 / 4.2;
    margin: 0;
  }

  .hero-promise {
    padding: 1.65rem 1.45rem 1.7rem;
  }

  .hero-promise-chip {
    min-height: 2.55rem;
    font-size: 0.72rem;
  }

  .hero-promise-connectors-svg {
    height: 1.85rem;
  }

  .hero-promise-core {
    padding: 1.15rem 1.15rem 1.2rem;
  }

  .hero-promise-core-brand {
    font-size: 1.35rem;
  }

  .hero-promise-core-sub {
    font-size: 0.84rem;
  }

  .hero-promise-alts-label {
    font-size: 0.72rem;
  }

  .hero-promise-decision {
    padding: 1rem 1.15rem;
  }

  .hero-promise-decision-text {
    font-size: 1.02rem;
  }

  .hero-explore {
    padding: 1.45rem 1.4rem 1.5rem;
    gap: 0.65rem;
  }

  .hero-explore-complexity-label {
    font-size: 0.72rem;
  }

  .hero-explore-factors {
    font-size: 0.84rem;
  }

  .hero-explore-core {
    padding: 0.72rem 1.35rem 0.78rem;
  }

  .hero-explore-core-brand {
    font-size: 1.05rem;
  }

  .hero-explore-core-sub {
    font-size: 0.74rem;
  }

  .hero-explore-space-label {
    font-size: 0.7rem;
  }

  .hero-explore-graph {
    max-height: 13rem;
  }

  .hero-explore-decision {
    padding: 0.95rem 1.1rem 1rem;
  }

  .hero-explore-decision-title {
    font-size: 0.95rem;
  }

  .hero-explore-decision-text {
    font-size: 0.86rem;
  }

  .hero-merge {
    padding: 1.25rem 1.25rem 1.3rem;
    gap: 0.32rem;
  }

  .hero-merge-core + .hero-merge-arrow,
  .hero-merge-space + .hero-merge-arrow {
    margin-top: 0.05rem;
    margin-bottom: 0.05rem;
    padding-top: 0;
  }

  .hero-merge-space {
    margin-top: 0.2rem;
    padding: 0.6rem 0.75rem 0.5rem;
  }

  .hero-merge-complexity {
    font-size: 0.72rem;
    margin-bottom: 0.65rem;
  }

  .hero-merge-chip {
    min-height: 2rem;
    padding: 0.32rem 0.65rem;
    font-size: 0.68rem;
  }

  .hero-merge-core {
    padding: 1.1rem 1.15rem 1.15rem;
  }

  .hero-merge-core-brand {
    font-size: 1.32rem;
  }

  .hero-merge-core-sub {
    font-size: 0.84rem;
  }

  .hero-merge-space-label {
    font-size: 0.7rem;
    margin-bottom: 0.35rem;
  }

  .hero-merge-decision {
    padding: 0.9rem 1.05rem 0.95rem;
  }

  .hero-merge-decision-title {
    font-size: 0.92rem;
  }

  .hero-merge-decision-text {
    font-size: 0.84rem;
  }
}

/* Prefer single column through tablet */
@media (max-width: 991.98px) {
  header.masthead.masthead-split .masthead-split-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .masthead-visual {
    margin-top: 0.35rem;
  }

  .masthead-visual-stage {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  header.masthead.masthead-split .masthead-split-outer {
    padding-top: 1.75rem !important;
    padding-bottom: 2.25rem !important;
  }

  header.masthead.masthead-split .masthead-split-row {
    gap: 1.5rem;
  }

  header.masthead.masthead-split .masthead-split-title {
    font-size: clamp(2.15rem, 9vw, 2.75rem);
  }

  .masthead-visual-stage {
    min-height: 21rem;
    aspect-ratio: 4 / 3.8;
  }

  .hero-promise {
    padding: 1.15rem 0.9rem 1.2rem;
    gap: 0.15rem;
  }

  .hero-promise-inputs {
    gap: 0.35rem;
  }

  .hero-promise-chip {
    min-height: 2.15rem;
    padding: 0.4rem 0.3rem;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }

  .hero-promise-connectors-svg {
    height: 1.35rem;
  }

  .hero-promise-core-brand {
    font-size: 1.1rem;
  }

  .hero-promise-core-sub {
    font-size: 0.74rem;
  }

  .hero-promise-alts-nodes {
    gap: 0.55rem;
  }

  .hero-promise-decision-text {
    font-size: 0.88rem;
  }

  .hero-explore {
    padding: 1.05rem 0.85rem 1.1rem;
    gap: 0.45rem;
  }

  .hero-explore-factors {
    font-size: 0.72rem;
  }

  .hero-explore-core {
    padding: 0.55rem 0.95rem 0.6rem;
  }

  .hero-explore-core-brand {
    font-size: 0.92rem;
  }

  .hero-explore-graph {
    max-height: 9.5rem;
  }

  .hero-explore-decision-title {
    font-size: 0.8rem;
  }

  .hero-explore-decision-text {
    font-size: 0.74rem;
  }

  .hero-merge {
    padding: 0.95rem 0.8rem 1rem;
    gap: 0.22rem;
  }

  .hero-merge-chip {
    min-height: 1.7rem;
    padding: 0.24rem 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.03em;
  }

  .hero-merge-core {
    padding: 0.85rem 0.9rem 0.9rem;
  }

  .hero-merge-core-brand {
    font-size: 1.08rem;
  }

  .hero-merge-core-sub {
    font-size: 0.72rem;
  }

  .hero-net {
    aspect-ratio: 1.55 / 1;
    min-height: 11rem;
    max-height: 14rem;
  }

  .hero-net-layer--back {
    opacity: 0.8;
  }

  .hero-merge-decision-title {
    font-size: 0.76rem;
  }

  .hero-merge-decision-text {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  header.masthead.masthead-split .masthead-typed-cursor {
    animation: none;
  }
}

/* ---------- Situación actual (editorial) ---------- */
.situation-section {
  background: transparent;
  border-bottom: 1px solid var(--line) !important;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.75rem);
}

.situation-inner {
  width: 100%;
}

.situation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.situation-intro {
  min-width: 0;
  max-width: 36rem;
}

.situation-eyebrow {
  margin-bottom: 0.85rem !important;
}

.situation-heading {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.situation-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34rem;
}

.situation-frictions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

.situation-friction {
  margin: 0;
  padding: 1.35rem 0 1.35rem 0.95rem;
  border: none;
  border-radius: 0;
  border-left: 2px solid rgba(96, 165, 250, 0.28);
  background: transparent;
  transition:
    border-left-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.situation-friction + .situation-friction {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.situation-friction:hover,
.situation-friction:focus-visible {
  border-left-color: rgba(96, 165, 250, 0.72);
  background: rgba(37, 99, 235, 0.07);
  transform: translateX(2px);
  outline: none;
}

.situation-friction:hover .situation-friction-text,
.situation-friction:focus-visible .situation-friction-text {
  color: #d5deea;
}

.situation-friction:hover .situation-friction-label,
.situation-friction:focus-visible .situation-friction-label {
  color: #93c5fd;
}

.situation-friction-label {
  margin: 0 0 0.5rem;
  color: var(--brand-light);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.situation-friction-text {
  margin: 0;
  color: #b4c0d2;
  font-size: 0.9375rem;
  line-height: 1.58;
  transition: color 0.2s ease;
}

.situation-result {
  margin: 1.85rem auto 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(96, 165, 250, 0.28);
  max-width: 48rem;
  text-align: center;
}

.situation-result::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.7);
}

.situation-result-label {
  margin: 0 0 0.55rem;
  color: var(--brand-light);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.situation-result-text {
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.2rem, 1.85vw, 1.45rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 40rem;
}

@media (min-width: 992px) {
  .situation-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: 0;
    align-items: start;
  }

  .situation-intro {
    max-width: none;
    padding-right: 0.5rem;
    position: sticky;
    top: calc(70px + 1.25rem);
  }

  .situation-friction {
    padding: 1.45rem 0.25rem 1.45rem 1.05rem;
  }

  .situation-result {
    margin-top: 2.05rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 48rem;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .situation-intro {
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .situation-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .situation-friction {
    padding: 1.2rem 0 1.2rem 0.85rem;
  }

  .situation-friction-text {
    font-size: 0.9375rem;
  }

  .situation-result {
    margin-top: 1.65rem;
  }

  .situation-result-text {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .situation-friction {
    transition: none;
  }

  .situation-friction:hover,
  .situation-friction:focus-visible {
    transform: none;
  }
}

/* ---------- Cómo trabaja OPTupply ---------- */
.how-works-section {
  background: transparent;
  border-bottom: 1px solid var(--line) !important;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.75rem);
}

.how-works-inner {
  width: 100%;
}

.how-works-header {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.how-works-eyebrow {
  margin-bottom: 0.85rem !important;
}

.how-works-heading {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.how-works-lead {
  margin: 0;
  color: #b4c0d2;
  font-size: 1.078125rem; /* ~17.25px */
  line-height: 1.62;
}

.how-works-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  counter-reset: none;
}

.how-works-step {
  position: relative;
  display: flex;
  flex-direction: column;
  /* min-height:100% broke grid track sizing: cards overflowed the ol (~54px)
     and painted over the next sibling (op-decision-break). Stretch handles equal height. */
  margin: 0;
  padding: 1.5rem 1.3rem 1.55rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(96, 165, 250, 0.3);
  background:
    radial-gradient(circle at 94% 10%, rgba(37, 99, 235, 0.16), transparent 36%),
    rgba(17, 24, 39, 0.78);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.how-works-step-num {
  display: block;
  margin-bottom: 1.35rem;
  color: var(--brand-light);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.how-works-step-title {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.how-works-step-text {
  margin: 0;
  color: #b4c0d2;
  font-size: 0.96875rem; /* 15.5px */
  line-height: 1.58;
  flex: 1 1 auto;
}

@media (min-width: 992px) {
  .how-works-header {
    max-width: 48rem;
    margin-bottom: 2.5rem;
  }

  .how-works-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    position: relative;
    isolation: isolate; /* keep connector z-index:-1 inside the steps, not under the section */
  }

  /* Subtle sequence connector behind step numbers */
  .how-works-steps::before {
    content: "";
    position: absolute;
    top: 2.05rem;
    left: calc(12.5% + 0.35rem);
    right: calc(12.5% + 0.35rem);
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(96, 165, 250, 0.08),
      rgba(96, 165, 250, 0.35) 20%,
      rgba(96, 165, 250, 0.35) 80%,
      rgba(96, 165, 250, 0.08)
    );
    pointer-events: none;
    z-index: -1;
  }

  .how-works-step {
    padding: 1.6rem 1.25rem 1.65rem;
  }

  .how-works-step-num {
    margin-bottom: 1.6rem;
  }
}

@media (max-width: 991.98px) {
  .how-works-steps {
    gap: 0.85rem;
  }

  .how-works-step + .how-works-step::before {
    content: "";
    position: absolute;
    top: -0.55rem;
    left: 1.55rem;
    width: 1px;
    height: 0.55rem;
    background: rgba(96, 165, 250, 0.28);
  }
}

@media (max-width: 575.98px) {
  .how-works-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .how-works-header {
    margin-bottom: 1.5rem;
  }

  .how-works-step {
    padding: 1.35rem 1.1rem 1.4rem;
  }

  .how-works-step-text {
    font-size: 0.9375rem;
  }
}

/* ---------- Capacidades de la suite (#features) ---------- */
.suite-capabilities-section,
section#features.suite-capabilities-section {
  background: transparent;
  border-bottom: 1px solid var(--line) !important;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.75rem);
}

.suite-capabilities-inner {
  width: 100%;
}

.suite-capabilities-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.suite-capabilities-narrative {
  min-width: 0;
}

.suite-capabilities-eyebrow {
  margin-bottom: 0.85rem !important;
}

.suite-core-title {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.suite-core-text {
  margin: 0 0 1.35rem;
  color: #b4c0d2;
  font-size: 1rem;
  line-height: 1.58;
}

.suite-core-base {
  margin: 0 0 1.15rem;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.suite-core-label {
  margin: 0 0 0.4rem;
  color: var(--brand-light);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.suite-core-base-text {
  margin: 0;
  color: #b4c0d2;
  font-size: 0.96875rem;
  line-height: 1.55;
}

.suite-core-ai {
  margin: 0;
}

.suite-core-ai-title {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.suite-core-ai-text {
  margin: 0;
  color: #b4c0d2;
  font-size: 0.96875rem;
  line-height: 1.58;
}

.suite-cap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
  margin: 0;
  min-width: 0;
}

.suite-cap {
  margin: 0;
  padding: 1.15rem 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(17, 24, 39, 0.42);
}

.suite-cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  color: var(--brand-light);
  line-height: 1;
}

.suite-cap-icon i {
  font-size: 1.25rem;
}

.suite-cap-title {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.suite-cap-text {
  margin: 0;
  color: #9eacbf;
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (min-width: 992px) {
  .suite-capabilities-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.37fr) minmax(0, 0.63fr);
    column-gap: clamp(1.75rem, 3vw, 2.75rem);
    row-gap: 0;
    align-items: start;
  }

  .suite-core-title {
    font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  }

  .suite-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .suite-cap {
    padding: 1.25rem 1.2rem 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .suite-capabilities-section,
  section#features.suite-capabilities-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .suite-capabilities-layout {
    gap: 1.5rem;
  }

  .suite-cap-text {
    font-size: 0.91rem;
  }
}

/* ---------- Problem fit (entre Capacidades y Suite de aplicaciones) ---------- */
.problem-fit-section {
  background: transparent;
  border-bottom: 1px solid var(--line) !important;
  padding-top: clamp(2.75rem, 5.5vw, 4rem);
  padding-bottom: clamp(2.75rem, 5.5vw, 4.25rem);
}

.problem-fit-inner {
  width: 100%;
}

.problem-fit-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-fit-copy {
  min-width: 0;
  max-width: 36rem;
}

.problem-fit-visual {
  min-width: 0;
}

.problem-fit-eyebrow {
  margin-bottom: 0.85rem !important;
}

.problem-fit-heading {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.problem-fit-lead {
  margin: 0;
  color: #b4c0d2;
  font-size: 1.02rem;
  line-height: 1.58;
}

.problem-fit-signals {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  min-width: 0;
}

.problem-fit-signal {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  padding: 0.85rem 0;
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: none;
  box-shadow: none;
}

.problem-fit-signal:last-child {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.problem-fit-signal-icon {
  flex: 0 0 auto;
  margin-top: 0.12rem;
  color: var(--brand-light);
  line-height: 1;
}

.problem-fit-signal-icon i {
  font-size: 1.05rem;
}

.problem-fit-signal-body {
  min-width: 0;
}

.problem-fit-signal-title {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.problem-fit-signal-text {
  margin: 0;
  color: #9eacbf;
  font-size: 0.9rem;
  line-height: 1.45;
}

.problem-fit-footer {
  margin: 1.65rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(96, 165, 250, 0.28);
  max-width: 46rem;
}

.problem-fit-closing {
  margin: 0 0 1rem;
  color: #d5deeb;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.problem-fit-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 768px) {
  .problem-fit-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .problem-fit-signal:nth-child(1),
  .problem-fit-signal:nth-child(2) {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }

  .problem-fit-signal:nth-child(3),
  .problem-fit-signal:nth-child(4) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }
}

@media (min-width: 992px) {
  /* Visual ~33% | copy+signals ~67%; visual spans both right rows */
  .problem-fit-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.33fr) minmax(0, 0.67fr);
    grid-template-areas:
      "visual copy"
      "visual signals";
    column-gap: clamp(1.5rem, 2.8vw, 2.5rem);
    row-gap: 1.15rem;
    align-items: start;
  }

  .problem-fit-visual {
    grid-area: visual; /* spans copy + signals rows */
    align-self: center; /* vertical midpoint vs. right column block */
  }

  .problem-fit-copy {
    grid-area: copy;
    max-width: none;
    padding-right: 0.25rem;
  }

  .problem-fit-signals {
    grid-area: signals;
  }

  .problem-fit-heading {
    font-size: clamp(1.65rem, 2.3vw, 2.15rem);
  }

  .problem-fit-footer {
    margin-top: 1.85rem;
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .problem-fit-section {
    padding-top: 2.35rem;
    padding-bottom: 2.5rem;
  }

  .problem-fit-footer {
    margin-top: 1.35rem;
  }

  .problem-fit-closing {
    font-size: 0.98rem;
  }

  .problem-fit-cta {
    width: 100%;
  }
}

/* ---------- Demos / band ---------- */
.landing-band-exploratorias-contact {
  background:
    linear-gradient(
      180deg,
      rgba(17, 24, 39, 0.35) 0%,
      rgba(11, 18, 32, 0.55) 40%,
      rgba(7, 11, 20, 0.9) 100%
    ) !important;
}

.demo-preview-section.applications-section,
section#demo-preview.applications-section {
  border-bottom: 1px solid var(--line) !important;
  padding-top: clamp(3rem, 6vw, 4.5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 4.75rem) !important;
}

.applications-inner {
  width: 100%;
}

.applications-header.demo-preview-header {
  max-width: 47.5rem;
  width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
}

.applications-eyebrow.section-eyebrow {
  justify-content: center;
  width: 100%;
  margin-bottom: 0.85rem !important;
}

.applications-heading.demo-preview-heading {
  margin: 0 0 0.65rem;
  color: var(--text) !important;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem) !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.applications-tech-statement {
  margin: 0 0 0.85rem;
  color: #9eb0c8;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.applications-lead.demo-preview-sublead {
  margin: 0;
  color: #b4c0d2 !important;
  font-size: 1.06rem;
  line-height: 1.62;
}

.applications-grid.demo-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.applications-card.demo-preview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  padding: 0 !important;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.88) !important;
  border: 1px solid rgba(148, 163, 184, 0.14) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.applications-card.demo-preview-card:hover {
  border-color: rgba(96, 165, 250, 0.32) !important;
  box-shadow: none !important;
  transform: none;
  background: rgba(17, 24, 39, 0.95) !important;
}

.applications-shot.demo-preview-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 11rem;
  margin: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12) !important;
  border-radius: 0 !important;
  background: rgba(7, 11, 20, 0.85) !important;
  overflow: hidden;
}

.applications-shot.demo-preview-img-wrap:hover .demo-preview-img,
.applications-shot.demo-preview-docks:hover .demo-preview-docks-img {
  transform: none !important;
}

.applications-section .demo-preview-docks .demo-preview-docks-img {
  filter: none !important;
}

.applications-section .demo-preview-docks:hover .demo-preview-docks-img {
  filter: none !important;
}

.applications-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  min-width: 0;
}

.applications-domain.demo-preview-eyebrow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.65rem;
  padding: 0;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--brand-light) !important;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.applications-card-title.demo-preview-title {
  margin: 0 0 0.5rem;
  color: var(--text) !important;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  min-height: 2.7em;
}

.applications-card-text.demo-preview-text {
  margin: 0 0 0.95rem;
  color: #9eacbf !important;
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1 1 auto;
}

.applications-decision {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.applications-decision-label {
  margin: 0 0 0.35rem;
  color: var(--brand-light);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.applications-decision-text {
  margin: 0;
  color: #c5d0e0;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .applications-grid.demo-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .applications-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.575rem);
    justify-self: center;
  }
}

@media (min-width: 992px) {
  .applications-header.demo-preview-header {
    margin-bottom: 2.25rem;
  }

  .applications-grid.demo-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .applications-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
  }

  .applications-shot.demo-preview-img-wrap {
    min-height: 12rem;
  }

  .applications-card-body {
    padding: 1.25rem 1.2rem 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .demo-preview-section.applications-section,
  section#demo-preview.applications-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.75rem !important;
  }

  .applications-card-title.demo-preview-title {
    min-height: 0;
    font-size: 1.04rem;
  }

  .applications-shot.demo-preview-img-wrap {
    min-height: 10rem;
  }

  .applications-card-body {
    padding: 1.05rem 1rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .applications-card.demo-preview-card:hover {
    transform: none;
  }
}

/* ---------- Team ---------- */
.team-section,
#equipo.team-section,
#equipo.section-optupplers {
  background: transparent !important;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line) !important;
  padding-top: clamp(3rem, 6vw, 4.5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 4.75rem) !important;
  text-align: left;
}

.team-inner {
  width: 100%;
}

.team-header {
  max-width: 47.5rem;
  width: 100%;
  margin: 0 auto 1.85rem;
  text-align: center;
}

.team-eyebrow.section-eyebrow {
  justify-content: center;
  width: 100%;
  margin-bottom: 0.85rem !important;
}

.team-heading {
  margin: 0 0 1rem;
  color: var(--text) !important;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.team-lead {
  margin: 0;
  color: #b4c0d2 !important;
  font-size: 1.06rem;
  line-height: 1.62;
}

.team-cap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
}

.team-cap {
  margin: 0;
  padding: 1.05rem 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(17, 24, 39, 0.22);
}

.team-cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  color: var(--brand-light);
  line-height: 1;
}

.team-cap-icon i {
  font-size: 1.25rem;
}

.team-cap-title {
  margin: 0 0 0.4rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.team-cap-text {
  margin: 0;
  color: #9eacbf;
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .team-cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 992px) {
  .team-header {
    margin-bottom: 1.75rem;
  }

  .team-cap-grid {
    gap: 0.9rem;
  }

  .team-cap {
    padding: 1.15rem 1.1rem 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .team-section,
  #equipo.team-section,
  #equipo.section-optupplers {
    padding-top: 2.5rem !important;
    padding-bottom: 2.75rem !important;
  }

  .team-cap-text {
    font-size: 0.91rem;
  }
}

/* ---------- Credibility (franja transversal vinculada a Equipo) ---------- */
.credibility-band,
section#credibility.credibility-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.35rem 0;
  background: rgba(12, 18, 32, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  box-sizing: border-box;
}

.credibility-band-inner {
  width: 100%;
  text-align: center;
}

.credibility-band-text {
  margin: 0 auto 0.85rem;
  max-width: 48rem;
  color: #b4c0d2;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.credibility-band-logos.credibility-strip-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.credibility-strip-logo {
  filter: grayscale(1) brightness(1.25) contrast(0.95);
  opacity: 0.78;
  height: 1.7rem;
  width: auto;
  max-width: 7rem;
  object-fit: contain;
}

.credibility-band-logos.credibility-strip-logos .credibility-strip-logo--unl,
.credibility-band-logos.credibility-strip-logos .credibility-strip-logo--incubate {
  height: 2rem; /* ~18% vs 1.7rem */
  max-height: 2rem;
  max-width: 8.25rem;
  width: auto;
  object-fit: contain;
}

/* ---------- Contact / CTA final ---------- */
.contact-section,
#contact.contact-section {
  background: transparent !important;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0 clamp(2.75rem, 5vw, 3.75rem) !important;
}

.contact-inner {
  width: 100%;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: 1.65rem 1.35rem 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(96, 165, 250, 0.26);
  background:
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(155deg, rgba(17, 28, 48, 0.98) 0%, rgba(10, 16, 28, 0.98) 55%, #070b14 100%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.contact-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

.contact-eyebrow.section-eyebrow {
  justify-content: flex-start;
  width: auto;
  margin-bottom: 0.85rem !important;
}

.contact-heading {
  margin: 0 0 0.9rem;
  color: var(--text) !important;
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-lead {
  margin: 0 0 1.15rem;
  color: #b4c0d2 !important;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 34rem;
}

.contact-mail-alt {
  margin: 0;
  color: #9eacbf;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-mail-alt-intro {
  color: #9eacbf !important;
}

.contact-mail-alt-addr {
  color: var(--brand-light) !important;
  font-weight: 600;
  text-decoration: none;
}

.contact-mail-alt-addr:hover,
.contact-mail-alt-addr:focus {
  color: #93c5fd !important;
  text-decoration: underline;
}

.contact-form-wrap {
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.contact-label {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-label-hint {
  color: #8b9bb0;
  font-size: 0.78rem;
  font-weight: 500;
}

.contact-form-required {
  color: var(--brand-light);
  font-weight: 700;
}

.contact-input.form-control,
#contact .contact-input.form-control {
  height: 3rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 11, 20, 0.65) !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}

.contact-textarea.form-control,
#contact .contact-textarea.form-control {
  height: auto;
  min-height: 5.5rem;
  max-width: 100%;
  resize: vertical;
  line-height: 1.45;
}

.contact-input.form-control::placeholder {
  color: #7f8ea3;
}

.contact-input.form-control:focus,
#contact .contact-input.form-control:focus {
  background: rgba(7, 11, 20, 0.82) !important;
  border-color: rgba(96, 165, 250, 0.55) !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.2) !important;
  color: var(--text) !important;
}

.contact-form-message {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: left;
}

.contact-form-message--success {
  color: #86efac;
  background: rgba(22, 163, 74, 0.14);
  border: 1px solid rgba(74, 222, 128, 0.28);
}

.contact-form-message--error {
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.28);
}

.contact-submit,
#contact .contact-submit {
  align-self: stretch;
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--brand) !important;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus,
#contact .contact-submit:hover,
#contact .contact-submit:focus {
  background: #1d4ed8 !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.34);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (min-width: 992px) {
  .credibility-band,
  section#credibility.credibility-band {
    padding: 1.5rem 0;
  }

  .contact-panel {
    padding: 2.15rem 2.15rem 2.25rem;
  }

  .contact-panel-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 2.25rem 2.5rem;
    align-items: center;
  }

  .contact-submit,
  #contact .contact-submit {
    width: auto;
    align-self: flex-start;
    min-width: 13.5rem;
  }
}

@media (max-width: 575.98px) {
  .credibility-band,
  section#credibility.credibility-band {
    padding: 1.15rem 0;
  }

  .credibility-band-text {
    font-size: 0.9rem;
  }

  .credibility-band-logos.credibility-strip-logos .credibility-strip-logo--unl,
  .credibility-band-logos.credibility-strip-logos .credibility-strip-logo--incubate {
    height: 1.75rem;
    max-height: 1.75rem;
    max-width: min(7.25rem, 40vw);
  }

  .contact-panel {
    padding: 1.35rem 1.1rem 1.45rem;
  }

  .contact-lead {
    font-size: 1rem;
  }
}

/* ---------- Footer ---------- */
.footer.footer-optupply-dark,
footer.footer {
  background: #05080f !important;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer a,
.footer-email {
  color: var(--brand-light) !important;
}

.footer .text-muted,
.footer p {
  color: var(--muted-2) !important;
}

.language-switcher--footer {
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Modal ---------- */
.experience-evidence-modal-content {
  background: var(--surface) !important;
  color: var(--text);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg) !important;
}

.experience-evidence-modal-body {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%) !important;
}

.experience-evidence-title,
.experience-evidence-item-title {
  color: var(--text) !important;
}

.experience-evidence-lead,
.experience-evidence-item-what {
  color: var(--muted) !important;
}

.experience-evidence-item {
  border-bottom-color: var(--line) !important;
}

.experience-evidence-item-result,
.experience-evidence-item-icon {
  color: var(--brand-light) !important;
}

.modal-content .btn-close {
  filter: invert(1) grayscale(1);
  opacity: 0.75;
}

/* ---------- Floating scroll button ---------- */
#scrollToTopBtn.btn-floating,
a.btn-floating {
  background: var(--brand) !important;
  border: 1px solid rgba(147, 197, 253, 0.25);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

/* ---------- Typography helpers ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-light);
  font-size: var(--fs-eyebrow);
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand-light);
}

.demo-credibility-link {
  background: rgba(37, 99, 235, 0.12) !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
  color: var(--brand-light) !important;
}

.demo-credibility-link:hover {
  background: rgba(37, 99, 235, 0.2) !important;
}

/* ---------- Responsive safety ---------- */
@media (max-width: 767.98px) {
  :root {
    --section-y: 3.75rem;
  }

  .features-feature-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
