/* Nexo producto — hojas a viewport + fondos por rubro */
.page-nexo-hojas {
  background: #0b3a4a;
}
.page-nexo-hojas .site-footer {
  background: #0a2f3c;
  color: rgba(232, 236, 238, 0.85);
  padding: 1.25rem 0;
}
.page-nexo-hojas .site-footer a { color: #fff; }

.nxh {
  --nxh-accent: #5eb3c8;
  position: relative;
  height: var(--hoja-h);
  min-height: var(--hoja-h);
  max-height: var(--hoja-h);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding: clamp(1rem, 2.5vh, 1.7rem) 0 3.4rem;
  background: #0b3a4a;
}
.nxh-main {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
.nxh-copy { max-width: 42rem; min-width: 0; }
.nxh-brand {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.nxh-kicker {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8ecee;
}
.nxh h1,
.nxh h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.7rem;
  color: #fff;
}
.nxh h1 {
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  max-width: 16ch;
}
.nxh h1 em,
.nxh h2 em {
  font-style: normal;
  color: var(--nxh-accent);
}
.nxh h2 { font-size: clamp(1.4rem, 3.3vw, 2.2rem); max-width: 24ch; }
.nxh-lead {
  margin: 0 0 0.9rem;
  max-width: 48ch;
  font-size: 1.02rem;
  color: rgba(232, 236, 238, 0.9);
}
.nxh-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.nxh-btn {
  display: inline-flex;
  text-decoration: none;
  background: #c45c26;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.9rem 1.15rem;
  border-radius: 2px;
}
.nxh-btn:hover { filter: brightness(1.05); color: #fff; }
.nxh-link {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}
.nxh-link:hover { border-bottom-color: #fff; }

.nxh-bg,
.nxh-bg-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}
.nxh-bg::after,
.nxh-bg-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 58, 74, 0.94) 0%, rgba(11, 58, 74, 0.82) 48%, rgba(0, 0, 0, 0.5) 100%);
}
.nxh-bg-slide {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.nxh-bg-slide.is-active { opacity: 1; }

/* 1 · Hero */
.nxh-hero-grid {
  width: 100%;
  display: grid;
  gap: 1.1rem;
  align-items: center;
}
@media (min-width: 960px) {
  .nxh-hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.nxh-feats {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.85rem;
  max-width: 34rem;
}
.nxh-feats li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.84rem;
}
.nxh-feats b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nxh-accent);
}
.nxh-ico {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--nxh-accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--nxh-accent) 65%, transparent);
  color: #b8e4ef;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-display);
}
.nxh-stage {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(232, 236, 238, 0.16);
  border-radius: 0.35rem;
  padding: 0.9rem;
  backdrop-filter: blur(5px);
  max-width: 28rem;
  margin-left: auto;
}
.nxh-stage h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nxh-accent);
}
.nxh-circuit {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.nxh-circuit span {
  background: rgba(255, 255, 255, 0.06);
  border-top: 2px solid var(--nxh-accent);
  padding: 0.5rem 0.4rem;
  font-size: 0.75rem;
  line-height: 1.25;
}
.nxh-circuit strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--nxh-accent);
  margin-bottom: 0.15rem;
}
.nxh-log {
  margin: 0 0 0.65rem;
  min-height: 4.5rem;
  padding: 0.55rem 0.65rem;
  background: #0d1215;
  border: 1px solid rgba(232, 236, 238, 0.12);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: #b8e4ef;
  white-space: pre-wrap;
  line-height: 1.35;
}
.nxh-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.nxh-sectors button {
  appearance: none;
  border: 1px solid rgba(232, 236, 238, 0.35);
  background: transparent;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.55rem;
  cursor: pointer;
  border-radius: 2px;
}
.nxh-sectors button.is-on,
.nxh-sectors button:hover {
  border-color: var(--nxh-accent);
  background: color-mix(in srgb, var(--nxh-accent) 20%, transparent);
}
@media (max-width: 959px) {
  .nxh-stage { max-width: none; margin-left: 0; }
}

/* 2 · Sectores / órbita */
.nxh-sectores .nxh-main { align-items: stretch; }
.nxh-orbit-layout {
  width: 100%;
  display: grid;
  gap: 0.85rem;
  align-items: center;
}
@media (min-width: 980px) {
  .nxh-orbit-layout { grid-template-columns: 0.95fr 1.05fr; }
}
.nxh-orbit {
  position: relative;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  margin: 0 auto;
}
.nxh-orbit-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(232, 236, 238, 0.18);
  border-radius: 50%;
}
.nxh-orbit-ring.inner { inset: 24%; opacity: 0.7; }
.nxh-orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 7.5rem;
}
.nxh-orbit-core img {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 0.35rem;
  display: block;
}
.nxh-orbit-core strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.nxh-orbit-core span {
  font-size: 0.72rem;
  color: rgba(232, 236, 238, 0.75);
}
.nxh-orbit-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7.2rem;
  margin: -1.7rem 0 0 -3.6rem;
  transform: rotate(var(--a)) translate(0, calc(min(38vw, 10.2rem) * -1)) rotate(calc(var(--a) * -1));
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(232, 236, 238, 0.22);
  border-radius: 0.3rem;
  padding: 0.45rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nxh-orbit-node:hover,
.nxh-orbit-node.is-on {
  border-color: var(--nxh-accent);
  background: rgba(11, 58, 74, 0.85);
}
.nxh-orbit-node b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
}
.nxh-orbit-node i {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nxh-accent);
  margin-top: 0.1rem;
}
.nxh-sector-list {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 28rem);
}
.nxh-sector-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.38);
  border-left: 3px solid var(--nxh-accent);
  padding: 0.7rem 0.85rem;
  backdrop-filter: blur(4px);
}
.nxh-sector-list a:hover,
.nxh-sector-list a.is-on {
  background: rgba(0, 0, 0, 0.5);
}
.nxh-sector-list strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.nxh-sector-list span {
  font-size: 0.78rem;
  color: rgba(232, 236, 238, 0.8);
}
@media (max-width: 979px) {
  .nxh-orbit { display: none; }
  .nxh-sector-list { width: 100%; max-width: 36rem; }
}

/* 3 · Videos */
.nxh-videos-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
  width: min(100%, 56rem);
}
@media (min-width: 860px) {
  .nxh-videos-grid { grid-template-columns: 1fr 1fr; }
}
.nxh-video {
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(232, 236, 238, 0.14);
  padding: 0.65rem;
  backdrop-filter: blur(4px);
}
.nxh-video video {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(var(--hoja-h) * 0.34);
  background: #000;
}
.nxh-video h3 {
  margin: 0.55rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.nxh-video p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: rgba(232, 236, 238, 0.88);
}
.nxh-video .go {
  color: #9ad4ff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-right: 0.85rem;
}
.nxh-video .go:hover { text-decoration: underline; }

/* 4 · Cierre */
.nxh-cierre .nxh-copy { max-width: 46rem; }
.nxh-feats-wide { max-width: 46rem; }
