/* NostraProfe: dirección y comité académico */

html {
  scroll-behavior: smooth;
}

.np-hero--director {
  overflow: hidden;
}

.np-director-visual {
  min-width: 0;
}

.np-director-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 70px rgba(4, 43, 51, .2);
  isolation: isolate;
}

.np-director-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #f4b72a, #16c7b7, #00afc2);
  z-index: 3;
}

.np-director-card__photo {
  position: relative;
  min-height: 330px;
  background:
    radial-gradient(circle at 75% 20%, rgba(39, 215, 229, .33), transparent 34%),
    linear-gradient(145deg, #063943, #087b8c);
}

.np-director-card__photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(transparent, rgba(2, 28, 34, .78));
  pointer-events: none;
}

.np-director-card__photo img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: saturate(.96) contrast(1.03);
}

.np-director-card__seal {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(3, 31, 38, .82);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(9px);
}

.np-director-card__seal i {
  color: #f4b72a;
}

.np-director-card__content {
  padding: 26px 28px 30px;
}

.np-director-card__role {
  display: block;
  margin-bottom: 7px;
  color: #087b8c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.np-director-card__content h2 {
  margin: 0;
  color: #031f26;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
}

.np-director-card__content > p {
  margin: 8px 0 18px;
  color: #51666b;
  font-weight: 700;
}

.np-director-card blockquote {
  margin: 0;
  padding: 15px 17px;
  border-left: 4px solid #f4b72a;
  border-radius: 0 14px 14px 0;
  background: #f5faf9;
  color: #29464c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.np-director-card__content a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: #075861;
  font-weight: 900;
  text-decoration: none;
}

.np-director-card__content a:hover {
  color: #00afc2;
}

.np-committee {
  position: relative;
  padding: 105px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 15%, rgba(0, 175, 194, .12), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(244, 183, 42, .13), transparent 27%),
    #f6fbfa;
}

.np-committee::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(7, 88, 97, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 88, 97, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}

.np-committee .np-container {
  position: relative;
  z-index: 1;
}

.np-committee__heading {
  max-width: 820px;
  margin-inline: auto;
}

.np-committee__heading p {
  max-width: 750px;
  margin-inline: auto;
}

.np-committee-lead {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  align-items: stretch;
  max-width: 1010px;
  margin: 46px auto 42px;
  overflow: hidden;
  border: 1px solid rgba(7, 88, 97, .13);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(3, 49, 57, .12);
}

.np-committee-lead__photo {
  min-height: 330px;
  background: #063943;
}

.np-committee-lead__photo img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.np-committee-lead__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px 42px;
}

.np-committee-lead__content > span {
  color: #087b8c;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.np-committee-lead__content h3 {
  margin: 7px 0 13px;
  color: #031f26;
  font-size: clamp(31px, 5vw, 48px);
  line-height: 1;
}

.np-committee-lead__content p {
  margin: 0;
  color: #52696e;
  font-size: 16px;
  line-height: 1.8;
}

.np-committee-lead__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.np-committee-lead__tags strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 175, 194, .17);
  border-radius: 999px;
  background: #edf9f8;
  color: #075861;
  font-size: 12px;
}

.np-committee-lead__tags strong:last-child {
  border-color: rgba(244, 183, 42, .28);
  background: #fff8e6;
  color: #785200;
}

.np-committee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.np-committee-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(7, 88, 97, .12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 13px 34px rgba(3, 49, 57, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.np-committee-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 175, 194, .32);
  box-shadow: 0 22px 42px rgba(3, 49, 57, .14);
}

.np-committee-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  background: #eaf5f3;
}

.np-committee-card > div {
  padding: 20px 20px 23px;
}

.np-committee-card span {
  display: inline-block;
  margin-bottom: 7px;
  color: #087b8c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.np-committee-card h3 {
  margin: 0 0 9px;
  color: #031f26;
  font-size: 20px;
  line-height: 1.15;
}

.np-committee-card p {
  margin: 0;
  color: #607378;
  font-size: 13px;
  line-height: 1.55;
}

.np-committee-card--director {
  border-color: rgba(244, 183, 42, .48);
  background: linear-gradient(180deg, #fffdf7, #fff);
}

.np-committee-card--director::after {
  content: "DIRECTOR";
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #f4b72a;
  color: #3d2a00;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.np-committee-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 970px;
  margin: 31px auto 0;
  padding: 19px 22px;
  border: 1px solid rgba(0, 175, 194, .17);
  border-radius: 17px;
  background: rgba(255, 255, 255, .8);
  color: #3d5b61;
}

.np-committee-note i {
  margin-top: 3px;
  color: #00afc2;
  font-size: 19px;
}

.np-committee-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.np-committee-note strong {
  color: #075861;
}

@media (max-width: 1100px) {
  .np-committee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .np-committee {
    padding: 78px 0;
  }

  .np-committee-lead {
    grid-template-columns: 1fr;
  }

  .np-committee-lead__photo,
  .np-committee-lead__photo img {
    min-height: 300px;
    max-height: 380px;
  }

  .np-committee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .np-director-card__photo,
  .np-director-card__photo img {
    min-height: 280px;
    height: 280px;
  }

  .np-director-card__content {
    padding: 23px 21px 26px;
  }

  .np-committee {
    padding: 65px 0;
  }

  .np-committee-lead {
    margin-top: 32px;
    border-radius: 22px;
  }

  .np-committee-lead__photo,
  .np-committee-lead__photo img {
    min-height: 270px;
  }

  .np-committee-lead__content {
    padding: 27px 23px 30px;
  }

  .np-committee-lead__content h3 {
    font-size: 34px;
  }

  .np-committee-grid {
    grid-template-columns: 1fr;
  }

  .np-committee-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 150px;
  }

  .np-committee-card img {
    width: 118px;
    height: 100%;
    min-height: 150px;
  }

  .np-committee-card > div {
    padding: 18px 16px;
  }

  .np-committee-card--director::after {
    top: 9px;
    right: 9px;
  }

  .np-committee-note {
    padding: 16px;
  }
}
