/*
 * OppenLabs UX Innovation 2026-09-22
 * Capa final: escala tipografica, fluidez, foco, portada y lectura.
 */
:root {
  --ux-bg: #06100d;
  --ux-bg-soft: #0c1713;
  --ux-paper: #f2eee4;
  --ux-paper-soft: #e6e0d4;
  --ux-ink: #f6f2e8;
  --ux-ink-soft: #c7d3cc;
  --ux-muted: #83968d;
  --ux-green: #64d1a7;
  --ux-green-strong: #19a77c;
  --ux-copper: #d6a15c;
  --ux-clay: #b36f4c;
  --ux-blue: #6eb6d8;
  --ux-line: rgba(224, 239, 231, .13);
  --ux-line-strong: rgba(224, 239, 231, .23);
  --ux-radius-xs: 8px;
  --ux-radius-sm: 12px;
  --ux-radius-md: 18px;
  --ux-radius-lg: 24px;
  --ux-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  --ux-max: min(1240px, calc(100vw - 42px));
  --ux-ease: cubic-bezier(.2, .8, .2, 1);
}

html {
  scroll-padding-top: 108px;
}

body.sitio-publico {
  background:
    linear-gradient(180deg, #06100d 0, #08130f 52%, #060d0b 100%);
  color: var(--ux-ink-soft);
  font-size: 16px;
  line-height: 1.62;
}

.sitio-publico h1,
.sitio-publico h2,
.sitio-publico h3 {
  letter-spacing: 0 !important;
  text-wrap: balance;
}

.sitio-publico p,
.sitio-publico li {
  text-wrap: pretty;
}

.sitio-publico img {
  height: auto;
}

.sitio-publico :focus-visible {
  outline: 2px solid var(--ux-green);
  outline-offset: 4px;
}

.cabecera-web {
  top: 14px;
  right: 18px;
  left: 18px;
  height: 72px;
  max-width: 1420px;
  border-color: rgba(236, 251, 244, .12);
  border-radius: var(--ux-radius-md);
  background: rgba(6, 18, 14, .76) !important;
  box-shadow: 0 18px 58px rgba(0, 0, 0, .24);
  backdrop-filter: blur(20px) saturate(138%);
  -webkit-backdrop-filter: blur(20px) saturate(138%);
}

.cabecera-web.con-fondo {
  height: 66px;
  background: rgba(5, 14, 11, .94) !important;
  border-color: rgba(116, 217, 176, .22);
}

.cabecera-web::before {
  display: none;
}

.logo-orbita {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
}

.logo-web img {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
}

.logo-web > span:last-child,
.menu-web a,
.acciones-web > a,
.theme-toggle {
  letter-spacing: 0 !important;
}

.menu-web nav a,
.acciones-web > a:not(.enlace-carrito),
.theme-toggle {
  min-height: 38px;
  border-radius: var(--ux-radius-xs);
}

.menu-web nav a[aria-current="page"],
.menu-web nav a:hover,
.acciones-web > a:not(.enlace-carrito):hover {
  background: rgba(100, 209, 167, .12);
  color: #f4fff9;
}

.theme-toggle {
  grid-template-columns: 20px auto;
  background: rgba(255, 255, 255, .055);
}

.mobile-nav {
  border-radius: var(--ux-radius-md);
}

.home-2026 .home-lab-hero {
  min-height: 790px;
  background: #040806;
}

.home-2026 .home-lab-hero .hero-velo {
  background:
    linear-gradient(90deg, rgba(3, 7, 6, .97) 0%, rgba(3, 8, 6, .86) 42%, rgba(3, 8, 6, .38) 74%, rgba(3, 8, 6, .18) 100%),
    linear-gradient(0deg, rgba(3, 8, 6, .74), transparent 60%);
}

.home-2026 .home-lab-hero .hero-layout {
  width: min(1390px, calc(100% - 84px));
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 56px;
  padding-top: 126px;
}

.home-2026 .home-lab-hero .hero-contenido {
  max-width: 780px;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-kicker span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(214, 161, 92, .22);
  border-radius: 999px;
  background: rgba(214, 161, 92, .08);
  color: #f1d09f;
  font-size: .62rem;
  font-weight: 760;
  letter-spacing: 0;
}

.home-2026 .home-lab-hero h1 {
  max-width: 770px;
  margin: 20px 0 22px;
  color: #f8f3e8;
  font-size: 5.7rem;
  line-height: .94;
  letter-spacing: 0;
}

.texto-gradiente {
  color: #92e5c5;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.home-2026 .home-lab-hero .hero-bajada {
  max-width: 640px;
  color: rgba(239, 248, 243, .74);
  font-size: 1.04rem;
}

.grupo-botones {
  gap: 10px;
  margin-top: 30px;
}

.boton {
  min-height: 46px;
  min-width: 0;
  border-radius: var(--ux-radius-xs);
  font-size: .68rem;
  letter-spacing: 0;
  transform: translateZ(0);
}

.boton:hover {
  transform: translateY(-2px);
}

.boton.secundario {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.hero-signals span {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--ux-radius-sm);
  background: rgba(255, 255, 255, .05);
  color: rgba(246, 252, 249, .58);
  font-size: .72rem;
}

.hero-signals b {
  display: block;
  margin-bottom: 4px;
  color: #f5f0e6;
  font-size: .78rem;
}

.home-2026 .home-lab-hero .hero-visual {
  align-self: center;
  width: min(420px, 100%);
  margin-bottom: 0;
}

.home-2026 .home-lab-hero .impresora-hero {
  position: relative;
  border-radius: var(--ux-radius-lg);
  border-color: rgba(233, 239, 225, .18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(5, 10, 8, .38)),
    linear-gradient(180deg, rgba(100, 209, 167, .11), transparent);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .38);
}

.home-2026 .home-lab-hero .impresora-hero::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  pointer-events: none;
  content: "";
}

.home-2026 .home-lab-hero .impresora-marco {
  height: 292px;
  border-radius: 12px;
}

.hero-telemetry {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.hero-telemetry-row {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--ux-radius-sm);
  background: rgba(5, 13, 10, .45);
  color: rgba(238, 250, 243, .7);
  font-size: .66rem;
}

.hero-telemetry-row b {
  color: #f6f2e8;
  font-size: .68rem;
}

.hero-telemetry-row i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
}

.hero-telemetry-row i::after {
  display: block;
  width: var(--level, 70%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ux-green), var(--ux-copper));
  content: "";
}

.hero-telemetry-row span:last-child {
  color: #9be4c7;
  font-weight: 760;
}

.scroll-indicador {
  letter-spacing: 0;
  opacity: .78;
}

.home-signal-strip,
.home-section,
.pie-web {
  width: var(--ux-max);
}

.home-signal-strip {
  margin-top: 34px;
  overflow: hidden;
  border-radius: var(--ux-radius-lg);
  background: rgba(255, 255, 255, .04);
  box-shadow: none;
}

.home-signal-strip article {
  min-height: 112px;
  padding: 22px;
}

.home-signal-strip span,
.home-section-head span,
.compatibility-story span,
.compatibility-check > span,
.home-commerce-copy > span,
.ecosystem-card > span {
  color: #8be0bd;
  font-size: .62rem;
  letter-spacing: 0;
}

.home-signal-strip b {
  color: #edf8f2;
  font-size: .9rem;
  line-height: 1.35;
}

.home-section {
  padding: 92px 0;
}

.home-section-head {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 420px);
  gap: 44px;
  margin-bottom: 38px;
}

.home-section-head h2 {
  max-width: 820px;
  color: #f4efe5;
  font-size: 4.15rem;
  line-height: .98;
}

.home-section-head p {
  color: var(--ux-muted);
  font-size: .98rem;
}

.problem-grid {
  gap: 14px;
}

.problem-card,
.compatibility-check,
.home-commerce-card,
.ecosystem-card,
.home-play-event,
.home-play-podium {
  border-color: var(--ux-line);
  border-radius: var(--ux-radius-lg);
  background: rgba(255, 255, 255, .045);
  box-shadow: none;
}

.problem-card {
  min-height: 286px;
  padding: 26px;
}

.problem-card > span {
  border-radius: var(--ux-radius-xs);
  background: rgba(100, 209, 167, .13);
}

.problem-card h3,
.compatibility-check h3,
.ecosystem-card:not(.primary) h3,
.home-play-event h3,
.home-play-podium h3 {
  color: #f3f0e7;
}

.problem-card h3 {
  margin-top: 58px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.problem-card p,
.ecosystem-card p,
.home-play-event p,
.compatibility-check details p {
  color: var(--ux-muted);
  font-size: .86rem;
}

.compatibility-panel {
  gap: 16px;
}

.compatibility-story,
.compatibility-check {
  border: 1px solid var(--ux-line);
  border-radius: var(--ux-radius-lg);
}

.compatibility-story {
  background:
    linear-gradient(135deg, rgba(8, 39, 29, .98), rgba(10, 22, 18, .98));
}

.compatibility-story h3 {
  color: #f6f1e7;
  font-size: 3.15rem;
  letter-spacing: 0;
}

.compatibility-story p {
  color: rgba(231, 247, 239, .64);
  font-size: .95rem;
}

.compatibility-flow div {
  border-color: rgba(255, 255, 255, .1);
  border-radius: var(--ux-radius-sm);
}

.compatibility-check {
  background: rgba(255, 255, 255, .055);
}

.compatibility-check details {
  border-color: var(--ux-line);
  background: rgba(255, 255, 255, .04);
}

.compatibility-check summary {
  color: #d9e9e1;
  font-size: .86rem;
}

.home-commerce-card {
  overflow: hidden;
  background: rgba(255, 255, 255, .045);
}

.home-commerce-media {
  background:
    linear-gradient(135deg, rgba(100, 209, 167, .13), rgba(214, 161, 92, .08)),
    #101b16;
}

.home-commerce-copy h2 {
  color: #f6f1e7;
  font-size: 3.85rem;
  line-height: .98;
}

.home-commerce-copy p {
  color: var(--ux-muted);
  font-size: .98rem;
}

.commerce-evidence {
  gap: 10px;
}

.commerce-evidence div {
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--ux-radius-sm);
  background: rgba(255, 255, 255, .045);
}

.commerce-evidence b {
  color: #e9f7f0;
  font-size: .78rem;
}

.commerce-evidence small {
  color: var(--ux-muted);
}

.home-commerce-copy > a,
.home-play-podium a {
  border-radius: var(--ux-radius-xs);
}

.home-play-grid {
  gap: 16px;
}

.home-play-events {
  gap: 12px;
}

.home-play-event,
.home-play-podium {
  background: rgba(255, 255, 255, .045);
}

.home-play-event.is-live {
  border-color: rgba(100, 209, 167, .32);
  background: linear-gradient(135deg, rgba(24, 103, 76, .2), rgba(255, 255, 255, .045));
}

.home-play-event > span,
.home-play-podium > span {
  letter-spacing: 0;
}

.ecosystem-grid-master {
  gap: 14px;
}

.ecosystem-card {
  min-height: 300px;
}

.ecosystem-card.primary {
  background:
    linear-gradient(135deg, rgba(9, 44, 33, .95), rgba(12, 23, 19, .95)),
    #092c21;
}

.ecosystem-card h3 {
  margin-top: 58px;
  font-size: 2.15rem;
  line-height: 1.05;
}

.ethical-note {
  border-color: var(--ux-line);
  border-radius: var(--ux-radius-md);
  background: rgba(255, 255, 255, .05);
}

.ethical-note b {
  color: #f0f5ef;
}

.ethical-note p {
  color: var(--ux-muted);
}

.pie-web {
  border: 1px solid var(--ux-line);
  border-radius: var(--ux-radius-lg) var(--ux-radius-lg) 0 0;
  background:
    linear-gradient(135deg, rgba(8, 34, 26, .96), rgba(5, 12, 10, .98));
}

.pie-marca h2 {
  max-width: 620px;
  color: #f7f1e8;
  font-size: 2.35rem;
  line-height: 1.05;
}

.pie-links-master nav a:hover {
  color: var(--ux-green);
}

html[data-theme="light"] body.sitio-publico {
  background: #f4f2ea;
  color: #263c34;
}

html[data-theme="light"] .home-signal-strip,
html[data-theme="light"] .problem-card,
html[data-theme="light"] .compatibility-check,
html[data-theme="light"] .home-commerce-card,
html[data-theme="light"] .ecosystem-card:not(.primary),
html[data-theme="light"] .home-play-event,
html[data-theme="light"] .home-play-podium,
html[data-theme="light"] .ethical-note {
  background: #fff;
  border-color: rgba(20, 68, 51, .12);
}

html[data-theme="light"] .home-section-head h2,
html[data-theme="light"] .home-signal-strip b,
html[data-theme="light"] .problem-card h3,
html[data-theme="light"] .compatibility-check h3,
html[data-theme="light"] .home-commerce-copy h2,
html[data-theme="light"] .ecosystem-card:not(.primary) h3,
html[data-theme="light"] .home-play-event h3,
html[data-theme="light"] .home-play-podium h3,
html[data-theme="light"] .ethical-note b {
  color: #0c2b21;
}

html[data-theme="light"] .problem-card p,
html[data-theme="light"] .home-section-head p,
html[data-theme="light"] .compatibility-check details p,
html[data-theme="light"] .home-commerce-copy p,
html[data-theme="light"] .ecosystem-card:not(.primary) p,
html[data-theme="light"] .home-play-event p,
html[data-theme="light"] .ethical-note p {
  color: #61736b;
}

@media (max-width: 1080px) {
  .home-2026 .home-lab-hero .hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-2026 .home-lab-hero h1 {
    font-size: 4.6rem;
  }

  .home-2026 .home-lab-hero .hero-visual {
    justify-self: end;
    width: 330px;
  }

  .home-section-head {
    grid-template-columns: 1fr;
  }

  .home-section-head h2 {
    font-size: 3.45rem;
  }
}

@media (max-width: 820px) {
  .cabecera-web {
    top: 8px;
    right: 8px;
    left: 8px;
    height: 66px;
  }

  .menu-web {
    border-radius: 0;
  }

  .home-2026 .home-lab-hero {
    min-height: 930px;
  }

  .home-2026 .home-lab-hero .hero-layout {
    width: calc(100% - 34px);
    padding-top: 112px;
    padding-bottom: 132px;
  }

  .home-2026 .home-lab-hero h1 {
    font-size: 3.85rem;
  }

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

  .home-2026 .home-lab-hero .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(360px, 100%);
    justify-self: stretch;
    opacity: 1;
  }

  .home-2026 .home-lab-hero .impresora-marco {
    height: 190px;
  }

  .chatbot-burbuja-proactiva {
    display: none !important;
  }

  .hero-telemetry-row {
    grid-template-columns: 82px 1fr auto;
  }

  .home-signal-strip,
  .home-section,
  .pie-web {
    width: calc(100% - 24px);
  }

  .home-signal-strip {
    grid-template-columns: 1fr 1fr;
  }

  .home-section {
    padding: 68px 0;
  }

  .home-section-head h2,
  .compatibility-story h3,
  .home-commerce-copy h2 {
    font-size: 2.85rem;
  }

  .problem-grid,
  .compatibility-panel,
  .home-commerce-card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .hero-signals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-signals span {
    min-height: 82px;
    padding: 12px;
  }
}

@media (max-width: 560px) {
  body.sitio-publico {
    font-size: 15px;
  }

  .home-2026 .home-lab-hero {
    min-height: 950px;
  }

  .home-2026 .home-lab-hero h1 {
    font-size: 3.08rem;
    line-height: .96;
  }

  .hero-kicker span {
    font-size: .58rem;
  }

  .home-2026 .home-lab-hero .hero-bajada {
    font-size: .96rem;
  }

  .grupo-botones {
    display: grid;
  }

  .hero-signals span {
    min-height: 0;
  }

  .home-2026 .home-lab-hero .impresora-marco {
    height: 150px;
  }

  .hero-telemetry-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .home-signal-strip {
    grid-template-columns: 1fr;
  }

  .home-signal-strip article {
    min-height: 0;
  }

  .home-section-head h2,
  .compatibility-story h3,
  .home-commerce-copy h2 {
    font-size: 2.35rem;
  }

  .problem-card,
  .compatibility-story,
  .compatibility-check,
  .home-commerce-copy,
  .ecosystem-card,
  .home-play-event,
  .home-play-podium {
    padding: 20px;
  }

  .commerce-evidence,
  .compatibility-flow {
    grid-template-columns: 1fr;
  }

  .pie-marca h2 {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-telemetry-row i::after {
    transition: none;
  }
}
