/* ============================================================
   Why Meadan — CTA Split (stone)
   Figma: node 4514-28213 | 1440×696 | bg #C8BBAB
   Left: content 538px | Right: image 669×536
   Padding: 80px top/bottom, 60px sides | Inner: 1320×536
   ============================================================ */

.wm-cta {
    background-color: #C8BBAB;
    padding: 80px 60px;
    box-sizing: border-box;
}

/* Inner: 1320px, two cols space-between, vertically centred */
.wm-cta__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* ── Left: content column (538px) ── */
.wm-cta__content {
    width: 538px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Eyebrow label: Geist Medium 14px uppercase */
.wm-cta__label {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #1C1C1C;
    margin: 0;
}

/* Heading: Freight Neo Book 40px */
.wm-cta__title {
    font-family: 'Freight Neo', 'freight-neo-pro', Georgia, serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: 0;
    color: #1C1C1C;
    margin: 0;
}

/* Description: Geist Light 16px, 139% line-height */
.wm-cta__desc {
    font-family: 'Geist', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.39;
    letter-spacing: 0;
    color: #1C1C1C;
    margin: 0;
}

/* Button row: 48px tall, 12px gap */
.wm-cta__btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wm-cta__btn {
    height: 48px;
    padding: 0 24px;
    border-radius: 1000px;
}

/* ── Right: image (669×536) ── */
.wm-cta__image-wrap {
    width: 669px;
    flex-shrink: 0;
    overflow: hidden;
}

.wm-cta__img {
    width: 100%;
    aspect-ratio: 669 / 536;
    object-fit: cover;
    display: block;
    transition: transform var(--image-hover-duration, 0.5s) var(--image-hover-ease, ease);
}

.wm-cta__image-wrap:hover .wm-cta__img {
    transform: scale(var(--image-hover-scale, 1.03));
}

/* ── Tablet ── */
@media (max-width: 1200px) {
    .wm-cta {
        padding: 80px 40px;
    }
    .wm-cta__content {
        width: 44%;
    }
    .wm-cta__image-wrap {
        width: 52%;
    }
}

/* ── Mobile — 390×800.83, padding 100px top/bottom 16px sides, inner 358×601 ── */
@media (max-width: 768px) {
    .wm-cta {
        padding: 100px 16px;
    }

    /* Stack: content on top, image below, 40px gap */
    .wm-cta__inner {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    /* Content container: 358×274, gap 40px between all children */
    .wm-cta__content {
        width: 100%;
        gap: 40px;
    }

    /* Title: Freight Neo 32px, 100% line-height */
    .wm-cta__title {
        font-size: 32px;
        line-height: 1;
    }

    /* Image: 358×286.83 — maintains desktop 669:536 ratio */
    .wm-cta__image-wrap {
        width: 100%;
    }

    .wm-cta__img {
        aspect-ratio: 669 / 536;
    }

    /* Buttons: stay in a row, equal width, 12px gap */
    .wm-cta__btns {
        flex-direction: row;
        gap: 12px;
        width: 100%;
    }

    .wm-cta__btn {
        flex: 1;
    }
}
