.tobor-features {
    position: relative;
    padding: 0 0 60px;
}

.tobor-features__hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-radius: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.tobor-features__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.tobor-features__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 980px;
    min-height: inherit;
    margin: 0 auto;
    padding: 72px 24px 144px;
    text-align: center;
}

.tobor-features__eyebrow {
    margin: 0 0 12px;
    color: #d8f06d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tobor-features__heading {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.tobor-features__description {
    max-width: 760px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.65;
}

.tobor-features__description p {
    margin: 0;
}

.tobor-features__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 28px;
}

.tobor-features__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 136px;
    padding: 16px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.tobor-features__button:hover,
.tobor-features__button:focus {
    transform: translateY(-1px);
    opacity: 0.96;
}

.tobor-features__button--primary {
    color: #141414;
    background: #b7e000;
}

.tobor-features__button--primary:hover,
.tobor-features__button--primary:focus {
    border-color: #7da300;
    background: #7da300;
}

.tobor-features__button--secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
}

.tobor-features__button--secondary:hover,
.tobor-features__button--secondary:focus {
    color: #141414;
    border-color: #ffffff;
    background: #ffffff;
}

.tobor-features__cards-wrap {
    position: relative;
    z-index: 2;
    margin-top: -132px;
    padding: 0 24px;
}

.tobor-features__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 1312px;
    margin: 0 auto;
}

.tobor-features__slide {
    min-width: 0;
}

.tobor-features__pagination {
    display: none;
}

.tobor-features__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 276px;
    padding: 64px 24px 32px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(18, 28, 45, 0.12);
    min-height: 260px !important;
}

.tobor-features__icon {
    position: absolute;
    top: -32px;
    left: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #5677e4;
    color: #fff;
    box-shadow: 0 16px 32px rgba(62, 88, 188, 0.28);
}

.tobor-features__icon i,
.tobor-features__icon svg {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.tobor-features__icon svg path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2 !important;
}

.tobor-features__icon svg * {
    fill: currentColor;
    stroke: currentColor;
}

.tobor-features__card-title {
    margin: 0 0 18px;
    color: #222;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.28;
}

.tobor-features__card-description {
    color: #545454;
    font-size: 17px;
    line-height: 1.48;
}

.tobor-features__card-description p {
    margin: 0;
}

@media (max-width: 1180px) {
        .tobor-features__cards {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 45px 30px !important;
            min-height: 260px !important;
        }
}

@media (max-width: 767px) {
    .tobor-features {
        padding-bottom: 32px;
    }

    .tobor-features__hero {
        min-height: 420px;
    }

    .tobor-features__content {
        padding: 56px 18px 116px;
    }

    .tobor-features__heading {
        font-size: clamp(30px, 9vw, 44px);
    }

    .tobor-features__description {
        font-size: 16px;
    }

    .tobor-features__actions {
        width: 50%;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .tobor-features__button {
        width: 100%;
    }

    .tobor-features__cards-wrap {
        margin-top: -92px;
        padding: 0 0 12px;
    }

    .tobor-features__cards {
        display: flex;
        gap: 0px;
        max-width: none;
        padding: 0 14px 32px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .tobor-features__cards::-webkit-scrollbar {
        display: none;
    }

    .tobor-features__slide {
        flex: 0 0 calc(100% - 28px);
        padding-top: 32px;
        margin-right: 14px;
        margin-left: 14px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .tobor-features__slide:last-child {
        margin-right: 0;
    }

    .tobor-features__card {
        min-height: 0;
        padding: 68px 20px 24px;
    }

    .tobor-features__icon {
        top: -32px;
        left: 20px;
    }

    .tobor-features__card-title {
        font-size: 20px;
    }

    .tobor-features__card-description {
        font-size: 16px;
    }

    .tobor-features__pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 18px;
    }

    .tobor-features__pagination-dot {
        width: 12px;
        height: 12px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #d1d4dc;
        transition: transform 0.2s ease, background-color 0.2s ease;
        cursor: pointer;
    }

    .tobor-features__pagination-dot.is-active {
        background: #5677e4;
        transform: scale(1.05);
    }
}
