/* Nosotros (diseño v2 dentro del sitio original).
   Todo va bajo .nv2: no toca encabezado, pie ni tipografía del sitio (hereda Poppins).
   Tema claro por defecto; body.light-d es el tema oscuro del sitio. */
@import url('diag-btn.css');
.nv2 {
  --n-text: #1b1038; --n-muted: #4a4560; --n-card: #fff; --n-line: rgba(17, 2, 39, .16);
  --n-accent: #14907f; --n-accent2: #6b5bd6; --n-chip: rgba(48, 199, 181, .14); --n-alt: #f7f6f2;
  color: var(--n-text); overflow: hidden; position: relative;
}
body.light-d .nv2 {
  --n-text: #fff; --n-muted: rgba(255, 255, 255, .78); --n-card: #4a4081; --n-line: rgba(255, 255, 255, .22);
  --n-accent: #30c7b5; --n-accent2: #b4a8ff; --n-chip: rgba(48, 199, 181, .16); --n-alt: rgba(0, 0, 0, .22);
}
.nv2 h2, .nv2 h3 { color: var(--n-text); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.nv2 p { color: var(--n-muted); line-height: 1.65; margin: 0; }
.nv2 .icon { width: 1.25em; height: 1.25em; flex: none; }
.nv2 .eyebrow { display: inline-block; font: 700 .78rem/1 'Poppins', sans-serif; color: var(--n-accent); text-transform: uppercase; letter-spacing: .16em; }
.nv2 .grad { background: linear-gradient(100deg, #30c7b5, #8989ff 75%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.nv2-sec { position: relative; padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.nv2-sec.alt { background-color: var(--n-alt); }
.nv2 .sec-head { max-width: 680px; margin: 0 auto 2.8rem; text-align: center; }
.nv2 .sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: .7rem 0 .9rem; }
.nv2 [data-parallax] { will-change: transform; }

/* Animación de entrada (solo si el JS cargó) */
.nv2.nv2-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0ms); }
.nv2.nv2-js .reveal.in { opacity: 1; transform: none; }

/* Intro */
.nv2-intro { padding-bottom: 0; text-align: center; }
.nv2-intro h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 1rem auto 1.1rem; max-width: 20ch; }
.nv2-intro .lead { max-width: 60ch; margin-inline: auto; font-size: clamp(1.02rem, 1.4vw, 1.18rem); }

/* ¿Quiénes somos? */
.nv2 .about-us { isolation: isolate; }
.nv2 .about-bg { position: absolute; inset: -18% 0; z-index: -2; background-size: cover; background-position: center; opacity: .1; }
body.light-d .nv2 .about-bg { opacity: .18; }
.nv2 .about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.nv2 .about-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .7rem 0 1.1rem; }
.nv2 .about-copy p { margin-bottom: 1rem; max-width: 60ch; }
.nv2 .about-copy .about-lead { color: var(--n-text); font-size: clamp(1.05rem, 1.5vw, 1.2rem); padding-left: 1.1rem; border-left: 3px solid var(--n-accent); }
.nv2 .pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.nv2 .pills li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem .45rem .75rem; border: 1px solid var(--n-accent); border-radius: 999px; background: var(--n-chip); font-size: .82rem; font-weight: 600; color: var(--n-text); }
.nv2 .pills .icon { width: 1em; height: 1em; color: var(--n-accent); }
.nv2 .about-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .3)); animation: nv2-float 7s ease-in-out infinite; }
.nv2 .about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.nv2 .fact2 { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: 1.3rem 1.5rem; border: 1px solid var(--n-line); border-radius: 16px; background: var(--n-card); overflow: hidden; }
.nv2 .fact2::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #30c7b5, #8989ff); transform: scaleX(.25); transform-origin: left; transition: transform .5s ease; }
.nv2 .fact2:hover::before { transform: scaleX(1); }
.nv2 .fact2-ic { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--n-accent); background: var(--n-chip); border: 1px solid var(--n-accent); }
.nv2 .fact2-ic .icon { width: 26px; height: 26px; }
.nv2 .fact2 strong { font-size: 2.1rem; line-height: 1.1; font-weight: 800; color: var(--n-text); }
.nv2 .fact2 > span:last-child { color: var(--n-muted); font-size: .92rem; }

/* Cómo pensamos */
.nv2 .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.nv2 .value { position: relative; overflow: hidden; padding: 2rem 1.8rem 2.1rem; border: 1px solid var(--n-line); border-radius: 20px; background: var(--n-card); transition: transform .25s, border-color .25s, box-shadow .25s; }
.nv2 .value:hover { transform: translateY(-5px); border-color: var(--n-accent2); box-shadow: 0 24px 50px -28px rgba(107, 91, 214, .7); }
.nv2 .value-n { position: absolute; right: 1.3rem; top: .6rem; font: 800 3.4rem/1 'Poppins', sans-serif; color: var(--n-line); }
.nv2 .value-ic { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.3rem; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #30c7b5, #8989ff); box-shadow: 0 12px 26px -12px rgba(48, 199, 181, .8); }
.nv2 .value-ic .icon { width: 28px; height: 28px; }
.nv2 .value h3 { position: relative; font-size: 1.3rem; margin-bottom: .6rem; }
.nv2 .value p { position: relative; }

/* Qué ofrecemos */
.nv2 .offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.nv2 .offer { padding: 1.5rem 1.4rem 1.6rem; border: 1px solid var(--n-line); border-radius: 16px; background: var(--n-card); transition: transform .25s, border-color .25s, box-shadow .25s; }
.nv2 .offer:hover { transform: translateY(-4px); border-color: var(--n-accent); box-shadow: 0 20px 44px -26px rgba(48, 199, 181, .7); }
.nv2 .offer-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 12px; color: var(--n-accent); background: var(--n-chip); border: 1px solid var(--n-accent); transition: background .25s, color .25s; }
.nv2 .offer:hover .offer-ic { background: #30c7b5; color: #031018; }
.nv2 .offer-ic .icon { width: 23px; height: 23px; }
.nv2 .offer h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: .45rem; }
.nv2 .offer p { font-size: .86rem; line-height: 1.55; }
.nv2 .offer a { color: var(--n-accent); font-weight: 600; text-decoration: underline; }

/* Productos propios: banda oscura con el fondo 3D (igual en ambos temas) */
.nv2 .products { isolation: isolate; background: radial-gradient(900px 500px at 20% 0, rgba(139, 92, 246, .18), transparent 60%), #0a1020; padding-bottom: 12rem; }
.nv2 .products h2, .nv2 .products h3 { color: #fff; }
.nv2 .products p { color: #b4c0d4; }
.nv2 .products .eyebrow { color: #30c7b5; }
.nv2 .obra-bg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; opacity: .8; pointer-events: none; }
.nv2 .products .container { position: relative; z-index: 1; }
.nv2 .pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.nv2 .pcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(148, 163, 184, .22); border-radius: 16px; background: rgba(10, 16, 32, .55); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); transition: transform .25s, border-color .25s, box-shadow .25s; }
.nv2 .pcard:hover { transform: translateY(-4px); border-color: rgba(48, 199, 181, .6); box-shadow: 0 20px 50px -25px rgba(48, 199, 181, .6); }
.nv2 .pc-art { --rx: 0deg; --ry: 0deg; display: grid; place-items: center; height: 250px; overflow: hidden; perspective: 700px; border-bottom: 1px solid rgba(148, 163, 184, .22);
  background: radial-gradient(circle at 50% 55%, rgba(34, 211, 238, .14), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); }
.nv2 .pc-art img { height: 226px; width: auto; max-width: none; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; animation: nv2-float 6s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
.nv2 .pcard:nth-child(2) .pc-art img { animation-delay: -2s; }
.nv2 .pcard:nth-child(3) .pc-art img { animation-delay: -4s; }
.nv2 .pc-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.6rem 1.7rem; }
.nv2 .pc-body .badge { font: 700 .68rem/1 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: .1em; color: #b4a8ff; margin-bottom: .5rem; }
.nv2 .pc-body h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.nv2 .pc-body .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: 1rem; color: #30c7b5; font-weight: 600; font-size: .92rem; }
@keyframes nv2-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Cómo trabajamos */
.nv2 .timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.nv2 .timeline::before { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 35px; height: 2px; background: var(--n-line); }
.nv2 .timeline::after { content: ''; position: absolute; left: 12.5%; top: 35px; height: 2px; width: 0; background: linear-gradient(90deg, #30c7b5, #8989ff); transition: width 1.6s cubic-bezier(.3, .7, .2, 1); }
.nv2 .timeline:has(.tl-step.in)::after { width: 75%; }
.nv2 .tl-step { position: relative; text-align: center; padding: 0 .6rem; }
.nv2 .tl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; color: var(--n-accent); background: var(--n-card); border: 2px solid var(--n-accent); box-shadow: 0 0 28px -6px rgba(48, 199, 181, .55); transition: transform .3s, background .3s, color .3s; }
.nv2 .tl-step:hover .tl-node { transform: scale(1.08); background: linear-gradient(135deg, #30c7b5, #8989ff); color: #fff; }
.nv2 .tl-node .icon { width: 30px; height: 30px; }
.nv2 .tl-n { display: block; font: 700 .74rem/1 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--n-accent2); margin-bottom: .55rem; }
.nv2 .tl-step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.nv2 .tl-step p { font-size: .92rem; max-width: 30ch; margin-inline: auto; }

@media (max-width: 1024px) {
  .nv2 .about-grid { grid-template-columns: 1fr; }
  .nv2 .about-art { max-width: 520px; margin-inline: auto; }
  .nv2 .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .nv2 .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .nv2 .timeline::before, .nv2 .timeline::after { display: none; }
  .nv2 .pcards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nv2 .about-facts, .nv2 .values, .nv2 .offer-grid, .nv2 .pcards, .nv2 .timeline { grid-template-columns: minmax(0, 1fr); }
  .nv2 .tl-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1rem; text-align: left; padding: 0; }
  .nv2 .tl-node { grid-row: span 3; margin: 0; }
  .nv2 .tl-step p { margin: 0; max-width: none; }
  .nv2 .obra-bg { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  .nv2 *, .nv2 *::before, .nv2 *::after { animation: none !important; transition: none !important; }
  .nv2.nv2-js .reveal { opacity: 1; transform: none; }
}
.nv2 .icon path, .nv2 .icon circle, .nv2 .icon rect, .nv2 .icon ellipse { stroke: currentColor; stroke-width: 1.6; fill: none; stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.nv2-intro h2 { max-width: 26ch; }
.nv2 .about-us { overflow: hidden; }
.nv2-intro { padding-top: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(1rem, 3vw, 2rem); }
.nv2-intro h2 { margin-top: 0; }
.nv2 .offer { position: relative; overflow: hidden; isolation: isolate; }
.nv2 .offer::before { content: ''; position: absolute; z-index: -1; right: -12px; bottom: -14px; width: 68%; aspect-ratio: 1; background: var(--n-accent); opacity: .15; pointer-events: none;
  -webkit-mask: var(--art) no-repeat right bottom / contain; mask: var(--art) no-repeat right bottom / contain; transition: opacity .3s, transform .4s; }
.nv2 .offer:hover::before { opacity: .22; transform: scale(1.05) rotate(-2deg); }
/* Cómo trabajamos: infografía de desarrollo de software como fondo tenue */
.nv2 #proceso { isolation: isolate; overflow: hidden; }
.nv2 #proceso::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url('/assets/images/pasosPreyectoSotware-w.png') center / cover no-repeat; opacity: .14;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
body.light-d .nv2 #proceso::before { opacity: .2; }