/* «Nueva»: a PROPOSAL for the home page (Pablo, 2026-11-26), only reachable at /nueva.html.
   It began after the patterns of lienzzo.com and read as a copy of it (Pablo, 2026-11-27), so the look is now
   its own: a blue-black page with pale sections in between, everything rounded (a floating top bar, pill
   buttons, soft cards), ONE family of colour (blue to violet; the fruit of the logo is the only orange), a
   hero in two halves (the words and the box on the left, a fanned hand of example cards on the right), the
   examples as cards with the scene on top and the words under it, round tabs, and the free hour as three
   numbered steps. Its surfaces are GLASS (see «liquid glass» at the end of this file). What it must NOT go back to, because that is Lienzzo's signature: a centred title over a flat
   strip of cards, sharp cards filled with rainbow colour, a window cut by the card's corner, underlined tabs,
   a rainbow rim on anything, a white box with a list of arrows.
   It does not load styles.css. The mini screens inside the cards are ejemplos.css + ejemplos.js. */

@font-face {
  font-family: 'Inter Tight';
  src: url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2-variations'), url('fonts/inter-tight-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dm-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Mono';
  src: url('fonts/dm-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;
  --night: #080c09;
  --night-2: #10131c;
  --panel: #0f121b;
  --white: #ffffff;
  /* No orange on the black page (Pablo, 2026-11-26): buttons are white on dark and black on white, the accent
     is a cool blue to violet, and the only orange left is the fruit of the logo. */
  /* THE COLOURS: «hoja», the greens of the leaf of the níspero (Pablo, 2026-11-27: «por ahora elijo el verde»;
     before it, blue and violet, which is still one of the palettes to try). Everything that has colour on these pages comes from the values below, so that another
     combination is one block (see «palettes to try» at the end). The first five are r g b, to be used with an opacity. */
  --l1: 60 180 90;   /* the main light behind the glass */
  --l2: 170 210 70;  /* the second light */
  --l3: 20 150 130;   /* a third, small one */
  --ac: 120 215 130;  /* the accent: focus and caret */
  --ac2: 200 230 110;
  --accent: rgb(var(--ac));
  --accent-2: rgb(var(--ac2));
  --h1: #86efac;        /* where the gradient of the title's coloured words starts */
  --sun: #e3f7b5;       /* the middle of the light of the last section */
  --ink-accent: #2f8a45; /* the accent on the pale sections (the numbers of the steps) */
  /* the seven tints of the cards */
  --k1: #3cb45a; --k2: #a3d246; --k3: #16a085; --k4: #6dbf3a; --k5: #2e9e6b; --k6: #c5dd4a; --k7: #1f9d55;
  --r: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: #fff; font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.nx-wrap { max-width: 1240px; margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }
.nx-wrap--narrow { max-width: 1110px; }

/* ---------- sections: dark by default, .nx-light for the white ones ---------- */
.nx-sec { position: relative; padding: clamp(72px, 10vw, 128px) 0; background: var(--night); color: #fff; --ink: #fff; --muted: rgba(255, 255, 255, 0.6); --hair: rgba(255, 255, 255, 0.1); }
.nx-light { background: #f4f5f8; color: #0b0d14; --ink: #0b0d14; --muted: #5f6470; --hair: #dfe2e9; }

.nx-eyebrow { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nx-h2 { font-weight: 650; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.nx-h2 em { font-style: normal; color: var(--muted); }
.nx-sub { color: var(--muted); font-size: 1.06rem; line-height: 1.55; text-wrap: pretty; }
/* a section's heading: the title on the left, its second line low on the right */
.nx-head, .nx-hour__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 52px); }
.nx-head > div, .nx-hour__head > div { display: grid; gap: 16px; }
.nx-head .nx-h2, .nx-hour__head .nx-h2 { max-width: 19ch; }
.nx-head .nx-sub, .nx-hour__head .nx-sub { max-width: 40ch; padding-bottom: 0.35em; }
/* ---------- buttons ---------- */
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.78em 1.4em; border-radius: 99px; border: 0; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; background: #fff; color: #0a0a0a; transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s; }
.nx-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.6); }
.nx-light .nx-btn, .nx-box .nx-btn, .nx-nav[data-theme='light'] .nx-btn { background: #0b0d14; color: #fff; }
.nx-light .nx-btn:hover, .nx-box .nx-btn:hover, .nx-nav[data-theme='light'] .nx-btn:hover { box-shadow: 0 10px 30px -12px rgba(10, 10, 10, 0.6); }
.nx-btn:active { transform: none; }
.nx-btn--white { background: #fff; color: #0a0a0a; }
.nx-btn--white:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.6); }
.nx-btn--small { padding: 0.62em 1.15em; font-size: 0.88rem; }
.nx-btn--block { display: flex; width: 100%; padding: 0.95em 1.25em; }
.nx-btn .arr, .nx-link .arr { display: inline-block; transition: transform 0.25s var(--ease); }
.nx-btn:hover .arr, .nx-link:hover .arr { transform: translateX(4px); }
.nx-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 550; font-size: 0.98rem; text-decoration: none; color: var(--ink); }
.nx-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- top bar: a rounded bar of dark glass that floats under the top edge; it turns light over the pale sections ---------- */
.nx-nav { position: fixed; z-index: 50; top: calc(10px + env(safe-area-inset-top, 0px)); left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); max-width: 1240px; margin: 0 auto; height: var(--nav-h); border-radius: 18px; background: rgba(15, 18, 27, 0.72); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.7); color: #fff; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.nx-nav[data-theme='light'] { background: rgba(255, 255, 255, 0.82); color: #0b0d14; border-color: rgba(11, 13, 20, 0.1); box-shadow: 0 12px 40px -22px rgba(11, 13, 20, 0.35); }
.nx-nav__in { height: 100%; display: flex; align-items: center; gap: 28px; padding: 0 10px 0 20px; }
.nx-brand { display: flex; align-items: center; gap: 9px; margin-right: 8px; font-weight: 650; font-size: 1.25rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
.nx-brand img { height: 28px; width: auto; }
.nx-brand i { font-style: normal; }
.nx-brand .brand__tech { font-weight: 300; }
.nx-nav__links { display: flex; align-items: center; gap: 26px; margin-right: auto; font-size: 0.92rem; }
.nx-nav__links a { text-decoration: none; opacity: 0.66; transition: opacity 0.2s; }
.nx-nav__links a:hover { opacity: 1; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes nx-spin { to { --spin: 360deg; } }
.nx-nav__tel { font-size: 0.92rem; text-decoration: none; opacity: 0.66; white-space: nowrap; }
.nx-nav__tel:hover { opacity: 1; }

/* ---------- things rise into place ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero: the words and the box on the left, a fanned hand of example cards on the right ---------- */
.nx-hero { position: relative; padding: calc(var(--nav-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 7vw, 96px); background: var(--night); overflow: hidden; }
/* one cool light behind the cards; no pattern of dots anywhere (Pablo, 2026-11-27: «no me acaba») */
.nx-hero::after { content: ''; position: absolute; right: -8%; top: 8%; width: min(820px, 90vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgb(var(--l1) / 0.3), rgb(var(--l2) / 0.1) 55%, transparent 75%); pointer-events: none; }
.nx-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 40px clamp(24px, 4vw, 64px); align-items: center; }
.nx-hero__left { position: relative; z-index: 2; display: grid; gap: clamp(26px, 3.4vw, 38px); justify-items: start; }
.nx-hero__text { display: grid; justify-items: start; gap: 20px; }
.nx-h1 { font-weight: 700; font-size: clamp(2.35rem, 4.9vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; max-width: 15ch; }
.nx-h1 .w { display: inline-block; animation: nx-rise 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
.nx-h1 .join { white-space: nowrap; } /* two pieces of one word, «d'» + «Intel·ligència» */
.nx-h1 em { font-style: normal; } /* before nueva.js splits the title into words */
.nx-h1 em, .nx-h1 .hot { background: linear-gradient(100deg, var(--h1), var(--accent) 45%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 0.04em 0.16em 0; margin-bottom: -0.16em; } /* the padding below keeps the tail of the g inside the painted box */
@keyframes nx-rise { from { opacity: 0; transform: translateY(0.5em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.nx-hero__lead { max-width: 46ch; color: rgba(255, 255, 255, 0.64); font-size: clamp(1rem, 1.5vw, 1.12rem); text-wrap: pretty; animation: nx-rise 1s var(--ease) 0.5s both; }
/* the way to the demos, right under the box (same words as the link after the three steps) */

/* the box you write in: while it is empty it types what the front card does */
.nx-prompt { position: relative; width: min(560px, 100%); border-radius: var(--r); border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(15, 18, 27, 0.86); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9); transition: border-color 0.3s, box-shadow 0.3s; animation: nx-rise 1s var(--ease) 0.65s both; }
.nx-prompt:hover { border-color: rgba(255, 255, 255, 0.24); }
.nx-prompt:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--ac) / 0.18), 0 30px 70px -30px rgba(0, 0, 0, 0.9); }
.nx-prompt__in { min-height: 150px; padding: 22px 16px 16px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; text-align: left; }
.nx-prompt__text { font-family: inherit; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; min-height: 2.6em; }
/* the line «Cuéntanos qué te quita tiempo» is not shown (Pablo, 2026-11-27); it stays as the box's name for screen readers */
.nx-prompt__in .nx-eyebrow { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nx-prompt__box { position: relative; flex: 1; }
.nx-prompt__ghost { position: absolute; inset: 0; pointer-events: none; color: rgba(255, 255, 255, 0.55); transition: opacity 0.2s; }
.nx-prompt.has-text .nx-prompt__ghost { opacity: 0; }
.nx-prompt:focus-within .nx-prompt__ghost { color: rgba(255, 255, 255, 0.3); }
.nx-prompt:focus-within .nx-caret { display: none; }
.nx-prompt__input { display: block; width: 100%; max-height: 7.5em; margin: 0; padding: 0; border: 0; outline: 0; resize: none; background: none; color: #fff; caret-color: var(--accent); overflow-y: auto; }
.nx-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: var(--accent); animation: nx-blink 0.9s steps(1) infinite; }
@keyframes nx-blink { 50% { opacity: 0; } }
.nx-prompt__row { display: flex; align-items: center; gap: 6px; }
.nx-prompt__row .nx-btn { margin-left: auto; }
.nx-arrow { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 50%; background: none; color: rgba(255, 255, 255, 0.6); cursor: pointer; font-size: 1rem; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.nx-arrow:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); color: #fff; }

/* the hand of cards: the front one is the one being typed; nueva.js fans the rest behind it
   (--step: how far apart, --tilt: how much each one leans, --drop: how much lower) */
.nx-reel { position: relative; height: clamp(360px, 35vw, 470px); --w: clamp(210px, 19vw, 270px); --step: calc(var(--w) * 0.44); --tilt: 7deg; --drop: 12px; animation: nx-rise 1.2s var(--ease) 0.8s both; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.nx-reel .nx-reel__card { position: absolute; left: 50%; top: 0; width: var(--w); height: 92%; border-radius: var(--r); transform: translateX(-50%); transform-origin: 50% 120%; transition: transform 0.9s var(--ease), opacity 0.6s, filter 0.6s; filter: brightness(0.5) saturate(0.85); cursor: pointer; padding: 0; text-align: left; display: block; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85); }
.nx-reel .nx-reel__card.is-on { filter: none; cursor: default; }
.nx-reel__card.no-move { transition: none; }
.nx-reel__name { position: absolute; left: 9%; right: 9%; top: 7%; font-weight: 650; font-size: clamp(0.95rem, 1.3vw, 1.1rem); line-height: 1.2; letter-spacing: -0.02em; color: #fff; }
.nx-reel.is-drag { cursor: grabbing; }
.nx-reel.is-drag .nx-reel__card { transition: none; cursor: grabbing; }

/* ---------- tinted panels: dark rounded cards, each lit from above by one cool colour ----------
   (the class is still called «bloom»; the seven tints stay inside blue, teal and violet on purpose) */
.nx-bloom { position: relative; background: var(--panel); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r); overflow: hidden; isolation: isolate; }
.nx-bloom::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 30% -10%, color-mix(in srgb, var(--c1) 62%, transparent), transparent 72%), radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--c2) 34%, transparent), transparent 70%); }
.nx-g1 { --c1: var(--k1); --c2: var(--k3); }
.nx-g2 { --c1: var(--k2); --c2: var(--k1); }
.nx-g3 { --c1: var(--k3); --c2: var(--k6); }
.nx-g4 { --c1: var(--k4); --c2: var(--k2); }
.nx-g5 { --c1: var(--k5); --c2: var(--k7); }
.nx-g6 { --c1: var(--k6); --c2: var(--k1); }
.nx-g7 { --c1: var(--k7); --c2: var(--k5); }

/* the mini screens (ejemplos.css): in a hero card under its name, in an example card on a darker, lit panel */
.nx-reel__card .stage { position: absolute; left: 0; right: 0; top: 17%; bottom: 0; aspect-ratio: auto; }
.nx-reel__card .stage .sc { padding: 4cqw 6cqw 12cqw; font-size: 4.8cqw; }
.nx-vz { grid-row: 1; position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(110% 80% at 50% 118%, color-mix(in srgb, var(--c1) 72%, transparent), transparent 70%), radial-gradient(70% 55% at 0% 0%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 70%), rgba(3, 8, 5, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* ---------- the strip of business types: its line on the left, the names running on the right ---------- */
.nx-strip { background: var(--night); padding: 0; }
.nx-strip__in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 40px; align-items: center; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, 0.09); border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.nx-strip p { color: rgba(255, 255, 255, 0.56); font-size: 0.95rem; }
.nx-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.nx-marquee ul { display: flex; width: max-content; animation: nx-marquee 44s linear infinite; }
.nx-marquee li { display: flex; align-items: center; font-weight: 550; font-size: 1.02rem; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.78); white-space: nowrap; }
/* nothing between the names, only air (Pablo, 2026-11-27: no dots) */
.nx-marquee li { padding-right: 48px; }
@keyframes nx-marquee { to { transform: translateX(-50%); } }

/* ---------- examples: round tabs, then a row of cards (the scene on top, the words under it) ---------- */
.nx-tabs { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.nx-tabs::-webkit-scrollbar { display: none; }
.nx-tab { flex: 0 0 auto; padding: 10px 18px; background: none; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 99px; cursor: pointer; font-weight: 500; font-size: 0.95rem; color: rgba(255, 255, 255, 0.66); white-space: nowrap; transition: color 0.25s, background 0.25s, border-color 0.25s; }
.nx-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.34); }
.nx-tab[aria-selected='true'] { background: #fff; border-color: #fff; color: #0b0d14; }
/* the tab already says the panel's name: its heading is kept for screen readers, its line is shown */
.nx-panel__head { margin-bottom: 28px; }
.nx-panel__head h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nx-panel__head p { color: var(--muted); max-width: 60ch; }
.nx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 0 20px; }
/* each card takes the two rows of the grid (scene, words), so the scenes of a row are all the same height */
.nx-card { grid-row: span 2; display: grid; grid-template-rows: subgrid; row-gap: 0; padding: 12px; transition: transform 0.5s var(--ease), border-color 0.3s; }
.nx-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.26); }
.js .nx-panel.is-swap .nx-card { animation: nx-card-in 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes nx-card-in { from { opacity: 0; transform: translateY(22px); } }
.nx-card__top { grid-row: 2; display: grid; gap: 9px; align-content: start; justify-items: start; padding: 20px 10px 12px; }
.nx-card .nx-eyebrow { color: color-mix(in srgb, var(--c1) 45%, #fff); }
.nx-card h4 { font-weight: 650; font-size: 1.28rem; line-height: 1.18; letter-spacing: -0.025em; text-wrap: balance; }
.nx-card__txt { font-size: 0.93rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.nx-card__try { margin-top: 6px; font-size: 0.9rem; font-weight: 600; text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); padding: 0.5em 1em; border-radius: 99px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.nx-card__try:hover { background: #fff; border-color: #fff; color: #0b0d14; }
/* the window: a home-page scene, with the light colours it was drawn for */
/* it is whole, with its four round corners, and as tall as the tallest of its row: a scene with no title bar sits in the middle */
.nx-win { --bg: #f7f7f6; --tile: #eeeff0; --ink: #111213; --ink-2: #63676d; --ink-3: #a3a6ab; --line: #dfe0e2; --gold: #f5a623; grid-row: 1; display: flex; flex-direction: column; justify-content: center; background: #f6f6f7; color: #111213; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8); }
.nx-win .stage { border: 0; }
.nx-win .stage :where(p) { font-size: inherit; color: inherit; }
.nx-win .stage .label { font-family: var(--mono); font-size: 0.7em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.nx-pause { display: block; margin: 28px auto 0; background: none; border: 0; cursor: pointer; font-size: 0.85rem; color: rgba(255, 255, 255, 0.45); text-decoration: underline; text-underline-offset: 4px; }
.nx-pause:hover { color: #fff; }

/* ---------- the free hour (white) ---------- */
.nx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.nx-split__text { display: grid; gap: 20px; justify-items: start; position: sticky; top: 120px; }
.nx-box { border: 1px solid var(--hair); border-radius: var(--r); padding: clamp(24px, 3.4vw, 40px); background: #fff; box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 24px 60px -30px rgba(10, 10, 10, 0.18); display: grid; gap: 22px; }
.nx-box h3 { font-weight: 650; font-size: 1.55rem; letter-spacing: -0.025em; }
.nx-box > p { color: var(--muted); }
.nx-steps { display: grid; gap: 16px; counter-reset: step; }
/* on the home page: three steps side by side, each a white card with its number */
.nx-steps.nx-steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nx-steps.nx-steps--row li { counter-increment: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; padding: 26px 26px 30px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r); }
.nx-steps.nx-steps--row li::before { content: '0' counter(step); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--ink-accent); margin-bottom: 22px; }
.nx-steps.nx-steps--row b { font-weight: 650; font-size: 1.22rem; letter-spacing: -0.02em; }
.nx-steps.nx-steps--row span { font-size: 0.98rem; line-height: 1.5; }
.nx-hour__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.nx-steps li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.nx-steps li::before { content: '→'; color: var(--muted); }
.nx-steps b { font-weight: 600; display: block; }
.nx-steps span { color: var(--muted); font-size: 0.95rem; }

/* ---------- the two of us (dark) ---------- */
.nx-us { display: grid; }
.nx-us__text { display: grid; gap: 22px; justify-items: start; }
.nx-us__text .nx-sub { max-width: 54ch; }
.nx-facts { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border: 1px solid var(--hair); border-radius: var(--r); background: rgba(255, 255, 255, 0.03); }
.nx-facts > div { padding: 20px 22px; display: grid; gap: 6px; align-content: start; }
.nx-facts > div + div { border-left: 1px solid var(--hair); }
.nx-facts b { font-weight: 650; font-size: 1.1rem; letter-spacing: -0.02em; }
.nx-facts span { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.nx-us__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* ---------- questions (white) ---------- */
.nx-faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px 72px; align-items: start; }
.nx-faq__head { display: grid; gap: 18px; justify-items: start; }
.nx-faq details { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 0 22px; }
.nx-faq details + details { margin-top: 10px; }
.nx-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 550; font-size: 1.06rem; letter-spacing: -0.01em; }
.nx-faq summary::-webkit-details-marker { display: none; }
/* a plus that turns into a cross */
.nx-faq summary::after { content: '+'; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #eef0f5; font-weight: 400; font-size: 1.15rem; line-height: 1; transition: transform 0.35s var(--ease), background 0.2s; }
.nx-faq details[open] summary::after { transform: rotate(45deg); background: #0b0d14; color: #fff; }
.nx-faq details p { color: var(--muted); padding: 0 40px 22px 0; max-width: 62ch; }
.nx-faq details[open] p { animation: nx-card-in 0.5s var(--ease); }

/* ---------- last call (dark, with a cool light coming up from below) ---------- */
.nx-cta { text-align: center; overflow: hidden; padding-bottom: clamp(120px, 16vw, 200px); }
.nx-cta::before { content: ''; position: absolute; left: 50%; bottom: 0; width: min(1100px, 130vw); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, 78%); background: radial-gradient(closest-side, var(--sun), rgb(var(--l1)) 38%, rgb(var(--l2) / 0.5) 62%, transparent 74%); filter: blur(30px); animation: nx-sun 9s ease-in-out infinite alternate; }
@keyframes nx-sun { to { transform: translate(-50%, 72%) scale(1.06); } }
.nx-cta .nx-wrap { position: relative; display: grid; gap: 24px; justify-items: center; }
.nx-cta .nx-h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; }
.nx-cta .nx-sub { max-width: 52ch; }
.nx-cta .nx-sub a { color: #fff; text-underline-offset: 4px; }

/* ---------- footer (light) ---------- */
.nx-foot { background: #f4f5f8; color: #0b0d14; padding: 56px 0 calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 0.92rem; }
.nx-foot__in { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-start; }
.nx-foot .nx-brand { margin-right: auto; color: #0b0d14; }
.nx-foot ul { display: grid; gap: 10px; }
.nx-foot b { font-weight: 600; display: block; margin-bottom: 14px; }
.nx-foot a { text-decoration: none; color: #6f7177; }
.nx-foot a:hover { color: #0a0a0a; }
.nx-foot__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid #e7e7ea; color: #8a8d92; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- narrower screens ---------- */
@media (max-width: 980px) {
  .nx-split, .nx-faq, .nx-head, .nx-hour__head, .nx-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .nx-head, .nx-hour__head { align-items: start; }
  .nx-hero__grid { gap: 44px; }
  .nx-reel { --w: clamp(220px, 34vw, 290px); height: clamp(340px, 50vw, 440px); }
  .nx-steps.nx-steps--row { grid-template-columns: minmax(0, 1fr); }
  .nx-steps.nx-steps--row li { grid-template-columns: 44px minmax(0, 1fr); gap: 4px 8px; padding: 22px; }
  .nx-steps.nx-steps--row li::before { grid-row: span 2; margin: 0.3em 0 0; }
  .nx-steps.nx-steps--row li > * { grid-column: 2; }
  .nx-strip__in { grid-template-columns: minmax(0, 1fr); }
  .nx-split__text { position: static; }
  /* the cards become one row that slides sideways */
  .nx-cards { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(82vw, 380px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -22px; padding: 6px 22px 10px; gap: 0 14px; }
  .nx-cards::-webkit-scrollbar { display: none; }
  .nx-card { scroll-snap-align: center; }
  .nx-card:hover { transform: none; }
}
@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  body { font-size: 16px; }
  .nx-nav__in { gap: 10px; padding: 0 8px 0 16px; }
  .nx-nav { border-radius: 16px; }
  .nx-nav__links, .nx-nav__tel { display: none; }
  .nx-nav .nx-btn { margin-left: auto; }
  .nx-brand { font-size: 1.12rem; }
  .nx-brand img { height: 26px; }
  .nx-reel { --w: 58vw; height: 310px; --drop: 10px; }
  .nx-prompt__in { min-height: 140px; padding: 20px 14px 14px 18px; }
  .nx-tab { padding: 9px 15px; font-size: 0.92rem; }
  .nx-tabs { margin-left: -22px; margin-right: -22px; padding: 0 22px; }
  .nx-facts { grid-template-columns: 1fr; }
  .nx-facts > div + div { border-left: 0; border-top: 1px solid var(--hair); }
  .nx-faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- the «Soluciones» menu: a white panel under the bar ---------- */
.nx-nav__menu { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 0.92rem; opacity: 0.66; transition: opacity 0.2s; }
.nx-nav__menu:hover, .nx-nav__menu[aria-expanded='true'] { opacity: 1; }
.nx-nav__menu svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.nx-nav__menu[aria-expanded='true'] svg { transform: rotate(180deg); }
.nx-nav__burger { display: none; width: 38px; height: 38px; justify-content: center; opacity: 1; }
.nx-nav__burger svg { width: 20px; height: 20px; }
.nx-nav__burger[aria-expanded='true'] svg { transform: none; }
.nx-menu { position: absolute; top: 100%; left: -1px; right: -1px; padding: 8px 0 0; }
.nx-menu__panel { max-height: calc(100dvh - var(--nav-h) - 40px - env(safe-area-inset-top, 0px)); overflow-y: auto; background: #fff; color: #0a0a0a; border-radius: 20px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(10, 10, 10, 0.06); animation: nx-menu-in 0.35s var(--ease); --muted: #6f7177; }
@keyframes nx-menu-in { from { opacity: 0; transform: translateY(-10px) scale(0.985); } }
.nx-menu__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; padding: 30px 26px 22px; }
.nx-menu__col > .nx-eyebrow { padding: 0 10px 12px; }
.nx-menu__col a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 10px; border-radius: 12px; text-decoration: none; transition: background 0.2s; }
.nx-menu__col a:hover { background: #f4f4f5; }
.nx-menu__ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #f4f4f5; color: #3f4046; transition: background 0.2s, color 0.2s; }
.nx-menu__col a:hover .nx-menu__ico { background: #0a0a0a; color: #fff; }
.nx-menu__ico svg, .nx-sol__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nx-menu__col b { display: block; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; }
.nx-menu__col small { display: block; font-size: 0.9rem; color: #6f7177; line-height: 1.35; margin-top: 2px; }
.nx-menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 36px; border-top: 1px solid #e7e7ea; color: #6f7177; font-size: 0.95rem; }
.nx-menu__foot a { color: #0a0a0a; font-weight: 600; text-decoration: none; }
.nx-menu__foot a:hover .arr { transform: translateX(4px); }
.nx-menu__foot .arr { display: inline-block; transition: transform 0.25s var(--ease); }

/* ---------- languages: «ES ▾» in the top bar opens the three (lang.js remembers a choice); by name in the footer.
   On phones the bar has no room: the list is in the «Soluciones» panel (burger) and the footer instead. ---------- */
.lang-menu { position: relative; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; }
.lang-menu summary { list-style: none; cursor: pointer; padding: 8px 4px; white-space: nowrap; opacity: 0.66; transition: opacity 0.2s; }
.lang-menu summary:hover, .lang-menu[open] summary { opacity: 1; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ' ▾'; }
.lang-menu div { position: absolute; right: -8px; top: calc(100% + 10px); z-index: 5; display: grid; min-width: 160px; padding: 6px; background: #fff; color: #0b0d14; border-radius: 14px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(10, 10, 10, 0.06); font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0; }
.lang-menu div > * { padding: 9px 12px; border-radius: 9px; font-weight: 400; color: #5f6470; text-decoration: none; }
.lang-menu div > a:hover { background: #f4f4f5; color: #0b0d14; }
.lang-menu div > b { color: #0b0d14; font-weight: 600; }
.lang-switch b { font-weight: 600; }
.lang-switch a { text-decoration: none; }
.lang-switch a:hover { text-decoration: underline; text-underline-offset: 3px; }
.nx-menu__langs { display: none; padding: 14px 36px 18px; border-top: 1px solid #e7e7ea; color: #6f7177; font-size: 0.95rem; }
.nx-menu__langs b { color: #0a0a0a; }
.nx-foot__end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #e7e7ea; }
.nx-foot__end .nx-foot__legal { margin: 0; padding: 0; border: 0; }
.nx-foot__langs { color: #6f7177; }
.nx-foot__langs b { color: #0a0a0a; }
@media (max-width: 520px) {
  .nx-nav .lang-menu { display: none; }
  .nx-menu__langs { display: block; padding: 14px 24px 16px; }
}
/* the thin line lang.js may put above the page, offering the browser's language: under the floating bar */
.lang-hint { position: relative; z-index: 40; margin: 0; padding: calc(var(--nav-h) + 22px) 16px 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; background: var(--night); color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.lang-hint a { color: #fff; text-underline-offset: 3px; }
.lang-hint button { border: 0; background: none; padding: 0 6px; font-size: 1.2rem; line-height: 1; color: rgba(255, 255, 255, 0.7); cursor: pointer; }
.lang-hint + * .nx-hero, .lang-hint ~ main > :first-child { padding-top: clamp(40px, 6vw, 80px); }
/* the raised dot of the Valencian «l·l» keeps a little room, however tight the heading (build.mjs adds the span) */
.punt { letter-spacing: 0; margin-inline: 0.02em 0; }

/* ---------- a solution's page: its name and what it is, then the short form ---------- */
.nx-sol { position: relative; overflow: clip; /* clip, not hidden: a hidden one can be scrolled sideways by scrollIntoView */ background: var(--night); padding: calc(var(--nav-h) + clamp(56px, 9vw, 110px)) 0 clamp(64px, 9vw, 110px); --muted: rgba(255, 255, 255, 0.58); }
.nx-sol::before { content: ''; position: absolute; right: -10%; top: -30%; width: min(900px, 110vw); aspect-ratio: 1; background: radial-gradient(closest-side, rgb(var(--l1) / 0.28), rgb(var(--l2) / 0.1) 55%, transparent 75%); pointer-events: none; }
.nx-sol .nx-wrap { position: relative; display: grid; gap: 22px; justify-items: start; }
.nx-sol__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: #fff; margin-top: 8px; }
.nx-sol__ico svg { width: 26px; height: 26px; }
.nx-sol .nx-h1 { max-width: 18ch; animation: nx-rise 0.9s var(--ease) both; }
.nx-sol__short { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 300; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.9); animation: nx-rise 0.9s var(--ease) 0.12s both; }
.nx-sol__text { max-width: 58ch; color: rgba(255, 255, 255, 0.62); font-size: 1.08rem; text-wrap: pretty; animation: nx-rise 0.9s var(--ease) 0.22s both; }
.nx-split__text .nx-sub a { color: #0a0a0a; text-underline-offset: 4px; }

/* the short form, inside a white box */
.nx-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; }
.nx-form legend { padding: 0; margin-bottom: 20px; }
.nx-form h2 { font-weight: 650; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; outline: 0; }
.nx-form .field { display: grid; gap: 8px; }
.nx-form .field label, .nx-form .field__label { font-weight: 550; font-size: 0.95rem; }
.nx-form .field small { font-weight: 400; color: #6f7177; }
.nx-form input, .nx-form textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #dcdce0; border-radius: 10px; background: #fff; color: #0a0a0a; font: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.nx-form textarea { resize: vertical; }
.nx-form input:focus-visible, .nx-form textarea:focus-visible { outline: 0; border-color: #0a0a0a; box-shadow: 0 0 0 3px rgb(var(--ac) / 0.25); }
.nx-form .seg { display: inline-flex; justify-self: start; padding: 3px; gap: 2px; background: #f1f1f3; border-radius: 10px; }
.nx-form .seg button { border: 0; background: none; padding: 7px 16px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; color: #6f7177; }
.nx-form .seg button[aria-pressed='true'] { background: #fff; color: #0a0a0a; box-shadow: 0 1px 2px rgba(10, 10, 10, 0.12); }
.nx-note { font-size: 0.82rem; line-height: 1.5; color: #6f7177; }
.nx-form .error { color: #b3261e; font-size: 0.9rem; }
.nx-form .error:empty { display: none; }
.nx-form [data-nav] { margin-top: 22px; }
.nx-form [data-step='listo'] { display: grid; gap: 14px; justify-items: start; }
.nx-form [data-step='listo'][hidden] { display: none; }

@media (max-width: 980px) {
  .nx-menu__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px 14px 14px; }
  .nx-menu__foot { padding: 16px 24px; }
}
@media (max-width: 720px) {
  .nx-nav__burger { display: inline-flex; }
  .nx-menu__panel { border-radius: 16px; }
}

/* each brother's LinkedIn, under his line in «Quiénes somos» */
.nx-in { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; justify-self: start; font-size: 0.9rem; font-weight: 550; text-decoration: none; color: #fff; opacity: 0.8; transition: opacity 0.2s; }
.nx-in:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nx-in svg { width: 16px; height: 16px; fill: currentColor; }
.nx-in .arr { opacity: 0.6; }

/* ---------- «Conceptos básicos» on a solution's page: three direct sentences, one or two lines each ---------- */
.nx-basics { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: clamp(56px, 7vw, 88px); }
.nx-basics__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 48px); }
.nx-basics__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--hair); border-radius: var(--r); }
.nx-basics__list li { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.6vw, 32px); }
.nx-basics__list li + li { border-left: 1px solid var(--hair); }
.nx-basics__list h3 { font-weight: 650; font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.025em; text-wrap: balance; }
.nx-basics__list p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; text-wrap: pretty; }
.nx-sol .nx-btn { margin-top: 8px; }
@media (max-width: 860px) {
  .nx-basics__list { grid-template-columns: minmax(0, 1fr); }
  .nx-basics__list li + li { border-left: 0; border-top: 1px solid var(--hair); }
}

/* ---------- solutions linking to each other: the hub page, «Otras soluciones» and the footer ---------- */
.nx-sol .nx-eyebrow a { text-decoration: none; }
.nx-sol .nx-eyebrow a:hover { color: #fff; }
.nx-more { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: clamp(48px, 6vw, 72px) 0; }
.nx-more .nx-wrap, .nx-hub .nx-wrap { display: grid; gap: 22px; justify-items: start; }
.nx-more__list { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nx-more__list a { height: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--hair); border-radius: 12px; text-decoration: none; transition: border-color 0.2s, transform 0.4s var(--ease); }
.nx-more__list a:hover { border-color: var(--ink); transform: translateY(-2px); }
.nx-more__list b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.nx-more__list small { display: block; margin-top: 2px; font-size: 0.9rem; line-height: 1.35; color: var(--muted); }
/* the longer section of a page about a place (ia-en-valencia.html): paragraphs, then the same list of links */
.nx-place .nx-h2 { max-width: 20ch; }
.nx-place .nx-sub { max-width: 66ch; }
.nx-place .nx-more__list { margin-top: 12px; }
.nx-more .nx-menu__ico { background: rgba(255, 255, 255, 0.08); color: #fff; }
.nx-hub h2 { margin-top: 18px; }
.nx-hub h2:first-child { margin-top: 0; }
.nx-foot__sols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin-top: 44px; padding-top: 32px; border-top: 1px solid #e7e7ea; }
@media (max-width: 860px) {
  .nx-more__list { grid-template-columns: minmax(0, 1fr); }
  .nx-foot__sols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- the examples that are a tool on a computer get its window (Pablo, 2026-11-27) ----------
   a title bar with three dots and a status on the right, a header with the tool's icon and name, then the scene */
.nx-win .stage { background: #f6f6f7; }
.nx-win__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 14px; background: #fafafa; border-bottom: 1px solid #ececee; }
.nx-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdce0; }
.nx-win__bar span { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 550; color: #17834a; background: #e9f8ef; border: 1px solid #c5ecd4; border-radius: 99px; padding: 2px 9px; white-space: nowrap; }
.nx-win__bar span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #23b866; animation: nx-live 2.2s ease-in-out infinite; }
@keyframes nx-live { 50% { opacity: 0.35; } }
.nx-win__head { display: grid; grid-template-columns: 34px 1fr; gap: 11px; align-items: center; padding: 11px 14px; border-bottom: 1px solid #ececee; background: #fff; }
.nx-win__ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #111213; color: #fff; }
.nx-win__ico svg { width: 18px; height: 18px; }
.nx-win__head b { display: block; font-weight: 650; font-size: 14px; letter-spacing: -0.01em; line-height: 1.2; }
.nx-win__head small { display: block; font-size: 12px; color: #8a8d92; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ---------- liquid glass (Pablo, 2026-11-27: «like Apple's liquid glass», and more of it) ----------
   Every surface that floats (the top bar, the box, the tabs, the cards, the steps, the questions) is a sheet of
   glass: you see through it, what is behind comes blurred and brighter, the top edge catches the light and a faint
   sheen crosses it from the top left corner. Glass needs something behind it, so the dark sections have soft
   lights of the brand's blue and violet and the pale ones a tint of the same. The main button stays solid. */
:root {
  --glass: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 45%, rgba(255, 255, 255, 0.06));
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 -10px 24px -14px rgba(255, 255, 255, 0.12);
  --glass-blur: blur(26px) saturate(190%);
  --glass-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
}
/* lights behind the glass */
.nx-hero::after { right: -12%; top: -6%; width: min(1000px, 110vw); background: radial-gradient(closest-side, rgb(var(--l1) / 0.42), rgb(var(--l2) / 0.16) 50%, transparent 72%); filter: blur(20px); }
#ejemplos { background: radial-gradient(38% 30% at 88% 30%, rgb(var(--l1) / 0.26), transparent 70%), radial-gradient(40% 32% at 8% 78%, rgb(var(--l2) / 0.2), transparent 70%), radial-gradient(30% 22% at 50% 55%, rgb(var(--l3) / 0.12), transparent 70%), var(--night); }
#nosotros { background: radial-gradient(40% 50% at 16% 50%, rgb(var(--l1) / 0.22), transparent 70%), radial-gradient(36% 44% at 92% 80%, rgb(var(--l2) / 0.14), transparent 70%), var(--night); }
.nx-light { background: radial-gradient(40% 50% at 92% 10%, rgb(var(--ac) / 0.2), transparent 70%), radial-gradient(40% 50% at 4% 92%, rgb(var(--ac2) / 0.17), transparent 70%), #f4f5f8; }

/* the top bar: a capsule */
.nx-nav { border-radius: 99px; background: linear-gradient(145deg, rgba(42, 46, 50, 0.55), rgba(15, 18, 18, 0.5)); border-color: var(--glass-line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), 0 14px 40px -18px rgba(0, 0, 0, 0.7); }
.nx-nav[data-theme='light'] { background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52)); border-color: rgba(255, 255, 255, 0.9); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(11, 13, 20, 0.06), 0 14px 40px -22px rgba(30, 40, 90, 0.4); }
.nx-nav__in { padding: 0 9px 0 24px; }

/* the box, the tabs, the arrows, the small buttons */
.nx-prompt { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-shadow); border-radius: 28px; }
.nx-prompt:focus-within { box-shadow: var(--glass-edge), 0 0 0 4px rgb(var(--ac) / 0.2), var(--glass-shadow); }
.nx-tab, .nx-arrow, .nx-card__try { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.nx-tab[aria-selected='true'] { background: linear-gradient(180deg, #fff, #e9ecf7); box-shadow: inset 0 1px 0 #fff, 0 8px 24px -10px rgb(var(--ac) / 0.7); }

/* the cards: tinted glass (the tint is each card's own colour, coming from above) */
.nx-bloom { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), var(--glass-shadow); }
.nx-bloom::before { background: radial-gradient(120% 70% at 30% -10%, color-mix(in srgb, var(--c1) 50%, transparent), transparent 72%), radial-gradient(80% 50% at 100% 0%, color-mix(in srgb, var(--c2) 28%, transparent), transparent 70%); }
/* the sheen */
.nx-bloom::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 26%, transparent 78%, rgba(255, 255, 255, 0.06)); }
.nx-reel .nx-reel__card { box-shadow: var(--glass-edge), 0 30px 60px -24px rgba(0, 0, 0, 0.85); }
.nx-card:hover { border-color: rgba(255, 255, 255, 0.34); }
.nx-facts { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge); }
.nx-more__list a, .nx-basics__list { background: var(--glass); border-color: var(--glass-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }

/* glass on the pale sections: milky, with a white edge */
.nx-steps.nx-steps--row li, .nx-faq details, .nx-light .nx-box { background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.5)); border: 1px solid #fff; -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(11, 13, 20, 0.04), 0 22px 50px -30px rgba(40, 50, 110, 0.45); }
/* solid, not glass (Pablo, 2026-11-27: hard to read): it sits inside the bar, whose own blur stops a second one from working,
   so the page showed straight through it */
.nx-menu__panel { background: #fff; border-radius: 28px; box-shadow: inset 0 1px 0 #fff, 0 40px 100px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.5); }
.nx-menu__col a:hover { background: rgba(11, 13, 20, 0.05); }
.nx-menu__ico { background: rgba(11, 13, 20, 0.05); }
@media (max-width: 720px) { .nx-nav { border-radius: 99px; } .nx-nav__in { padding: 0 6px 0 18px; } .nx-menu__panel { border-radius: 22px; } }

/* ---------- palettes to try (Pablo, 2026-11-27: «¿podemos probar con otra combinación de colores?») ----------
   The page everybody sees is the green one above («hoja», Pablo's choice «for now»); the others stay to compare. Opening it with ?colores in the address
   (nueva.html?colores, or ?colores=mar) shows a small picker at the bottom and paints the page with the chosen
   palette (nueva.js sets data-colores on <html> and remembers it for the visit). None but «níspero» (below) has orange on the dark page.
   Pablo wants the picker kept. To change the one everybody sees: swap its values with those of :root and change
   DEFAULT in nueva.js. */
[data-colores='mar'] { --night: #070c0f; --l1: 20 184 200; --l2: 40 200 150; --l3: 60 130 255; --ac: 94 214 220; --ac2: 110 231 183; --h1: #a5f3fc; --sun: #c8fbf2; --ink-accent: #0e8f8a;
  --k1: #14b8c8; --k2: #22c58a; --k3: #3b82f6; --k4: #0ea5a0; --k5: #34d399; --k6: #38bdf8; --k7: #10b981; }
[data-colores='azul'] { --night: #090b11; --l1: 92 112 255; --l2: 150 110 255; --l3: 40 160 200; --ac: 124 140 255; --ac2: 176 140 255; --h1: #8fb8ff; --sun: #a9c8ff; --ink-accent: #5564e8;
  --k1: #3d5cff; --k2: #1c9fd0; --k3: #7a5cff; --k4: #4a4fe0; --k5: #14a79c; --k6: #a06bff; --k7: #2f7df0; }
[data-colores='plata'] { --night: #0a0a0c; --l1: 170 180 205; --l2: 120 128 150; --l3: 200 205 220; --ac: 226 230 240; --ac2: 150 158 180; --h1: #ffffff; --sun: #ffffff; --ink-accent: #5b6070;
  --k1: #c8d2e6; --k2: #9aa3b8; --k3: #e2e6f0; --k4: #7f8aa3; --k5: #b4bdd0; --k6: #d5dae6; --k7: #8d96ac; }
[data-colores='atardecer'] { --night: #0d0910; --l1: 255 92 150; --l2: 170 100 255; --l3: 120 90 255; --ac: 255 138 180; --ac2: 200 150 255; --h1: #ffb3cf; --sun: #ffd0e2; --ink-accent: #c2356f;
  --k1: #ff5c96; --k2: #aa64ff; --k3: #ff7ab8; --k4: #7a5cff; --k5: #e056c8; --k6: #c06bff; --k7: #ff6f91; }
/* «níspero»: the oranges of the fruit (Pablo, 2026-11-27: «can you try orangy colors as well?»). A trial: it goes against
   «no orange on the black page» of the day before, so it is only in the picker. */
[data-colores='nispero'] { --night: #0e0a07; --l1: 255 140 50; --l2: 255 196 90; --l3: 230 90 50; --ac: 255 168 80; --ac2: 255 112 67; --h1: #ffd58a; --sun: #ffe2b0; --ink-accent: #c85a12;
  --k1: #ff8a2a; --k2: #f5b83d; --k3: #e85d3a; --k4: #ffa64d; --k5: #d9772b; --k6: #ffc857; --k7: #f0703a; }
/* the picker: a glass capsule at the bottom, only with ?colores */
.nx-pal { position: fixed; z-index: 60; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: calc(100% - 20px); display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 99px; overflow-x: auto; scrollbar-width: none; background: linear-gradient(145deg, rgba(42, 46, 50, 0.7), rgba(15, 18, 18, 0.66)); border: 1px solid var(--glass-line); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-edge), 0 14px 40px -14px rgba(0, 0, 0, 0.8); color: #fff; font-size: 0.85rem; }
.nx-pal::-webkit-scrollbar { display: none; }
.nx-pal button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 9px; border: 0; border-radius: 99px; background: none; cursor: pointer; white-space: nowrap; opacity: 0.75; }
.nx-pal button:hover { opacity: 1; }
.nx-pal button[aria-pressed='true'] { background: #fff; color: #0b0d14; opacity: 1; }
.nx-pal i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }

/* ---------- the other pages in the same look (2026-11-27): «Quiénes somos», privacy, the form, the demos ---------- */
/* a page's opening: dark, its title and a few lines (.nx-sol, above) */
.nx-page .nx-us__text { gap: 18px; }
/* the two founders, side by side on glass */
.nx-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nx-people li { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--hair); border-radius: var(--r); background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)); }
.nx-people h2 { font-weight: 650; font-size: 1.6rem; letter-spacing: -0.025em; }
.nx-people p:not(.nx-eyebrow) { color: var(--muted); }
/* long text on a pale section (the privacy page) */
.nx-prose { max-width: 760px; }
.nx-prose h2 { font-weight: 650; font-size: 1.35rem; letter-spacing: -0.02em; margin: 44px 0 12px; }
.nx-prose h2:first-child { margin-top: 0; }
.nx-prose p { color: #3c4049; line-height: 1.65; margin-bottom: 12px; text-wrap: pretty; }
.nx-prose a { color: #0b0d14; text-underline-offset: 3px; }
.nx-prose .nx-note { margin-top: 40px; }
/* the form page: the words on the left, the white box on the right, on the dark page */
.nx-ask .nx-wrap.nx-split { display: grid; justify-items: stretch; align-items: start; }
.nx-ask .nx-split__text { gap: 22px; top: calc(var(--nav-h) + 40px); }
.nx-ask .nx-h1 { max-width: 14ch; }
.nx-ask .nx-split__text .nx-sub a { color: #fff; }
.nx-ask .nx-box { color: #0b0d14; --muted: #5f6470; --hair: #dfe2e9; }
.nx-ask__steps { display: grid; gap: 14px; counter-reset: step; margin-top: 6px; }
.nx-ask__steps li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; }
.nx-ask__steps li::before { content: '0' counter(step); grid-row: span 2; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--accent); padding-top: 0.3em; }
.nx-ask__steps b { font-weight: 600; }
.nx-ask__steps span { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; }
@media (max-width: 980px) {
  .nx-people { grid-template-columns: minmax(0, 1fr); }
  /* on a phone the box comes right under the title: the steps and the phone line move below it */
  .nx-ask .nx-split__text { display: contents; }
  .nx-ask .nx-split__text > * { justify-self: start; }
  .nx-ask .nx-split__text .nx-sol__text { display: none; }
  .nx-ask .nx-box, .nx-ask .nx-split__text > .nx-eyebrow, .nx-ask .nx-h1 { order: -1; }
  .nx-ask .nx-box { justify-self: stretch; margin: 6px 0 18px; }
}
/* The demos (demos.html, demo-carta, demo-citas, demo-gastos) keep their own insides, drawn by styles.css and demos.css,
   which load after this file. They get the shared top bar and footer, and sit on the pale page of the light sections. */
body.nx-legacy { background: #f4f5f8; }
.nx-legacy main[data-theme='light'] { padding-top: calc(var(--nav-h) + clamp(36px, 5vw, 64px)); padding-bottom: clamp(56px, 8vw, 96px); }
.nx-legacy .nx-nav, .nx-legacy .nx-foot { font-family: var(--sans); }
.nx-legacy .nx-foot { border-top: 1px solid #e3e5eb; }
/* narrow phones: the bar holds the logo, the button and the menu; the Valencian button («Demana la teua hora gratis») is the longest */
@media (max-width: 420px) {
  .nx-nav__in { gap: 6px; padding: 0 4px 0 14px; }
  .nx-brand { font-size: 1.02rem; gap: 6px; margin-right: 0; }
  .nx-brand img { height: 23px; }
  .nx-nav .nx-btn--small { padding: 0.6em 0.85em; font-size: 0.8rem; min-width: 0; }
  .nx-nav__burger { width: 34px; flex: none; }
}
