/* Sobre nosotros — se suma a /assets/v2/home.css y /cursos-en-video/a/v1/cursos.css (galería y visor). */

/* ---------- Hero: foto del grupo en duotono azul ---------- */
.ns-hero { position: relative; min-height: min(80svh, 720px); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #0b0d12; }
.ns-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: grayscale(1) contrast(1.1); opacity: .55;
  animation: nsZoom 24s ease-in-out infinite alternate; }
@keyframes nsZoom { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.ns-hero__shade { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(120deg, rgba(47,111,237,.75), rgba(28,58,112,.6) 45%, rgba(11,13,18,.92) 100%), linear-gradient(0deg, #13161e 0%, transparent 35%); mix-blend-mode: normal; }
.ns-hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, #000 20%, transparent 75%); }
.ns-hero__inner { padding-block: 120px 90px; }
.ns-hero .eyebrow { color: #cfe0ff; }
.ns-hero .eyebrow::before { background: #cfe0ff; }
.ns-hero h1 { font-size: clamp(38px, 6.4vw, 80px); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; color: #fff; max-width: 15ch; margin: 0 0 22px; }
.ns-hero__lead { font-size: clamp(16px, 1.6vw, 20px); color: #e2e8f5; max-width: 620px; margin: 0; }
.ns-chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ns-chips li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(11,13,18,.45); backdrop-filter: blur(6px); color: #dfe4ee; font-size: 14px; }
.ns-chips strong { color: var(--green); }
@media (max-width: 720px) {
  .ns-hero { align-items: flex-end; min-height: 86svh; }
  .ns-hero__img { opacity: .8; height: 62%; object-position: center top; }
  .ns-hero__inner { padding-block: 120px 48px; }
  .ns-hero__shade { background: linear-gradient(180deg, rgba(47,111,237,.35) 0%, rgba(28,58,112,.55) 38%, rgba(11,13,18,.96) 62%); }
}

/* ---------- Fundador ---------- */
.ns-founder__grid { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.ns-founder__photo { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 1; }
.ns-founder__photo img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.2); }
.ns-founder__ring { position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 0deg, #2f6fed, var(--green), #60a5fa, #2f6fed); animation: nsSpin 9s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.ns-founder__photo::after { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,237,.35), transparent 65%); }
@keyframes nsSpin { to { transform: rotate(360deg); } }
.ns-founder__text h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; color: #fff; letter-spacing: -0.03em; margin: 0 0 18px; }
.ns-founder__text p { color: #c5ccdb; font-size: 17px; max-width: 56ch; }
.ns-sign { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.ns-sign img { width: 72px; height: auto; filter: invert(1) opacity(.85); }
.ns-sign strong { display: block; color: #fff; font-size: 18px; }
.ns-sign span { color: var(--green); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 820px) { .ns-founder__grid { grid-template-columns: 1fr; text-align: left; } .ns-founder__photo { width: 240px; } }

/* ---------- Visión ---------- */
.ns-vision { background: #0f1117; color: var(--fg); }
.ns-vision__grid { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.ns-vision__head { position: sticky; top: 110px; }
.ns-vision__head h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; color: #fff; letter-spacing: -0.03em; margin: 0 0 26px; }
.ns-quote { margin: 0; padding: 26px 26px 22px; border-color: rgba(52,211,153,.4); background: linear-gradient(160deg, rgba(52,211,153,.1), transparent 60%), var(--surface-n); }
.ns-quote .i { width: 34px; height: 34px; color: var(--green); }
.ns-quote p { margin: 10px 0 12px; font-size: clamp(19px, 2vw, 23px); line-height: 1.35; color: #fff; font-weight: 600; }
.ns-quote cite { color: #a3acc0; font-style: normal; font-size: 14px; }
.ns-story { color: #c5ccdb; font-size: 16.5px; }
.ns-story__lead { font-size: clamp(18px, 1.8vw, 21px); color: #e6eaf2; line-height: 1.55; }
.ns-story__lead strong { color: #fff; }
.ns-story h3 { margin: 30px 0 16px; font-size: clamp(20px, 2.2vw, 26px); color: #fff; letter-spacing: -0.015em; }
.ns-story__cols { columns: 2 280px; column-gap: 34px; }
.ns-story__cols p { break-inside: avoid; margin: 0 0 14px; }
.ns-story strong { color: #fff; }
.ns-story em { color: #fdba74; }
.ns-story__end { margin: 22px 0 0; padding: 16px 20px; border-left: 3px solid var(--green); background: rgba(52,211,153,.08); border-radius: 0 12px 12px 0; color: #fff; font-weight: 600; font-size: 18px; }
@media (max-width: 900px) { .ns-vision__grid { grid-template-columns: 1fr; } .ns-vision__head { position: static; } }

/* ---------- Tres razones ---------- */
.ns-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ns-why li { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.ns-why h3 { margin: 4px 0 0; font-size: 19px; color: #fff; }
.ns-why p { margin: 0; color: #a3acc0; font-size: 15px; }
@media (max-width: 900px) { .ns-why { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .ns-hero__img, .ns-founder__ring { animation: none; } }
