/* ==========================================================================
   NexusOrbita · Secciones de la landing
   Propuesta de valor · Soluciones · Sectores · Servicios · Proceso ·
   Tecnología · Diferenciadores
   ========================================================================== */

/* Utilidad: contenedores de rejilla sin márgenes heredados del layout "flow" */
:where(.no-bento, .no-solutions__grid, .no-sectors__grid, .no-services__grid, .no-steps__list, .no-tech__grid, .no-diffs__grid, .no-diffs__layout, .no-concept) > * { margin: 0 !important; }
:where(.no-card, .no-svc-group, .no-svc, .no-step, .no-cap, .no-sector) > * { margin-block: 0; }
.no-diff > * { margin: 0 !important; }

/* =========================== PROPUESTA DE VALOR ========================== */
.no-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-areas:
		"big big custom auto"
		"big big data data"
		"integ integ scale care";
	gap: 1rem;
}
.no-bento__item { display: flex; flex-direction: column; gap: .75rem; }
.no-bento__item h3 { font-size: 1.125rem; }
.no-bento__item p { color: var(--no-gris); font-size: .9375rem; line-height: 1.6; }
.no-bento__item .no-icon { margin-bottom: auto; }
.no-bento__item .wp-block-html:has(.no-icon), .no-bento__item > .no-icon { margin-bottom: .75rem; }
.no-bento__big { grid-area: big; background: var(--no-noche); border-color: var(--no-noche); color: var(--no-gris-claro); padding: clamp(1.75rem, 3vw, 2.5rem); overflow: hidden; }
.no-bento__big h3 { color: #fff; font-size: clamp(1.375rem, 2vw, 1.75rem); letter-spacing: -.02em; margin-top: auto !important; }
.no-bento__big p { color: var(--no-gris-claro); font-size: 1rem; max-width: 46ch; }
.no-bento__big:hover { border-color: var(--no-noche); }
.no-bento__custom { grid-area: custom; }
.no-bento__auto { grid-area: auto; }
.no-bento__data { grid-area: data; flex-direction: row; align-items: stretch; gap: 1.5rem; }
.no-bento__integ { grid-area: integ; flex-direction: row; align-items: center; gap: 1.5rem; }
.no-bento__scale { grid-area: scale; }
.no-bento__care { grid-area: care; }
.no-bento__text { display: flex; flex-direction: column; gap: .75rem; flex: 1 1 55%; min-width: 0; }
.no-bento__text > * { margin: 0 !important; }

/* Flujo operativo (tarjeta grande) */
.no-flow { position: relative; margin-bottom: 1.75rem; }
.no-flow ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.no-flow li {
	position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: .9rem;
	padding: .7rem .9rem .7rem .55rem; border-radius: 12px;
	background: rgba(127, 166, 255, .05); border: 1px solid rgba(127, 166, 255, .1);
}
.no-flow b { font-family: var(--no-sora); font-weight: 600; color: #fff; font-size: .9375rem; }
.no-flow code { font-family: var(--no-mono); font-size: .6875rem; letter-spacing: .06em; color: var(--no-suave); background: none; padding: 0; }
.no-flow__node { width: 12px; height: 12px; margin-left: 5px; border-radius: 50%; border: 2px solid var(--no-orbita); background: var(--no-noche); position: relative; z-index: 1; }
.no-flow li.is-now { background: rgba(47, 107, 255, .14); border-color: rgba(47, 107, 255, .45); }
.no-flow li.is-now .no-flow__node { background: var(--no-nucleo); border-color: var(--no-nucleo); box-shadow: 0 0 0 5px rgba(255, 122, 26, .18); }
.no-flow li.is-now code { color: #FFB27A; }
.no-flow__rail { position: absolute; left: 16px; top: 22px; bottom: 22px; width: 2px; background: linear-gradient(var(--no-orbita), rgba(47, 107, 255, .15)); }
.no-flow__sat { position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, .8); animation: no-rail 6s var(--no-ease) infinite; }
@keyframes no-rail { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Barras (decisiones) */
.no-bars { flex: 1 1 45%; display: flex; flex-direction: column; justify-content: space-between; gap: .9rem; min-width: 0; }
.no-bars__chart { display: flex; align-items: flex-end; gap: 7%; height: 120px; padding: .75rem; border-radius: 12px; background: linear-gradient(180deg, var(--no-niebla), #fff); border: 1px solid var(--no-linea); }
.no-bars__chart i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--no-suave), rgba(127, 166, 255, .35)); transform-origin: bottom; }
.no-bars__chart i.is-hot { background: linear-gradient(180deg, var(--no-nucleo), rgba(255, 122, 26, .45)); }
.js .no-stagger:not(.is-in) .no-bars__chart i { transform: scaleY(.15); }
.no-bars__chart i { transition: transform 1s var(--no-ease) .3s; }

/* Hub (integración) */
.no-hub { flex: 1 1 45%; width: 100%; max-width: 300px; height: auto; overflow: visible; }
.no-hub__links path { stroke: var(--no-suave); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; animation: no-dash 1.2s linear infinite; }
.no-hub__nodes rect { fill: #fff; stroke: var(--no-linea); }
.no-hub__labels text { font-family: var(--no-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; fill: var(--no-noche); text-anchor: middle; }
@keyframes no-dash { to { stroke-dashoffset: -14; } }

@media (max-width: 1100px) {
	.no-bento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas: "big big" "custom auto" "data data" "integ integ" "scale care";
	}
}
@media (max-width: 640px) {
	.no-bento { grid-template-columns: 1fr; grid-template-areas: "big" "custom" "auto" "data" "integ" "scale" "care"; }
	.no-bento__data, .no-bento__integ { flex-direction: column; align-items: stretch; }
	.no-hub { max-width: 100%; }
}

/* ============================== SOLUCIONES =============================== */
.no-solutions__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.no-sol {
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-rows: auto auto 1fr auto auto;
	column-gap: .9rem; row-gap: .85rem;
	padding: .75rem .75rem 1.6rem;
}
.no-sol > *:not(.no-sol__title):not(h3) { grid-column: 1 / -1; }
.no-sol > :not(.no-sol__art) { margin-inline: .85rem !important; }
.no-sol > h3 { margin-left: 0 !important; align-self: center; font-size: 1.25rem; }
.no-sol > p { color: var(--no-gris); font-size: .9375rem; line-height: 1.6; }
.no-sol .no-chips { margin-top: .15rem; }
.no-sol__cta { margin-top: .35rem !important; }
.no-sol__title { line-height: 0; margin-right: 0 !important; }
.no-sol__art {
	position: relative; aspect-ratio: 2 / 1; margin-bottom: .6rem;
	border-radius: 14px; overflow: hidden;
	background:
		radial-gradient(70% 90% at 50% 120%, rgba(47, 107, 255, .1), transparent 70%),
		linear-gradient(180deg, #F6F8FD, #EEF3FB);
	border: 1px solid var(--no-linea);
}
.no-sol__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.no-sol__badge {
	position: absolute; top: .7rem; left: .7rem; z-index: 1;
	font-family: var(--no-mono); font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: #fff; background: var(--no-noche); border-radius: 999px; padding: .3rem .6rem;
	display: inline-flex; align-items: center; gap: .4rem;
}
.no-sol__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--no-nucleo); }
.no-sol:hover { transform: translateY(-3px); }
.no-sol:hover .s-flow { animation-duration: .6s; }

/* Ilustraciones */
.no-sol__art .s-frame { fill: #fff; stroke: #C9D6EE; }
.no-sol__art .s-line { stroke: #B4C6E8; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.no-sol__art .s-fill { fill: rgba(47, 107, 255, .07); }
.no-sol__art .s-card, .no-sol__art .s-card-g rect { fill: #fff; stroke: #C9D6EE; }
.no-sol__art .s-dot { fill: var(--no-orbita); }
.no-sol__art .s-hot { fill: var(--no-nucleo); }
.no-sol__art .s-ring { fill: #fff; stroke: var(--no-orbita); stroke-width: 2; }
.no-sol__art .s-flow { stroke: var(--no-orbita); stroke-width: 2; fill: none; stroke-dasharray: 5 5; stroke-linecap: round; animation: no-dash 1.4s linear infinite; }
.no-sol__art .s-solid { stroke: var(--no-orbita); stroke-width: 2.4; fill: none; stroke-linejoin: round; }
.no-sol__art .s-band { fill: rgba(255, 122, 26, .1); }
.no-sol__art .s-grid { stroke: #DCE5F4; stroke-width: 1; }
.no-sol__art .s-rack rect { fill: #fff; stroke: #C9D6EE; }
.no-sol__art .s-fill-cells rect { fill: rgba(127, 166, 255, .45); }
.no-sol__art .s-box rect { fill: rgba(47, 107, 255, .1); stroke: #9DB6EA; }
.no-sol__art .s-hot-box { fill: rgba(255, 122, 26, .16); stroke: var(--no-nucleo); }
.no-sol__art .s-text { font-family: var(--no-mono); font-size: 9px; font-weight: 600; letter-spacing: .1em; fill: #51607A; text-anchor: middle; }
.no-sol__art .s-code { font-family: var(--no-mono); font-size: 20px; font-weight: 600; fill: var(--no-orbita); text-anchor: middle; }

@media (max-width: 1024px) { .no-solutions__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .no-solutions__grid { grid-template-columns: 1fr; } }

/* =============================== SECTORES ================================ */
.no-sectors__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.no-sector { display: flex; flex-direction: column; gap: .7rem; }
.no-sector h3 { font-size: 1.125rem; margin-top: .5rem !important; }
.no-sector p { color: var(--no-gris); font-size: .9375rem; line-height: 1.6; }
.no-sector .no-chips { margin-top: auto !important; padding-top: .5rem; }
.no-sector__top { display: flex; align-items: center; justify-content: space-between; }
.no-sector__num { font-family: var(--no-mono); font-size: .6875rem; letter-spacing: .14em; color: #5E6B80; transition: color .3s; }
.no-sector .no-icon { transition: background-color .3s, color .3s, border-color .3s; }
.no-sector:hover .no-icon { background: var(--no-accion); color: #fff; border-color: var(--no-accion); }
.no-sector:hover .no-sector__num { color: var(--no-accion); }

@media (max-width: 1024px) { .no-sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .no-sectors__grid { grid-template-columns: 1fr; } }

/* =============================== SERVICIOS =============================== */
.no-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.no-svc-group {
	background: linear-gradient(180deg, #F7F9FD, #fff 60%);
	border: 1px solid var(--no-linea); border-radius: var(--no-r-l);
	padding: clamp(1.5rem, 2.5vw, 2rem);
}
.no-svc-group__label {
	display: inline-flex; align-items: center; gap: .6rem; margin: 0;
	font-family: var(--no-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--no-accion);
}
.no-svc-group__label span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--no-noche); color: #fff; font-size: .6875rem; letter-spacing: 0; }
.no-svc-group__title { font-size: 1.25rem !important; margin: 1rem 0 1.25rem !important; max-width: 20ch; }
.no-svc {
	display: grid; grid-template-columns: 36px 1fr; column-gap: .9rem; row-gap: .2rem;
	padding: 1rem 0; border-top: 1px solid var(--no-linea);
}
.no-svc > .no-icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; }
.no-svc > .no-icon svg { width: 18px; height: 18px; }
.no-svc h4 { font-family: var(--no-sora); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; margin: 0; }
.no-svc p { color: var(--no-gris); font-size: .875rem; line-height: 1.55; }
.no-svc:last-child { padding-bottom: 0; }

.no-strip {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
	margin-top: clamp(2rem, 4vw, 3rem) !important;
	padding: 1.25rem 1.25rem 1.25rem clamp(1.25rem, 3vw, 2rem);
	border-radius: 999px; background: var(--no-noche); color: var(--no-gris-claro);
	background-image: radial-gradient(60% 140% at 100% 50%, rgba(47, 107, 255, .35), transparent 60%);
}
.no-strip > * { margin: 0 !important; }
.no-strip__text { font-size: 1.0625rem; }
.no-strip__text strong { color: #fff; font-family: var(--no-sora); font-weight: 600; }

@media (max-width: 1024px) { .no-services__grid { grid-template-columns: 1fr 1fr; } .no-services__grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) {
	.no-services__grid { grid-template-columns: 1fr; }
	.no-strip { border-radius: var(--no-r-l); padding: 1.5rem; }
	.no-strip .wp-block-buttons, .no-strip .wp-block-button, .no-strip .wp-block-button__link { width: 100%; }
}

/* ================================ PROCESO ================================ */
.no-process { overflow: hidden; }
.no-steps { position: relative; }
.no-steps__track { position: absolute; left: 0; right: 0; top: 22px; height: 12px; margin: 0 !important; max-width: none !important; }
.no-steps__track svg { width: 100%; height: 100%; overflow: visible; }
.no-steps__path { fill: none; stroke: rgba(127, 166, 255, .35); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; }
.no-steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); position: relative; }
.no-step { display: flex; flex-direction: column; gap: .75rem; }
.no-step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.no-step__num {
	display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
	font-family: var(--no-mono); font-weight: 600; font-size: .9375rem; color: #fff;
	background: var(--no-noche-2); border: 1px solid rgba(127, 166, 255, .35);
	box-shadow: 0 0 0 8px var(--no-noche);
	transition: background-color .3s, border-color .3s;
}
.no-step:hover .no-step__num { background: var(--no-orbita); border-color: var(--no-orbita); }
.no-step:first-child .no-step__num { background: var(--no-nucleo); border-color: var(--no-nucleo); color: var(--no-noche); }
.no-step__head .no-icon { background: var(--no-noche); border-color: var(--no-linea-oscura); box-shadow: 0 0 0 8px var(--no-noche); }
.no-step h3 { font-size: 1.375rem; }
.no-step p { line-height: 1.6; }
.no-step__out { margin-top: auto !important; padding-top: .75rem; border-top: 1px solid var(--no-linea-oscura); font-family: var(--no-mono); font-size: .75rem; letter-spacing: .06em; color: var(--no-suave); }

@media (max-width: 900px) {
	.no-steps__track { display: none; }
	.no-steps__list { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
}
@media (max-width: 600px) {
	.no-steps__list { grid-template-columns: 1fr; gap: 0; border-left: 1px dashed rgba(127, 166, 255, .35); margin-left: 27px !important; }
	.no-step { padding: 0 0 2rem 2.25rem; position: relative; }
	.no-step__head { margin-left: calc(-2.25rem - 28px); margin-bottom: -44px; }
	.no-step h3 { padding-left: .25rem; }
	.no-step__head .no-icon { display: none; }
}

/* =============================== TECNOLOGÍA ============================== */
.no-tech { background-image: linear-gradient(rgba(47, 107, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 107, 255, .045) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; }
.no-tech__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--no-linea); border: 1px solid var(--no-linea); border-radius: var(--no-r-l); overflow: hidden; }
.no-cap { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: clamp(1.5rem, 2.5vw, 2rem); transition: background-color .3s; }
.no-cap:hover { background: #FAFCFF; }
.no-cap__top { display: flex; align-items: center; gap: .85rem; }
.no-cap__label { font-family: var(--no-sora); font-weight: 600; font-size: 1.125rem; color: var(--no-noche); letter-spacing: -.01em; }
.no-cap__text { color: var(--no-gris); font-size: .9375rem; line-height: 1.6; }
.no-cap .no-chips { margin-top: auto !important; }
.no-cap:hover .no-icon { background: var(--no-accion); color: #fff; border-color: var(--no-accion); }
.no-cap .no-icon { transition: background-color .3s, color .3s; }

@media (max-width: 1024px) { .no-tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .no-tech__grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .no-tech__grid { grid-template-columns: 1fr; } }

/* ============================ DIFERENCIADORES ============================ */
.no-diffs__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.no-diffs__intro { position: sticky; top: calc(var(--no-header-h) + 2.5rem); display: grid; gap: 1.25rem; justify-items: start; }
.no-diffs__intro > * { margin: 0 !important; }
.no-diffs__intro h2 { max-width: 14ch; }
.no-diffs__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.no-diff { padding: 1.6rem 0 1.75rem; border-top: 1px solid var(--no-linea); display: grid; gap: .5rem; }
.no-diff__num { font-family: var(--no-mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--no-accion); display: inline-flex; align-items: center; gap: .55rem; }
.no-diff__num::after { content: ""; width: 24px; height: 1px; background: var(--no-linea); }
.no-diff h3 { font-size: 1.1875rem; }
.no-diff p { color: var(--no-gris); font-size: .9375rem; line-height: 1.6; }
.no-diff:hover .no-diff__num::after { background: var(--no-nucleo); width: 40px; transition: width .3s var(--no-ease); }

@media (max-width: 900px) {
	.no-diffs__layout { grid-template-columns: 1fr; }
	.no-diffs__intro { position: static; }
}
@media (max-width: 560px) { .no-diffs__grid { grid-template-columns: 1fr; } }

/* Satélite que recorre la trayectoria del proceso */
.no-steps__sat {
	position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
	background: #fff; box-shadow: 0 0 14px rgba(255, 255, 255, .85);
	animation: no-track 12s linear infinite;
}
@keyframes no-track { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
