/* ==========================================================================
   Política de Seguridad y Salud en el Trabajo
   Paleta y tipografía heredadas de assets/css/style.css (#002d85, Montserrat)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.sst-hero {
    position: relative;
    min-height: 560px;
    margin-top: -120px !important; /* deja el header flotando sobre la imagen */
    padding: 220px 0 90px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.sst-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(0, 45, 133, 0.92) 0%, rgba(0, 45, 133, 0.72) 45%, rgba(0, 20, 60, 0.45) 100%);
}

.sst-hero .container {
    position: relative;
    z-index: 2;
}

.sst-hero__content {
    max-width: 760px;
}

.sst-hero__eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}

.sst-hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 22px;
}

.sst-hero__subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 620px;
}

/* --------------------------------------------------------------------------
   2. Misión y visión
   -------------------------------------------------------------------------- */
.sst-marco {
    position: relative;
    padding: 110px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sst-marco__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 58, 0.86);
}

.sst-marco .container {
    position: relative;
    z-index: 2;
}

.sst-marco__row {
    row-gap: 30px;
}

.sst-marco__card {
    height: 100%;
    padding: 42px 38px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    backdrop-filter: blur(4px);
}

.sst-marco__heading {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 22px;
    padding-bottom: 16px;
}

.sst-marco__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

.sst-marco__text {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

/* --------------------------------------------------------------------------
   3. Declaración
   -------------------------------------------------------------------------- */
.sst-declaracion {
    padding: 100px 0;
    background-color: #ffffff;
}

.sst-declaracion__heading {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.3;
    color: #002d85;
    margin: 0 0 28px;
}

.sst-declaracion__text p {
    font-size: 17px;
    line-height: 1.8;
    color: #3d4759;
    margin-bottom: 20px;
    max-width: 560px;
}

.sst-declaracion__text p:last-child {
    margin-bottom: 0;
}

.sst-declaracion__figure {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 45, 133, 0.16);
}

.sst-declaracion__figure img {
    display: block;
    width: 100%;
    height: auto;
}


/* --------------------------------------------------------------------------
   4. Compromisos
   Lista editorial, no tarjetas. Una politica es un documento normativo:
   se lee en columna, con numeracion y jerarquia tipografica, sin iconos
   decorativos ni titulos inventados que el documento original no tiene.
   -------------------------------------------------------------------------- */
.sst-compromisos {
    padding: 110px 0 120px;
    background-color: #f4f6fa;
}

.sst-compromisos__layout {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
    gap: 70px;
    align-items: start;
}

.sst-compromisos__aside {
    position: sticky;
    top: 130px;
}

.sst-compromisos__heading {
    font-size: 37px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #002d85;
    margin: 0 0 22px;
    text-wrap: balance;
}

.sst-compromisos__count {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b879c;
    margin: 0;
    padding-top: 18px;
    border-top: 2px solid rgba(0, 45, 133, 0.16);
    max-width: 190px;
}

.sst-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.sst-lista__item {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 30px 0 32px;
    border-top: 1px solid rgba(0, 45, 133, 0.14);
}

.sst-lista__item:first-child {
    border-top: none;
    padding-top: 4px;
}

.sst-lista__item:last-child {
    padding-bottom: 0;
}

.sst-lista__num {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.9;
    letter-spacing: 0.06em;
    font-variant-numeric: tabular-nums;
    color: #9aa6bd;
    transition: color 0.25s ease;
}

.sst-lista__texto {
    font-size: 18px;
    line-height: 1.72;
    color: #47536a;
    margin: 0;
    max-width: 62ch;
    text-wrap: pretty;
}

.sst-lista__apertura {
    font-weight: 600;
    color: #002d85;
}

.sst-lista__item:hover .sst-lista__num {
    color: #002d85;
}

/* --------------------------------------------------------------------------
   5. Entrada suave
   El contenido de esta pagina nunca depende de JavaScript: la animacion corre
   sola al cargar y, si el navegador la ignora, todo queda visible igual.
   -------------------------------------------------------------------------- */
@keyframes sstFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.sst-marco__card,
.sst-declaracion__text,
.sst-declaracion__figure,
.sst-lista__item {
    animation: sstFadeUp 0.65s ease both;
}

.sst-lista__item:nth-child(2) { animation-delay: 0.06s; }
.sst-lista__item:nth-child(3) { animation-delay: 0.12s; }
.sst-lista__item:nth-child(4) { animation-delay: 0.18s; }
.sst-lista__item:nth-child(5) { animation-delay: 0.24s; }

.sst-declaracion__figure { animation-delay: 0.12s; }
.sst-marco__card:last-child { animation-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
    .sst-marco__card,
    .sst-declaracion__text,
    .sst-declaracion__figure,
    .sst-lista__item {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   6. Cierre
   Azul tinta, mas oscuro que el #002E85 del pie, para que el cierre y el
   footer no se lean como un unico bloque azul.
   -------------------------------------------------------------------------- */
.sst-cierre {
    position: relative;
    padding: 92px 0 96px;
    background-color: #00133a;
    overflow: hidden;
}

.sst-cierre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4d7fd6 0%, rgba(77, 127, 214, 0) 55%);
}

.sst-cierre__inner {
    max-width: 940px;
}

.sst-cierre__text {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin: 0 0 46px;
    max-width: 800px;
    text-wrap: pretty;
}

.sst-cierre__firma {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding-left: 22px;
    border-left: 2px solid #4d7fd6;
}

.sst-cierre__firma-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8fa8d4;
}

.sst-cierre__firma-org {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
}

.sst-cierre__firma-fecha {
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   7. Variante de sección
   Los mismos bloques insertados dentro de Nosotros, donde no abren la página
   sino que continúan un relato que ya viene de misión y visión.
   -------------------------------------------------------------------------- */
.sst-seccion-eyebrow {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7b879c;
    margin-bottom: 34px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 45, 133, 0.14);
}

.sst-declaracion--seccion {
    padding: 90px 0 70px;
}

.sst-compromisos--seccion {
    padding: 70px 0 80px;
}

.sst-cierre--seccion {
    padding: 0 0 100px;
    background-color: #f4f6fa;
}

.sst-cierre--seccion::before {
    display: none;
}

.sst-cierre--seccion .sst-cierre__inner {
    max-width: none;
    padding: 40px 44px;
    background: #ffffff;
    border-left: 3px solid #002d85;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 6px 24px rgba(0, 45, 133, 0.07);
}

.sst-cierre--seccion .sst-cierre__text {
    font-size: 19px;
    font-weight: 500;
    color: #3d4759;
    margin-bottom: 28px;
    max-width: 760px;
}

.sst-cierre__pie {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
}

.sst-cierre--seccion .sst-cierre__firma {
    padding-left: 0;
    border-left: none;
}

.sst-cierre--seccion .sst-cierre__firma-label {
    color: #8892a6;
}

.sst-cierre--seccion .sst-cierre__firma-org {
    color: #002d85;
}

.sst-cierre--seccion .sst-cierre__firma-fecha {
    color: #6b7688;
}

.sst-cierre__enlace {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 600;
    color: #002d85;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid rgba(0, 45, 133, 0.25);
    transition: border-color 0.25s ease, gap 0.25s ease;
}

.sst-cierre__enlace::after {
    content: '\2192';
    transition: transform 0.25s cubic-bezier(0.22, 0.68, 0.32, 1);
}

.sst-cierre__enlace:hover {
    color: #002d85;
    border-bottom-color: #002d85;
}

.sst-cierre__enlace:hover::after {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .sst-declaracion--seccion {
        padding: 64px 0 50px;
    }

    .sst-compromisos--seccion {
        padding: 50px 0 60px;
    }

    .sst-cierre--seccion {
        padding-bottom: 70px;
    }

    .sst-cierre--seccion .sst-cierre__inner {
        padding: 30px 26px;
    }

    .sst-cierre--seccion .sst-cierre__text {
        font-size: 17px;
    }

    .sst-cierre__pie {
        flex-direction: column;
        align-items: flex-start;
    }
}
