/*
 * Gestión de proyectos.
 * Concepto: expediente documental de servicio con hoja de orden y ruta de seguimiento.
 */
[data-function-layout="project-management"] {
    --op-ink: #041f49;
    --op-steel: #2c4470;
    --op-gold: #fac63f;
    --op-paper: #f3f6fa;
    --op-line: #dbe2ec;
    --op-muted: #4a5568;
    --op-hazard: linear-gradient(90deg, #fac63f 0%, #2c4470 100%);
}

/* ---------- Hero ---------- */
[data-function-layout="project-management"] #inicio {
    padding-block: clamp(2.5rem, 6vw, 5rem);
    background:
        radial-gradient(45% 65% at 78% 45%, rgb(148 163 184 / .2), transparent 65%),
        linear-gradient(150deg, #041f49 0%, #0a2a5a 60%, #1d3d6e 100%);
}
[data-function-layout="project-management"] .function-hero__overlay { background: linear-gradient(90deg, rgb(4 31 73 / .95) 0%, rgb(4 31 73 / .84) 45%, rgb(4 31 73 / .4) 100%); }
@media (max-width: 767px) {
    [data-function-layout="project-management"] .function-hero__overlay { background: linear-gradient(180deg, rgb(4 31 73 / .94) 0%, rgb(4 31 73 / .82) 55%, rgb(4 31 73 / .55) 100%); }
}
[data-function-layout="project-management"] .rh-hero-layout { align-items: center; }
[data-function-layout="project-management"] #inicio .cv-eyebrow,
[data-function-layout="project-management"] #inicio .cv-eyebrow .cv-icon { color: var(--op-gold); }
[data-function-layout="project-management"] #inicio .cv-hero-title {
    max-width: 13ch;
    color: #fff;
    font-size: clamp(2.5rem, 5.2vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}
[data-function-layout="project-management"] #inicio .cv-hero-description { color: rgb(255 255 255 / .84); }
[data-function-layout="project-management"] #inicio .cv-hero-copy p.text-sm { color: rgb(255 255 255 / .62); }
[data-function-layout="project-management"] #inicio .cv-primary-button {
    border-color: var(--op-gold);
    background: var(--op-gold);
    color: var(--op-ink);
    box-shadow: 0 14px 30px rgb(0 0 0 / .25);
}
[data-function-layout="project-management"] #inicio .cv-primary-button:hover,
[data-function-layout="project-management"] #inicio .cv-primary-button:focus-visible { background: #ffd666; }
[data-function-layout="project-management"] #inicio .cv-secondary-button { border-color: rgb(255 255 255 / .7); background: transparent; color: #fff; }
[data-function-layout="project-management"] #inicio .cv-secondary-button:hover,
[data-function-layout="project-management"] #inicio .cv-secondary-button:focus-visible { background: #fff; color: var(--op-ink); }
[data-function-layout="project-management"] #inicio .cv-primary-button:focus-visible,
[data-function-layout="project-management"] #inicio .cv-secondary-button:focus-visible { outline: 3px solid var(--op-gold); outline-offset: 3px; }

/* La tabla con la orden: hoja, marco de la tabla y clip metálico. */
[data-function-layout="project-management"] .function-report-panel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 .875rem;
    align-items: center;
    justify-self: center;
    width: calc(100% - 28px);
    max-width: 27rem;
    min-width: 0;
    margin: 3.5rem 14px 14px;
    padding: 2.5rem 1.75rem 0;
    border: 0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 0 14px var(--op-steel), 0 0 0 15px rgb(255 255 255 / .16), 0 40px 60px rgb(0 0 0 / .45);
    color: var(--op-ink);
    --op-rot: -1.25deg;
    rotate: var(--op-rot);
    animation: op-board-in 1s cubic-bezier(.2, .7, .2, 1) .25s both;
}
[data-function-layout="project-management"] .function-report-panel::before {
    content: "";
    position: absolute;
    top: -2.9rem;
    left: 50%;
    width: 9rem;
    height: 3.6rem;
    border-radius: .8rem .8rem .45rem .45rem;
    background: linear-gradient(180deg, #e2e8f0 0%, #a3b1c4 70%, #8392a8 100%);
    box-shadow: 0 6px 10px rgb(0 0 0 / .35), inset 0 1px 0 #fff;
    translate: -50% 0;
}
[data-function-layout="project-management"] .function-report-panel::after {
    content: "";
    position: absolute;
    top: -2.25rem;
    left: 50%;
    width: 2.25rem;
    height: 1rem;
    border-radius: 9999px;
    background: var(--op-steel);
    box-shadow: inset 0 2px 3px rgb(0 0 0 / .4);
    translate: -50% 0;
}
[data-function-layout="project-management"] .function-report-panel .rh-feature-icon { grid-column: 1; border-radius: .5rem; background: var(--op-ink); color: var(--op-gold); }
[data-function-layout="project-management"] .function-report-panel h2 {
    grid-column: 2;
    margin: 0;
    font-family: "Hanken Grotesk", ui-sans-serif, sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}
[data-function-layout="project-management"] .function-report-lines,
[data-function-layout="project-management"] .function-report-panel > p { grid-column: 1 / -1; }
[data-function-layout="project-management"] .function-report-lines { display: grid; gap: 1rem; margin-top: 1.5rem; padding: 0; list-style: none; }
[data-function-layout="project-management"] .function-report-lines li {
    display: grid;
    grid-template-columns: 1.4rem minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.55;
}
[data-function-layout="project-management"] .function-report-lines li::before {
    content: "✓";
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    margin-top: .1rem;
    border: 2px solid var(--op-ink);
    border-radius: 4px;
    background: var(--op-gold);
    color: var(--op-ink);
    font-size: .75rem;
    font-weight: 800;
}
[data-function-layout="project-management"] .function-report-panel > p {
    margin: 1.5rem -1.75rem 0;
    padding: 1rem 1.75rem 1.25rem;
    border-top: 10px solid transparent;
    border-image: var(--op-hazard) 10;
    background: #f8fafc;
    color: var(--op-muted);
    font-size: .875rem;
    line-height: 1.6;
}
@keyframes op-board-in {
    from { opacity: 0; translate: 0 2.5rem; rotate: -5deg; }
    to { opacity: 1; translate: 0 0; rotate: var(--op-rot); }
}

/* ---------- Definición ---------- */
[data-function-layout="project-management"] .rh-function-overview { display: grid; gap: 1.5rem 3rem; align-items: start; }
[data-function-layout="project-management"] #overview-title::before {
    content: "";
    display: block;
    width: 4.5rem;
    height: 8px;
    margin-bottom: 1.25rem;
    background: var(--op-hazard);
}
[data-function-layout="project-management"] .rh-function-overview .cv-section-intro {
    margin-top: 0;
    color: #1f2a3d;
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.75;
}

/* ---------- Problema operativo: azul marino, encabezados de cada punto en blanco ---------- */
[data-function-layout="project-management"] #problema-function .cv-reading-block { max-width: none; text-align: left; }
[data-function-layout="project-management"] #problema-function .cv-section-intro { max-width: 52rem; margin: 1rem 0 0; }
[data-function-layout="project-management"] .rh-function-problems { display: grid; gap: 0 3rem; margin-top: 2.5rem; padding: 0; list-style: none; }
[data-function-layout="project-management"] .rh-function-problems li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding-block: 1.5rem;
    border-top: 1px solid rgb(255 255 255 / .2);
    color: rgb(255 255 255 / .78);
    line-height: 1.65;
}
[data-function-layout="project-management"] .rh-function-problems strong {
    display: block;
    margin-bottom: .35rem;
    color: #fff;
    font-family: "Hanken Grotesk", ui-sans-serif, sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
}
[data-function-layout="project-management"] .rh-function-problems .rh-feature-icon { background: rgb(250 198 63 / .16); color: var(--op-gold); }

/* ---------- Ejemplo práctico: hoja de orden con franja de seguridad ---------- */
[data-function-layout="project-management"] #ejemplo-function { background: var(--op-paper); }
[data-function-layout="project-management"] .cv-example-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 0;
    border-top: 12px solid transparent;
    border-image: var(--op-hazard) 12;
    border-radius: 0;
    background: #fff;
    box-shadow: 0 1px 0 var(--op-line);
}
[data-function-layout="project-management"] .cv-example-card > p.cv-reading-block {
    max-width: 60rem;
    color: #1f2a3d;
    font-size: 1.0625rem;
    line-height: 1.85;
    text-align: left;
}

/* ---------- Capacidades: paneles tipo ficha de servicio ---------- */
[data-function-layout="project-management"] #capacidades-function { background: var(--op-paper); }
[data-function-layout="project-management"] .rh-function-capabilities { display: grid; gap: 1.25rem; margin-top: 2.5rem; padding: 0; list-style: none; }
[data-function-layout="project-management"] .rh-function-capabilities li {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: .5rem;
    color: var(--op-ink);
}
[data-function-layout="project-management"] .rh-function-capabilities .cv-card-title {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.65;
}
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities li { border-top: 4px solid var(--op-steel); background: #fff; }
[data-function-layout="project-management"] #capacidades-function .rh-feature-icon { background: var(--op-steel); color: #fff; }

/* ---------- Beneficios: azul marino, dos bloques de texto ---------- */
[data-function-layout="project-management"] #beneficios-function { background: var(--op-ink); }
[data-function-layout="project-management"] #beneficios-function .cv-section-title { color: #fff; }
[data-function-layout="project-management"] .rh-function-benefits { display: grid; gap: 2rem 3rem; margin-top: 2.5rem; padding: 0; list-style: none; }
[data-function-layout="project-management"] .rh-function-benefits li { padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .2); }
[data-function-layout="project-management"] .rh-function-benefits .rh-feature-icon { border-radius: 50%; background: var(--op-gold); color: var(--op-ink); }
[data-function-layout="project-management"] .rh-function-benefits p {
    margin-top: 1.25rem;
    color: rgb(255 255 255 / .9);
    font-family: "Hanken Grotesk", ui-sans-serif, sans-serif;
    font-size: clamp(1.125rem, 1.6vw, 1.3rem);
    font-weight: 500;
    line-height: 1.55;
}

/* ---------- Flujo: recorrido documental de la orden de servicio ---------- */
[data-function-layout="project-management"] #flujo-function { background: #fff; color: var(--op-ink); }
[data-function-layout="project-management"] #flujo-function .cv-section-title { color: var(--op-ink); }
[data-function-layout="project-management"] #flujo-function .cv-process-list {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: .75rem;
    margin-top: 2.5rem;
}
[data-function-layout="project-management"] #flujo-function .cv-process-card {
    display: grid;
    place-items: center;
    height: auto;
    min-height: 5.5rem;
    padding: 1.25rem 1rem;
    border: 2px solid var(--op-ink);
    border-top: 8px solid var(--op-gold);
    border-radius: .35rem;
    background: #fff;
    text-align: center;
}
[data-function-layout="project-management"] #flujo-function .cv-process-card:hover { background: #fff; transform: none; }
[data-function-layout="project-management"] #flujo-function .cv-process-card::after { display: none; }
[data-function-layout="project-management"] #flujo-function .cv-process-card-header { display: none; }
[data-function-layout="project-management"] #flujo-function .cv-process-card h3 { margin: 0; color: var(--op-ink); font-size: 1.125rem; }
[data-function-layout="project-management"] #flujo-function .cv-integration-panel {
    margin-top: 2.5rem;
    border: 0;
    border-radius: 1rem;
    background: var(--op-ink);
    box-shadow: none;
}
[data-function-layout="project-management"] #flujo-function .cv-mono-label { color: var(--op-gold); }
[data-function-layout="project-management"] #flujo-function .cv-flow-text {
    max-width: 62rem;
    color: rgb(255 255 255 / .9);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.8;
    white-space: pre-line;
}

@media (min-width: 768px) {
    [data-function-layout="project-management"] .rh-function-overview { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
    [data-function-layout="project-management"] .rh-function-problems,
    [data-function-layout="project-management"] .rh-function-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-function-layout="project-management"] #flujo-function .cv-process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; }
}
@media (min-width: 1024px) {
    [data-function-layout="project-management"] .rh-hero-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
    [data-function-layout="project-management"] .cv-hero-copy { grid-column: 1; grid-row: 1; }
    [data-function-layout="project-management"] .function-report-panel { grid-column: 2; grid-row: 1; }
    [data-function-layout="project-management"] .rh-function-capabilities { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li { grid-column: span 2; }
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-last-child(2),
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:last-child { grid-column: span 3; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    [data-function-layout="project-management"] #inicio .cv-hero-title { max-width: none; }
    [data-function-layout="project-management"] .function-report-panel { --op-rot: 0deg; padding-inline: 1.25rem; }
    [data-function-layout="project-management"] .function-report-panel > p { margin-inline: -1.25rem; padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    [data-function-layout="project-management"] .function-report-panel,
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li,
    [data-function-layout="project-management"] #flujo-function .cv-process-card,
    [data-function-layout="project-management"] .rh-function-benefits > li { animation: none; }
}

/* Project dashboard: budgets and progress read like a calm portfolio overview. */
[data-function-layout="project-management"] .function-report-panel {
    --op-rot: 0deg;
    width: 100%;
    max-width: 31rem;
    margin: 1rem 0;
    padding: 2rem;
    border: 1px solid rgb(255 255 255 / .35);
    border-left: 6px solid var(--op-gold);
    border-radius: 1rem;
    background: rgb(255 255 255 / .97);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .24);
    rotate: 0deg;
    animation: project-dashboard-enter .7s cubic-bezier(.2, .7, .2, 1) .15s both;
}
[data-function-layout="project-management"] .function-report-panel::before {
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: .4rem;
    border-radius: 1rem 1rem 0 0;
    background: linear-gradient(90deg, var(--op-gold) 0 35%, #5b8def 35% 100%);
    box-shadow: none;
    translate: 0;
}
[data-function-layout="project-management"] .function-report-panel::after {
    top: 1.5rem;
    right: 1.5rem;
    left: auto;
    width: 3.75rem;
    height: 3.75rem;
    border: .45rem solid #e7edf5;
    border-top-color: #5b8def;
    border-right-color: #5b8def;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    translate: 0;
    rotate: -35deg;
    animation: project-progress-ring .8s ease-out .4s both;
}
[data-function-layout="project-management"] .function-report-panel .rh-feature-icon {
    border-radius: .9rem;
    background: #eaf1ff;
    color: var(--op-ink);
}
[data-function-layout="project-management"] .function-report-panel h2 { padding-right: 4.25rem; }
[data-function-layout="project-management"] .function-report-lines { gap: .75rem; }
[data-function-layout="project-management"] .function-report-lines li {
    padding: .8rem 0;
    border-bottom: 1px solid var(--op-line);
}
[data-function-layout="project-management"] .function-report-lines li::before {
    width: .75rem;
    height: .75rem;
    margin-top: .35rem;
    border: 2px solid #5b8def;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 0;
}
[data-function-layout="project-management"] .function-report-panel > p {
    margin-inline: -2rem;
    padding-inline: 2rem;
    border-top: 1px solid var(--op-line);
    border-image: none;
    background: #f7f9fc;
}

/* Six confirmed capabilities form two complete rows on wide screens. */
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li {
    min-height: 12rem;
    border: 1px solid var(--op-line);
    border-top: 4px solid #5b8def;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 .75rem 1.75rem rgb(4 31 73 / .06);
}
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(3n + 2) { border-top-color: var(--op-gold); }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(3n) { border-top-color: #72a990; }
[data-function-layout="project-management"] #capacidades-function .rh-feature-icon { background: #eaf1ff; color: var(--op-ink); }

/* Milestone cards use an ordered dashboard rhythm, with no horizontal overflow. */
[data-function-layout="project-management"] #flujo-function .cv-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    padding: 0;
}
[data-function-layout="project-management"] #flujo-function .cv-process-list::after { display: none; }
[data-function-layout="project-management"] #flujo-function .cv-process-card {
    position: relative;
    display: flex;
    min-height: 12rem;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5rem;
    border: 1px solid var(--op-line);
    border-radius: .875rem;
    border-top: 4px solid #5b8def;
    background: #fff;
    box-shadow: 0 .75rem 1.75rem rgb(4 31 73 / .06);
    text-align: left;
}
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(3n + 2) { border-top-color: var(--op-gold); }
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(3n) { border-top-color: #72a990; }
[data-function-layout="project-management"] #flujo-function .cv-process-card:hover { transform: translateY(-3px); }
[data-function-layout="project-management"] #flujo-function .cv-process-card-header { display: flex; width: 100%; justify-content: space-between; align-items: center; }
[data-function-layout="project-management"] #flujo-function .cv-process-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #eaf1ff;
    color: var(--op-ink);
    font-variant-numeric: tabular-nums;
}
[data-function-layout="project-management"] #flujo-function .cv-process-card h3 { margin-top: 1.25rem; color: var(--op-ink); text-align: left; }
[data-function-layout="project-management"] #flujo-function .cv-integration-panel { border-radius: .75rem; }

@keyframes project-dashboard-enter {
    from { opacity: 0; transform: translateY(1rem) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes project-progress-ring {
    from { opacity: 0; transform: rotate(-90deg) scale(.82); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}
@media (min-width: 1024px) {
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* Six capabilities: two rows of three. Overrides the older span 2/3 rules from the 6-column grid. */
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li,
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-last-child(2),
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:last-child { grid-column: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-function-layout="project-management"] #flujo-function .cv-process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:last-child { grid-column: auto; }
    [data-function-layout="project-management"] #flujo-function .cv-process-card { min-height: 10rem; }
}
@media (max-width: 767px) {
    [data-function-layout="project-management"] .function-report-panel { padding: 1.5rem; }
    [data-function-layout="project-management"] .function-report-panel > p { margin-inline: -1.5rem; padding-inline: 1.5rem; }
    [data-function-layout="project-management"] #flujo-function .cv-process-list { grid-template-columns: minmax(0, 1fr); }
    [data-function-layout="project-management"] #flujo-function .cv-process-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    [data-function-layout="project-management"] .function-report-panel,
    [data-function-layout="project-management"] .function-report-panel::after,
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li,
    [data-function-layout="project-management"] #flujo-function .cv-process-card,
    [data-function-layout="project-management"] .rh-function-benefits > li { animation: none; }
}
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li,
[data-function-layout="project-management"] #flujo-function .cv-process-card,
[data-function-layout="project-management"] .rh-function-benefits > li { animation: service-card-enter .55s cubic-bezier(.2, .7, .2, 1) both; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(2),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(2),
[data-function-layout="project-management"] .rh-function-benefits > li:nth-child(2) { animation-delay: .07s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(3),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(3),
[data-function-layout="project-management"] .rh-function-benefits > li:nth-child(3) { animation-delay: .14s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(4),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(4),
[data-function-layout="project-management"] .rh-function-benefits > li:nth-child(4) { animation-delay: .21s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(5),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(5) { animation-delay: .28s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(6),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(6) { animation-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
    [data-function-layout="project-management"] .function-report-panel,
    [data-function-layout="project-management"] .function-report-panel::after,
    [data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li,
    [data-function-layout="project-management"] #flujo-function .cv-process-card,
    [data-function-layout="project-management"] .rh-function-benefits > li { animation: none !important; }
}

/* Short, restrained motion emphasizes the order document and its operational steps. */
@keyframes service-card-enter {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li,
[data-function-layout="project-management"] #flujo-function .cv-process-card,
[data-function-layout="project-management"] .rh-function-benefits > li {
    animation: service-card-enter .55s cubic-bezier(.2, .7, .2, 1) both;
}
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(2),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(2),
[data-function-layout="project-management"] .rh-function-benefits > li:nth-child(2) { animation-delay: .07s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(3),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(3),
[data-function-layout="project-management"] .rh-function-benefits > li:nth-child(3) { animation-delay: .14s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(4),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(4),
[data-function-layout="project-management"] .rh-function-benefits > li:nth-child(4) { animation-delay: .21s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(5),
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(5) { animation-delay: .28s; }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li:nth-child(6) { animation-delay: .35s; }
[data-function-layout="project-management"] #flujo-function .cv-process-card {
    position: relative;
    min-height: 10rem;
    border: 1px solid var(--op-line);
    border-top: 5px solid var(--op-gold);
    box-shadow: 0 .75rem 1.75rem rgb(4 31 73 / .08);
}
[data-function-layout="project-management"] #flujo-function .cv-process-card:nth-child(even) { border-top-color: var(--op-steel); }
[data-function-layout="project-management"] #capacidades-function .rh-function-capabilities > li {
    min-height: 12rem;
    box-shadow: 0 .5rem 1.5rem rgb(4 31 73 / .06);
}
@media (max-width: 639px) {
    [data-function-layout="project-management"] #flujo-function .cv-process-list { gap: .75rem; }
    [data-function-layout="project-management"] #flujo-function .cv-process-card { min-height: 0; }
}


