  /* =========================================================
   MANUAL DE POLÍTICAS DE OPERACIÓN V28
   Contraloría Distrital de Medellín
========================================================= */

.mp-page {
  --mp-green-950: #003f2f;
  --mp-green-900: #07563f;
  --mp-green-800: #0b7a35;
  --mp-green-700: #168f45;
  --mp-lime: #8bd936;
  --mp-lime-soft: #eaf4d8;
  --mp-gold: #d6af00;
  --mp-red: #c0392b;
  --mp-blue: #1f5f7a;
  --mp-purple: #6c3483;
  --mp-orange: #d86516;
  --mp-white: #ffffff;
  --mp-soft: #f3f5f2;
  --mp-soft-2: #eef4ea;
  --mp-text: #193f33;
  --mp-muted: #62756e;
  --mp-border: rgba(0, 63, 47, 0.12);
  --mp-shadow: 0 18px 48px rgba(0, 63, 47, 0.1);
  --mp-shadow-lg: 0 30px 70px rgba(0, 63, 47, 0.16);
  --mp-radius-sm: 18px;
  --mp-radius-md: 28px;
  --mp-radius-lg: 42px;
  --mp-container: 1320px;
  --mp-font: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;

  position: relative;
  color: var(--mp-text);
  background: var(--mp-white);
  font-family: var(--mp-font);
  line-height: 1.6;
}

.mp-page *,
.mp-page *::before,
.mp-page *::after {
  box-sizing: border-box;
}

.mp-page h1,
.mp-page h2,
.mp-page h3,
.mp-page p {
  margin-top: 0;
}

.mp-page svg {
  display: block;
}


.mp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--mp-green-800);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mp-kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: var(--mp-lime);
}

/* HERO */

.mp-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 84px;
  background:
    radial-gradient(
      circle at 84% 16%,
      rgba(139, 217, 54, 0.18),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7faf5 100%
    );
}

.mp-hero__orb {
  position: absolute;
  pointer-events: none;
}

.mp-hero__orb--one {
  width: 320px;
  height: 320px;
  top: 80px;
  left: -150px;
  border: 30px solid rgba(139, 217, 54, 0.1);
  border-radius: 50%;
}

.mp-hero__orb--two {
  width: 220px;
  height: 220px;
  right: -90px;
  bottom: -70px;
  border-radius: 55px;
  transform: rotate(32deg);
  background: rgba(0, 63, 47, 0.06);
}

.mp-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.mp-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--mp-green-950);
  font-size: clamp(3rem, 5.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.mp-hero h1 strong {
  display: block;
  color: var(--mp-lime);
}

.mp-hero__content > p {
  max-width: 680px;
  color: var(--mp-muted);
  font-size: 1.12rem;
}

.mp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.mp-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.mp-button:hover {
  transform: translateY(-3px);
}

.mp-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-button--primary {
  color: #ffffff;
  background: linear-gradient(
    145deg,
    var(--mp-green-800),
    var(--mp-green-950)
  );
  box-shadow: 0 14px 30px rgba(0, 63, 47, 0.22);
}

.mp-version-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  color: var(--mp-green-950);
  background: #ffffff;
  font-size: 0.83rem;
  font-weight: 800;
}

.mp-hero__visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 46px rgba(0, 63, 47, 0.14));
}

/* RESUMEN */

.mp-summary {
  position: relative;
  z-index: 5;
  margin-top: -30px;
}

.mp-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mp-summary article {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-sm);
  background: #ffffff;
  box-shadow: var(--mp-shadow);
}

.mp-summary strong {
  color: var(--mp-green-950);
  font-size: 2rem;
  line-height: 1;
}

.mp-summary span {
  margin-top: 9px;
  color: var(--mp-muted);
  font-size: 0.86rem;
}

/* INTRO */

.mp-intro {
  padding: 90px 0 60px;
}

.mp-intro__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.mp-intro h2,
.mp-section-heading h2,
.mp-callout h2 {
  margin-bottom: 16px;
  color: var(--mp-green-950);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.mp-intro p {
  color: var(--mp-muted);
}

/* PILARES */

.mp-pillars {
  padding: 70px 0 96px;
  background: var(--mp-soft);
}

.mp-section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.mp-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.mp-section-heading p {
  color: var(--mp-muted);
}

.mp-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mp-pillars article {
  padding: 28px;
  border: 1px solid var(--mp-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 63, 47, 0.06);
}

.mp-pillar-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: var(--mp-green-900);
}

.mp-pillar-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-pillars h3 {
  margin: 20px 0 10px;
  color: var(--mp-green-950);
}

.mp-pillars p {
  margin-bottom: 0;
  color: var(--mp-muted);
  font-size: 0.92rem;
}

/* POLÍTICAS */

.mp-policies {
  padding: 96px 0;
}

.mp-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 34px;
}

.mp-search {
  position: relative;
  display: block;
}

.mp-search__icon {
  position: absolute;
  top: 50%;
  left: 17px;
  transform: translateY(-50%);
  color: var(--mp-muted);
}

.mp-search__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px 0 48px;
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  color: var(--mp-text);
  background: #ffffff;
  font: inherit;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mp-search input:focus {
  border-color: var(--mp-green-700);
  box-shadow: 0 0 0 4px rgba(11, 122, 53, 0.1);
}

.mp-filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.mp-filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--mp-border);
  border-radius: 999px;
  color: var(--mp-green-950);
  background: #ffffff;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.mp-filter:hover {
  transform: translateY(-2px);
}

.mp-filter.is-active {
  color: #ffffff;
  border-color: var(--mp-green-900);
  background: var(--mp-green-900);
}

.mp-policies__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mp-policy-card {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--mp-border);
  border-radius: var(--mp-radius-md);
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(0, 63, 47, 0.07);
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.mp-policy-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: var(--mp-card-color);
}

.mp-policy-card::after {
  content: "";
  position: absolute;
  top: -54px;
  right: -54px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: color-mix(
    in srgb,
    var(--mp-card-color) 12%,
    transparent
  );
  pointer-events: none;
}

.mp-policy-card:hover,
.mp-policy-card:focus-visible {
  transform: translateY(-8px);
  border-color: color-mix(
    in srgb,
    var(--mp-card-color) 42%,
    transparent
  );
  box-shadow: var(--mp-shadow-lg);
}

.mp-policy-card:focus-visible {
  outline: 4px solid rgba(139, 217, 54, 0.25);
  outline-offset: 4px;
}

.mp-policy-card.is-hidden {
  display: none;
}

.mp-policy-card__icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #ffffff;
  background: var(--mp-card-color);
}

.mp-policy-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-policy-card__number {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--mp-green-950);
  background: var(--mp-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mp-policy-card h3 {
  margin: 18px 0 14px;
  color: var(--mp-green-950);
  font-size: 1.46rem;
  line-height: 1.18;
}

.mp-policy-card p {
  color: var(--mp-muted);
}

.mp-policy-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mp-policy-card__tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--mp-green-950);
  background: var(--mp-soft-2);
  font-size: 0.72rem;
  font-weight: 800;
}

.mp-policy-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--mp-card-color);
  font-weight: 800;
}

.mp-policy-card__link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-empty {
  margin-top: 28px;
  padding: 28px;
  border: 1px dashed var(--mp-border);
  border-radius: 20px;
  color: var(--mp-muted);
  background: var(--mp-soft);
  text-align: center;
}

/* CICLO */

.mp-cycle {
  padding: 96px 0;
  background: var(--mp-soft);
}

.mp-cycle__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mp-cycle__track::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--mp-green-900),
    var(--mp-lime)
  );
}

.mp-cycle article {
  position: relative;
  z-index: 2;
  padding: 26px;
  border: 1px solid var(--mp-border);
  border-radius: 22px;
  background: #ffffff;
}

.mp-cycle article > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--mp-green-900);
  font-weight: 900;
}

.mp-cycle h3 {
  margin: 18px 0 8px;
  color: var(--mp-green-950);
}

.mp-cycle p {
  margin-bottom: 0;
  color: var(--mp-muted);
}

/* CALLOUT */

.mp-callout {
  padding: 70px 0;
  background: linear-gradient(
    135deg,
    var(--mp-green-800),
    var(--mp-green-950)
  );
}

.mp-callout__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
}

.mp-callout .mp-kicker {
  color: var(--mp-lime);
}

.mp-callout h2 {
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.mp-callout p {
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.mp-button--light {
  color: var(--mp-green-950);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

/* FOOTER */

.mp-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #002d22;
}

.mp-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: center;
}

.mp-footer strong,
.mp-footer span {
  display: block;
}

.mp-footer strong {
  color: #ffffff;
}

.mp-footer span {
  margin-top: 3px;
  color: var(--mp-lime);
  font-size: 0.8rem;
}

.mp-footer p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.mp-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.mp-footer__top svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* MODAL */

.mp-modal[hidden] {
  display: none;
}

body.mp-modal-open {
  overflow: hidden;
}

.mp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.mp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 24, 0.76);
  backdrop-filter: blur(8px);
}

.mp-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.3);
}

.mp-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--mp-green-950);
  background: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mp-modal__header {
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--mp-modal-color),
    var(--mp-modal-dark)
  );
}

.mp-modal__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
}

.mp-modal__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mp-modal__header > span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mp-modal__header h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.mp-modal__header p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.mp-modal__body {
  display: grid;
  gap: 18px;
  padding: 30px 34px 38px;
}

.mp-modal-section {
  padding: 22px;
  border: 1px solid var(--mp-border);
  border-radius: 20px;
  background: #ffffff;
}

.mp-modal-section h3 {
  margin-bottom: 12px;
  color: var(--mp-green-950);
  font-size: 1.08rem;
}

.mp-modal-section p {
  margin-bottom: 0;
  color: var(--mp-muted);
}

.mp-modal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--mp-muted);
}

.mp-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mp-modal-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--mp-green-950);
  background: var(--mp-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

/* VOLVER ARRIBA */

.mp-back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: var(--mp-green-900);
  box-shadow: var(--mp-shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.mp-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mp-back-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* REVEAL */

[data-mp-reveal] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mp-page.mp-reveal-enabled
[data-mp-reveal]:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 42px, 0);
}

.mp-page.mp-reveal-enabled
[data-mp-reveal] {
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 700ms ease;
  transition-delay: var(--mp-reveal-delay, 0ms);
}

.mp-page.mp-reveal-enabled
[data-mp-reveal].is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .mp-hero__grid,
  .mp-intro__grid,
  .mp-callout__inner,
  .mp-footer__inner {
    grid-template-columns: 1fr;
  }

  .mp-summary__grid,
  .mp-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-policies__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-toolbar {
    grid-template-columns: 1fr;
  }

  .mp-filter-group {
    justify-content: flex-start;
  }

  .mp-footer__inner {
    text-align: center;
  }

  .mp-footer__top {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .mp-hero {
    padding: 68px 0 56px;
  }

  .mp-hero__grid {
    gap: 34px;
  }

  .mp-summary {
    margin-top: 0;
    padding-top: 18px;
  }

  .mp-summary__grid,
  .mp-pillars__grid,
  .mp-policies__grid,
  .mp-cycle__track {
    grid-template-columns: 1fr;
  }

  .mp-cycle__track::before {
    display: none;
  }

  .mp-intro,
  .mp-pillars,
  .mp-policies,
  .mp-cycle {
    padding-top: 66px;
  }

  .mp-policy-card {
    min-height: auto;
  }
}

@media (max-width: 460px) {
  .mp-container {
    width: min(
      calc(100% - 24px),
      var(--mp-container)
    );
  }

  .mp-hero h1 {
    font-size: 2.7rem;
  }

  .mp-intro h2,
  .mp-section-heading h2,
  .mp-callout h2 {
    font-size: 2.2rem;
  }

  .mp-policy-card {
    padding: 22px;
  }

  .mp-modal__header,
  .mp-modal__body {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-page *,
  .mp-page *::before,
  .mp-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  [data-mp-reveal] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}