/* ==========================================================================
   NexusOrbita · Ecosistema (diagrama orbital interactivo)
   ========================================================================== */

.no-eco-section {
	overflow: hidden;
	background:
		radial-gradient(50% 60% at 30% 55%, rgba(47, 107, 255, .14) 0%, rgba(10, 18, 38, 0) 70%),
		var(--no-noche);
}

.no-eco {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

/* Diagrama */
.no-eco__diagram { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; container-type: inline-size; justify-self: center; }
.no-eco__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.no-eco__ring { fill: none; stroke: rgba(127, 166, 255, .16); }
.no-eco__ring--dash { stroke-dasharray: 2 8; stroke: rgba(127, 166, 255, .32); }
.no-eco__ring--outer { stroke: rgba(47, 107, 255, .45); stroke-width: 1.5; }
.no-eco__ring--inner { stroke: var(--no-orbita); stroke-width: 4; }
.no-eco__tilt { fill: none; stroke: rgba(127, 166, 255, .12); stroke-width: 1; }
.no-eco__spokes line { stroke: rgba(127, 166, 255, .16); stroke-width: 1; stroke-dasharray: 3 6; transition: stroke .3s, stroke-width .3s; }
.no-eco__spokes line.is-active { stroke: var(--no-nucleo); stroke-width: 1.6; stroke-dasharray: none; }

.no-eco__core {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: grid; justify-items: center; gap: .2em; text-align: center; pointer-events: none;
}
.no-eco__core strong { font-family: var(--no-sora); font-size: max(10px, 2.2cqw); font-weight: 700; color: var(--no-noche); letter-spacing: -.02em; }
.no-eco__core small { font-family: var(--no-mono); font-size: max(8px, 1.3cqw); letter-spacing: .18em; color: rgba(10, 18, 38, .75); }

.no-eco__module {
	position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
	font-family: var(--no-mono); font-size: max(9px, 1.75cqw); font-weight: 600; letter-spacing: .1em;
	color: #fff; background: var(--no-noche-2); border: 1px solid rgba(47, 107, 255, .7);
	border-radius: 999px; padding: .35em .8em;
	box-shadow: 0 0 0 4px var(--no-noche);
}

.no-eco__node {
	position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
	display: grid; justify-items: center; gap: .55em;
	transition: transform .35s var(--no-ease), opacity .35s;
}
.no-eco__node i {
	display: grid; place-items: center; width: 9.4cqw; height: 9.4cqw; min-width: 38px; min-height: 38px;
	border-radius: 50%; color: var(--no-suave);
	background: var(--no-noche-2); border: 1px solid rgba(127, 166, 255, .3);
	box-shadow: 0 0 0 6px var(--no-noche);
	transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.no-eco__node svg { width: 46%; height: 46%; }
.no-eco__node b { font-family: var(--no-sora); font-weight: 600; font-size: max(10px, 2cqw); color: #E6ECF8; white-space: nowrap; }
.no-eco__node.is-active { transform: translate(-50%, -50%) scale(1.08); }
.no-eco__node.is-active i { background: var(--no-nucleo); color: var(--no-noche); border-color: var(--no-nucleo); box-shadow: 0 0 0 6px var(--no-noche), 0 0 32px rgba(255, 122, 26, .55); }
.no-eco.has-active .no-eco__node:not(.is-active) { opacity: .45; }

/* Leyenda accesible */
.no-eco__legend-title { font-family: var(--no-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--no-suave); margin: 0 0 1rem; }
.no-eco__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.no-eco__item {
	display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; width: 100%; text-align: left;
	padding: .95rem 1rem; border-radius: 12px; border: 1px solid transparent;
	background: transparent; color: inherit; font: inherit; cursor: pointer;
	transition: background-color .25s, border-color .25s;
}
.no-eco__item-title { font-family: var(--no-sora); font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: .6rem; }
.no-eco__item-title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--no-suave); transition: background-color .25s, border-color .25s; flex: none; }
.no-eco__item-text { font-size: .9375rem; line-height: 1.5; color: var(--no-gris-claro); }
.no-eco__item:hover, .no-eco__item.is-active, .no-eco__item[aria-pressed="true"] { background: rgba(127, 166, 255, .07); border-color: var(--no-linea-oscura); }
.no-eco__item.is-active .no-eco__item-title::before { background: var(--no-nucleo); border-color: var(--no-nucleo); }

/* Concepto de marca: centro · órbita · satélite */
.no-concept {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem);
	margin-top: clamp(3rem, 6vw, 5rem) !important;
}
.no-concept > * { margin: 0 !important; }
.no-concept__item { padding-top: 1.25rem; border-top: 2px solid; }
.no-concept__item.is-center { border-color: var(--no-nucleo); }
.no-concept__item.is-orbit { border-color: var(--no-orbita); }
.no-concept__item.is-satellite { border-color: #fff; }
.no-concept__item h3 { margin: 0 0 .5rem !important; font-size: 1.125rem !important; }
.no-concept__item p { font-size: .9375rem; }
.no-concept__item > * { margin-block: 0; }

@media (max-width: 1000px) {
	.no-eco { grid-template-columns: 1fr; }
	.no-eco__diagram { max-width: 600px; }
}
@media (max-width: 600px) {
	.no-eco__diagram { width: 108%; margin-inline: -4%; }
	.no-eco__item { grid-template-columns: 1fr; gap: .25rem; }
	.no-concept { grid-template-columns: 1fr; }
	.no-eco__node b { font-size: 10px; }
	.no-eco__core strong { display: none; }
}
