/* PÁGINA MISION Y VISION */
.mv-page {
  background: #00723F;
  padding: 80px 20px;
}

/* HERO */
.mv-hero {
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
}

.mv-hero h1 {
  font-size: 72px;
}

.mv-line {
  width: 80px;
  height: 4px;
  background: #d4a437;
  margin: 10px auto;
}

/* SECCIONES */
.mv-section {
  margin-bottom: 70px;
}

/* CAJA */
.mv-box {
  max-width: 1100px;
  margin: auto;
  background: #fff;
  border-radius: 18px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.mv-box.reverse {
  flex-direction: row-reverse;
}

/* TEXTO */
.mv-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  position: relative;
}

.mv-text h2::after {
  content: "";
  width: 50px;
  height: 4px;
  background: #d4a437;
  display: block;
  margin-top: 6px;
}

.mv-text p {
  color: #444;
  line-height: 1.7;
}

/* IMAGEN */
.mv-img img {
  width: 100%;
  border-radius: 12px;
  transition: 0.3s;
}

.mv-img img:hover {
  transform: scale(1.03);
}

/* FOTO COORDINADORA */
.mv-coord {
  max-width: 1100px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.mv-coord-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.mv-coord-text {
  text-align: left;
}

.mv-coord-img {
  position: relative;
}

.mv-coord-img img {
  width: 300px;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.mv-coord-img span {
  position: absolute;
  width: 120px;
  height: 120px;
  background: #d4a437;
  bottom: -20px;
  right: -20px;
  z-index: 1;
}

.mv-coord-info {
  margin-top: 20px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .mv-box {
    flex-direction: column;
    text-align: center;
  }

  .mv-box.reverse {
    flex-direction: column;
  }

  .mv-coord-box {
    flex-direction: column;
  }

  .mv-coord-text {
    text-align: center;
  }
}

.mv-box {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s;
}

.mv-box.show {
  opacity: 1;
  transform: translateY(0);
}
.mv-page {
  background: #f3f5f2;
  padding-bottom: 90px;
}

.mv-hero {
  position: relative;
  margin-top: 0;
  background:
    linear-gradient(rgba(8, 18, 35, 0.45), rgba(8, 18, 35, 0.45)),
    url("../assets/img/rectoria-uabc.png") center/cover no-repeat;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0 42px;
}

.mv-page {
  background: #f3f5f2;
  padding-top: 0;
  padding-bottom: 90px;
  margin-top: 0;
}

.mv-page > .mv-hero {
  margin-top: 0;
}

.mv-breadcrumb {
  position: absolute;
  left: 40px;
  bottom: 28px;
  width: fit-content;
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #6b7280;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.mv-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.mv-breadcrumb strong {
  color: #2f6f44;
}

.mv-hero__content {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  color: #fff;
  text-align: center;
}

.mv-hero__title {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.mv-hero__title::after {
  content: "";
  display: block;
  width: 110px;
  height: 5px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #c98917 0%, #dd971a 50%, #f0b847 100%);
}

.mv-hero__subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  text-align: center;
}

/* BLOQUE FOTO COORDINADORA */
.mv-coord-wrap {
  width: min(1320px, calc(100% - 60px));
  margin: 46px auto 80px;
  background: #00723F;
  padding: 56px 58px;
}

.mv-coord-card {
  display: grid;
  grid-template-columns: 1.1fr 420px;
  gap: 64px;
  align-items: center;
}

.mv-coord-text {
  color: #fff;
}

.mv-section-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.mv-section-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 5px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c98917 0%, #dd971a 50%, #f0b847 100%);
}

.mv-coord-text p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.96);
  max-width: 760px;
}

.mv-coord-photo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mv-coord-photo {
  position: relative;
  display: inline-block;
}

.mv-coord-photo img {
  width: 100%;
  max-width: 420px;
  display: block;
  position: relative;
  z-index: 2;
}

.mv-coord-accent {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 132px;
  height: 132px;
  background: #d4a437;
  z-index: 1;
}

.mv-coord-info {
  margin-top: 22px;
  color: #fff;
}

.mv-coord-info h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
}

.mv-coord-info p {
  margin: 0;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.92);
}

/* MISION Y VISION */
.mv-duo {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.mv-card {
  background: #00723F;
  border-radius: 28px;
  padding: 42px 46px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 44px;
  align-items: center;
  box-shadow: 0 14px 34px rgba(17, 26, 47, 0.08);
}

.mv-card--reverse {
  grid-template-columns: 420px 1fr;
}

.mv-card__text p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.9;
  color: #ffffff;
}

.mv-card__image img {
  width: 100%;
  display: block;
  transition: transform 0.35s ease;
}

.mv-card__image img:hover {
  transform: scale(1.02);
}

/* REVELAR */
.mv-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 980px) {
  .mv-coord-card,
  .mv-card,
  .mv-card--reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mv-coord-wrap {
    width: min(1100px, calc(100% - 30px));
    padding: 34px 24px;
  }

  .mv-coord-photo-block {
    align-items: center;
  }

  .mv-coord-text,
  .mv-coord-info,
  .mv-card__text {
    text-align: center;
  }

  .mv-section-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .mv-card {
    padding: 30px 22px;
  }
}

@media (max-width: 768px) {
  .mv-hero {
    min-height: 270px;
    padding: 24px 0 28px;
  }

@media (max-width: 768px) {
  .mv-breadcrumb {
    position: static;
    width: calc(100% - 24px);
    margin: 18px auto 0;
    padding: 14px 18px;
    gap: 12px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
  }

.mv-breadcrumb {
    position: static;
    width: calc(100% - 24px);
    margin: 18px auto 0;
    padding: 14px 18px;
    gap: 12px;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
  }

 .mv-hero__content {
    width: calc(100% - 24px);
    text-align: center;
  }
}

  .mv-hero__content {
    width: calc(100% - 24px);
  }

  .mv-coord-wrap {
    margin-top: 28px;
    margin-bottom: 56px;
  }

  .mv-coord-photo img {
    max-width: 300px;
  }

  .mv-coord-accent {
    width: 90px;
    height: 90px;
    right: -12px;
    bottom: -12px;
  }

  .mv-card__image img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}

/* BOTÓN DE VOLVER A LA PARTE SUPERIOR */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 24px;
  background: #3d7f47;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease, background 0.25s ease;
}

.back-to-top:hover {
  background: #346c3d;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top__icon {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 62px;
    height: 62px;
    border-radius: 20px;
  }

  .back-to-top__icon {
    font-size: 1.9rem;
  }
}