/* =========================================================
   FUNCIONES Y DEBERES
   CONTRALORÍA DISTRITAL DE MEDELLÍN
   Microsoft Power Pages
   Concepto: PORTADA EDITORIAL INSTITUCIONAL
========================================================= */

.fd-page {
  --fd-green-1000: #001a14;
  --fd-green-950: #002d22;
  --fd-green-900: #003f2f;
  --fd-green-800: #075d34;
  --fd-green-700: #0b7a35;
  --fd-lime: #8bd936;
  --fd-lime-bright: #b5ff62;
  --fd-paper: #f3f1e9;
  --fd-paper-soft: #f7f8f4;
  --fd-white: #ffffff;
  --fd-ink: #17201d;
  --fd-muted: #66706c;
  --fd-gold: #a77e00;
  --fd-line: rgba(0, 63, 47, 0.14);
  --fd-shadow: 0 32px 90px rgba(0, 45, 34, 0.14);
  --fd-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  width: 100%;
  overflow-x: clip;
  color: var(--fd-ink);
  background: var(--fd-paper-soft);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  isolation: isolate;
}

.fd-page,
.fd-page *,
.fd-page *::before,
.fd-page *::after {
  box-sizing: border-box;
  min-width: 0;
}

.fd-page img {
  display: block;
  max-width: 100%;
}

.fd-page a {
  color: inherit;
}

.fd-page :focus-visible {
  outline: 3px solid var(--fd-lime);
  outline-offset: 4px;
}

.fd-shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(20px, 2.5vw, 38px);
}

.fd-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 11px 15px;
  border-radius: 10px;
  color: var(--fd-green-950);
  background: #fff;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
  box-shadow: var(--fd-shadow);
  transition: transform 180ms var(--fd-ease);
}

.fd-skip:focus {
  transform: none;
}

.fd-kicker {
  display: inline-flex;
  color: var(--fd-green-700);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .fd-shell.container {
    max-width: 540px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .fd-shell.container {
    max-width: 720px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .fd-shell.container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .fd-shell.container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .fd-shell.container {
    max-width: 1320px;
  }
}

/* =========================================================
   HERO
========================================================= */

.fd-hero {
  position: relative;
  min-height: clamp(780px, 96svh, 980px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--fd-green-950);
  background: var(--fd-paper);
  border-bottom: 1px solid rgba(0, 63, 47, .14);
  isolation: isolate;
}

.fd-hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  width: 1px;
  content: "";
  background: rgba(0, 63, 47, .13);
}

.fd-hero__content {
  position: relative;
  z-index: 2;
  padding-block: 86px 90px;
}

.fd-hero__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0, 63, 47, .14);
  color: var(--fd-green-700);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.fd-hero__masthead span:last-child {
  color: rgba(0, 63, 47, .42);
}

.fd-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .78fr);
  gap: clamp(70px, 9vw, 140px);
  align-items: center;
  margin-top: clamp(64px, 9vh, 104px);
}

.fd-hero__primary {
  max-width: 820px;
}

.fd-hero__section {
  margin: 0 0 18px;
  color: var(--fd-green-700);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.fd-hero__title {
  margin: 0;
  color: var(--fd-green-950);
  font-size: clamp(5rem, 9.1vw, 9.7rem);
  font-weight: 720;
  line-height: .78;
  letter-spacing: -.085em;
}

.fd-hero__title span,
.fd-hero__title strong {
  display: block;
  width: fit-content;
}

.fd-hero__title strong {
  margin-top: .10em;
  color: var(--fd-green-700);
  font-weight: 300;
}

.fd-hero__lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--fd-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.76;
}

.fd-hero__actions {
  margin-top: 34px;
}

.fd-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--fd-green-950);
  font-size: .94rem;
  font-weight: 780;
  text-decoration: none;
}

.fd-hero__cta svg {
  width: 50px;
  height: 50px;
  padding: 12px;
  border: 1px solid var(--fd-green-900);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 320ms var(--fd-ease),
    background-color 220ms ease,
    color 220ms ease;
}

.fd-hero__cta:hover svg {
  color: #fff;
  background: var(--fd-green-900);
  transform: translateY(5px);
}

.fd-hero__manifesto {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(30px, 4vw, 62px);
}

.fd-hero__manifesto-intro {
  margin: 0 0 24px;
  color: var(--fd-muted);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.fd-hero__verbs {
  display: grid;
}

.fd-hero__verbs span {
  position: relative;
  display: block;
  padding: 11px 0 13px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 63, 47, .14);
  color: var(--fd-green-950);
  font-size: clamp(2.1rem, 4vw, 4.8rem);
  font-weight: 580;
  letter-spacing: -.055em;
  line-height: .95;
  transform: translateX(0);
  transition:
    color 280ms ease,
    transform 420ms var(--fd-ease),
    letter-spacing 420ms var(--fd-ease);
}

.fd-hero__verbs span:first-child {
  border-top: 1px solid rgba(0, 63, 47, .14);
}

.fd-hero__verbs span::after {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--fd-lime);
  opacity: 0;
  transform: scale(.4);
  transition:
    opacity 220ms ease,
    transform 300ms var(--fd-ease);
}

.fd-hero__verbs span.is-active {
  color: var(--fd-green-700);
  transform: translateX(10px);
  letter-spacing: -.035em;
}

.fd-hero__verbs span.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.fd-hero__principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: rgba(0, 63, 47, .48);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.fd-hero__principles span + span::before {
  content: "•";
  margin-right: 18px;
  color: var(--fd-lime);
}

.fd-hero__corner-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: rgba(0, 63, 47, .28);
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* =========================================================
   CONTENT
========================================================= */

.fd-legal {
  padding: 112px 0;
  background: #fbfaf6;
}

.fd-legal__grid {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 2.1fr);
  gap: 72px;
  align-items: start;
}

.fd-legal__label {
  position: sticky;
  top: 32px;
}

.fd-legal__copy {
  padding-top: 2px;
  border-top: 1px solid var(--fd-line);
}

.fd-legal__copy h2 {
  max-width: 900px;
  margin: 34px 0;
  color: var(--fd-green-950);
  font-size: clamp(2.6rem, 4.7vw, 5rem);
  font-weight: 350;
  letter-spacing: -.05em;
  line-height: 1.02;
}

.fd-legal__copy p {
  max-width: 880px;
  margin: 0;
  color: var(--fd-muted);
  font-size: clamp(1.04rem, 1.45vw, 1.26rem);
}

.fd-legal__copy .fd-legal__citation {
  margin-top: 30px;
  color: var(--fd-green-700);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .05em;
}

.fd-intro {
  padding: 120px 0 72px;
  background: #fff;
}

.fd-intro .fd-shell {
  display: grid;
  grid-template-columns: .6fr 2fr;
  gap: 72px;
  align-items: end;
}

.fd-intro__marker {
  display: flex;
  flex-direction: column;
  color: rgba(0, 63, 47, .14);
  font-size: clamp(3.6rem, 7vw, 8rem);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .75;
}

.fd-intro__copy h2 {
  margin: 18px 0 22px;
  color: var(--fd-green-950);
  font-size: clamp(3rem, 5.8vw, 6.3rem);
  font-weight: 330;
  letter-spacing: -.06em;
  line-height: .94;
}

.fd-intro__copy h2 em {
  color: var(--fd-green-700);
  font-style: normal;
  font-weight: 720;
}

.fd-intro__copy p {
  max-width: 720px;
  margin: 0;
  color: var(--fd-muted);
  font-size: 1.12rem;
}

.fd-functions {
  padding: 20px 0 110px;
  background: #fff;
}

.fd-functions--soft {
  padding-top: 110px;
  background: #eef3ed;
}

.fd-function-list {
  border-top: 1px solid var(--fd-line);
}

.fd-function {
  position: relative;
  display: grid;
  grid-template-columns: 90px minmax(260px, .85fr) minmax(0, 1.25fr) 48px;
  gap: 34px;
  align-items: center;
  min-height: 235px;
  padding: 50px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--fd-line);
}

.fd-function::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  background: var(--fd-lime);
  transition: width 520ms var(--fd-ease);
}

.fd-function:hover::after {
  width: 100%;
}

.fd-function__number {
  align-self: start;
  padding-top: 4px;
  color: var(--fd-gold);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.fd-function__title {
  margin: 0;
  color: var(--fd-green-950);
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.fd-function__text {
  max-width: 720px;
  margin: 0;
  color: var(--fd-muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.fd-function__text strong {
  color: var(--fd-green-800);
  font-weight: 760;
}

.fd-function__arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--fd-line);
  border-radius: 50%;
  color: var(--fd-green-900);
  transition:
    transform 320ms var(--fd-ease),
    background-color 220ms ease,
    color 220ms ease;
}

.fd-function:hover .fd-function__arrow {
  color: #fff;
  background: var(--fd-green-900);
  transform: translateX(4px);
}

.fd-function__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   PHOTOGRAPHY
========================================================= */

.fd-photo-stage {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.fd-photo {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.fd-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 31, 24, .26);
  pointer-events: none;
}

.fd-photo img {
  width: 100%;
  height: clamp(520px, 58vw, 880px);
  object-fit: cover;
  transition:
    transform 1.35s var(--fd-ease),
    filter 1.35s var(--fd-ease);
}

.fd-photo:hover img {
  transform: scale(1.018);
  filter: saturate(1.03) contrast(1.02);
}

.fd-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(34px, 5vw, 72px);
  width: 100%;
  color: #fff;
  transform: translateX(-50%);
}

.fd-photo figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--fd-lime-bright);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.fd-photo figcaption strong {
  display: block;
  max-width: 950px;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  font-weight: 320;
  letter-spacing: -.05em;
  line-height: .95;
}

.fd-photo--panorama img {
  height: clamp(460px, 50vw, 760px);
}

/* =========================================================
   NIGHT CLOSING
========================================================= */

.fd-night {
  position: relative;
  min-height: 920px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--fd-green-1000);
}

.fd-night__media {
  position: absolute;
  inset: 0;
}

.fd-night__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 31, 24, .60);
}

.fd-night__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fd-night__overlay {
  position: relative;
  z-index: 2;
  padding: 110px 0 74px;
  color: #fff;
}

.fd-night__copy .fd-kicker {
  color: var(--fd-lime-bright);
}

.fd-night__copy h2 {
  max-width: 920px;
  margin: 22px 0 28px;
  font-size: clamp(4rem, 8vw, 8.2rem);
  font-weight: 270;
  letter-spacing: -.065em;
  line-height: .88;
}

.fd-night__copy p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, .80);
  font-size: 1.16rem;
}

.fd-night__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, .24);
}

.fd-night__values article {
  padding: 28px 24px 12px 0;
  border-right: 1px solid rgba(255, 255, 255, .18);
}

.fd-night__values article:nth-child(2),
.fd-night__values article:last-child {
  padding-left: 24px;
}

.fd-night__values article:last-child {
  border-right: 0;
}

.fd-night__values span {
  display: block;
  margin-bottom: 12px;
  color: var(--fd-lime-bright);
  font-size: .72rem;
  letter-spacing: .12em;
}

.fd-night__values strong {
  font-size: clamp(1.18rem, 1.8vw, 1.6rem);
  font-weight: 600;
}

/* =========================================================
   REVEALS
========================================================= */

.fd-reveal {
  opacity: 1;
  transform: none;
}

.fd-page.fd-js-ready .fd-reveal {
  will-change: opacity, transform;
  transition:
    opacity 900ms var(--fd-ease),
    transform 900ms var(--fd-ease);
}

.fd-page.fd-js-ready .fd-reveal:not(.fd-visible) {
  opacity: 0;
}

.fd-page.fd-js-ready .fd-reveal--up:not(.fd-visible) {
  transform: translate3d(0, 54px, 0);
}

.fd-page.fd-js-ready .fd-reveal--left:not(.fd-visible) {
  transform: translate3d(-58px, 0, 0);
}

.fd-page.fd-js-ready .fd-reveal--zoom:not(.fd-visible) {
  transform: scale(.965);
}

.fd-page.fd-js-ready .fd-reveal.fd-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   BACK TO TOP
========================================================= */

.fd-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 63, 47, .92);
  box-shadow: 0 14px 36px rgba(0, 45, 34, .25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease;
}

.fd-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fd-top.fd-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1080px) {
  .fd-shell {
    padding-inline: 24px;
  }

  .fd-hero::before {
    left: 58%;
  }

  .fd-hero__layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .fd-hero__manifesto {
    max-width: 760px;
    padding-left: 0;
  }

  .fd-hero__verbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
  }

  .fd-hero__verbs span:nth-child(2) {
    border-top: 1px solid rgba(0, 63, 47, .14);
  }

  .fd-legal__grid,
  .fd-intro .fd-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .fd-legal__label {
    position: static;
  }

  .fd-intro__marker {
    font-size: 5rem;
  }

  .fd-function {
    grid-template-columns: 72px minmax(220px, .85fr) minmax(0, 1.25fr);
  }

  .fd-function__arrow {
    display: none;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {
  .fd-shell {
    padding-inline: 18px;
  }

  .fd-page {
    font-size: 16px;
  }

  .fd-hero {
    min-height: auto;
  }

  .fd-hero::before {
    display: none;
  }

  .fd-hero__content {
    padding-block: 66px 70px;
  }

  .fd-hero__masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .fd-hero__masthead span:last-child {
    display: none;
  }

  .fd-hero__layout {
    margin-top: 46px;
    gap: 48px;
  }

  .fd-hero__title {
    font-size: clamp(3.8rem, 18vw, 5.5rem);
    line-height: .80;
  }

  .fd-hero__lead {
    font-size: 1rem;
  }

  .fd-hero__manifesto {
    padding-top: 34px;
    border-top: 1px solid rgba(0, 63, 47, .14);
  }

  .fd-hero__verbs {
    grid-template-columns: 1fr;
  }

  .fd-hero__verbs span {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .fd-hero__verbs span:nth-child(2) {
    border-top: 0;
  }

  .fd-hero__corner-note {
    display: none;
  }

  .fd-legal {
    padding: 78px 0;
  }

  .fd-legal__copy h2 {
    margin-top: 26px;
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .fd-intro {
    padding: 86px 0 52px;
  }

  .fd-intro__marker {
    font-size: 3.7rem;
  }

  .fd-intro__copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .fd-functions,
  .fd-functions--soft {
    padding: 14px 0 78px;
  }

  .fd-functions--soft {
    padding-top: 78px;
  }

  .fd-function {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 18px;
    min-height: auto;
    padding: 34px 0;
  }

  .fd-function__number {
    grid-row: 1 / span 2;
  }

  .fd-function__title {
    grid-column: 2;
    font-size: 1.68rem;
  }

  .fd-function__text {
    grid-column: 2;
    font-size: .98rem;
  }

  .fd-photo img,
  .fd-photo--panorama img {
    height: 520px;
  }

  .fd-photo figcaption {
    bottom: 28px;
  }

  .fd-photo figcaption strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .fd-night {
    min-height: 780px;
  }

  .fd-night__overlay {
    padding-bottom: 48px;
  }

  .fd-night__copy h2 {
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

  .fd-night__values {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .fd-night__values article,
  .fd-night__values article:nth-child(2),
  .fd-night__values article:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .fd-night__values article:last-child {
    border-bottom: 0;
  }

  .fd-top {
    right: 14px;
    bottom: 14px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .fd-page *,
  .fd-page *::before,
  .fd-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .fd-page .fd-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .fd-hero__verbs span {
    transform: none !important;
    letter-spacing: -.055em !important;
  }
}