@import url("../design-tokens.css");

.tdi-why-us {
    padding: 56px 0 64px;
    color: var(--color-white);
}

.tdi-why-us__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4-5);
    margin-top: 28px;
}

.tdi-why-us__item {
    position: relative;
    min-height: 132px;
    padding: 24px 24px 24px 96px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.045), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
        #090c0c;
    overflow: hidden;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.tdi-why-us__item:hover {
    transform: translateY(-3px);
    border-color: rgba(229, 45, 36, 0.45);
    background:
        radial-gradient(circle at top left, rgba(229, 45, 36, 0.09), transparent 44%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.022)),
        #0a0d0d;
}

.tdi-why-us__item--wide {
    grid-column: 1 / -1;
    min-height: 112px;
    padding-top: 26px;
    padding-bottom: 26px;
}

.tdi-why-us__icon {
    position: absolute;
    left: 32px;
    top: 24px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(229, 45, 36, 0.11);
}

.tdi-why-us__icon-img {
    width: 23px;
    height: 23px;
    display: block;
    object-fit: contain;
}

.tdi-why-us__text {
    margin: 0;
    max-width: 100%;
    font-size: var(--font-size-sm);
    line-height: 1.55;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
}

.tdi-why-us__item--wide .tdi-why-us__text {
    max-width: 1080px;
    font-size: var(--font-size-sm);
    line-height: 1.65;
}

@media (max-width: 991px) {
    .tdi-why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tdi-why-us__item--wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .tdi-why-us__grid {
        grid-template-columns: 1fr;
    }

    .tdi-why-us__item,
    .tdi-why-us__item--wide {
        grid-column: auto;
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .tdi-why-us {
        padding: 42px 0 48px;
    }

    .tdi-why-us__grid {
        gap: 14px;
        margin-top: 22px;
    }

    .tdi-why-us__item {
        padding: 18px 18px 18px 78px;
        border-radius: 11px;
    }

    .tdi-why-us__icon {
        left: 20px;
        top: 20px;
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .tdi-why-us__icon-img {
        width: 20px;
        height: 20px;
    }

    .tdi-why-us__text,
    .tdi-why-us__item--wide .tdi-why-us__text {
        font-size: var(--font-size-xs);
        line-height: 1.5;
    }
}
.tdi-why-us__item--wide {
    grid-column: 1 / -1;
    min-height: 112px;
    padding-top: 26px;
    padding-bottom: 26px;
}