/* ========================================================================== 
   Contraloría Distrital de Medellín
   Organigrama institucional · Microsoft Power Pages
   Fluent-inspired enterprise UI · Sin dependencias externas
   ========================================================================== */

.orgx-page {
    --orgx-green-950: #001f18;
    --orgx-green-900: #002d22;
    --orgx-green-800: #004a38;
    --orgx-green-600: #0b7a35;
    --orgx-green-500: #1b9b59;
    --orgx-lime: #9eea48;
    --orgx-blue: #65d9ff;
    --orgx-orange: #e67e22;
    --orgx-ink: #10221d;
    --orgx-muted: #66756f;
    --orgx-paper: #f5f8f5;
    --orgx-white: #ffffff;
    --orgx-line: rgba(16, 34, 29, 0.12);
    --orgx-light-line: rgba(255, 255, 255, 0.14);
    --orgx-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --orgx-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --orgx-font: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    --orgx-sticky-top: 0px;
    --orgx-max: 1480px;
    --orgx-gutter-desktop: 32px;
    --orgx-gutter-tablet: 24px;
    --orgx-gutter-mobile: 18px;

    position: relative;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    background: var(--orgx-paper);
    color: var(--orgx-ink);
    font-family: var(--orgx-font);
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    isolation: isolate;
}

.orgx-page *,
.orgx-page *::before,
.orgx-page *::after {
    box-sizing: border-box;
    min-width: 0;
}

.orgx-page img,
.orgx-page svg {
    max-width: 100%;
}

.orgx-page img {
    display: block;
}

.orgx-page button,
.orgx-page input {
    font: inherit;
}

.orgx-page a,
.orgx-page button {
    -webkit-tap-highlight-color: transparent;
}

.orgx-page :focus-visible {
    outline: 3px solid var(--orgx-blue);
    outline-offset: 4px;
}

.orgx-page .container.orgx-shell {
    width: 100%;
    max-width: var(--orgx-max);
    margin-inline: auto;
    padding-left: var(--orgx-gutter-desktop);
    padding-right: var(--orgx-gutter-desktop);
}

/*
 * Integración Bootstrap + Power Pages:
 * .container participa en el patrón responsive del portal y .orgx-shell
 * mantiene un ancho máximo institucional y gutters controlados.
 * Los fondos, SVG, gradientes y escenas permanecen full-bleed.
 */

.orgx-skip {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--orgx-green-950);
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s var(--orgx-ease);
}

.orgx-skip:focus {
    transform: none;
}

.orgx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--orgx-green-600);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.orgx-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--orgx-green-600), var(--orgx-lime));
}

.orgx-eyebrow--light {
    color: rgba(255, 255, 255, 0.74);
}

.orgx-eyebrow--light::before {
    background: linear-gradient(90deg, var(--orgx-lime), var(--orgx-blue));
}

/* --------------------------------------------------------------------------
   Reveal progresivo
   -------------------------------------------------------------------------- */

.orgx-page [data-orgx-reveal] {
    opacity: 1;
    transform: none;
}

.orgx-page.orgx-js [data-orgx-reveal="fade"] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}

.orgx-page.orgx-js [data-orgx-reveal="title"] {
    opacity: 0;
    transform: translate3d(0, 42px, 0);
}

.orgx-page.orgx-js [data-orgx-reveal] {
    transition:
        opacity 0.85s var(--orgx-ease),
        transform 0.85s var(--orgx-ease);
    transition-delay: var(--orgx-delay, 0s);
}

.orgx-page.orgx-js [data-orgx-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Hero generativo
   -------------------------------------------------------------------------- */

.orgx-hero {
    --orgx-px: 62%;
    --orgx-py: 42%;

    position: relative;
    min-height: clamp(700px, 88svh, 900px);
    overflow: hidden;
    color: #ffffff;
    background: var(--orgx-green-950);
    isolation: isolate;
}

.orgx-hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.orgx-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--orgx-px) var(--orgx-py), rgba(101, 217, 255, 0.17), transparent 30%),
        radial-gradient(circle at 76% 68%, rgba(158, 234, 72, 0.12), transparent 26%),
        linear-gradient(135deg, #001611 0%, #00261d 46%, #041a26 100%);
}

.orgx-hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 78px 78px;
    mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

.orgx-hero__light {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: 0.5;
    mix-blend-mode: screen;
    will-change: transform;
}

.orgx-hero__light--a {
    top: -18%;
    right: -10%;
    width: min(740px, 50vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(101, 217, 255, 0.24), transparent 66%);
    animation: orgxFloatA 15s ease-in-out infinite alternate;
}

.orgx-hero__light--b {
    bottom: -28%;
    left: 34%;
    width: min(620px, 44vw);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(158, 234, 72, 0.18), transparent 68%);
    animation: orgxFloatB 18s ease-in-out infinite alternate;
}

.orgx-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.95;
}

.orgx-network__lines path {
    fill: none;
    stroke: url(#orgxLineGreen);
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-dasharray: 5 10;
    animation: orgxLineFlow 9s linear infinite;
}

.orgx-network__node {
    fill: var(--orgx-lime);
    opacity: 0.72;
    filter: drop-shadow(0 0 9px rgba(158, 234, 72, 0.68));
    animation: orgxPulse 3.2s ease-in-out infinite;
}

.orgx-network__node--minor {
    fill: var(--orgx-blue);
    opacity: 0.48;
    animation-delay: -1s;
}

.orgx-network__node--core {
    opacity: 1;
    animation-duration: 2.4s;
}

.orgx-network__halo {
    fill: url(#orgxNodeGlow);
    filter: url(#orgxBlur);
    opacity: 0.5;
}

.orgx-hero__inner {
    position: relative;
    z-index: 4;
    min-height: inherit;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
    gap: clamp(60px, 8vw, 130px);
    align-items: center;
    padding-block: clamp(92px, 10vw, 130px) clamp(110px, 12vw, 150px);
}

.orgx-hero__copy {
    max-width: 900px;
}

.orgx-hero h1 {
    max-width: 940px;
    margin: 20px 0 0;
    font-size: clamp(4.3rem, 7.2vw, 8.5rem);
    font-weight: 620;
    letter-spacing: -0.07em;
    line-height: 0.88;
}

.orgx-hero h1 span,
.orgx-hero h1 strong {
    display: block;
}

.orgx-hero h1 span {
    margin-top: 0.12em;
    color: rgba(255, 255, 255, 0.74);
    font-weight: 400;
}

.orgx-hero h1 strong {
    margin-top: 0.12em;
    color: var(--orgx-lime);
    font-weight: 650;
}

.orgx-hero__lead {
    max-width: 760px;
    margin: 32px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.72;
}

.orgx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}

.orgx-pill {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 750;
    transform: translate3d(var(--orgx-mx, 0), var(--orgx-my, 0), 0);
    transition:
        transform 0.22s var(--orgx-ease),
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.orgx-pill svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orgx-pill--primary {
    color: var(--orgx-green-950);
    background: var(--orgx-lime);
    box-shadow: 0 22px 56px -20px rgba(158, 234, 72, 0.8);
}

.orgx-pill--primary:hover {
    color: var(--orgx-green-950);
    background: #b3f06e;
    box-shadow: 0 28px 68px -20px rgba(158, 234, 72, 0.95);
}

.orgx-pill--glass {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
}

.orgx-pill--glass:hover {
    color: #ffffff;
    border-color: rgba(158, 234, 72, 0.32);
    background: rgba(255, 255, 255, 0.12);
}

.orgx-hero__summary {
    align-self: stretch;
    display: grid;
    align-content: center;
    gap: 1px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background: rgba(3, 21, 27, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 36px 100px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px) saturate(130%);
}

.orgx-hero__summary > div {
    position: relative;
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 10px 18px;
    align-items: center;
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.orgx-hero__summary > div:last-child {
    border-bottom: 0;
}

.orgx-hero__summary span {
    grid-row: 1 / span 2;
    color: var(--orgx-lime);
    font-size: 2.2rem;
    font-weight: 680;
    letter-spacing: -0.05em;
}

.orgx-hero__summary strong {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.orgx-hero__summary small {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
}

.orgx-hero__scroll {
    position: absolute;
    right: 24px;
    bottom: 60px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.34);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: rotate(90deg) translateX(100%);
    transform-origin: right bottom;
}

.orgx-hero__scroll i {
    width: 70px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
}

.orgx-hero__scroll i::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: var(--orgx-lime);
    animation: orgxScroll 2.2s var(--orgx-ease) infinite;
}

/* --------------------------------------------------------------------------
   Intro
   -------------------------------------------------------------------------- */

.orgx-intro {
    padding-block: clamp(110px, 12vw, 170px);
    background: linear-gradient(180deg, #f8fbf8 0%, #f1f6f2 100%);
}

.orgx-intro__grid {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: clamp(36px, 6vw, 90px);
    align-items: start;
}

.orgx-intro__index {
    color: rgba(16, 34, 29, 0.24);
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.orgx-intro__copy h2,
.orgx-section-head h2,
.orgx-team__header h2,
.orgx-citizen__copy h2 {
    margin: 18px 0 0;
    font-size: clamp(2.8rem, 5.2vw, 6rem);
    font-weight: 610;
    letter-spacing: -0.055em;
    line-height: 0.96;
}

.orgx-intro__copy > p:last-child {
    max-width: 800px;
    margin: 30px 0 0;
    color: var(--orgx-muted);
    font-size: clamp(1.03rem, 1.35vw, 1.18rem);
    line-height: 1.72;
}

.orgx-intro__copy strong {
    color: var(--orgx-green-800);
}

.orgx-intro__legend {
    display: grid;
    gap: 14px;
    padding-top: 38px;
}

.orgx-intro__legend span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #53635c;
    font-size: 0.82rem;
    font-weight: 650;
}

.orgx-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(16, 34, 29, 0.05);
}

.orgx-dot--legal {
    background: var(--orgx-green-800);
}

.orgx-dot--mission {
    background: var(--orgx-orange);
}

.orgx-dot--support {
    background: var(--orgx-lime);
}

/* --------------------------------------------------------------------------
   Navegación contextual
   -------------------------------------------------------------------------- */

.orgx-nav {
    position: sticky;
    top: var(--orgx-sticky-top, 0px);
    z-index: 500;
    border-top: 1px solid rgba(16, 34, 29, 0.08);
    border-bottom: 1px solid rgba(16, 34, 29, 0.09);
    background: rgba(247, 250, 247, 0.86);
    backdrop-filter: blur(20px) saturate(145%);
}

.orgx-nav__inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.orgx-nav__brand {
    color: var(--orgx-green-900);
    font-size: 0.8rem;
    font-weight: 780;
}

.orgx-nav__links {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.orgx-nav__links::-webkit-scrollbar {
    display: none;
}

.orgx-nav__links a {
    padding: 9px 13px;
    border-radius: 999px;
    color: #65746d;
    font-size: 0.74rem;
    font-weight: 680;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.orgx-nav__links a:hover,
.orgx-nav__links a.is-active {
    color: var(--orgx-green-900);
    background: rgba(11, 122, 53, 0.08);
}

/* --------------------------------------------------------------------------
   Organigrama
   -------------------------------------------------------------------------- */

.orgx-org {
    padding-block: clamp(120px, 13vw, 190px);
    background: #ffffff;
}

.orgx-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: end;
    margin-bottom: 74px;
}

.orgx-section-head > p {
    margin: 0;
    color: var(--orgx-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.orgx-org__viewport {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 34, 29, 0.10);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 0%, rgba(158, 234, 72, 0.08), transparent 30%),
        linear-gradient(180deg, #fbfdfb, #f4f8f5);
    box-shadow: 0 30px 100px rgba(20, 68, 52, 0.08);
}

.orgx-org__canvas {
    position: relative;
    padding: clamp(34px, 4.5vw, 64px);
}

.orgx-org__canvas::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(16, 34, 29, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 34, 29, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000, transparent 84%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.orgx-org__principal {
    position: relative;
    z-index: 2;
    width: min(520px, 100%);
    margin-inline: auto;
    padding: 30px 34px;
    border: 1px solid rgba(158, 234, 72, 0.28);
    border-radius: 26px;
    color: #ffffff;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, rgba(158, 234, 72, 0.16), transparent 42%),
        linear-gradient(145deg, #00372a, #001f18);
    box-shadow: 0 28px 70px rgba(0, 31, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.orgx-org__node-kicker {
    display: inline-block;
    color: var(--orgx-lime);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.orgx-org__principal h3 {
    margin: 9px 0 0;
    font-size: clamp(1.8rem, 3vw, 3.1rem);
    font-weight: 590;
    letter-spacing: -0.045em;
    line-height: 1;
}

.orgx-org__principal small {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.orgx-org__connector--main {
    position: relative;
    z-index: 1;
    width: 1px;
    height: 64px;
    margin-inline: auto;
    background: linear-gradient(var(--orgx-lime), rgba(11, 122, 53, 0.12));
}

.orgx-org__direct {
    position: relative;
    z-index: 2;
}

.orgx-org__group-head {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    align-items: start;
    margin-bottom: 28px;
}

.orgx-org__group-head > span {
    color: rgba(16, 34, 29, 0.28);
    font-size: 2.3rem;
    font-weight: 650;
    letter-spacing: -0.05em;
}

.orgx-org__group-head p {
    margin: 0;
    color: var(--orgx-green-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.orgx-org__group-head h3 {
    margin: 6px 0 0;
    color: var(--orgx-green-950);
    font-size: clamp(1.5rem, 2.3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.orgx-org__direct-grid,
.orgx-branch__grid {
    margin: 0;
    padding: 0;
    list-style: none;
}

.orgx-org__direct-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.orgx-org__direct-grid li {
    display: flex;
}

.orgx-org__node {
    position: relative;
    width: 100%;
    min-height: 130px;
    display: grid;
    align-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(16, 34, 29, 0.11);
    border-radius: 18px;
    color: var(--orgx-ink);
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 30px rgba(16, 34, 29, 0.04);
    cursor: pointer;
    transition:
        transform 0.3s var(--orgx-ease),
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.orgx-org__node::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    width: 48px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--orgx-accent, var(--orgx-lime));
}

.orgx-org__node:hover,
.orgx-org__node.is-selected {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--orgx-accent, var(--orgx-lime)) 42%, transparent);
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(13, 69, 50, 0.10);
}

.orgx-org__node > span {
    color: #87948e;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.orgx-org__node strong {
    color: var(--orgx-green-950);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}

.orgx-org__node small {
    color: var(--orgx-muted);
    font-size: 0.68rem;
}

.orgx-org__node--legal {
    --orgx-accent: var(--orgx-green-600);
}

.orgx-org__node--support {
    --orgx-accent: var(--orgx-lime);
}

.orgx-org__branches {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(360px, 0.6fr);
    gap: 18px;
    margin-top: 44px;
}

.orgx-branch {
    position: relative;
    z-index: 2;
    padding: 28px;
    border: 1px solid rgba(16, 34, 29, 0.10);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 52px rgba(16, 34, 29, 0.05);
    transition:
        transform 0.35s var(--orgx-ease),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.orgx-branch.is-emphasized {
    transform: translateY(-4px);
    border-color: rgba(158, 234, 72, 0.42);
    box-shadow: 0 26px 70px rgba(11, 122, 53, 0.12);
}

.orgx-branch--mission {
    border-top: 3px solid var(--orgx-orange);
}

.orgx-branch--admin {
    border-top: 3px solid var(--orgx-green-600);
}

.orgx-branch__head {
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--orgx-line);
}

.orgx-branch__head > div span {
    color: rgba(16, 34, 29, 0.30);
    font-size: 1.5rem;
    font-weight: 680;
}

.orgx-branch__head p {
    margin: 6px 0 0;
    color: var(--orgx-muted);
    font-size: 0.72rem;
}

.orgx-branch__head h3 {
    margin: 0;
    color: var(--orgx-green-950);
    font-size: clamp(1.4rem, 2.2vw, 2.25rem);
    font-weight: 610;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.orgx-branch__head > strong {
    justify-self: end;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--orgx-green-900);
    background: rgba(158, 234, 72, 0.12);
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.orgx-branch__grid {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.orgx-branch__grid--caaf {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.orgx-branch__grid--dirs {
    grid-template-columns: 1fr;
}

.orgx-branch__grid li {
    position: relative;
    min-height: 88px;
    display: flex;
    align-items: center;
    padding: 16px 16px 16px 20px;
    border-radius: 14px;
    color: #2d4039;
    background: rgba(244, 248, 245, 0.92);
    font-size: 0.77rem;
    font-weight: 680;
    line-height: 1.38;
    transition:
        transform 0.25s var(--orgx-ease),
        background 0.25s ease;
}

.orgx-branch__grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--orgx-orange);
}

.orgx-branch--admin .orgx-branch__grid li::before {
    background: var(--orgx-green-600);
}

.orgx-branch__grid li:hover {
    transform: translateX(4px);
    background: #ffffff;
}

.orgx-branch__mobile-toggle {
    display: none;
}

/* --------------------------------------------------------------------------
   Equipo directivo
   -------------------------------------------------------------------------- */

.orgx-team {
    position: relative;
    overflow: hidden;
    padding-block: clamp(120px, 14vw, 200px);
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 18%, rgba(101, 217, 255, 0.13), transparent 30%),
        linear-gradient(135deg, #001f18, #04292a 54%, #071b27);
}

.orgx-team::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.orgx-team__header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: end;
}

.orgx-team__header h2 {
    color: #ffffff;
}

.orgx-team__header > p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.72;
}

.orgx-team__header strong {
    color: var(--orgx-lime);
}

.orgx-team__controls {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 56px;
}

.orgx-team__counter {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.orgx-team__counter i {
    width: 70px;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.orgx-team__buttons {
    display: flex;
    gap: 8px;
}

.orgx-icon-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition:
        transform 0.2s var(--orgx-ease),
        background 0.2s ease,
        border-color 0.2s ease;
}

.orgx-icon-button:hover {
    transform: translateY(-2px);
    border-color: rgba(158, 234, 72, 0.34);
    background: rgba(158, 234, 72, 0.10);
}

.orgx-icon-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orgx-team__viewport {
    position: relative;
    z-index: 2;
    margin-top: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.orgx-team__viewport::-webkit-scrollbar {
    display: none;
}

.orgx-team__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 24%);
    gap: 16px;
    padding: 10px 0 14px;
}

.orgx-person {
    position: relative;
    min-height: 520px;
    scroll-snap-align: start;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.35s var(--orgx-ease),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.orgx-person:hover {
    transform: translateY(-7px);
    border-color: rgba(158, 234, 72, 0.32);
    box-shadow: 0 32px 84px rgba(0, 0, 0, 0.26);
}

.orgx-person__photo {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #0c2b24;
}

.orgx-person__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 31, 24, 0.45), transparent 48%);
    pointer-events: none;
}

.orgx-person__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s var(--orgx-ease);
}

.orgx-person:hover .orgx-person__photo img {
    transform: scale(1.035);
}

.orgx-person__index {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--orgx-lime);
    background: rgba(0, 31, 24, 0.46);
    backdrop-filter: blur(12px);
    font-size: 0.66rem;
    font-weight: 850;
}

.orgx-person__body {
    display: grid;
    gap: 9px;
    padding: 20px 20px 22px;
}

.orgx-person__dependency {
    min-height: 34px;
    color: var(--orgx-lime);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    line-height: 1.35;
    text-transform: uppercase;
}

.orgx-person h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 650;
    line-height: 1.15;
}

.orgx-person__role {
    min-height: 38px;
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.78rem;
    line-height: 1.48;
}

.orgx-person__email {
    width: fit-content;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.72rem;
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.orgx-person__email:hover {
    color: var(--orgx-lime);
    border-color: var(--orgx-lime);
}

/* --------------------------------------------------------------------------
   Servicio a la ciudadanía · experiencia conectada
   -------------------------------------------------------------------------- */

.orgx-citizen {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: var(--orgx-ink);
    background:
        radial-gradient(circle at 22% 42%, rgba(158, 234, 72, 0.12), transparent 30%),
        radial-gradient(circle at 78% 18%, rgba(101, 217, 255, 0.10), transparent 28%),
        linear-gradient(135deg, #f8fbf8 0%, #eef6f1 58%, #f7fbff 100%);
    isolation: isolate;
}

.orgx-citizen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(16, 34, 29, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 34, 29, 0.035) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.6) 58%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.6) 58%, transparent 100%);
}

.orgx-citizen__ambient {
    position: absolute;
    z-index: -1;
    width: min(900px, 62vw);
    aspect-ratio: 1;
    left: -12%;
    top: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 122, 53, 0.11), rgba(158, 234, 72, 0.05) 42%, transparent 70%);
    transform: translateY(-50%);
    filter: blur(8px);
}

.orgx-citizen__layout {
    position: relative;
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.82fr);
    gap: clamp(70px, 9vw, 150px);
    align-items: center;
}

.orgx-citizen__visual {
    --orgx-citizen-x: 0px;
    --orgx-citizen-y: 0px;
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
    transform: translate3d(var(--orgx-citizen-x), var(--orgx-citizen-y), 0);
    transition: transform 0.5s var(--orgx-ease-soft);
}

.orgx-citizen__visual::before {
    content: "";
    position: absolute;
    width: min(590px, 86%);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(11, 122, 53, 0.08);
    box-shadow:
        0 0 0 42px rgba(11, 122, 53, 0.025),
        0 0 0 86px rgba(11, 122, 53, 0.018);
}

.orgx-citizen__wordmark {
    position: absolute;
    left: 0;
    bottom: 42px;
    color: rgba(0, 74, 56, 0.055);
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 760;
    letter-spacing: -0.075em;
    line-height: 0.72;
    pointer-events: none;
    user-select: none;
}

.orgx-citizen__network {
    position: relative;
    z-index: 2;
    width: min(100%, 680px);
    filter: drop-shadow(0 28px 48px rgba(0, 74, 56, 0.08));
}

.orgx-citizen__rings circle {
    fill: none;
    stroke: rgba(0, 74, 56, 0.10);
    stroke-width: 1;
    stroke-dasharray: 5 9;
    transform-origin: 380px 308px;
    animation: orgxCitizenSpin 24s linear infinite;
}

.orgx-citizen__rings circle:nth-child(2) {
    animation-duration: 34s;
    animation-direction: reverse;
}

.orgx-citizen__rings circle:nth-child(3) {
    animation-duration: 46s;
}

.orgx-citizen__paths path {
    fill: none;
    stroke: url(#orgxCitizenLine);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 7 10;
    animation: orgxCitizenFlow 8s linear infinite;
}

.orgx-citizen__core-glow {
    fill: url(#orgxCitizenCore);
    opacity: 0.62;
}

.orgx-citizen__core {
    fill: rgba(0, 74, 56, 0.96);
    stroke: rgba(158, 234, 72, 0.55);
    stroke-width: 2;
    filter: drop-shadow(0 16px 30px rgba(0, 74, 56, 0.22));
}

.orgx-citizen__nodes circle {
    fill: var(--orgx-lime);
    stroke: #ffffff;
    stroke-width: 3;
    filter: drop-shadow(0 0 12px rgba(158, 234, 72, 0.50));
    animation: orgxCitizenPulse 3s ease-in-out infinite;
}

.orgx-citizen__nodes circle:nth-child(even) {
    fill: var(--orgx-blue);
    animation-delay: -1.2s;
}

.orgx-citizen__core-label {
    position: absolute;
    z-index: 4;
    display: grid;
    justify-items: center;
    pointer-events: none;
}

.orgx-citizen__core-label span {
    color: var(--orgx-lime);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.orgx-citizen__core-label strong {
    margin-top: 4px;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.orgx-citizen__tag {
    position: absolute;
    z-index: 5;
    padding: 9px 13px;
    border: 1px solid rgba(0, 74, 56, 0.12);
    border-radius: 999px;
    color: var(--orgx-green-900);
    background: rgba(255, 255, 255, 0.70);
    box-shadow: 0 14px 34px rgba(19, 65, 50, 0.08);
    backdrop-filter: blur(14px);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    animation: orgxCitizenTagFloat 6s ease-in-out infinite alternate;
}

.orgx-citizen__tag--a {
    top: 18%;
    left: 5%;
}

.orgx-citizen__tag--b {
    top: 22%;
    right: 3%;
    animation-delay: -1.4s;
}

.orgx-citizen__tag--c {
    left: 7%;
    bottom: 20%;
    animation-delay: -2.6s;
}

.orgx-citizen__tag--d {
    right: 6%;
    bottom: 16%;
    animation-delay: -3.4s;
}

.orgx-citizen__copy {
    position: relative;
    z-index: 4;
    padding-block: 110px;
}

.orgx-citizen__copy h2 {
    max-width: 760px;
}

.orgx-citizen__copy h2 em {
    display: block;
    margin-top: 0.08em;
    color: var(--orgx-green-600);
    font-style: normal;
    font-weight: 380;
}

.orgx-citizen__copy > p:not(.orgx-eyebrow) {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--orgx-muted);
    font-size: 1rem;
    line-height: 1.78;
}

.orgx-citizen__copy strong {
    color: var(--orgx-green-800);
}

.orgx-citizen__principles {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 32px;
}

.orgx-citizen__principles span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #53665f;
    font-size: 0.76rem;
    font-weight: 700;
}

.orgx-citizen__principles i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orgx-lime);
    box-shadow: 0 0 0 5px rgba(158, 234, 72, 0.10);
}

.orgx-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding-bottom: 5px;
    color: var(--orgx-green-900);
    font-size: 0.82rem;
    font-weight: 760;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 45, 34, 0.18);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s var(--orgx-ease);
}

.orgx-text-link:hover {
    color: var(--orgx-green-600);
    border-color: var(--orgx-green-600);
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Footer / back top
   -------------------------------------------------------------------------- */

.orgx-footer {
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.62);
    background: #001611;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.orgx-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.orgx-footer strong,
.orgx-footer span {
    display: block;
}

.orgx-footer strong {
    color: #ffffff;
    font-size: 0.82rem;
}

.orgx-footer span {
    margin-top: 3px;
    color: var(--orgx-lime);
    font-size: 0.68rem;
}

.orgx-footer a {
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
}

.orgx-backtop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 800;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 31, 24, 0.88);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s var(--orgx-ease);
}

.orgx-backtop[hidden] {
    display: none !important;
}

.orgx-backtop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.orgx-backtop svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.orgx-page #orgxOrganigrama,
.orgx-page #orgxEquipo,
.orgx-page #orgxCiudadania {
    scroll-margin-top: calc(var(--orgx-sticky-top, 0px) + 86px);
}


/* --------------------------------------------------------------------------
   Refinamientos v2 · Direcciones administrativas y equipo directivo
   -------------------------------------------------------------------------- */

.orgx-branch--admin .orgx-branch__head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px 16px;
}

.orgx-branch--admin .orgx-branch__head > div {
    grid-column: 1;
}

.orgx-branch--admin .orgx-branch__head > strong {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
}

.orgx-branch--admin .orgx-branch__head h3 {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.orgx-branch--admin .orgx-branch__head p {
    max-width: 190px;
    line-height: 1.5;
}

.orgx-team__track {
    grid-auto-columns: minmax(230px, 19%);
    gap: 14px;
}

.orgx-person {
    min-height: 430px;
    border-radius: 22px;
}

.orgx-person__photo {
    height: 245px;
}

.orgx-person__body {
    gap: 7px;
    padding: 16px 16px 18px;
}

.orgx-person__dependency {
    min-height: 30px;
    font-size: 0.59rem;
}

.orgx-person h3 {
    font-size: 1.02rem;
}

.orgx-person__role {
    min-height: 32px;
    font-size: 0.72rem;
}

.orgx-person__email {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.67rem;
}

.orgx-person__index {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
}

/* --------------------------------------------------------------------------
   Animaciones
   -------------------------------------------------------------------------- */

@keyframes orgxFloatA {
    to {
        transform: translate3d(-6%, 5%, 0) scale(1.05);
    }
}

@keyframes orgxFloatB {
    to {
        transform: translate3d(6%, -5%, 0) scale(0.96);
    }
}

@keyframes orgxLineFlow {
    to {
        stroke-dashoffset: -120;
    }
}

@keyframes orgxPulse {
    50% {
        transform: scale(1.28);
        opacity: 1;
    }
}

@keyframes orgxScroll {
    0% {
        transform: translateX(-100%);
    }

    60%,
    100% {
        transform: translateX(100%);
    }
}


@keyframes orgxCitizenSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes orgxCitizenFlow {
    to {
        stroke-dashoffset: -140;
    }
}

@keyframes orgxCitizenPulse {
    50% {
        transform: scale(1.28);
        opacity: 0.72;
    }
}

@keyframes orgxCitizenTagFloat {
    to {
        transform: translate3d(0, -8px, 0);
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 2000px) {
    .orgx-page .container.orgx-shell {
        max-width: 1640px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .orgx-org__direct-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .orgx-branch__grid--caaf {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .orgx-team__track {
        grid-auto-columns: minmax(300px, 21%);
    }
}

@media (max-width: 1180px) {
    .orgx-hero__inner {
        grid-template-columns: 1fr;
        align-content: center;
    }

    .orgx-hero__summary {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 12px;
    }

    .orgx-hero__summary > div {
        grid-template-columns: 1fr;
        align-content: start;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }

    .orgx-hero__summary > div:last-child {
        border-right: 0;
    }

    .orgx-hero__summary span {
        grid-row: auto;
    }

    .orgx-intro__grid {
        grid-template-columns: 42px 1fr;
    }

    .orgx-intro__legend {
        grid-column: 2;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0;
    }

    .orgx-org__direct-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .orgx-org__branches {
        grid-template-columns: 1fr;
    }

    .orgx-branch__grid--caaf {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .orgx-team__track {
        grid-auto-columns: minmax(280px, 33%);
    }
}

@media (max-width: 900px) {
    .orgx-page .container.orgx-shell {
        padding-left: var(--orgx-gutter-tablet);
        padding-right: var(--orgx-gutter-tablet);
    }
.orgx-hero {
        min-height: auto;
    }

    .orgx-hero__inner {
        padding-block: 90px 120px;
    }

    .orgx-network {
        opacity: 0.64;
        transform: scale(1.2);
        transform-origin: center;
    }

    .orgx-hero__summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .orgx-hero__summary > div:nth-child(2) {
        border-right: 0;
    }

    .orgx-hero__summary > div:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .orgx-section-head,
    .orgx-team__header {
        grid-template-columns: 1fr;
    }

    .orgx-org__direct-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orgx-branch__grid--caaf {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orgx-branch__head {
        grid-template-columns: 1fr auto;
    }

    .orgx-branch__head > div {
        grid-column: 1 / -1;
    }

    .orgx-team__track {
        grid-auto-columns: minmax(290px, 48%);
    }

    .orgx-citizen__art {
        inset: 0;
        opacity: 0.18;
    }

    .orgx-citizen__layout {
        grid-template-columns: 1fr;
    }

    .orgx-citizen__copy {
        grid-column: 1;
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .orgx-page .container.orgx-shell {
        padding-left: var(--orgx-gutter-mobile);
        padding-right: var(--orgx-gutter-mobile);
    }
.orgx-hero__inner {
        padding-top: 74px;
        padding-bottom: 96px;
    }

    .orgx-hero h1 {
        font-size: clamp(3.5rem, 14vw, 6rem);
    }

    .orgx-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .orgx-pill {
        width: 100%;
    }

    .orgx-hero__scroll {
        display: none;
    }

    .orgx-intro__grid {
        grid-template-columns: 1fr;
    }

    .orgx-intro__index {
        display: none;
    }

    .orgx-intro__legend {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .orgx-nav__brand {
        display: none;
    }

    .orgx-nav__inner {
        justify-content: flex-start;
    }

    .orgx-org__canvas {
        padding: 22px;
    }

    .orgx-org__group-head {
        grid-template-columns: 48px 1fr;
    }

    .orgx-org__direct-grid {
        grid-template-columns: 1fr;
    }

    .orgx-org__node {
        min-height: 104px;
    }

    .orgx-branch {
        padding: 20px;
    }

    .orgx-branch__head {
        grid-template-columns: 1fr;
    }

    .orgx-branch__head > strong {
        justify-self: start;
    }

    .orgx-branch__mobile-toggle {
        width: 100%;
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 16px;
        border: 1px solid rgba(16, 34, 29, 0.12);
        border-radius: 999px;
        color: var(--orgx-green-900);
        background: #ffffff;
        font-size: 0.76rem;
        font-weight: 750;
        cursor: pointer;
    }

    .orgx-branch__grid--caaf,
    .orgx-branch__grid--dirs {
        grid-template-columns: 1fr;
    }

    .orgx-branch__grid[hidden] {
        display: none;
    }

    .orgx-team__controls {
        margin-top: 34px;
    }

    .orgx-team__track {
        grid-auto-columns: minmax(280px, 84%);
    }

    .orgx-person {
        min-height: 500px;
    }

    .orgx-footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 520px) {
    .orgx-page .container.orgx-shell {
        padding-left: 14px;
        padding-right: 14px;
    }
.orgx-hero__summary {
        grid-template-columns: 1fr;
    }

    .orgx-hero__summary > div,
    .orgx-hero__summary > div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .orgx-hero__summary > div:last-child {
        border-bottom: 0;
    }

    .orgx-intro__copy h2,
    .orgx-section-head h2,
    .orgx-team__header h2,
    .orgx-citizen__copy h2 {
        font-size: clamp(2.65rem, 12.8vw, 4.2rem);
    }

    .orgx-org__viewport {
        border-radius: 22px;
    }

    .orgx-org__principal {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .orgx-org__group-head {
        grid-template-columns: 1fr;
    }

    .orgx-org__group-head > span {
        font-size: 1.8rem;
    }

    .orgx-team__track {
        grid-auto-columns: 92%;
    }

    .orgx-person__photo {
        height: 300px;
    }

    .orgx-backtop {
        right: 14px;
        bottom: 14px;
    }
}

@media (max-width: 380px) {
    .orgx-hero h1 {
        font-size: 3.1rem;
    }
}


@media (max-width: 1180px) {
    .orgx-team__track {
        grid-auto-columns: minmax(230px, 27%);
    }
}

@media (max-width: 900px) {
    .orgx-citizen__layout {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding-block: 90px;
    }

    .orgx-citizen__visual {
        min-height: 520px;
        order: 2;
    }

    .orgx-citizen__copy {
        order: 1;
        max-width: 760px;
        padding-block: 0 24px;
    }

    .orgx-team__track {
        grid-auto-columns: minmax(230px, 42%);
    }
}

@media (max-width: 768px) {
    .orgx-branch--admin .orgx-branch__head {
        grid-template-columns: 1fr;
    }

    .orgx-branch--admin .orgx-branch__head > div,
    .orgx-branch--admin .orgx-branch__head > strong,
    .orgx-branch--admin .orgx-branch__head h3 {
        grid-column: 1;
        grid-row: auto;
    }

    .orgx-branch--admin .orgx-branch__head > strong {
        justify-self: start;
    }

    .orgx-team__track {
        grid-auto-columns: minmax(220px, 72%);
    }

    .orgx-person {
        min-height: 410px;
    }

    .orgx-person__photo {
        height: 235px;
    }

    .orgx-citizen__visual {
        min-height: 440px;
    }

    .orgx-citizen__tag {
        font-size: 0.60rem;
    }
}

@media (max-width: 520px) {
    .orgx-team__track {
        grid-auto-columns: 82%;
    }

    .orgx-person__photo {
        height: 225px;
    }

    .orgx-citizen__layout {
        padding-block: 74px;
    }

    .orgx-citizen__visual {
        min-height: 360px;
    }

    .orgx-citizen__network {
        width: 116%;
        max-width: none;
    }

    .orgx-citizen__wordmark {
        bottom: 18px;
        font-size: clamp(4.6rem, 24vw, 7rem);
    }

    .orgx-citizen__tag--a,
    .orgx-citizen__tag--c {
        left: 0;
    }

    .orgx-citizen__tag--b,
    .orgx-citizen__tag--d {
        right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orgx-page *,
    .orgx-page *::before,
    .orgx-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .orgx-page [data-orgx-reveal],
    .orgx-page.orgx-js [data-orgx-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* --------------------------------------------------------------------------
   Bootstrap responsive guard
   -------------------------------------------------------------------------- */

@media (max-width: 380px) {
    .orgx-page .container.orgx-shell {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.orgx-page .orgx-team__viewport,
.orgx-page .orgx-org__viewport {
    max-width: 100%;
}

.orgx-page .orgx-nav__links {
    min-width: 0;
}
