/* ============================================================
   ABOUT (Quiénes Somos) — page-specific styles
   Depends on tokens from home.css (--navy, --orange, --gray, etc.)
   ============================================================ */

/* Active nav item (orange) */
.nav-list a.is-active {
  color: var(--orange) !important;
}

/* ---------- HERO ---------- */
.ns-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.ns-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.ns-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 50% 50%, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.6) 35%, rgba(255,255,255,0) 70%);
  z-index: -1;
}

.ns-hero-content {
  text-align: center;
  max-width: 720px;
  padding: 80px 28px;
}

.ns-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}

.ns-hero-text {
  max-width: 600px;
  margin: 24px auto 0;
  font-size: 1rem;
  color: #3b4250;
  line-height: 1.75;
}

/* ---------- 3-COLUMN INTRO ---------- */
.ns-intro {
  position: relative;
  padding: 110px 0;
  background: #fff;
  overflow: hidden;
  isolation: isolate;
}

.ns-intro-bg {
  position: absolute;
  inset: 0;
  /* Imagen NS- LAYOUT eliminada (2026-07-29): la sección queda con fondo blanco */
  z-index: -2;
}

.ns-intro-bg::after {
  /* Soft white veil over the side images for readability */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 80% at 50% 50%, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 70%);
}

.ns-intro-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 28px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(2px);
  border-radius: 14px;
  padding: 56px 40px;
}

.ns-pillar {
  text-align: center;
}

.ns-pillar-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  background: #fff;
}

.ns-pillar-icon svg {
  width: 28px;
  height: 28px;
}

.ns-pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
  min-height: 3em;
}

.ns-pillar .section-divider {
  margin: 0 auto 18px;
  width: 36px;
  height: 2px;
}

.ns-pillar-text {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.75;
}

/* ---------- TEAM ---------- */
.ns-team {
  padding: 56px 28px 100px;
  background: #fff;
}

.ns-team-head {
  text-align: center;
  margin-bottom: 56px;
}

.ns-team-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
}

.ns-team-head .section-divider {
  margin: 0 auto;
  width: 40px;
}

.ns-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.ns-team-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 32px 22px 28px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ns-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.10);
}

.ns-team-photo {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 3px solid rgba(0,0,0,0.05);
}

.ns-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}

.ns-team-card:hover .ns-team-photo img {
  filter: grayscale(0%);
}

.ns-team-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.ns-team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: none;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  line-height: 1.35;
  min-height: 2.7em;
}

.ns-team-desc {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ---------- SCOPE (Alcance) ---------- */
.ns-scope {
  background: #F7F7F7;
  padding: 90px 28px;
}

.ns-scope-grid {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
}

.ns-scope-text {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.ns-scope-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 22px;
}

.ns-scope-lead {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.75;
}

.ns-scope-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ns-scope-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 24px 18px;
  background: none;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.ns-scope-card:hover {
  transform: translateY(-5px);
}

.ns-scope-card-icon {
  width: 96px;
  height: 96px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--orange);
}

.ns-scope-card-icon svg {
  width: 44px;
  height: 44px;
}

.ns-scope-card-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.55;
}

/* ---------- CTA FINAL ---------- */
.ns-cta-final {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 28px;
}

.ns-cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.ns-cta-icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.ns-cta-icon svg {
  width: 26px;
  height: 26px;
}

.ns-cta-text {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.ns-cta-btn {
  padding: 14px 30px;
  font-size: 0.95rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .ns-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .ns-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
    max-width: 600px;
  }
  .ns-pillar-title { min-height: 0; }
  .ns-scope-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .ns-hero { min-height: 460px; }
  .ns-hero-content { padding: 60px 24px; }
  .ns-intro { padding: 70px 0; }
  .ns-team { padding: 70px 24px; }
  .ns-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ns-team-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .ns-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .ns-cta-icon { margin: 0 auto; }
  .ns-cta-btn { justify-self: center; }
}

@media (max-width: 480px) {
  .ns-team-grid {
    grid-template-columns: 1fr;
  }
  .ns-team-card:nth-child(5) { max-width: 100%; }
  .ns-scope-mosaic {
    grid-template-columns: 1fr;
  }
}
