/* =====================================================================
   "Why Choose Bot Engine": the questions owners ask before they start,
   each answered on its own card. The guarantee closes the section.
   ===================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1040px;
    margin: 40px auto 0;
}

.why-q {
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    border: 1px solid #e6e9f2;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.why-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eef1ff;
    color: var(--primary-color);
}

.why-icon svg {
    width: 26px;
    height: 26px;
}

.why-q h3 {
    margin-bottom: 6px;
    font-size: 1.15rem;
    line-height: 1.35;
    color: var(--text-color);
}

.why-q p {
    margin: 0;
    color: var(--text-light);
}

/* the guarantee: full width, in the site's blue */
.why-guarantee {
    grid-column: 1 / -1;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 18px 40px rgba(67, 97, 238, 0.3);
}

.why-guarantee .why-icon {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.why-guarantee h3 {
    color: var(--white);
}

.why-guarantee p {
    color: rgba(255, 255, 255, 0.88);
}

.why-guarantee-body {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 20px;
}

.why-guarantee-body > div {
    flex: 1;
}

.why-guarantee-link {
    flex: none;
    padding: 10px 22px;
    border-radius: 50px;
    background: var(--white);
    color: var(--secondary-color);
    font-weight: 700;
    white-space: nowrap;
}

.why-guarantee-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .why-q {
        gap: 14px;
        padding: 18px;
    }

    .why-icon {
        width: 42px;
        height: 42px;
    }

    .why-q h3 {
        font-size: 1.05rem;
    }

    .why-q p {
        font-size: 0.95rem;
    }

    .why-guarantee-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
