@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Alegreya:wght@400;700&family=Inter:wght@400;500&display=swap');

/* ── HERO ── */
.nos-hero {
  width: 100%;
  height: 650px;
  border-bottom: 1px solid #FF9B0055;
  position: relative;
  overflow: hidden;
}

.nos-hero img.nos-hero-img {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}

.nos-hero-titulo {
  position: absolute;
  bottom: 24px;
  left: 48px;
  z-index: 1;
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ── CONTENEDOR ── */
.nos-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 50px 36px 80px;
}

.nos-page section {
  margin-bottom: 48px;
}

/* ── PANEL ── */
.nos-panel {
  background: #1C1C1C;
  border-radius: 6px;
  padding: 32px 38px;
}

/* ── SUBTÍTULOS ── */
.nos-subtitulo {
  font-family: 'Alegreya', serif;
  font-size: clamp(3rem, 2.5vw, 3rem);
  font-weight: 700;
  color: #FF9B00;
  margin: 0 0 16px 0;
}

/* ── TEXTOS ── */
.nos-texto {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.85;
  margin: 0;
}

.nos-texto + .nos-texto {
  margin-top: 18px;
}

/* ── MISIÓN / VISIÓN (split) ── */
.nos-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 680px) {
  .nos-split { grid-template-columns: 1fr; }
}

/* ── CAJA DE IMAGEN ── */
.nos-img-box {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: #1C1C1C;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nos-img-mision {
  aspect-ratio: 4/3;
}

/* ── IMAGEN GENÉRICA ── */
.nos-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── IMAGEN MISIÓN (sobreescribe la genérica) ── */
.nos-img-box img.img-mision {
  object-position: center 29%;
}

/* ── EQUIPO ── */
.nos-equipo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.nos-img-equipo {
  aspect-ratio: 3/2;
  min-height: unset;
  height: 300px;
}

@media (max-width: 600px) {
  .nos-equipo-grid { grid-template-columns: 1fr; }
}

/* ── SCROLL REVEAL ── */
.nos-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.nos-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}