/* ══════════════════════════════════════
   OJOTAS IMPRESAS — nosotros.css
   Clases prefijadas con "ns-" para evitar
   conflictos con styles.css y coleccion.css
══════════════════════════════════════ */


/* ════════════════════════════════════
   SECCIÓN PRINCIPAL
════════════════════════════════════ */
.ns-seccion {
  padding: 5.5rem 0;
  background: var(--bg-light);
  overflow: hidden;
}


/* ════════════════════════════════════
   ENCABEZADO
════════════════════════════════════ */
.ns-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ns-titulo {
  font-family: var(--font-serif);
  font-size: clamp(30px, 8vw, 50px);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.ns-titulo em {
  font-style: italic;
  color: var(--gold);
}

.ns-linea {
  width: 32px;
  height: 0.5px;
  background: var(--gold);
  margin: 1rem 0;
}

.ns-bajada {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 520px;
}


/* ════════════════════════════════════
   LAYOUT PRINCIPAL
════════════════════════════════════ */
.ns-inner {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Bloque de texto */
.ns-texto {
  display: flex;
  flex-direction: column;
}

/* Bloque visual */
.ns-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* ════════════════════════════════════
   TARJETAS DE IMAGEN
════════════════════════════════════ */
.ns-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.ns-foto-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-mid);
  position: relative;
}

.ns-foto-wrap.ns-grande {
  grid-column: span 2;
  aspect-ratio: 16/8;
}

.ns-foto-wrap.ns-chica {
  aspect-ratio: 1/1;
}

.ns-foto-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.ns-foto-wrap:hover img {
  transform: scale(1.04);
}

/* Placeholder visual si no hay imagen */
.ns-foto-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,176,140,0.08) 0%, transparent 70%);
  pointer-events: none;
}


/* ════════════════════════════════════
   VALORES / PILARES
════════════════════════════════════ */
.ns-pilares {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border-top: 0.5px solid rgba(31,31,31,0.08);
}

.ns-pilar {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.25rem 0;
  border-bottom: 0.5px solid rgba(31,31,31,0.08);
  transition: background var(--transition);
}

.ns-pilar-num {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.6;
  min-width: 20px;
  padding-top: 2px;
  letter-spacing: 0.05em;
}

.ns-pilar-contenido h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.ns-pilar-contenido p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}


/* ════════════════════════════════════
   BANNER OSCURO — frase destacada
════════════════════════════════════ */
.ns-banner {
  background: var(--bg-dark);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ns-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(201,176,140,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.ns-banner-inner {
  position: relative;
  z-index: 1;
}

.ns-banner-frase {
  font-family: var(--font-serif);
  font-size: clamp(22px, 6vw, 38px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.ns-banner-frase span {
  color: var(--gold);
}

.ns-banner-firma {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.3);
}


/* ════════════════════════════════════
   REVEAL PROPIO (no pisa el global)
════════════════════════════════════ */
.ns-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ns-reveal.ns-visible {
  opacity: 1;
  transform: translateY(0);
}

.ns-reveal-d1 { transition-delay: 0.1s; }
.ns-reveal-d2 { transition-delay: 0.2s; }
.ns-reveal-d3 { transition-delay: 0.3s; }
.ns-reveal-d4 { transition-delay: 0.4s; }


/* ════════════════════════════════════
   DESKTOP — 768px+
════════════════════════════════════ */
@media (min-width: 768px) {

  .ns-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 5rem;
  }

  .ns-texto {
    flex: 1;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .ns-visual {
    flex: 1;
  }

  .ns-fotos {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .ns-banner {
    padding: 5rem 2rem;
  }

}
