/* =========================================================
   UNC SGC v1.5.25
   Pagina Sistema de Gestion de la Calidad
   ========================================================= */

body.unc-sgc-body-page {
    overflow-x: hidden;
}

body.unc-sgc-body-page .page-header,
body.unc-sgc-body-page .entry-header {
    display: none !important;
}

.unc-sgc-page,
.unc-sgc-page * {
    box-sizing: border-box;
}

.unc-sgc-page {
    --unc-sgc-green: #06803b;
    --unc-sgc-green-deep: #064e2b;
    --unc-sgc-green-dark: #033d22;
    --unc-sgc-green-soft: #edf5e9;
    --unc-sgc-green-pale: #f6f9f1;
    --unc-sgc-orange: #f39a3d;
    --unc-sgc-text: #1f2933;
    --unc-sgc-muted: #65706d;
    --unc-sgc-border: rgba(6, 128, 59, 0.14);
    --unc-sgc-shadow: 0 14px 38px rgba(22, 61, 43, 0.09);
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    color: var(--unc-sgc-text);
    background: #fff;
    line-height: 1.55;
}

.unc-sgc-page a {
    text-decoration: none;
}

.unc-sgc-shell {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
}

.unc-sgc-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 118px) 0 clamp(64px, 7vw, 102px);
    background:
        radial-gradient(circle at 82% 18%, rgba(243, 154, 61, 0.14), transparent 22%),
        radial-gradient(circle at 12% 82%, rgba(6, 128, 59, 0.12), transparent 27%),
        linear-gradient(135deg, #f7faef 0%, #edf5e9 58%, #ffffff 100%);
}

.unc-sgc-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -160px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(6, 128, 59, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 48px rgba(6, 128, 59, 0.035), 0 0 0 96px rgba(6, 128, 59, 0.02);
    pointer-events: none;
}

.unc-sgc-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.unc-sgc-eyebrow,
.unc-sgc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--unc-sgc-green);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.unc-sgc-eyebrow::before,
.unc-sgc-kicker::before {
    content: "";
    width: 22px;
    height: 3px;
    border-radius: 99px;
    background: var(--unc-sgc-orange);
}

.unc-sgc-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: var(--unc-sgc-green-deep);
    font-size: clamp(2.3rem, 4.5vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: 780;
}

.unc-sgc-hero-line {
    width: 86px;
    height: 5px;
    margin: 27px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--unc-sgc-green), var(--unc-sgc-orange));
}

.unc-sgc-section {
    padding: clamp(62px, 7vw, 96px) 0;
    background: #fff;
}

.unc-sgc-section--soft {
    background: var(--unc-sgc-green-pale);
}

.unc-sgc-map-section {
    padding-top: clamp(54px, 6vw, 80px);
}

.unc-sgc-section-heading {
    margin-bottom: 30px;
}

.unc-sgc-section-heading--center {
    text-align: center;
}

.unc-sgc-section-heading h2 {
    margin: 0;
    color: var(--unc-sgc-green-deep);
    font-size: clamp(2rem, 3.1vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    font-weight: 760;
}

.unc-sgc-process-map {
    display: grid;
    gap: 15px;
    padding: clamp(18px, 2vw, 28px);
    border: 1px solid var(--unc-sgc-border);
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--unc-sgc-shadow);
}

.unc-sgc-map-lane {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: stretch;
    min-height: 100px;
    overflow: hidden;
    border-radius: 22px;
    background: #f8faf8;
    border: 1px solid rgba(6, 128, 59, 0.09);
}

.unc-sgc-map-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    color: #fff;
    font-weight: 760;
    font-size: 1.03rem;
    text-align: center;
}

.unc-sgc-map-lane--strategic .unc-sgc-map-label {
    background: linear-gradient(135deg, #064e2b, #06803b);
}

.unc-sgc-map-lane--mission .unc-sgc-map-label {
    background: linear-gradient(135deg, #06803b, #229b56);
}

.unc-sgc-map-lane--support .unc-sgc-map-label {
    background: linear-gradient(135deg, #4b705f, #678476);
}

.unc-sgc-map-items {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    gap: 10px;
    padding: 19px 22px;
}

.unc-sgc-map-items span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid rgba(6, 128, 59, 0.13);
    border-radius: 999px;
    background: #fff;
    color: var(--unc-sgc-green-dark);
    font-size: 0.93rem;
    font-weight: 650;
    box-shadow: 0 5px 15px rgba(22, 61, 43, 0.045);
}

.unc-sgc-grid {
    display: grid;
    gap: 22px;
}

.unc-sgc-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.unc-sgc-grid--mission {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.unc-sgc-grid--support {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.unc-sgc-process-card--wide {
    grid-column: 1 / -1;
}

.unc-sgc-process-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 2.6vw, 34px);
    border: 1px solid var(--unc-sgc-border);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 61, 43, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.unc-sgc-process-card::after {
    content: "";
    position: absolute;
    top: -54px;
    right: -54px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(6, 128, 59, 0.035);
    pointer-events: none;
}

.unc-sgc-process-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 128, 59, 0.25);
    box-shadow: var(--unc-sgc-shadow);
}

.unc-sgc-process-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 19px;
}

.unc-sgc-process-mark {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--unc-sgc-orange);
    box-shadow: 0 0 0 6px rgba(243, 154, 61, 0.13);
}

.unc-sgc-process-card h3 {
    margin: 0;
    color: var(--unc-sgc-green-deep);
    font-size: clamp(1.2rem, 1.6vw, 1.48rem);
    line-height: 1.22;
    font-weight: 730;
}

.unc-sgc-links {
    display: grid;
    gap: 9px;
}

.unc-sgc-link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 47px;
    padding: 10px 12px;
    border-radius: 14px;
    color: #36433e;
    font-size: 0.96rem;
    font-weight: 560;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.unc-sgc-link:hover,
.unc-sgc-link:focus-visible {
    color: var(--unc-sgc-green-deep);
    background: var(--unc-sgc-green-soft);
    transform: translateX(3px);
}

.unc-sgc-link:focus-visible,
.unc-sgc-feature-card:focus-visible {
    outline: 3px solid rgba(243, 154, 61, 0.45);
    outline-offset: 3px;
}

.unc-sgc-link-icon {
    display: inline-grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: var(--unc-sgc-green);
    background: rgba(6, 128, 59, 0.09);
}

.unc-sgc-link-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.unc-sgc-feature-grid {
    display: grid;
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
}

.unc-sgc-feature-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.unc-sgc-feature-grid--one {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.unc-sgc-feature-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    padding: 25px 28px;
    overflow: hidden;
    border: 1px solid var(--unc-sgc-border);
    border-radius: 26px;
    color: var(--unc-sgc-text);
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 61, 43, 0.065);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.unc-sgc-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 128, 59, 0.28);
    box-shadow: var(--unc-sgc-shadow);
}

.unc-sgc-feature-card--large {
    min-height: 146px;
}

.unc-sgc-feature-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 20px;
    color: var(--unc-sgc-green);
    background: linear-gradient(145deg, #eef6e9, #f9fbf5);
    border: 1px solid rgba(6, 128, 59, 0.12);
}

.unc-sgc-feature-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.unc-sgc-feature-card strong,
.unc-sgc-feature-card small {
    display: block;
}

.unc-sgc-feature-card strong {
    color: var(--unc-sgc-green-deep);
    font-size: 1.22rem;
    line-height: 1.25;
}

.unc-sgc-feature-card small {
    margin-top: 5px;
    color: var(--unc-sgc-muted);
    font-size: 0.9rem;
}

.unc-sgc-feature-arrow {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--unc-sgc-green);
    font-size: 1.25rem;
    transition: transform 180ms ease, background 180ms ease;
}

.unc-sgc-feature-card:hover .unc-sgc-feature-arrow {
    transform: translateX(3px);
    background: var(--unc-sgc-orange);
}

@media (max-width: 900px) {
    .unc-sgc-shell {
        width: min(100% - 34px, 1380px);
    }

    .unc-sgc-grid--two,
    .unc-sgc-grid--mission,
    .unc-sgc-feature-grid--two {
        grid-template-columns: 1fr;
    }

    .unc-sgc-process-card--wide {
        grid-column: auto;
    }

    .unc-sgc-map-lane {
        grid-template-columns: 1fr;
    }

    .unc-sgc-map-label {
        min-height: 58px;
    }
}

@media (max-width: 600px) {
    .unc-sgc-shell {
        width: min(100% - 26px, 1380px);
    }

    .unc-sgc-hero {
        padding: 64px 0 58px;
    }

    .unc-sgc-hero h1 {
        font-size: clamp(2.05rem, 10vw, 2.8rem);
    }

    .unc-sgc-section {
        padding: 54px 0;
    }

    .unc-sgc-process-map {
        padding: 12px;
        border-radius: 22px;
    }

    .unc-sgc-map-lane {
        border-radius: 17px;
    }

    .unc-sgc-map-items {
        display: grid;
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .unc-sgc-map-items span {
        width: 100%;
        border-radius: 13px;
    }

    .unc-sgc-process-card {
        padding: 22px 18px;
        border-radius: 21px;
    }

    .unc-sgc-link {
        padding-left: 7px;
        padding-right: 7px;
    }

    .unc-sgc-feature-card {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 0;
        padding: 21px 18px;
        border-radius: 22px;
    }

    .unc-sgc-feature-icon {
        width: 54px;
        height: 54px;
        border-radius: 17px;
    }

    .unc-sgc-feature-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .unc-sgc-page *,
    .unc-sgc-page *::before,
    .unc-sgc-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* UNC_SGC_MEDIA_V1527 */

.unc-sgc-page-banner {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.unc-sgc-page-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
}

.unc-sgc-map-image {
    width: min(1180px, calc(100% - 40px));
    margin: -28px auto 64px;
    text-align: center;
}

.unc-sgc-map-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 24px;
}

@media (max-width: 767px) {
    .unc-sgc-page-banner img {
        max-height: none;
    }

    .unc-sgc-map-image {
        width: calc(100% - 28px);
        margin: -10px auto 42px;
    }

    .unc-sgc-map-image img {
        border-radius: 16px;
    }
}

/* UNC_SGC_MAP_IMAGE_FIX_V1528
   Corrección puntual de visibilidad.
   No modifica renderer ni enlaces.
*/

.unc-sgc-map-image {
    position: relative !important;
    z-index: 2 !important;

    display: block !important;

    width: min(1180px, calc(100% - 40px)) !important;
    max-width: 1180px !important;

    margin: 34px auto 64px !important;
    padding: 0 !important;

    visibility: visible !important;
    opacity: 1 !important;

    overflow: visible !important;
}

.unc-sgc-map-image img {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 auto !important;

    visibility: visible !important;
    opacity: 1 !important;

    object-fit: contain !important;
    object-position: center !important;

    border-radius: 18px !important;
}

@media (max-width: 767px) {
    .unc-sgc-map-image {
        width: calc(100% - 28px) !important;
        margin: 26px auto 42px !important;
    }

    .unc-sgc-map-image img {
        border-radius: 12px !important;
    }
}


/* UNC_SGC_HIDE_GLOBAL_CTA_V1529
   Oculta únicamente en /sgc/ el bloque:
   "Da el siguiente paso con la UNC".
*/

.unc-sgc-body-page .unc-next-step,
.unc-sgc-body-page .unc-next-step-section,
.unc-sgc-body-page .unc-global-cta,
.unc-sgc-body-page .unc-global-cta-section {
    display: none !important;
}


/* UNC_SGC_HIDE_REAL_FOOTER_CTA_V1530
   Oculta el CTA global únicamente dentro de la página SGC.
*/

body.unc-sgc-body-page .unc-footer-cta-row {
    display: none !important;
}


/* UNC_SGC_BANNER_VISIBILITY_FIX_V1532
   Banner exclusivo SGC.
   No modifica otros banners del sitio.
*/

body.unc-sgc-body-page
.unc-sgc-page
> .unc-sgc-page-banner {
    position: relative !important;
    z-index: 3 !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 1px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;

    background: transparent !important;
}

body.unc-sgc-body-page
.unc-sgc-page
> .unc-sgc-page-banner
> img {
    position: relative !important;

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 100% !important;
    max-width: 100% !important;

    height: auto !important;
    max-height: none !important;
    min-height: 1px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    object-position: center !important;
}

@media (max-width: 767px) {
    body.unc-sgc-body-page
    .unc-sgc-page
    > .unc-sgc-page-banner,
    body.unc-sgc-body-page
    .unc-sgc-page
    > .unc-sgc-page-banner
    > img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
}


/* UNC_SGC_BANNER_FIXED_V1534 */

.unc-sgc-page-banner {
    width:100%;
    overflow:hidden;
    margin:0 auto 48px;
}

.unc-sgc-page-banner img {

    display:block;

    width:100%;
    height:clamp(280px, 34vw, 520px);

    object-fit:cover;
    object-position:center;

    border-radius:0 0 28px 28px;
}

@media(max-width:767px){

    .unc-sgc-page-banner img{
        height:auto;
        min-height:180px;
        border-radius:0 0 16px 16px;
    }

}


/* UNC_SGC_BANNER_BOX_V1540 */

.unc-sgc-page-banner {

    width: min(1380px, calc(100% - 96px));

    margin: 32px auto 48px;

    overflow: hidden;

    aspect-ratio: 2048 / 717;

    border-radius: 28px;

}


.unc-sgc-page-banner img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

}


@media (max-width: 767px) {

    .unc-sgc-page-banner {

        width: calc(100% - 28px);

        margin: 20px auto 32px;

        border-radius: 18px;

    }

}

/* UNC_SGC_BANNER_CONTAINER_V1541 */

.unc-sgc-page-banner {

    width: min(1380px, calc(100% - 96px));

    margin: 40px auto 48px;

    overflow: hidden;

}

.unc-sgc-page-banner img {

    display:block;

    width:100%;

    height:auto;

    aspect-ratio:2048 / 717;

    object-fit:cover;

    object-position:center center;

    border-radius:28px;

}

@media(max-width:767px){

    .unc-sgc-page-banner {

        width:calc(100% - 28px);

        margin:24px auto 32px;

    }

    .unc-sgc-page-banner img {

        border-radius:18px;

    }

}
