/* ===========================
   NOSOTROS PAGE
=========================== */

/* ===========================
   HERO
=========================== */
.ns-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
  background: var(--black);
}
.ns-hero__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ns-hero__logo-spin {
  width: min(65vw, 580px);
  height: min(65vw, 580px);
  color: var(--white);
  opacity: 0.03;
}
.ns-hero__content { position: relative; z-index: 1; max-width: 720px; }
.ns-hero__tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: 100px;
}
.ns-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}
.ns-hero__title--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

/* ===========================
   STATEMENT
=========================== */
.ns-statement {
  padding: 100px 0 60px;
}
.ns-statement__text {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

/* ===========================
   MISIÓN
=========================== */
.ns-mission {
  padding: 80px 0 120px;
}
.ns-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.ns-mission__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-top: 14px;
}
.ns-mission__body {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 48px;
}
.ns-mission__body em {
  color: var(--white);
  font-style: normal;
  font-weight: 600;
}
.ns-mission__pillars {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.pillar.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.pillar:nth-child(2) { transition-delay: 0.12s; }
.pillar:nth-child(3) { transition-delay: 0.24s; }
.pillar__icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: border-color 0.3s, background 0.3s;
}
.pillar:hover .pillar__icon {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ===========================
   EQUIPO
=========================== */
.ns-team {
  padding: 100px 0 120px;
  background: var(--black-2);
  border-top: 1px solid var(--border);
}
.ns-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* Team card */
.team-card {
  background: var(--black-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 48px;
  text-align: center;
  transition: background 0.3s;
}
.team-card:hover { background: var(--black-3); }

/* Photo / Avatar */
.team-card__photo {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  flex-shrink: 0;
}
.team-card__photo--mark { background: var(--black-4); }
.team-card__photo--fran { background: var(--black-4); }

.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.team-card__initials {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* Rotating ring */
.team-card__photo-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  border-top-color: var(--white);
  animation: ringRotate 8s linear infinite;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.team-card:hover .team-card__photo-ring {
  border-top-color: var(--gray-light);
  animation-duration: 4s;
}

/* Card body */
.team-card__body { width: 100%; }
.team-card__header {
  margin-bottom: 20px;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.team-card__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--border);
  padding: 4px 14px;
  border-radius: 100px;
}
.team-card__bio {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-light);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.team-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.team-card__skills span {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--gray);
  transition: border-color 0.2s, color 0.2s;
}
.team-card:hover .team-card__skills span {
  border-color: var(--border-md);
  color: var(--gray-light);
}

/* ===========================
   VALORES
=========================== */
.ns-values {
  padding: 120px 0;
}
.ns-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.value-card {
  background: var(--black);
  padding: 52px 44px;
  transition: background 0.3s;
}
.value-card:hover { background: var(--black-3); }
.value-card__num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gray-mid);
  margin-bottom: 20px;
}
.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.1;
}
.value-card__desc {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-light);
  line-height: 1.85;
}

/* CTA (reutilizado de porfolio.css) */
.pf-cta {
  padding: 120px 0;
  background: var(--black-2);
  border-top: 1px solid var(--border);
}
.pf-cta__inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.pf-cta__logo {
  width: 100px;
  height: 100px;
  color: var(--white);
  opacity: 0.08;
  flex-shrink: 0;
}
.pf-cta__text { flex: 1; }
.pf-cta__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 12px;
}
.pf-cta__text p {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--gray-light);
  margin-bottom: 28px;
}

/* NAV active */
.nav__links a.active { color: var(--white); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .ns-mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .ns-team__grid { grid-template-columns: 1fr; }
  .ns-values__grid { grid-template-columns: 1fr; }
  .team-card { padding: 48px 28px; }
  .pf-cta__inner { flex-direction: column; text-align: center; }
  .ns-hero__title--outline { -webkit-text-stroke-width: 1.5px; }
}
