/* BROKR — Inner pages shared + Nosotros */

/* ══════════════════════════════════════════════════════
   PAGE HERO  (shared across nosotros, beneficios, contactanos)
   ══════════════════════════════════════════════════════ */

.page-hero {
  background: var(--color-azul-oscuro);
  min-height: 520px;
  padding-top: 72px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 0% 60%, rgba(33,56,239,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(3,204,158,0.07) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem 4rem 4rem;
}

.page-hero__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celeste);
  display: block;
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  color: var(--color-blanco);
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.page-hero__title em {
  font-style: normal;
  color: var(--color-celeste);
}

.page-hero__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 460px;
  margin: 0 0 2rem;
}

.page-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero__photo {
  position: relative;
  overflow: hidden;
}

.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.page-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--color-azul-oscuro) 0%, rgba(2,11,45,0.05) 35%),
    linear-gradient(to top, rgba(2,11,45,0.65) 0%, transparent 40%);
}

/* Hero centrado — contactanos */
.page-hero--center {
  grid-template-columns: 1fr;
  min-height: 420px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--center::before {
  background: rgba(2, 11, 45, 0.80);
}

.page-hero--center .page-hero__content {
  align-items: center;
  padding: 5rem 3.5rem;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.page-hero--center .page-hero__lead {
  text-align: center;
  max-width: 560px;
}

/* ══════════════════════════════════════════════════════
   NOSOTROS — Misión / Foto section
   ══════════════════════════════════════════════════════ */

.ns-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  background: var(--color-azul-oscuro);
  position: relative;
  overflow: hidden;
}

.ns-mission__photo {
  position: relative;
  overflow: hidden;
  order: 1;
}

.ns-mission__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-mission__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, var(--color-azul-oscuro) 0%, rgba(2,11,45,0.1) 35%),
    linear-gradient(to top, rgba(2,11,45,0.6) 0%, transparent 40%);
}

.ns-mission__content {
  order: 2;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
}

.ns-mission__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celeste);
  display: block;
  margin-bottom: 1.25rem;
}

.ns-mission__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-blanco);
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.ns-mission__title em {
  font-style: normal;
  color: var(--color-celeste);
}

.ns-mission__body {
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.78;
  margin: 0;
}

.ns-mission__body + .ns-mission__body {
  margin-top: 1rem;
}

/* ══════════════════════════════════════════════════════
   NOSOTROS — Values / Pilares (2×2 cards)
   ══════════════════════════════════════════════════════ */

.ns-values {
  padding: 6rem 3.5rem;
  background: #f5f7ff;
}

.ns-values__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ns-values__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ns-values__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celeste);
  display: block;
  margin-bottom: 0.75rem;
}

.ns-values__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-azul-oscuro);
  margin: 0;
}

.ns-values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ns-value-card {
  background: var(--color-blanco);
  border: 1px solid rgba(33,56,239,0.08);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ns-value-card:hover {
  box-shadow: 0 12px 40px rgba(33,56,239,0.09);
  transform: translateY(-2px);
}

.ns-value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-azul-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ns-value-card__icon svg {
  width: 24px;
  height: 24px;
}

.ns-value-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-azul-oscuro);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.ns-value-card__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #5a6480;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   NOSOTROS — Awards / Timeline
   ══════════════════════════════════════════════════════ */

.ns-awards {
  padding: 6rem 3.5rem;
  background: var(--color-azul-oscuro);
  position: relative;
  overflow: hidden;
}

.ns-awards::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(33,56,239,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ns-awards__inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ns-awards__header {
  text-align: center;
  margin-bottom: 4rem;
}

.ns-awards__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-celeste);
  display: block;
  margin-bottom: 0.75rem;
}

.ns-awards__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--color-blanco);
  margin: 0 0 1rem;
}

.ns-awards__subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

.ns-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.ns-timeline::before {
  content: '';
  position: absolute;
  left: 72px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.ns-timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.ns-timeline-item:last-child {
  padding-bottom: 0;
}

.ns-timeline-item__year {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-celeste);
  padding-top: 0.25rem;
  text-align: right;
  flex-shrink: 0;
}

.ns-timeline-item__body {
  position: relative;
  padding-left: 2rem;
}

.ns-timeline-item__body::before {
  content: '';
  position: absolute;
  left: -0.4rem;
  top: 0.42rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-celeste);
  border: 2px solid var(--color-azul-oscuro);
  box-shadow: 0 0 0 4px rgba(3,204,158,0.18);
}

.ns-timeline-item__org {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
}

.ns-timeline-item__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blanco);
  margin: 0 0 0.45rem;
  line-height: 1.3;
}

.ns-timeline-item__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .page-hero__content { padding: 4rem 2.5rem 4rem 3rem; }
  .ns-mission__content { padding: 4rem 3rem; }
  .ns-values { padding: 5rem 2.5rem; }
  .ns-awards { padding: 5rem 2.5rem; }
}

@media (max-width: 768px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-hero__content {
    padding: 7rem 1.5rem 3rem;
    order: 1;
  }

  .page-hero__photo {
    order: 2;
    min-height: 260px;
  }

  .page-hero--center .page-hero__content {
    padding: 6.5rem 1.5rem 3rem;
  }

  .ns-mission {
    grid-template-columns: 1fr;
  }

  .ns-mission__photo {
    min-height: 240px;
    order: 1;
  }

  .ns-mission__content {
    order: 2;
    padding: 3rem 1.5rem;
  }

  .ns-values { padding: 4rem 1.5rem; }
  .ns-values__grid { grid-template-columns: 1fr; }

  .ns-awards { padding: 4rem 1.5rem; }

  .ns-timeline::before { left: 54px; }

  .ns-timeline-item {
    grid-template-columns: 54px 1fr;
    gap: 0 1.75rem;
  }
}
