[data-modulotemplate="1012"] {
    overflow: hidden;
}

[data-modulotemplate="1012"] * {
    box-sizing: border-box;
}

[data-modulotemplate="1012"] .special-box__inner {
    display: flex;
    align-items: stretch;
}

[data-modulotemplate="1012"] .special-box--media-left > .special-box__inner {
    flex-direction: row;
}

[data-modulotemplate="1012"] .special-box--media-right > .special-box__inner {
    flex-direction: row-reverse;
}

[data-modulotemplate="1012"] .special-box__media,
[data-modulotemplate="1012"] .special-box__content {
    width: 50%;
    flex: 0 0 50%;
}

[data-modulotemplate="1012"] .special-box__media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #0d97b5;
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    /*will-change: opacity, transform;*/
}

[data-modulotemplate="1012"] .special-box__media.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-modulotemplate="1012"] .special-box__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

[data-modulotemplate="1012"] .special-box__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 1 / 1;
}

[data-modulotemplate="1012"] .special-box__item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        background 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
    /*will-change: opacity, transform;*/
}

[data-modulotemplate="1012"] .special-box__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-modulotemplate="1012"] .special-box__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.04) 35%,
        rgba(255, 255, 255, 0) 65%
    );
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

[data-modulotemplate="1012"] .special-box__item-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

[data-modulotemplate="1012"] .special-box__item-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

[data-modulotemplate="1012"] .special-box__item-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

[data-modulotemplate="1012"] .special-box__item h3 {
    margin: 0;
    line-height: 1.25;
    font-weight: 400;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    [data-modulotemplate="1012"] .special-box__item:hover {
        filter: brightness(1.02);
        box-shadow:
            inset 0 0 0 0 rgba(255, 255, 255, 0.18),
            0 10px 22px rgba(0, 0, 0, 0.08);
    }

    [data-modulotemplate="1012"] .special-box__item:hover::after {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    [data-modulotemplate="1012"] .special-box--media-left > .special-box__inner,
    [data-modulotemplate="1012"] .special-box--media-right > .special-box__inner {
        flex-direction: column;
    }

    [data-modulotemplate="1012"] .special-box__media,
    [data-modulotemplate="1012"] .special-box__content {
        width: 100%;
        flex: 0 0 100%;
        aspect-ratio: 1 / 1;
    }

    [data-modulotemplate="1012"] .special-box__item h3 {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    [data-modulotemplate="1012"] .special-box__content {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        aspect-ratio: auto;
    }

    [data-modulotemplate="1012"] .special-box__item {
        min-height: 160px;
    }

    [data-modulotemplate="1012"] .special-box__item h3 {
        font-size: 24px;
    }
}