/* Quiénes somos: portada con video, historia, visión/misión, diferenciadores y cierre. */
.ns-hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b0a09;
  color: #fff;
  isolation: isolate;
}
.ns-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.ns-velo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0b0a0973 0%, #0b0a0933 30%, #0b0a09b3 58%, #0b0a09f2 100%);
}
.ns-hero .foto-demo.ns-demo {
  top: calc(var(--nav-h, 64px) + 16px);
  left: auto;
  right: 20px;
}
.ns-hero-in {
  padding-block: calc(var(--nav-h, 64px) + 40px) clamp(48px, 9vh, 96px);
}
.ns-hero h1 {
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 10px 0 18px;
}
.ns-hero .lead {
  color: #d6d4d0;
  max-width: 34ch;
}
.ns-hero .pill-ghost {
  color: #fff;
  border-color: #ffffff59;
}
.ns-intro {
  padding-block: clamp(72px, 12vw, 150px);
}
.ns-grande {
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 26ch;
  margin-top: 18px;
}
.ns-vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ns-vm article {
  background: #fff;
  border-radius: 26px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px #0000003d;
}
.ns-vm h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  margin: 12px 0 14px;
}
.ns .section-head {
  margin-bottom: 36px;
}
.ns .section-head h2 {
  margin-top: 10px;
}
.ns-dif {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ns-dif article {
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: var(--gray);
}
.ns-dif b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--copper-dark);
  margin-bottom: 26px;
}
.ns-dif h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.ns-dif p {
  color: var(--text-gray);
  line-height: 1.5;
}
.ns-galeria {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  padding-top: 0;
}
.ns-galeria .placeholder {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ns-g1 {
  grid-row: 1 / 3;
  min-height: 560px !important;
}
.ns-cierre {
  background: #0b0a09;
  color: #fff;
  text-align: center;
  padding-block: clamp(80px, 12vw, 150px);
}
.ns-cierre h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.04em;
  margin: 12px 0 14px;
}
.ns-cierre .lead {
  color: #c9c7c3;
}
.ns-cierre .actions {
  justify-content: center;
}
.ns-cierre .pill-ghost {
  color: #fff;
  border-color: #ffffff59;
}
@media (max-width: 900px) {
  .ns-dif {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .ns-vm,
  .ns-dif,
  .ns-galeria {
    grid-template-columns: 1fr;
  }
  .ns-galeria {
    grid-template-rows: auto;
  }
  .ns-g1 {
    grid-row: auto;
    min-height: 340px !important;
  }
  .ns-hero .actions .pill {
    width: 100%;
  }
}

/* ---------- Equipo ---------- */
.ns-equipo .section-head .lead {
  max-width: 52ch;
  margin-top: 10px;
}
.ns-equipo .filters {
  margin-bottom: 26px;
}
.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.eq-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px #0000003d;
  transition: transform 0.4s var(--enter), box-shadow 0.4s var(--enter);
  animation: eq-in 0.5s var(--enter) both;
}
@keyframes eq-in {
  from { opacity: 0; transform: translateY(10px); }
}
@media (hover: hover) and (pointer: fine) {
  .eq-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 1px 0 var(--line), 0 26px 48px -30px #00000055;
  }
  .eq-card:hover .eq-foto img {
    transform: scale(1.04);
  }
}
.eq-foto {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #1d1d1f;
  overflow: hidden;
}
.eq-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--enter);
}
.eq-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #00000040, transparent 30%);
  pointer-events: none;
}
.eq-foto .foto-demo {
  top: 12px;
  left: 12px;
}
.sin-foto .eq-foto {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 80% 0%, #c9855240, transparent 60%),
    linear-gradient(160deg, #24211e, #11100f);
}
.eq-ini {
  font-size: 54px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #f0eeea;
}
.eq-cuerpo {
  padding: 18px 20px 20px;
}
.eq-rol {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-dark);
}
.eq-cuerpo h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 6px 0 6px;
}
.eq-frase {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.45;
  min-height: 2.9em;
}
.eq-mas {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px 0 16px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.eq-mas svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.3s var(--enter);
}
.eq-mas[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.eq-mas:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.eq-desglose {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  animation: eq-in 0.4s var(--enter) both;
}
.eq-desglose dl {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}
.eq-desglose dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 600;
}
.eq-desglose dd {
  margin: 2px 0 0;
  font-weight: 500;
}
.eq-k {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gray);
  font-weight: 600;
  margin-bottom: 8px;
}
.eq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.eq-chips span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 99px;
  background: #c9855221;
  color: var(--copper-dark);
}
.eq-ir {
  margin-top: 14px;
}
.eq-ir a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eq-nota {
  margin-top: 22px;
}
@media (max-width: 1100px) {
  .eq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .eq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .eq-cuerpo { padding: 14px 14px 16px; }
  .eq-cuerpo h3 { font-size: 17px; }
  .eq-frase { font-size: 13px; }
}
@media (max-width: 420px) {
  .eq-mas { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .eq-card, .eq-desglose { animation: none; }
}
@media (max-width: 820px) {
  .eq-foto .foto-demo { top: 8px; left: 8px; font-size: 8.5px; padding: 3px 7px; }
}

/* v3: portada con foto real y galería con <figure> */
.ns-hero-foto {
  background-size: cover;
  background-position: 30% 50%;
}
.ns-galeria figure {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #1d1d1f;
  min-height: 260px;
}
.ns-galeria figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ns-g2 img { object-position: 40% 60%; }
.ns-galeria figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #11100fb3;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.ns-equipo-pronto {
  max-width: 820px;
}
.ns-equipo-pronto h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}
