/*
 * NEXO Corporate — isolated styles
 * Loaded only on pages using the page-nexo template. The nexo- prefix and
 * scoped custom properties keep this fully separate from the V&J studio theme.
 */

/* =====================================================================
   TOKENS + BASE
   ===================================================================== */
.nexo-header,
.nexo-main,
.nexo-footer {
	--nexo-ink: #161616;
	--nexo-charcoal: #0b0b0b;
	--nexo-bg: #f7f4ee;
	--nexo-paper: #ffffff;
	--nexo-mid: #6e6e6e;
	--nexo-hair: #e5ded2;
	--nexo-font-display: var(--wp--preset--font-family--fraunces);
	--nexo-font-body: var(--wp--preset--font-family--archivo);
}
.nexo-main .is-layout-constrained {
	max-width: 1180px;
}
/* Full-width content: let entry-content span the whole viewport so the
   alignfull bands (hero, lab, CTA) reach the real edge instead of leaving
   the body's white background showing on wide monitors. Inner blocks keep
   their own 1180px centered column via .is-layout-constrained above. */
.nexo-main .wp-block-post-content.is-layout-constrained,
.nexo-main > .entry-content.is-layout-constrained {
	max-width: 100%;
}
	background: var(--nexo-bg);
	color: var(--nexo-ink);
	font-family: var(--nexo-font-body);
}
.nexo-main ::selection {
	background: var(--nexo-charcoal);
	color: var(--nexo-paper);
}
.nexo-main p {
	line-height: 1.68;
}
.nexo-main h1,
.nexo-main h2,
.nexo-main h3,
.nexo-main h4 {
	font-family: var(--nexo-font-display);
	font-weight: 400;
	color: var(--nexo-ink);
}
.nexo-main a {
	color: inherit;
}
.nexo-eyebrow {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	display: block;
}
.nexo-title {
	font-family: var(--nexo-font-display);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.05;
	color: var(--nexo-ink);
}
.nexo-lede {
	color: var(--nexo-mid);
	max-width: 40rem;
	font-size: 1.05rem;
	line-height: 1.68;
}
.nexo-page-head {
	padding-block: clamp(3.5rem, 8vw, 6rem) 1rem;
	border-bottom: 1px solid var(--nexo-hair);
}
.nexo-page-title {
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	max-width: 20ch;
	margin: 1.2rem 0 1rem;
}
.nexo-manifiesto {
	padding-block: clamp(3rem, 6vw, 5rem);
}
.nexo-eye {
	font-family: var(--nexo-font-display);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.35;
	color: var(--nexo-ink);
}
.nexo-manifiesto .wp-block-columns {
	gap: clamp(2.5rem, 6vw, 5rem);
}
.nexo-manifiesto-col .nexo-eye + .nexo-eye {
	margin-top: 1.5rem;
}
.nexo-value {
	padding-block: 1.6rem;
}.nexo-value + .nexo-value {
	border-top: 1px solid var(--nexo-hair);
}
.nexo-value-title {
	font-family: var(--nexo-font-display);
	font-size: 1.4rem;
	font-weight: 400;
	margin: 0 0 0.5rem;
}
.nexo-value p {
	color: var(--nexo-mid);
	margin: 0;
}
.nexo-section {
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.nexo-section-head {
	align-items: flex-end;
	gap: 2.5rem;
	margin-bottom: 2.5rem;
}
.nexo-head-row {
	align-items: baseline;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}
.nexo-head-row .nexo-title {
	flex: 1 1 60%;
}
.nexo-head-row .nexo-lede {
	flex: 1 1 32%;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.nexo-header {
	border-bottom: 1px solid var(--nexo-hair);
	background: var(--nexo-bg);
}
.nexo-header-inner {
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 1.4rem 1.2rem;
}
.nexo-wordmark {
	align-items: center;
	gap: 0.9rem;
}
.nexo-logo {
	font-family: var(--nexo-font-display);
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	margin: 0;
	line-height: 1;
}
.nexo-logo a {
	text-decoration: none;
	color: var(--nexo-ink);
}
.nexo-logo a:hover {
	color: var(--nexo-mid);
}
.nexo-logo-tag {
	margin: 0;
	font-size: 0.6rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	border-left: 1px solid var(--nexo-mid);
	padding-left: 0.9rem;
	line-height: 1;
	padding-block: 0.2rem;
}
.nexo-nav .wp-block-navigation-item a {
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nexo-ink);
	text-decoration: none;
}
.nexo-nav .wp-block-navigation-item a:hover {
	color: var(--nexo-mid);
}
.nexo-header-right {
	display: flex;
	align-items: center;
	gap: 2rem;
}
.nexo-catalog {
	margin: 0;
}
.nexo-catalog a {
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nexo-ink);
	text-decoration: none;
	border: 1px solid var(--nexo-ink);
	padding: 0.72rem 1rem;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	transition: background 0.3s ease, color 0.3s ease;
}
.nexo-catalog a::before {
	content: "↳";
	line-height: 1;
}
.nexo-catalog a:hover,
.nexo-catalog a:focus-visible {
	color: var(--nexo-bg);
	background: var(--nexo-ink);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.nexo-footer {
	background: var(--nexo-charcoal);
	color: var(--nexo-paper);
}
.nexo-footer-inner {
	padding-block: 3.5rem 2rem;
}
.nexo-footer-top {
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
}
.nexo-foot-brand {
	align-items: center;
	gap: 1.2rem;
	max-width: 30rem;
}
.nexo-logo--light {
	color: var(--nexo-paper);
}
.nexo-blurb {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.6;
	color: rgba(247, 244, 238, 0.7);
}
.nexo-footer-cta {
	margin: 0;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.nexo-footer-cta a {
	color: var(--nexo-paper);
	text-decoration: none;
	border-bottom: 1px solid rgba(247, 244, 238, 0.4);
	padding-bottom: 3px;
}
.nexo-footer-cta a:hover {
	border-color: var(--nexo-paper);
}
.nexo-rule.wp-block-separator {
	border-color: rgba(247, 244, 238, 0.18);
	border-width: 1px 0 0;
	margin-block: 2.2rem;
}
.nexo-footer-bottom {
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.nexo-foot-meta {
	margin: 0;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: rgba(247, 244, 238, 0.55);
}

/* =====================================================================
   SHARED EDITORIAL HELPERS
   ===================================================================== */

/* =====================================================================
   HERO
   ===================================================================== */
.nexo-hero {
	background: var(--nexo-bg);
	padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2rem, 5vw, 3rem);
}
.nexo-hero-grid {
	gap: 3rem;
	align-items: center;
}
.nexo-hero-copy {
	max-width: 34rem;
}
.nexo-hero-title {
	font-size: clamp(2.8rem, 7vw, 5.4rem);
	margin: 1.4rem 0 1.4rem;
}
.nexo-hero-stats {
	margin-top: 2.5rem;
}
.nexo-stat {
	gap: 0.4rem;
	align-items: baseline;
}
.nexo-stat b {
	font-family: var(--nexo-font-display);
	font-size: 2rem;
	font-weight: 400;
	color: var(--nexo-ink);
	font-variant-numeric: tabular-nums;
}
.nexo-stat span {
	font-size: 0.66rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nexo-mid);
}
.nexo-hero-media .wp-block-image {
	margin: 0;
}
.nexo-hero-media img {
	width: 100%;
	display: block;
	filter: grayscale(1) contrast(1.05);
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.nexo-btns {
	margin-top: 2rem;
}
/* Shared NEXO button behavior — every button/widget on the demo inherits
   these tokens so heights, type and states stay consistent across the site. */
.nexo-btns .wp-block-button__link,
.nexo-submit .wp-block-button__link,
.nexo-meet-submit .wp-block-button__link,
.nexo-opt .wp-block-button__link,
.nexo-select-type .wp-block-button__link,
.nexo-ref-opt .wp-block-button__link,
.nexo-range-btn .wp-block-button__link,
.nexo-filter .wp-block-button__link,
.nexo-search-wrap .wp-block-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	text-decoration: none;
	line-height: 1;
	will-change: background, color, border-color, transform;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.nexo-btns .wp-block-button__link:active,
.nexo-submit .wp-block-button__link:active,
.nexo-meet-submit .wp-block-button__link:active,
.nexo-opt .wp-block-button__link:active,
.nexo-select-type .wp-block-button__link:active,
.nexo-ref-opt .wp-block-button__link:active,
.nexo-range-btn .wp-block-button__link:active,
.nexo-filter .wp-block-button__link:active {
	transform: translateY(1px);
}
/* Keyboard focus ring on every interactive control — clearly visible. */
.nexo-btns .wp-block-button__link:focus-visible,
.nexo-submit .wp-block-button__link:focus-visible,
.nexo-meet-submit .wp-block-button__link:focus-visible,
.nexo-opt .wp-block-button__link:focus-visible,
.nexo-select-type .wp-block-button__link:focus-visible,
.nexo-ref-opt .wp-block-button__link:focus-visible,
.nexo-range-btn .wp-block-button__link:focus-visible,
.nexo-filter .wp-block-button__link:focus-visible,
.nexo-search-wrap .wp-block-search__button:focus-visible {
	outline: 2px solid var(--nexo-ink);
	outline-offset: 3px;
}
/* Loading + disabled states for the simulated submissions. */
.nexo-submit.is-loading .wp-block-button__link,
.nexo-meet-submit.is-loading .wp-block-button__link {
	cursor: progress;
	opacity: 0.6;
	pointer-events: none;
}
.nexo-submit.is-loading .wp-block-button__link::before,
.nexo-meet-submit.is-loading .wp-block-button__link::before {
	content: "";
	width: 0.8em;
	height: 0.8em;
	border: 1px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: nexo-spin 0.7s linear infinite;
}
@keyframes nexo-spin {
	to { transform: rotate(360deg); }
}
.nexo-btns .wp-block-button__link,
.nexo-submit .wp-block-button__link,
.nexo-meet-submit .wp-block-button__link {
	font-family: var(--nexo-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	min-height: 48px;
	padding: 0 1.7rem;
}
.nexo-btns .is-style-nexo-primary .wp-block-button__link,
.nexo-submit .wp-block-button__link,
.nexo-meet-submit .wp-block-button__link {
	background: var(--nexo-ink);
	border: 1px solid var(--nexo-ink);
	color: var(--nexo-bg);
	border-radius: 2px;
	cursor: pointer;
}
.nexo-btns .is-style-nexo-primary .wp-block-button__link:hover,
.nexo-submit .wp-block-button__link:hover,
.nexo-meet-submit .wp-block-button__link:hover {
	background: transparent;
	color: var(--nexo-ink);
}
.nexo-btns .is-style-nexo-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--nexo-ink);
	color: var(--nexo-ink);
	border-radius: 2px;
	text-transform: uppercase;
}
.nexo-btns .is-style-nexo-outline .wp-block-button__link:hover {
	background: var(--nexo-ink);
	color: var(--nexo-bg);
}

/* =====================================================================
   INVERTED BAND + NUMBERED ROWS
   ===================================================================== */
.nexo-band-invert {
	background: var(--nexo-charcoal);
	color: var(--nexo-paper);
	padding-block: clamp(4rem, 9vw, 7rem);
}
.nexo-band-invert .nexo-title {
	color: var(--nexo-paper);
}
.nexo-band-invert .nexo-eyebrow {
	color: rgba(247, 244, 238, 0.55);
}
.nexo-band-invert p,
.nexo-band-invert .nexo-lede {
	color: rgba(247, 244, 238, 0.72);
}
.nexo-row-num {
	gap: 2.5rem;
	align-items: baseline;
	padding-block: 1.9rem;
}
.nexo-row-num + .nexo-row-num {
	border-top: 1px solid var(--nexo-hair);
}
.nexo-index {
	font-family: var(--nexo-font-display);
	font-size: 1rem;
	color: var(--nexo-mid);
	min-width: 3.2rem;
}
.nexo-row-body {
	flex: 1;
}
.nexo-row-title {
	font-family: var(--nexo-font-display);
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 400;
	letter-spacing: -0.015em;
	margin: 0 0 0.5rem;
}
.nexo-row-desc {
	color: var(--nexo-mid);
	max-width: 34rem;
	margin: 0;
}
.nexo-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}
.nexo-tag {
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border: 1px solid var(--nexo-hair);
	padding: 0.3rem 0.7rem;
	color: var(--nexo-mid);
}

/* =====================================================================
   CARDS
   ===================================================================== */
.is-style-nexo-card {
	border: 1px solid var(--nexo-hair);
	background: var(--nexo-paper);
	padding: 1.6rem 1.8rem;
	min-height: 100%;
}
.is-style-nexo-card h3 {
	font-family: var(--nexo-font-display);
	font-size: 1.3rem;
	font-weight: 400;
	margin: 0 0 0.6rem;
}
.is-style-nexo-card p {
	color: var(--nexo-mid);
	font-size: 0.92rem;
	margin: 0;
}
.is-style-nexo-tile {
	background: var(--nexo-bg);
	padding: 1.4rem 1.6rem;
}

/* ---- methodology ---- */
.nexo-rows {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.nexo-method-cols {
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}
.nexo-method-col {
	border-top: 1px solid var(--nexo-hair);
	padding-top: 1.4rem;
}
.nexo-method-num {
	font-family: var(--nexo-font-display);
	font-size: 1rem;
	color: var(--nexo-mid);
	margin: 0 0 0.8rem;
}
.nexo-method-title {
	font-family: var(--nexo-font-display);
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: -0.01em;
	margin: 0 0 0.6rem;
}
.nexo-method-desc {
	color: var(--nexo-mid);
	margin: 0;
}
.nexo-principios {
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-top: 2.5rem;
}
.nexo-principio {
	border-left: 1px solid rgba(247, 244, 238, 0.22);
	padding-left: 1.4rem;
}
.nexo-principio h3 {
	font-family: var(--nexo-font-display);
	font-size: 1.3rem;
	font-weight: 400;
	margin: 0 0 0.5rem;
	color: var(--nexo-paper);
}
.nexo-principio p {
	color: rgba(247, 244, 238, 0.66);
	margin: 0;
}

/* =====================================================================
   PROJECTS: FILTERS + GRID
   ===================================================================== */
.nexo-filterbar {
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2.5rem;
}
.nexo-filter {
	margin: 0;
}
.nexo-filter .wp-block-button__link {
	font-size: 0.68rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	background: transparent;
	border: 1px solid var(--nexo-hair);
	border-radius: 2px;
	padding: 0.55rem 1rem;
	min-height: 40px;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.nexo-filter .wp-block-button__link:hover {
	color: var(--nexo-ink);
	border-color: var(--nexo-ink);
}
.nexo-filter.is-active .wp-block-button__link {
	background: var(--nexo-ink);
	color: var(--nexo-bg);
	border-color: var(--nexo-ink);
}
.nexo-projs {
	padding-block: clamp(3rem, 6vw, 5rem);
}
.nexo-search-wrap {
	margin-bottom: 1.5rem;
}
.nexo-search-wrap .wp-block-search__input {
	background: var(--nexo-paper);
	border: 1px solid var(--nexo-hair);
	border-radius: 0;
	padding: 0.9rem 1rem;
	font: inherit;
	color: var(--nexo-ink);
}
.nexo-search-wrap .wp-block-search__button {
	background: var(--nexo-ink);
	color: var(--nexo-bg);
	border: 1px solid var(--nexo-ink);
	border-radius: 2px;
	padding: 0 1.2rem;
	min-height: 48px;
	letter-spacing: 0.16em;
	cursor: pointer;
}
.nexo-proj-grid {
	gap: 1.5rem;
}
.nexo-proj-card {
	padding: 0;
	min-height: 0;
	transition: opacity 0.25s ease;
}
.nexo-proj-card.is-hidden {
	display: none;
}
.nexo-proj-card .wp-block-image {
	margin: 0 0 1rem;
}
.nexo-proj-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	filter: grayscale(1) contrast(1.05);
}
.nexo-proj-kind {
	font-size: 0.62rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	display: block;
	margin-bottom: 0.4rem;
}
.nexo-proj-name {
	font-family: var(--nexo-font-display);
	font-size: 1.2rem;
	color: var(--nexo-ink);
	margin: 0;
}

/* =====================================================================
   FORMS + SUMMARY
   ===================================================================== */
.nexo-form {
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
}
.nexo-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.nexo-field label {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nexo-mid);
}
.nexo-field input[type=text],
.nexo-field input[type=email],
.nexo-field input[type=date],
.nexo-field input[type=tel],
.nexo-field textarea,
.nexo-field select {
	width: 100%;
	box-sizing: border-box;
	background: var(--nexo-paper);
	border: 1px solid var(--nexo-hair);
	border-radius: 0;
	padding: 0.85rem 1rem;
	font: inherit;
	color: var(--nexo-ink);
}
.nexo-field input:focus,
.nexo-field textarea:focus,
.nexo-field select:focus {
	outline: none;
	border-color: var(--nexo-ink);
}
.nexo-conditional {
	display: none;
}
.nexo-conditional.is-visible {
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
}
.nexo-summary {
	border: 1px solid var(--nexo-hair);
	border-left: 3px solid var(--nexo-ink);
	background: var(--nexo-paper);
	padding: 1.3rem 1.5rem;
	margin-top: 1rem;
}
.nexo-summary h4 {
	font-family: var(--nexo-font-display);
	font-size: 1.05rem;
	font-weight: 400;
	margin: 0 0 0.8rem;
}
.nexo-summary ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.nexo-summary li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--nexo-hair);
	font-size: 0.9rem;
	color: var(--nexo-mid);
}
.nexo-summary li span {
	color: var(--nexo-ink);
}
.nexo-submit {
	margin-top: 0.4rem;
}
.nexo-submit .wp-block-button__link {
	padding: 0 1.6rem;
}
.nexo-meet-submit {
	margin: 0;
}
.nexo-meet-submit .wp-block-button__link {
	font-size: 0.7rem;
	padding: 0 1.4rem;
}
.nexo-note {
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	color: var(--nexo-mid);
	margin-top: 1rem;
}

/* =====================================================================
   MEETING
   ===================================================================== */
.nexo-meeting-card {
	border: 1px solid var(--nexo-hair);
	background: var(--nexo-paper);
	padding: 1.6rem 1.8rem;
}
.nexo-meeting-card h3 {
	font-family: var(--nexo-font-display);
	font-size: 1.4rem;
	font-weight: 400;
	margin: 0 0 0.6rem;
}
.nexo-meeting-card p {
	color: var(--nexo-mid);
	font-size: 0.9rem;
	margin: 0 0 1.2rem;
}
.nexo-meeting-note {
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	color: var(--nexo-mid);
	margin-top: 1rem;
}

/* =====================================================================
   LAB PAGES (config, conditional form widgets)
   ===================================================================== */
.nexo-lab-section {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}
.nexo-inverse {
	background: var(--nexo-charcoal);
	color: var(--nexo-paper);
}
.nexo-inverse .nexo-title {
	color: var(--nexo-paper);
}
.nexo-inverse .nexo-dash {
	background: #22221f;
	border-color: rgba(247, 244, 238, 0.18);
}
.nexo-inverse .nexo-kpi {
	border-color: rgba(247, 244, 238, 0.18);
}
.nexo-inverse .nexo-kpi-value,
.nexo-inverse .nexo-dash-title {
	color: var(--nexo-paper);
}
.nexo-inverse .nexo-kpi-label {
	color: rgba(247, 244, 238, 0.6);
}
.nexo-inverse .nexo-chart {
	background: rgba(247, 244, 238, 0.16);
}
.nexo-inverse .nexo-chart::after {
	background: var(--nexo-paper);
}
.nexo-config {
	margin-top: 1.5rem;
}
.nexo-config .nexo-goals,
.nexo-config .nexo-feats {
	gap: 0.5rem;
	margin-bottom: 1.1rem;
}
.nexo-opt {
	margin: 0;
}
.nexo-opt .wp-block-button__link {
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	background: var(--nexo-paper);
	color: var(--nexo-ink);
	border: 1px solid var(--nexo-hair);
	border-radius: 2px;
	padding: 0.6rem 1.1rem;
	min-height: 40px;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.nexo-opt .wp-block-button__link:hover {
	border-color: var(--nexo-ink);
}
.nexo-opt.is-selected .wp-block-button__link {
	background: var(--nexo-ink);
	color: var(--nexo-bg);
	border-color: var(--nexo-ink);
}
.nexo-config-resumen {
	border: 1px solid var(--nexo-hair);
	border-left: 3px solid var(--nexo-ink);
	background: var(--nexo-paper);
	padding: 1.2rem 1.5rem;
}
.nexo-config-resumen p {
	margin: 0;
}
.nexo-config-resumen .nexo-effort {
	margin-top: 0.4rem;
	color: var(--nexo-mid);
}
.nexo-select-types {
	gap: 0.5rem;
}
.nexo-form .nexo-select-type {
	margin: 0;
}
.nexo-select-type .wp-block-button__link {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: transparent;
	color: var(--nexo-mid);
	border: 1px solid var(--nexo-hair);
	border-radius: 2px;
	padding: 0.55rem 1rem;
	min-height: 40px;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.nexo-select-type.is-selected .wp-block-button__link {
	background: var(--nexo-ink);
	color: var(--nexo-bg);
	border-color: var(--nexo-ink);
}
.nexo-form .nexo-conditional {
	margin-top: 0.4rem;
}
.nexo-form .nexo-conditional .wp-block-button {
	margin: 0;
}
.nexo-ref-opt .wp-block-button__link {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	background: transparent;
	color: var(--nexo-ink);
	border: 1px solid var(--nexo-hair);
	border-radius: 2px;
	padding: 0.5rem 0.95rem;
	min-height: 40px;
	cursor: pointer;
}
.nexo-ref-opt .wp-block-button__link:hover {
	border-color: var(--nexo-ink);
}

/* =====================================================================
   DASHBOARD / LAB
   ===================================================================== */
.nexo-lab-band {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	align-items: center;
	text-align: center;
	margin-inline: auto;
}
.nexo-lab-copy {
	max-width: 44rem;
	margin-inline: auto;
}
.nexo-lab-copy .nexo-lede {
	margin-inline: auto;
}
.nexo-lab-copy .nexo-btns {
	justify-content: center;
}
.nexo-lab-band figure,
.nexo-lab-band figure.alignwide {
	margin-inline: auto;
	max-width: 52rem;
}
.nexo-lab-band figure img {
	width: 100%;
	display: block;
}
.nexo-dash {
	border: 1px solid var(--nexo-hair);
	background: var(--nexo-paper);
	padding: 1.6rem 1.8rem;
}
.nexo-dash-head {
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
}
.nexo-dash-title {
	font-family: var(--nexo-font-display);
	font-size: 1.3rem;
	font-weight: 400;
	margin: 0;
}
.nexo-kpis {
	gap: 1rem;
}
.nexo-kpi {
	border: 1px solid var(--nexo-hair);
	padding: 1rem 1.2rem;
}
.nexo-kpi-label {
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	display: block;
	margin-bottom: 0.3rem;
}
.nexo-kpi-value {
	font-family: var(--nexo-font-display);
	font-size: 1.7rem;
	color: var(--nexo-ink);
	line-height: 1;
}
.nexo-charts {
	margin-top: 1.2rem;
	gap: 0.7rem;
}
.nexo-chart {
	height: 6px;
	background: var(--nexo-hair);
	position: relative;
	overflow: hidden;
}
.nexo-chart::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: var(--nexo-ink);
	width: var(--w, 0%);
	transition: width 0.4s ease;
}
.nexo-dash-rows li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid var(--nexo-hair);
	font-size: 0.86rem;
	color: var(--nexo-mid);
}
.nexo-dash-rows li b {
	color: var(--nexo-ink);
	font-weight: 500;
}
.nexo-range {
	display: flex;
	gap: 0.4rem;
}
.nexo-range-btn {
	margin: 0;
}
.nexo-range-btn .wp-block-button__link {
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	background: transparent;
	border: 1px solid var(--nexo-hair);
	border-radius: 2px;
	padding: 0.35rem 0.7rem;
	min-height: 32px;
	cursor: pointer;
	transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.nexo-range-btn.is-active .wp-block-button__link {
	background: var(--nexo-ink);
	color: var(--nexo-bg);
	border-color: var(--nexo-ink);
}
.nexo-demo-flag {
	display: inline-block;
	font-size: 0.6rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nexo-paper);
	background: var(--nexo-charcoal);
	padding: 0.35rem 0.7rem;
	margin-bottom: 1.4rem;
}

/* =====================================================================
   FAQ
   ===================================================================== */
.nexo-faq details {
	border-top: 1px solid var(--nexo-hair);
	padding-block: 1.1rem;
}
.nexo-faq details:last-of-type {
	border-bottom: 1px solid var(--nexo-hair);
}
.nexo-faq summary {
	cursor: pointer;
	font-family: var(--nexo-font-display);
	font-size: 1.12rem;
	color: var(--nexo-ink);
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
.nexo-faq summary::-webkit-details-marker {
	display: none;
}
.nexo-faq summary::after {
	content: "+";
	font-family: var(--nexo-font-body);
	font-size: 1.2rem;
	color: var(--nexo-mid);
	transition: transform 0.2s ease;
}
.nexo-faq details[open] summary::after {
	content: "–";
}
.nexo-faq .nexo-faq-body {
	color: var(--nexo-mid);
	font-size: 0.93rem;
	margin: 0.7rem 0 0;
	max-width: 46rem;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.nexo-contact {
	padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
}
.nexo-contact .wp-block-columns {
	gap: clamp(2.5rem, 6vw, 5.5rem);
}
.nexo-contact-side .nexo-faq {
	margin-top: 1.5rem;
}
.nexo-field-label {
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	margin: 0;
}
.nexo-form .nexo-summary {
	margin-top: 0;
}
.nexo-contact .nexo-meeting-card {
	margin-top: 1.5rem;
}
.nexo-summary-line {
	margin: 0;
	color: var(--nexo-mid);
}
.nexo-summary-line strong {
	color: var(--nexo-ink);
	font-weight: 500;
}

/* =====================================================================
   CTA + DISCLAIMER
   ===================================================================== */
.nexo-cta {
	background: var(--nexo-charcoal);
	color: var(--nexo-paper);
	text-align: center;
	padding-block: clamp(4.5rem, 11vw, 8rem);
}
.nexo-cta > .is-layout-constrained {
	margin-inline: auto;
}
.nexo-cta .nexo-title {
	color: var(--nexo-paper);
}
.nexo-cta p {
	color: rgba(247, 244, 238, 0.72);
	max-width: 30rem;
	margin: 1rem auto 0;
}
.nexo-cta .nexo-btns {
	justify-content: center;
}
.nexo-cta .is-style-nexo-primary .wp-block-button__link {
	background: var(--nexo-bg);
	border-color: var(--nexo-bg);
	color: var(--nexo-ink);
}
.nexo-cta .is-style-nexo-primary .wp-block-button__link:hover {
	background: transparent;
	color: var(--nexo-bg);
}
.nexo-disclaimer {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nexo-mid);
	border-top: 1px solid var(--nexo-hair);
	padding-top: 0.9rem;
	margin-top: 2.4rem;
}

/* =====================================================================
   MOTION + RESPONSIVE
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
	.nexo-main *,
	.nexo-main *::before,
	.nexo-main *::after {
		animation: none !important;
		transition: none !important;
	}
}
@media (max-width: 900px) {
	.nexo-hero-grid,
	.nexo-lab-band {
		flex-direction: column;
	}
	.nexo-logo-tag {
		display: none;
	}
	.nexo-footer-top {
		flex-direction: column;
	}
}
@media (max-width: 781px) {
	.nexo-main .is-layout-constrained {
		max-width: 100%;
	}
	.nexo-header-inner {
		gap: 1rem;
		padding-block: 1rem 0.9rem;
	}
	.nexo-header-right {
		gap: 0.7rem;
	}
	.nexo-row-num {
		flex-direction: column;
		gap: 0.75rem;
		align-items: flex-start;
	}
	.nexo-stat {
		padding-block: 0.5rem;
	}
	.nexo-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}
	.nexo-dash-head,
	.nexo-kpis,
	.nexo-proj-grid {
		flex-direction: column;
	}
	/* Comfortable touch targets for the small interactive widgets. */
	.nexo-opt .wp-block-button__link,
	.nexo-select-type .wp-block-button__link,
	.nexo-ref-opt .wp-block-button__link,
	.nexo-filter .wp-block-button__link,
	.nexo-range-btn .wp-block-button__link {
		min-height: 44px;
	}
}


/* =====================================================================
   FASE 3 · NEXO — jerarquía, motivo de red (nodos y líneas) y navegación
   El nombre es una idea (conexión): nodos cuadrados y filetes finos son el
   hilo gráfico. Solo transform / opacity. Aislado bajo .nexo-main y las
   clases nexo-*; no afecta a V&J ni a otras demos.
   ===================================================================== */
.nexo-main {
	--nx-out: cubic-bezier(0.23, 1, 0.32, 1);
	counter-reset: nx;
}

/* --- Kicker numerado --- */
.nexo-main .nexo-eyebrow::before {
	counter-increment: nx;
	content: counter(nx, decimal-leading-zero) "\00a0\2014\00a0";
	color: var(--nexo-ink);
}

/* --- Jerarquía: títulos de sección con escala real --- */
.nexo-main .nexo-head-row {
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
}
.nexo-main .nexo-section .nexo-title:not(.nexo-hero-title),
.nexo-main .nexo-lab-band .nexo-title,
.nexo-main .nexo-cta .nexo-title {
	font-size: clamp(2rem, 4.4vw, 3.8rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
}
/* Titular de página: alineado con su kicker (el max-width en un contenedor
   constrained lo centraba y quedaba sangrado) y a escala de póster. */
.nexo-main .nexo-page-title {
	margin-left: 0 !important;
	margin-right: auto !important;
	font-size: clamp(3rem, 7.4vw, 6.4rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
	max-width: 16ch;
}
.nexo-main .nexo-page-head .nexo-lede {
	margin-left: 0 !important;
	margin-right: auto !important;
}
.nexo-main .nexo-page-head {
	padding-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
/* Nodo + filete bajo el titular: se dibuja al cargar. */
.nexo-main .nexo-page-title::after {
	content: "";
	display: block;
	width: 7rem;
	height: 9px;
	margin-top: 1.8rem;
	background:
		linear-gradient(var(--nexo-ink), var(--nexo-ink)) 0 50% / 100% 1px no-repeat,
		linear-gradient(var(--nexo-ink), var(--nexo-ink)) 0 50% / 9px 9px no-repeat;
	transform-origin: left center;
	animation: nx-line 1.2s var(--nx-out) 0.35s both;
}
@keyframes nx-line {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

/* --- Portada: cifras con más presencia --- */
.nexo-main .nexo-stat b {
	font-size: clamp(2.4rem, 4.2vw, 3.6rem);
	letter-spacing: -0.03em;
}
.nexo-main .nexo-hero-stats .nexo-stat + .nexo-stat {
	border-left: 1px solid var(--nexo-hair);
	padding-left: 1.6rem;
}

/* --- Portada: el grafo de red (nodos y líneas) --- */
.nexo-hero-inner {
	align-items: center;
	flex-wrap: nowrap;
	gap: clamp(2rem, 5vw, 5rem);
}
.nexo-hero-graph {
	flex: 1 1 22rem;
	max-width: 34rem;
	margin-left: auto;
}
.nexo-hero-graph svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
.nexo-hero-graph line {
	stroke: var(--nexo-ink);
	stroke-width: 1;
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	vector-effect: non-scaling-stroke;
	animation: nx-draw 1.6s var(--nx-out) forwards;
	animation-delay: calc(var(--i, 0) * 110ms + 350ms);
}
.nexo-hero-graph rect {
	fill: var(--nexo-bg);
	stroke: var(--nexo-ink);
	stroke-width: 1.5;
	opacity: 0;
	animation: nx-pop 700ms var(--nx-out) forwards;
	animation-delay: calc(var(--i, 0) * 110ms);
}
.nexo-hero-graph rect.is-end {
	fill: var(--nexo-ink);
}
.nexo-hero-graph text {
	font-family: var(--nexo-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	fill: var(--nexo-mid);
	opacity: 0;
	animation: nx-pop 900ms ease forwards 1100ms;
}
@keyframes nx-draw {
	to { stroke-dashoffset: 0; }
}
@keyframes nx-pop {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

/* --- Metodología: línea de tiempo conectada --- */
.nexo-main .nexo-method-col {
	position: relative;
	padding-top: 2.4rem;
}
.nexo-main .nexo-method-col::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: var(--nexo-ink);
	transform-origin: left center;
	animation: nx-line 1.4s var(--nx-out) both;
}
.nexo-main .nexo-method-col::after {
	content: "";
	position: absolute;
	left: 0;
	top: -4px;
	width: 9px;
	height: 9px;
	background: var(--nexo-ink);
}
.nexo-main .nexo-method-num {
	font-size: clamp(2.8rem, 5.2vw, 4.4rem);
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: transparent;
	-webkit-text-stroke: 1px var(--nexo-ink);
	margin-bottom: 1rem;
}

/* --- Servicios y proyectos --- */
.nexo-main .nexo-row-title {
	font-size: clamp(1.6rem, 2.7vw, 2.4rem);
	letter-spacing: -0.02em;
}
@media (hover: hover) and (pointer: fine) {
	.nexo-main .nexo-proj-card figure {
		overflow: hidden;
	}
	.nexo-main .nexo-proj-card img {
		transition: transform 900ms var(--nx-out);
	}
	.nexo-main .nexo-proj-card:hover img {
		transform: scale(1.035);
	}
}

/* --- CTA: malla de puntos que se desvanece hacia los bordes --- */
.nexo-cta {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.nexo-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1.2px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
	mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
	pointer-events: none;
}

/* --- Navegación: página activa --- */
.nexo-nav .wp-block-navigation-item a[aria-current="page"] {
	color: var(--nexo-ink);
	box-shadow: inset 0 -1px 0 var(--nexo-ink);
}
.nexo-nav .wp-block-navigation-item a:focus-visible {
	outline: 2px solid var(--nexo-ink);
	outline-offset: 4px;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
	/* Hasta 1100 px el menú pasa a desplegable (antes se partía en dos filas). */
	.nexo-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}
	.nexo-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
}
@media (max-width: 900px) {
	.nexo-hero-inner {
		flex-wrap: wrap;
	}
	.nexo-hero-graph {
		order: 2;
		flex-basis: 100%;
		max-width: 26rem;
		margin-inline: 0;
	}
}
@media (max-width: 600px) {
	/* En móvil el grafo se conserva: etiquetas más grandes (unidades del
	   viewBox, que aquí se reduce a ~0.65) para que se lean a ~10-11 px. */
	.nexo-hero-graph {
		max-width: none;
		margin-top: 1.5rem;
	}
	.nexo-hero-graph text {
		font-size: 17px;
		letter-spacing: 0.06em;
		/* halo del color de fondo para que los filetes no corten las letras */
		paint-order: stroke;
		stroke: var(--nexo-bg);
		stroke-width: 6px;
		stroke-linejoin: round;
	}
	.nexo-hero-graph rect {
		stroke-width: 2;
	}
	.nexo-main .nexo-hero-stats .nexo-stat + .nexo-stat {
		border-left: 0;
		padding-left: 0;
	}
}

/* --- Movimiento reducido --- */
@media (prefers-reduced-motion: reduce) {
	.nexo-hero-graph line {
		animation: none;
		stroke-dashoffset: 0;
	}
	.nexo-hero-graph rect,
	.nexo-hero-graph text {
		animation: none;
		opacity: 1;
	}
	.nexo-main .nexo-page-title::after,
	.nexo-main .nexo-method-col::before {
		animation: none;
	}
}

/* Las cifras solo llevan separador vertical cuando van en fila. */
@media (max-width: 781px) {
	.nexo-main .nexo-hero-stats .nexo-stat + .nexo-stat {
		border-left: 0;
		padding-left: 0;
	}
}

/* Menú desplegable con el crema y la tipografía de NEXO. */
.nexo-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--nexo-bg);
	color: var(--nexo-ink);
}
.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
	font-family: var(--nexo-font-display);
	font-size: 1.8rem;
	letter-spacing: -0.015em;
	text-transform: none;
	color: var(--nexo-ink);
}

/* =====================================================================
   REWORK · «Precisión estructurada»
   Movimiento geométrico (ejes X/Y, líneas que se dibujan, cortes
   ortogonales), botones de nodo, mapa de áreas interactivo, ruta de
   decisión, matriz de servicios y casos con resumen. Todo bajo .nexo-main.
   ===================================================================== */
.nexo-main { --nx-out: cubic-bezier(0.23, 1, 0.32, 1); --nx-io: cubic-bezier(0.65, 0, 0.35, 1); }
.nexo-main .nx-wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 4rem); }
.nexo-main .nx-h2 {
	margin: 0 0 clamp(1.8rem, 4vw, 3rem);
	font-family: var(--nexo-font-display);
	font-weight: 400;
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
	color: var(--nexo-ink);
	max-width: 18ch;
	text-wrap: balance;
}

/* ---------- Sistema de movimiento (entradas por ejes) ---------- */
@media (prefers-reduced-motion: no-preference) {
	html.nx-js .nx-r {
		transition: opacity 700ms var(--nx-out), transform 900ms var(--nx-out), clip-path 1000ms var(--nx-out);
		transition-delay: calc(var(--i, 0) * 90ms);
	}
	html.nx-js .nx-r--y:not(.is-in) { opacity: 0; transform: translate3d(0, 28px, 0); }
	html.nx-js .nx-r--x:not(.is-in) { opacity: 0; transform: translate3d(-26px, 0, 0); }
	html.nx-js .nx-r--mask { clip-path: inset(-0.1em -0.1em -0.3em -0.1em); }
	html.nx-js .nx-r--mask:not(.is-in) { opacity: 0; clip-path: inset(0 0 calc(100% - .3px) 0); transform: translate3d(0, 16px, 0); }
	html.nx-js .nx-r--wipe { clip-path: inset(0 0 0 0); }
	html.nx-js .nx-r--wipe:not(.is-in) { clip-path: inset(0 calc(100% - .3px) 0 0); }
}

/* ---------- Botones: nodos y líneas ---------- */
.nexo-main .wp-block-button[class*="is-style-nexo-"] .wp-block-button__link,
.nexo-main .nexo-submit .wp-block-button__link,
.nexo-main .nexo-meet-submit .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.95rem;
	position: relative;
	transition: color 260ms ease, background-size 420ms var(--nx-out), transform 160ms ease, border-color 260ms ease;
}
.nexo-main .wp-block-button[class*="is-style-nexo-"] .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 7px;
	height: 7px;
	background: currentColor;
	transition: transform 360ms var(--nx-out);
}
.nexo-main .wp-block-button.is-style-nexo-primary .wp-block-button__link,
.nexo-main .nexo-submit .wp-block-button__link,
.nexo-main .nexo-meet-submit .wp-block-button__link {
	background-color: var(--nexo-ink);
	background-image: linear-gradient(var(--nexo-bg), var(--nexo-bg));
	background-repeat: no-repeat;
	background-position: left center;
	background-size: 0% 100%;
	color: var(--nexo-bg);
}
.nexo-main .wp-block-button.is-style-nexo-outline .wp-block-button__link {
	background-color: transparent;
	border-color: rgba(22, 22, 22, 0.28);
	background-image:
		linear-gradient(var(--nexo-ink), var(--nexo-ink)),
		linear-gradient(var(--nexo-ink), var(--nexo-ink)),
		linear-gradient(var(--nexo-ink), var(--nexo-ink)),
		linear-gradient(var(--nexo-ink), var(--nexo-ink));
	background-repeat: no-repeat;
	background-position: left top, right top, right bottom, left bottom;
	background-size: 0% 1px, 1px 0%, 0% 1px, 1px 0%;
	color: var(--nexo-ink);
}
.nexo-main .nexo-band-invert .wp-block-button.is-style-nexo-primary .wp-block-button__link,
.nexo-main .nexo-cta .wp-block-button.is-style-nexo-primary .wp-block-button__link {
	background-color: var(--nexo-bg);
	background-image: linear-gradient(var(--nexo-charcoal), var(--nexo-charcoal));
	color: var(--nexo-charcoal);
	border-color: var(--nexo-bg);
}
@media (hover: hover) and (pointer: fine) {
	.nexo-main .wp-block-button.is-style-nexo-primary .wp-block-button__link:hover,
	.nexo-main .nexo-submit .wp-block-button__link:hover,
	.nexo-main .nexo-meet-submit .wp-block-button__link:hover {
		background-color: var(--nexo-ink);
		background-size: 100% 100%;
		color: var(--nexo-ink);
		border-color: var(--nexo-ink);
	}
	.nexo-main .nexo-band-invert .wp-block-button.is-style-nexo-primary .wp-block-button__link:hover,
	.nexo-main .nexo-cta .wp-block-button.is-style-nexo-primary .wp-block-button__link:hover {
		background-color: var(--nexo-bg);
		color: var(--nexo-bg);
	}
	.nexo-main .wp-block-button.is-style-nexo-outline .wp-block-button__link:hover {
		background-color: transparent;
		color: var(--nexo-ink);
		border-color: var(--nexo-ink);
		background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
	}
	.nexo-main .wp-block-button[class*="is-style-nexo-"] .wp-block-button__link:hover::after {
		transform: translateX(7px) scale(1.3);
	}
}
.nexo-main .wp-block-button[class*="is-style-nexo-"] .wp-block-button__link:active { transform: translateY(1px); }
.nexo-main .wp-block-button[class*="is-style-nexo-"] .wp-block-button__link:focus-visible {
	outline: 2px solid var(--nexo-ink);
	outline-offset: 3px;
}
.nexo-main .nexo-band-invert .wp-block-button__link:focus-visible,
.nexo-main .nexo-cta .wp-block-button__link:focus-visible { outline-color: var(--nexo-bg); }
.nexo-main .wp-block-button__link[aria-disabled="true"],
.nexo-main .wp-block-button__link:disabled {
	opacity: 0.4;
	pointer-events: none;
	text-decoration: line-through;
}

/* ---------- Mapa de áreas (hero) ---------- */
.nexo-hero-graph .nx-node { cursor: pointer; outline: none; }
.nexo-hero-graph .nx-hit { fill: transparent; stroke: transparent; }
.nexo-hero-graph .nx-node:focus-visible .nx-hit {
	stroke: var(--nexo-ink);
	stroke-width: 1.5;
	stroke-dasharray: 3 4;
}
.nexo-hero-graph .nx-node rect {
	transition: fill 260ms ease, scale 360ms var(--nx-out);
	transform-box: fill-box;
	transform-origin: center;
}
.nexo-hero-graph .nx-node text { transition: fill 260ms ease; }
.nexo-hero-graph .nx-node.is-active rect { fill: var(--nexo-ink); scale: 1.8; }
.nexo-hero-graph .nx-node.is-active text { fill: var(--nexo-ink); }
.nexo-hero-graph line { transition: opacity 320ms ease, stroke-width 320ms ease; }
.nexo-hero-graph.has-active line { opacity: 0.2; }
.nexo-hero-graph.has-active line.is-hot { opacity: 1; stroke-width: 2; }
@media (hover: hover) and (pointer: fine) {
	.nexo-hero-graph .nx-node:hover rect { scale: 1.5; fill: var(--nexo-ink); }
	.nexo-hero-graph .nx-node:hover text { fill: var(--nexo-ink); }
}
.nexo-hero-graph .nx-panel {
	margin-top: 1.1rem;
	padding-top: 0.9rem;
	border-top: 1px solid var(--nexo-hair);
	min-height: 7.2rem;
}
.nexo-hero-graph .nx-panel-k {
	margin: 0 0 0.4rem;
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nexo-mid);
}
.nexo-hero-graph .nx-panel-t {
	margin: 0 0 0.7rem;
	font-family: var(--nexo-font-display);
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--nexo-ink);
	max-width: 34ch;
}
.nexo-hero-graph .nx-panel-a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--nexo-ink);
	text-decoration: none;
	border-bottom: 1px solid var(--nexo-ink);
}
.nexo-hero-graph .nx-panel-a[hidden] { display: none; }
.nexo-hero-graph .nx-panel-a:focus-visible { outline: 2px solid var(--nexo-ink); outline-offset: 3px; }

/* ---------- Ruta de decisión ---------- */
.nexo-main .nx-path { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.nexo-main .nx-path .nx-track { display: none; }
.nexo-main .nx-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 clamp(1rem, 2.4vw, 2.2rem);
}
.nexo-main .nx-steps li {
	position: relative;
	padding-top: 1.6rem;
	margin: 0;
}
.nexo-main .nx-steps li::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 1px;
	background: var(--nexo-ink);
	transform-origin: left center;
}
.nexo-main .nx-steps li::after {
	content: "";
	position: absolute;
	left: 0; top: -4px;
	width: 9px; height: 9px;
	background: var(--nexo-ink);
}
@media (prefers-reduced-motion: no-preference) {
	html.nx-js .nx-steps li::before { transition: transform 1300ms var(--nx-out) calc(var(--i, 0) * 140ms + 200ms); }
	html.nx-js .nx-steps li:not(.is-in)::before { transform: scaleX(0); }
	html.nx-js .nx-steps li::after { transition: transform 500ms var(--nx-out) calc(var(--i, 0) * 140ms + 150ms); }
	html.nx-js .nx-steps li:not(.is-in)::after { transform: scale(0); }
}
.nexo-main .nx-steps b {
	display: block;
	margin-bottom: 0.7rem;
	font-family: var(--nexo-font-display);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 400;
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1px var(--nexo-ink);
}
.nexo-main .nx-steps h3 {
	margin: 0 0 0.4rem;
	font-family: var(--nexo-font-display);
	font-size: 1.35rem;
	font-weight: 400;
	color: var(--nexo-ink);
}
.nexo-main .nx-steps p { margin: 0; max-width: 24ch; color: var(--nexo-mid); line-height: 1.5; }

/* ---------- Matriz de servicios ---------- */
.nexo-main .nx-services { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.nexo-main .nx-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--nexo-hair);
	border: 1px solid var(--nexo-hair);
}
.nexo-main .nx-grid > li { margin: 0; background: var(--nexo-bg); }
.nexo-main .nx-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	height: 100%;
	min-height: 15rem;
	padding: 1.6rem 1.6rem 3.4rem;
	color: var(--nexo-ink);
	text-decoration: none;
	transition: color 300ms ease;
}
.nexo-main .nx-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--nexo-ink);
	transform: scaleY(0);
	transform-origin: top center;
	transition: transform 480ms var(--nx-out);
}
.nexo-main .nx-card b {
	font-family: var(--nexo-font-display);
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--nexo-mid);
	transition: color 300ms ease, transform 420ms var(--nx-out);
}
.nexo-main .nx-card h3 { margin: 0; font-family: var(--nexo-font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; color: inherit; }
.nexo-main .nx-card p { margin: 0; color: var(--nexo-mid); line-height: 1.5; max-width: 30ch; transition: color 300ms ease; }
.nexo-main .nx-go {
	position: absolute;
	right: 1.5rem; bottom: 1.4rem;
	width: 9px; height: 9px;
	background: currentColor;
	transition: transform 420ms var(--nx-out);
}
.nexo-main .nx-card--cta { background: var(--nexo-ink); color: var(--nexo-bg); }
.nexo-main .nx-card--cta b, .nexo-main .nx-card--cta p { color: rgba(247, 244, 238, 0.7); }
.nexo-main .nx-card:focus-visible { outline: 2px solid var(--nexo-ink); outline-offset: -4px; }
.nexo-main .nx-card--cta:focus-visible { outline-color: var(--nexo-bg); }
.nexo-main .nx-card:active::before { transform: scaleY(1); }
.nexo-main .nx-card:active { color: var(--nexo-bg); }
@media (hover: hover) and (pointer: fine) {
	.nexo-main .nx-card:hover { color: var(--nexo-bg); }
	.nexo-main .nx-card:hover::before { transform: scaleY(1); }
	.nexo-main .nx-card:hover b, .nexo-main .nx-card:hover p { color: rgba(247, 244, 238, 0.75); }
	.nexo-main .nx-card:hover b { transform: translateX(6px); }
	.nexo-main .nx-card:hover .nx-go { transform: translateX(-6px) scale(1.5); }
	.nexo-main .nx-card--cta:hover { color: var(--nexo-ink); }
	.nexo-main .nx-card--cta::before { background: var(--nexo-bg); }
	.nexo-main .nx-card--cta:hover b, .nexo-main .nx-card--cta:hover p { color: var(--nexo-mid); }
}

/* ---------- Casos: resumen y profundidad ---------- */
.nexo-main .nexo-proj-sum {
	margin: 0.5rem 0 0;
	max-width: 32ch;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--nexo-mid);
}
.nexo-main .nexo-proj-card { transition: transform 420ms var(--nx-out), opacity 0.25s ease; }
.nexo-main .nexo-proj-card .nexo-proj-name { background-image: linear-gradient(var(--nexo-ink), var(--nexo-ink)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px; transition: background-size 420ms var(--nx-out); display: inline; }
@media (hover: hover) and (pointer: fine) {
	.nexo-main .nexo-proj-card:hover { transform: translateY(-4px); }
	.nexo-main .nexo-proj-card:hover .nexo-proj-name { background-size: 100% 1px; }
}

/* ---------- Menú: apertura con corte ortogonal ---------- */
@media (max-width: 1100px) {
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open { animation: nx-menu-in 460ms var(--nx-out) both; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		animation: nx-item-in 560ms var(--nx-out) both;
	}
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: 120ms; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 180ms; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 240ms; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 300ms; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 360ms; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:nth-child(n+6) { animation-delay: 420ms; }
}
@keyframes nx-menu-in { from { clip-path: inset(0 0 calc(100% - .3px) 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nx-item-in { from { opacity: 0; transform: translate3d(-18px, 0, 0); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.nexo-main .nx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1.4rem; }
	.nexo-main .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.nexo-main .nx-steps { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
	.nexo-main .nx-grid { grid-template-columns: minmax(0, 1fr); }
	.nexo-main .nx-card { min-height: 0; }
	.nexo-hero-graph .nx-panel { min-height: 0; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.nexo-main .nx-card::before,
	.nexo-main .nx-card b,
	.nexo-main .nx-go,
	.nexo-main .wp-block-button__link,
	.nexo-main .wp-block-button__link::after,
	.nexo-hero-graph .nx-node rect,
	.nexo-hero-graph line,
	.nexo-main .nexo-proj-card { transition: none !important; }
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open,
	.nexo-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { animation: none !important; }
}

/* Las secciones nuevas (bloques HTML) salen de la columna de lectura y usan su propio ancho de 1180px. */
.nexo-main .nx-path,
.nexo-main .nx-services {
	max-width: none !important;
	width: 100%;
	margin-inline: 0 !important;
}
.nexo-main .nx-wrap { padding-inline: 0; }

/* Áreas táctiles: controles de filtro, opciones y rangos con 44 px mínimo. */
.nexo-main .nexo-filter .wp-block-button__link,
.nexo-main .nexo-opt .wp-block-button__link,
.nexo-main .nexo-range-btn .wp-block-button__link,
.nexo-main .nexo-select-type .wp-block-button__link,
.nexo-main .nexo-ref-opt .wp-block-button__link { min-height: 44px; }

/* El menú desplegable vive en la cabecera (fuera de .nexo-main): sus variables y su fondo
   necesitan definirse aquí y con especificidad suficiente frente a los estilos de WordPress. */
.nexo-header { --nx-out: cubic-bezier(0.23, 1, 0.32, 1); }
.nexo-header .nexo-nav.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--nexo-bg);
	color: var(--nexo-ink);
}

/* Fase 3 — objetivos táctiles: enlaces de cabecera, navegación, pie y títulos de tarjeta (mín. 36–44 px) */
body.page-template-page-nexo header a, body.page-template-page-nexo footer a, body.page-template-page-nexo .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 36px; }
body.page-template-page-nexo header .wp-block-navigation-item__content, body.page-template-page-nexo header nav a { min-height: 44px; }
body.page-template-page-nexo .wp-block-navigation__responsive-container-open, body.page-template-page-nexo .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; }
body.page-template-page-nexo [class*="-card-name"] a, body.page-template-page-nexo [class*="-card-title"] a, body.page-template-page-nexo [class*="-card"] h3 a { display: inline-block; padding-block: .4rem; }
/* ==========================================================================
   NEXO — "RIEL DE ÁREAS" + cabecera propia (nxo-). Dirección original: composición
   tipográfica de consultora (retícula, numeración, nodos) con un riel de cinco áreas
   que se despliega como una persiana. Referencias de hero usadas solo como inspiración.
   Movimiento solo bajo prefers-reduced-motion: no-preference.
   ========================================================================== */
.nexo-main .nxs, .nexo-main .nxh-marq, .nexo-main .nx-map { max-width: none !important; margin-inline: 0 !important; width: auto; }
.nxs, .nxs *, .nxh-marq, .nx-map { box-sizing: border-box; }
html.nxo-lock { overflow: hidden; }

/* ---- Cabecera ---- */
.nxo-head { position: sticky; top: 0; z-index: 90; background: var(--nexo-bg, #f7f4ee); --nxo-top: 102px; }
.nxo-strip { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 34px; padding: 0 clamp(1rem, 3vw, 2rem); background: var(--nexo-ink, #161616); color: #e9e3d8; font: 500 .66rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .16em; text-transform: uppercase; }
.nxo-strip a { display: inline-flex; align-items: center; min-height: 34px; color: inherit; text-decoration: none; opacity: .92; }
.nxo-strip a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.nxo-bar { display: flex; align-items: center; gap: 1.4rem; max-width: 1360px; margin-inline: auto; min-height: 68px; padding: .4rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--nexo-hair, #e5ded2); }
.nxo-logo { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: var(--nexo-ink, #161616); text-decoration: none; font: 600 1.4rem/1 var(--nexo-font-display, serif); letter-spacing: .08em; }
.nxo-mark { flex: none; }
.nxo-mark path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.nxo-nav { display: flex; align-items: center; gap: .1rem; margin-left: auto; }
.nxo-nav a { position: relative; display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .7rem; color: var(--nexo-ink, #161616); text-decoration: none; font: 500 .86rem/1 var(--nexo-font-body, sans-serif); }
.nxo-nav a sup { font-size: .58rem; letter-spacing: .08em; color: var(--nexo-mid, #6e6e6e); position: relative; top: -.35em; }
.nxo-nav a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .5rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.nxo-nav a:hover::after, .nxo-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nxo-nav-cta { display: none !important; }
.nxo-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.3rem; border-radius: 999px; background: var(--nexo-ink, #161616); color: #fff; text-decoration: none; font: 600 .82rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .02em; transition: box-shadow .4s ease, translate .2s ease; }
.nxo-cta:hover { box-shadow: 0 0 0 5px rgba(22,22,22,.14); }
.nxo-cta:active { translate: 0 1px; }
.nxo-head a:focus-visible, .nxo-head button:focus-visible { outline: 2px solid var(--nexo-ink, #161616); outline-offset: 3px; }
.nxo-strip a:focus-visible { outline-color: #fff; }
.nxo-toggle { display: none; align-items: center; gap: .7rem; min-height: 44px; margin-left: auto; padding: 0 1rem; border: 1px solid var(--nexo-ink, #161616); border-radius: 999px; background: transparent; color: var(--nexo-ink, #161616); font: 600 .78rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.nxo-toggle-i { position: relative; width: 18px; height: 10px; }
.nxo-toggle-i i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s cubic-bezier(.22,.61,.36,1), top .45s cubic-bezier(.22,.61,.36,1); }
.nxo-toggle-i i:first-child { top: 1px; } .nxo-toggle-i i:last-child { top: 8px; }
.nxo-toggle[aria-expanded="true"] .nxo-toggle-i i:first-child { top: 4.5px; transform: rotate(45deg); }
.nxo-toggle[aria-expanded="true"] .nxo-toggle-i i:last-child { top: 4.5px; transform: rotate(-45deg); }
@media (max-width: 1100px) {
	.nxo-cta { display: none; }
	.nxo-toggle { display: inline-flex; }
	.nxo-nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nxo-top); z-index: 80; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: .6rem clamp(1rem, 3vw, 2rem) 2rem; background: var(--nexo-bg, #f7f4ee); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .4s ease, transform .55s cubic-bezier(.22,.61,.36,1), visibility .4s; }
	.nxo-head[data-open] .nxo-nav { opacity: 1; visibility: visible; transform: none; }
	.nxo-nav a { min-height: 64px; padding: 0 .2rem; border-bottom: 1px solid var(--nexo-hair, #e5ded2); font: 500 clamp(1.7rem, 7vw, 2.4rem)/1 var(--nexo-font-display, serif); letter-spacing: -.01em; gap: .8rem; }
	.nxo-nav a sup { font: 600 .7rem/1 var(--nexo-font-body, sans-serif); top: 0; min-width: 1.6rem; }
	.nxo-nav a::after { display: none; }
	.nxo-nav .nxo-nav-cta { display: inline-flex !important; justify-content: center; margin-top: 1.4rem; border: 0; border-radius: 999px; background: var(--nexo-ink, #161616); color: #fff; font: 600 1rem/1 var(--nexo-font-body, sans-serif); letter-spacing: 0; min-height: 56px; }
}
@media (max-width: 640px) { .nxo-strip-n { display: none; } }

/* ---- Hero: composición + riel de áreas ---- */
.nxs { padding: clamp(1.6rem, 4vw, 3.4rem) clamp(1rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.4rem); max-width: 1360px !important; margin-inline: auto !important; }
.nxs-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.nxs-eyebrow { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; font: 600 .72rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .18em; text-transform: uppercase; color: var(--nexo-mid, #6e6e6e); }
.nxs-eyebrow::before { content: ""; width: .5rem; height: .5rem; background: var(--nexo-ink, #161616); flex: none; }
.nexo-main .nxs .nxs-title { margin: 0; font: 500 clamp(2.3rem, 5.2vw, 5rem)/1.02 var(--nexo-font-display, serif); letter-spacing: -.025em; color: var(--nexo-ink, #161616); text-wrap: balance; }
.nexo-main .nxs .nxs-lede { margin: 0 0 1.4rem; font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.65; color: var(--nexo-mid, #5a5a5a); max-width: 30rem; }
.nxs-cta { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.4rem; }
.nexo-main .nxs a.nxs-btn { position: relative; display: inline-flex; align-items: center; gap: .9rem; min-height: 52px; padding: 0 .5rem 0 1.5rem; border-radius: 999px; background: var(--nexo-ink, #161616); color: #fff; text-decoration: none; font: 600 .88rem/1 var(--nexo-font-body, sans-serif); overflow: hidden; isolation: isolate; transition: color .5s ease; }
.nxs-btn i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--nexo-ink, #161616); font-style: normal; transition: transform .5s cubic-bezier(.22,.61,.36,1), background-color .4s ease; }
.nxs-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nexo-bg, #f7f4ee); transform: translateX(-101%); transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.nexo-main .nxs a.nxs-btn:hover, .nexo-main .nxs a.nxs-btn:focus-visible { color: var(--nexo-ink, #161616); box-shadow: inset 0 0 0 1px var(--nexo-ink, #161616); }
.nxs-btn:hover::before, .nxs-btn:focus-visible::before { transform: none; }
.nxs-btn:hover i, .nxs-btn:focus-visible i { transform: translateX(3px); background: var(--nexo-ink, #161616); color: #fff; }
.nexo-main .nxs a.nxs-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--nexo-ink, #161616); font: 600 .86rem/1 var(--nexo-font-body, sans-serif); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s cubic-bezier(.22,.61,.36,1); }
.nxs-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.nxs a:focus-visible, .nxs button:focus-visible { outline: 2px solid var(--nexo-ink, #161616); outline-offset: 3px; }

.nxs-rail { display: flex; gap: clamp(6px, .8vw, 12px); height: clamp(360px, 54vh, 560px); }
.nxs-p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: clamp(16px, 2vw, 28px); background: #1b1713; color: #fff; isolation: isolate; transition: flex-grow .9s cubic-bezier(.77, 0, .18, 1); }
.nxs-p.is-on { flex-grow: 5.4; }
.nxs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: scale 1.4s cubic-bezier(.22,.61,.36,1), filter .8s ease; scale: 1.08; filter: saturate(.7) brightness(.82); }
.nxs-p.is-on .nxs-img { scale: 1; filter: saturate(1) brightness(1); }
.nxs-p::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,10,6,.72) 0%, rgba(14,10,6,.12) 58%, rgba(14,10,6,.3) 100%); }
.nxs-hd { margin: 0; position: absolute; inset: 0; font: inherit; }
.nxs-bt { position: absolute; inset: 0; width: 100%; height: 100%; display: block; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.nxs-no { position: absolute; left: clamp(.9rem, 1.6vw, 1.5rem); top: clamp(.9rem, 1.6vw, 1.4rem); display: inline-flex; align-items: center; gap: .55rem; font: 600 .74rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .14em; font-variant-numeric: tabular-nums; }
.nxs-no::before { content: ""; width: .45rem; height: .45rem; border: 1.5px solid #fff; transition: background-color .4s ease; }
.nxs-p.is-on .nxs-no::before { background: #fff; }
.nxs-nm { position: absolute; left: clamp(.9rem, 1.6vw, 1.5rem); bottom: clamp(.9rem, 1.8vw, 1.6rem); font: 500 1.15rem/1 var(--nexo-font-display, serif); letter-spacing: .01em; white-space: nowrap; transition: font-size .6s cubic-bezier(.22,.61,.36,1), translate .6s cubic-bezier(.22,.61,.36,1); }
.nxs-p:not(.is-on) .nxs-nm { writing-mode: vertical-rl; rotate: 180deg; left: 50%; translate: -50% 0; bottom: 1.2rem; }
.nxs-p.is-on .nxs-nm { font-size: clamp(1.8rem, 3.2vw, 3rem); bottom: clamp(5.4rem, 9vw, 7rem); letter-spacing: -.015em; }
.nxs-bd { position: absolute; left: clamp(.9rem, 1.6vw, 1.5rem); right: clamp(.9rem, 1.6vw, 1.5rem); bottom: clamp(.9rem, 1.8vw, 1.6rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; opacity: 0; translate: 0 14px; transition: opacity .4s ease, translate .6s cubic-bezier(.22,.61,.36,1); pointer-events: none; }
.nxs-p.is-on .nxs-bd { opacity: 1; translate: 0 0; transition-delay: .45s; pointer-events: auto; }
.nxs-bd p { margin: 0; max-width: 26rem; font-size: .98rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.nexo-main .nxs .nxs-bd a { display: inline-flex; align-items: center; gap: .5rem; flex: none; min-height: 44px; padding: 0 1.1rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff; text-decoration: none; font: 600 .78rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .04em; transition: background-color .4s ease, color .4s ease; }
.nexo-main .nxs .nxs-bd a:hover { background: #fff; color: var(--nexo-ink, #161616); }
.nxs-bd a i { font-style: normal; }
.nxs-p.is-on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.nxs-foot { display: flex; align-items: center; gap: 1rem 1.6rem; margin-top: .9rem; font: 500 .8rem/1 var(--nexo-font-body, sans-serif); color: var(--nexo-mid, #6e6e6e); }
.nxs-hint { margin: 0; margin-right: auto; }
.nxs-count { margin: 0; font-variant-numeric: tabular-nums; } .nxs-count b { color: var(--nexo-ink, #161616); font-weight: 600; }
.nxs-pause { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--nexo-ink, #161616); border-radius: 999px; background: transparent; color: var(--nexo-ink, #161616); font: 600 .74rem/1 var(--nexo-font-body, sans-serif); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color .4s ease, color .4s ease; }
.nxs-pause:hover { background: var(--nexo-ink, #161616); color: #fff; }

/* cinta, mapa y bandas */
.nxh-marq { overflow: hidden; padding-block: 1.3rem; border-bottom: 1px solid var(--nexo-hair, #e5ded2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nxh-marq-t { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.6rem); width: max-content; font: 500 clamp(1.5rem, 3.2vw, 2.6rem)/1 var(--nexo-font-display, serif); letter-spacing: -.01em; color: var(--nexo-ink, #161616); white-space: nowrap; }
.nxh-marq-t i { width: .55rem; height: .55rem; background: var(--nexo-ink, #161616); flex: none; }
.nx-map { padding-block: clamp(3rem, 7vw, 6rem); }
.nx-map-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.nx-map .nexo-hero-graph { position: static; width: 100%; max-width: 580px; justify-self: center; margin: 0; }
.nexo-main .nexo-proj-card img { border-radius: 22px; }
.nexo-main .nexo-band-invert, .nexo-main .nexo-cta { margin: clamp(8px, 1vw, 16px); border-radius: clamp(22px, 3vw, 40px); overflow: hidden; }

/* tablet y móvil */
@media (max-width: 1020px) { .nx-map-in { grid-template-columns: minmax(0, 1fr); } .nxs-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
	.nxs-rail { flex-direction: column; height: auto; }
	.nxs-p { flex: none; height: 76px; transition: height .8s cubic-bezier(.77, 0, .18, 1); }
	.nxs-p.is-on { height: min(380px, 62svh); }
	.nxs-p:not(.is-on) .nxs-nm { writing-mode: horizontal-tb; rotate: 0deg; left: clamp(.9rem, 1.6vw, 1.5rem); translate: 0 0; bottom: 50%; transform: translateY(50%); font-size: 1.3rem; }
	.nxs-p.is-on .nxs-nm { bottom: 6.4rem; font-size: 1.9rem; }
	.nxs-no { top: 50%; left: auto; right: 1rem; transform: translateY(-50%); }
	.nxs-p.is-on .nxs-no { top: 1rem; transform: none; left: 1rem; right: auto; }
	.nxs-bd { flex-direction: column; align-items: flex-start; }
	.nxs-hint { display: none; }
	.nxs-foot { justify-content: space-between; }
}

/* ---- Movimiento ---- */
@media (prefers-reduced-motion: no-preference) {
	.nxs-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
	html.nxs-m .nxs-wi { display: inline-block; transform: translateY(108%); transition: transform 1.1s cubic-bezier(.22,.61,.36,1); transition-delay: calc(var(--i, 0) * 80ms + 150ms); }
	html.nxs-m.nxs-in .nxs-wi { transform: none; }
	html.nxs-m .nxs-eyebrow, html.nxs-m .nxs-side, html.nxs-m .nxs-foot { opacity: 0; translate: 0 16px; transition: opacity 1s ease, translate 1.1s cubic-bezier(.22,.61,.36,1); }
	html.nxs-m.nxs-in .nxs-eyebrow { opacity: 1; translate: 0 0; transition-delay: .05s; }
	html.nxs-m.nxs-in .nxs-side { opacity: 1; translate: 0 0; transition-delay: .7s; }
	html.nxs-m.nxs-in .nxs-foot { opacity: 1; translate: 0 0; transition-delay: 1.5s; }
	html.nxs-m .nxs-p { clip-path: inset(100% 0 0 0 round 28px); transition: flex-grow .9s cubic-bezier(.77, 0, .18, 1), height .8s cubic-bezier(.77, 0, .18, 1), clip-path 1.1s cubic-bezier(.22,.61,.36,1); transition-delay: 0s, 0s, calc(var(--i, 0) * 110ms + 350ms); }
	html.nxs-m.nxs-in .nxs-p { clip-path: inset(0 0 0 0 round 28px); }
	.nxs-p.is-on::after { animation: nxs-fill var(--nxs-dur, 6500ms) linear both; }
	.nxs-rail.is-paused .nxs-p.is-on::after { animation-play-state: paused; }
	@keyframes nxs-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
	.nxo-mark path { animation: nxo-draw 1.4s cubic-bezier(.22,.61,.36,1) .2s both; }
	@keyframes nxo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
	.nxh-marq-t { animation: nxh-marq 52s linear infinite; }
	.nxh-marq:hover .nxh-marq-t { animation-play-state: paused; }
	@keyframes nxh-marq { from { translate: 0 0; } to { translate: -50% 0; } }
}
@media (prefers-reduced-motion: reduce) {
	.nxh-marq-t { width: auto; flex-wrap: wrap; justify-content: center; } .nxh-marq-t > :nth-child(n+15) { display: none; }
	.nxh-marq { -webkit-mask-image: none; mask-image: none; }
	.nxs-p.is-on::after { display: none; }
}

/* ajustes tras revisión visual */
.nxo-head { background: var(--nexo-paper, #fff); }
.nexo-main .nxs .nxs-hd, .nexo-main .nxs .nxs-bt, .nexo-main .nxs .nxs-nm, .nexo-main .nxs .nxs-no, .nexo-main .nxs .nxs-bd p { color: #fff; }
.nxs-rail { height: clamp(330px, calc(100svh - 450px), 580px); }
@media (max-width: 760px) { .nxs-rail { height: auto; } }
@media (max-width: 1100px) {
	.nxo-head .nxo-cta { display: none !important; }
	.nxo-head .nxo-toggle { display: inline-flex !important; }
	.nxo-head .nxo-nav { background: var(--nexo-paper, #fff); }
}
.nxo-head .nxo-nav a, .nxo-head .nxo-cta, .nxo-head .nxo-logo, .nxo-head .nxo-strip a { min-height: 44px; }
.nxo-head .nxo-strip a { min-height: 34px; }
.nexo-main .nxs { max-width: 1360px !important; margin-inline: auto !important; }
.nxo-head { border-bottom: 1px solid var(--nexo-hair, #e5ded2); }
.nxo-bar { border-bottom: 0; }

/* ==========================================================================
   MÓVIL — DOCK INFERIOR, PROGRESO DE LECTURA Y FOCO TÁCTIL (NEXO)
   Pensado para el pulgar: navegación a una mano, indicador que se desliza entre
   páginas y tarjetas que se "encienden" al centrarse en pantalla (el equivalente
   táctil del hover). Solo se activa en pantallas estrechas.
   ========================================================================== */
.nxm-dock, .nxm-prog { display: none; }
@media (max-width: 820px) {
	body.nxm-has-dock { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
	.nxm-prog { display: block; position: fixed; z-index: 90; top: 0; left: 0; right: 0; height: 3px; background: transparent; pointer-events: none; }
	.nxm-prog i { display: block; height: 100%; background: #e9e3d8; transform: scaleX(0); transform-origin: left; }
	.nxm-dock {
		display: flex; position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
		margin: 0; padding: 6px; gap: 2px; background: #161616; border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
		box-shadow: 0 14px 34px -10px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.18);
		font-family: var(--nexo-font-body, sans-serif); -webkit-tap-highlight-color: transparent; isolation: isolate;
		transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
	}
	.nxm-dock.is-away { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
	.nxm-dock a {
		position: relative; z-index: 1; flex: 1 1 0; min-width: 0; min-height: 52px; display: grid; justify-items: center; align-content: center; gap: 3px;
		padding: 4px 2px; border-radius: calc(18px - 6px); color: #bdb7ab; text-decoration: none; font-size: .64rem; font-weight: 600; letter-spacing: .02em; line-height: 1.1;
		text-transform: none; background: none; border: 0; transition: color .25s ease, scale .2s ease;
	}
	.nxm-dock a:active { scale: .92; }
	.nxm-dock a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
	.nxm-dock a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.nxm-dock a.is-on { color: #161616; }
	.nxm-dock a.is-on svg { transform: translateY(-1px) scale(1.12); }
	.nxm-dock a.is-cta { background: #e9e3d8; color: #161616; flex: 1.15 1 0; border-radius: calc(18px - 6px); }
	.nxm-dock a.is-cta.is-on { color: #161616; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
	.nxm-ind { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: calc(18px - 6px); background: #f7f4ee; opacity: 0; pointer-events: none; }
	.nxm-ind.is-go { opacity: 1; transition: transform .5s cubic-bezier(.34,1.3,.64,1), width .5s cubic-bezier(.34,1.3,.64,1); }
	.nxm-dock a:focus-visible { outline: 2px solid #161616; outline-offset: -2px; }
	/* Foco táctil: la tarjeta más cercana al centro de la pantalla se enciende. */
	.nexo-proj-card { transition: translate .6s cubic-bezier(.22,.61,.36,1), box-shadow .6s ease; }
	.nexo-proj-card.nxm-live { translate: 0 -4px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.45); }
	.nexo-proj-card img { transition: scale 1.2s cubic-bezier(.22,.61,.36,1); }
	.nexo-proj-card.nxm-live img { scale: 1.06; }
	@media (prefers-reduced-motion: reduce) { .nxm-dock, .nxm-ind.is-go, .nxm-dock a, .nxm-dock a svg { transition: none; } }
}
@media (hover: none) { .wp-element-button:active, [class*="-btn"]:active, [class*="-cta"]:active { scale: .97; } }


/* ==========================================================================
   ENTRADA — pantalla de carga propia de NEXO (motivo: nodes)
   ========================================================================== */
html.nxm-intro-on { overflow: hidden; }
.nxm-intro { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: #0b0b0b; color: #f7f4ee; font-family: var(--nexo-font-body, sans-serif); overflow: hidden; }
.nxm-intro-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: .9rem; padding: 2rem; text-align: center; transition: opacity .4s ease, transform .7s cubic-bezier(.76,0,.24,1); }
.nxm-intro-g { width: clamp(150px, 42vw, 260px); height: auto; color: #e9e3d8; overflow: visible; }
.nxm-intro-g path, .nxm-intro-g circle[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: nxm-draw 1s cubic-bezier(.65,0,.35,1) .1s forwards; }
.nxm-intro-g path[stroke-dasharray="6 8"] { stroke-dasharray: 6 8; stroke-dashoffset: 0; animation: none; clip-path: inset(0 100% 0 0); animation: nxm-wipe 1s ease .1s forwards; }
@keyframes nxm-draw { to { stroke-dashoffset: 0; } }
@keyframes nxm-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes nxm-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.nxm-intro-name { display: block; font-family: var(--nexo-font-display, serif); font-size: clamp(2.6rem, 13vw, 5rem); line-height: 1; letter-spacing: -.02em; opacity: 0; animation: nxm-in .8s ease .25s forwards; }
.nxm-intro-tag { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: 0; color: #f7f4ee; animation: nxm-in .8s ease .45s forwards; }
.nxm-intro-tag { opacity: 0; }
.nxm-intro-by { display: block; margin-top: 1.4rem; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: nxm-in .8s ease .65s forwards; }
.nxm-intro.is-out .nxm-intro-in { opacity: 0; transform: translateY(-10px); }
@media (prefers-reduced-motion: reduce) { .nxm-intro { display: none; } html.nxm-intro-on { overflow: auto; } }

.nxm-intro { transition: transform .9s cubic-bezier(.76,0,.24,1); }
.nxm-intro.is-out { transform: translateY(-100%); }

