/* =====================================
   WHY SECTION
===================================== */

.why-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.why-section__heading {
    max-width: 820px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    padding: 24px;
    min-height: 210px;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(92, 72, 40, 0.12);
}

.why-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

.why-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.8;
}

/* =====================================
   WHY BANNER
===================================== */

.why-banner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    align-items: stretch;

    padding: 18px;
    overflow: hidden;

    transition: transform 300ms ease,
        box-shadow 300ms ease;
}

.why-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(92, 72, 40, 0.14);
}

.why-banner__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

.why-banner__text h3 {
    margin: 14px 0 12px;
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text);
}

.why-banner__text p {
    margin: 0;
    max-width: 56ch;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.8;
}

.why-banner__media {
    min-height: 340px;
    border-radius: calc(var(--radius-xl) - 10px);
    overflow: hidden;

    transition: transform 300ms ease;
}

.why-banner:hover .why-banner__media {
    transform: scale(1.01);
}

.why-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 400ms ease;
}

.why-banner:hover .why-banner__media img {
    transform: scale(1.04);
}

/* =====================================
   BADGES
===================================== */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 16px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.62);

    color: #315256;
    font-size: 0.88rem;
    font-weight: 700;

    backdrop-filter: blur(14px);

    box-shadow: 0 10px 30px rgba(92, 72, 40, 0.08);

    transition:
        transform 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
}

.why-banner:hover .badge {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 34px rgba(92, 72, 40, 0.12);
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 980px) {

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-banner {
        grid-template-columns: 1fr;
    }

    .why-banner__media {
        min-height: 300px;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

    .why-section {
        gap: 18px;
    }

    .why-section__heading {
        text-align: center;
    }

    .why-section__heading h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .why-card {
        min-height: auto;
        padding: 22px;
        text-align: center;
    }

    .why-card h3 {
        font-size: 1.15rem;
    }

    .why-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .why-banner {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 14px;
    }

    /* IMAGE FIRST */

    .why-banner__media {
        order: 1;
        min-height: 260px;
    }

    .why-banner__text {
        order: 2;
        padding: 12px;
        text-align: center;
    }

    .why-banner__text h3 {
        font-size: 1.9rem;
        line-height: 1.1;
    }

    .why-banner__text p {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .badge {
        margin: 0 auto;
    }
}

/* =====================================
   SMALL PHONES
===================================== */

@media (max-width: 480px) {

    .why-section__heading h2 {
        font-size: 1.8rem;
    }

    .why-banner__media {
        min-height: 220px;
    }

    .why-banner__text h3 {
        font-size: 1.6rem;
    }

    .why-card {
        padding: 18px;
    }

    .why-card p {
        font-size: 0.9rem;
    }
}