.empleos-pesca,
.legado-potencial,
.pesca-riesgo {
    background-color: transparent;
}

.empleos-pesca__hero,
.legado-potencial__hero,
.pesca-riesgo__hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    max-height: 1080px;
}

.empleos-pesca__backgrounds,
.legado-potencial__backgrounds,
.pesca-riesgo__backgrounds {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.empleos-pesca__slide,
.legado-potencial__slide,
.pesca-riesgo__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.9s ease;
    transform-origin: center;
}

.empleos-pesca__slide.is-active,
.legado-potencial__slide.is-active,
.pesca-riesgo__slide.is-active {
    opacity: 1;
}

.empleos-pesca__overlay,
.legado-potencial__overlay,
.pesca-riesgo__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.empleos-pesca__content,
.legado-potencial__content,
.pesca-riesgo__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.empleos-pesca__title,
.legado-potencial__title,
.pesca-riesgo__title {
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 0.92;
}

.empleos-pesca__description,
.legado-potencial__description,
.pesca-riesgo__description {
    line-height: 1.35;
}

.empleos-pesca__hero {
    background-color: #101316;
}

.empleos-pesca__slide.is-active {
    animation: empleos-pesca-kenburns 3.2s ease-out forwards;
}

.empleos-pesca__overlay {
    background: linear-gradient(180deg, rgba(7, 10, 14, 0.18) 0%, rgba(7, 10, 14, 0.55) 52%, rgba(7, 10, 14, 0.86) 100%);
}

.empleos-pesca__content {
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.2rem, 3.2vw, 3rem);
}

.empleos-pesca__text {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    height: 100%;
    max-width: 700px;
}

.empleos-pesca__title {
    font-size: 50px;
}

.empleos-pesca__description {
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.86);
    max-width: 980px;
    line-height: 1.36;
}

.empleos-pesca__hero.is-empty {
    min-height: 380px;
}

.legado-potencial__hero,
.pesca-riesgo__hero {
    background-color: #0e1216;
}

.legado-potencial__slide.is-active {
    animation: legado-potencial-kenburns 3.2s ease-out forwards;
}

.pesca-riesgo__slide.is-active {
    animation: pesca-riesgo-kenburns 3.2s ease-out forwards;
}

.legado-potencial__overlay,
.pesca-riesgo__overlay {
    background: linear-gradient(180deg, rgba(6, 11, 16, 0.22) 0%, rgba(6, 11, 16, 0.54) 48%, rgba(6, 11, 16, 0.85) 100%);
}

.legado-potencial__content,
.pesca-riesgo__content {
    padding: clamp(1.25rem, 3.1vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legado-potencial__text,
.pesca-riesgo__text {
    max-width: 980px;
}

.legado-potencial__description,
.pesca-riesgo__description {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
}

.legado-potencial__hero.is-empty,
.pesca-riesgo__hero.is-empty {
    min-height: 360px;
}

@keyframes empleos-pesca-kenburns {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.1) translate3d(-1.4%, -1.1%, 0);
    }
}

@keyframes legado-potencial-kenburns {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.14) translate3d(-1.3%, -1%, 0);
    }
}

@keyframes pesca-riesgo-kenburns {
    from {
        transform: scale(1) translate3d(0, 0, 0);
    }

    to {
        transform: scale(1.14) translate3d(-1.3%, -1%, 0);
    }
}

@media (max-width: 768px) {
    .empleos-pesca__content {
        align-items: flex-end;
    }

    .legado-potencial__title {
        font-size: clamp(2.1rem, 10vw, 3.9rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .empleos-pesca__slide,
    .legado-potencial__slide,
    .pesca-riesgo__slide {
        transition: none;
    }

    .empleos-pesca__slide.is-active,
    .legado-potencial__slide.is-active,
    .pesca-riesgo__slide.is-active {
        animation: none;
        transform: none;
    }
}
