/* =========================================================
   LEGAL CTA
   ========================================================= */

.legal-cta {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #f7f5ef;

    border-top: 1px solid rgba(30, 42, 35, 0.12);
    border-bottom: 1px solid rgba(30, 42, 35, 0.12);

    overflow: hidden;
}


/* =========================================================
   INNER
   ========================================================= */

.legal-cta__inner {
    width: 100%;
    min-height: 200px;

    margin: 0 auto;
    padding: 0px 0px 0px 20px;
    display: grid;

    grid-template-columns:
        85px
        1px
        minmax(400px, 1fr)
        minmax(230px, 300px)
        200px;

    align-items: center;

    column-gap: 28px;
}


/* =========================================================
   LAW ICON
   ========================================================= */

.legal-cta__icon {
    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-cta__icon img {
    display: block;

    width: 100%;
    height: 100%;

    /* object-fit: contain; */
}


/* =========================================================
   DIVIDER
   ========================================================= */

.legal-cta__divider {
    width: 1px;
    height: 72px;

    background: #b28a4b;

    opacity: 0.55;
}


/* =========================================================
   CONTENT
   ========================================================= */

.legal-cta__content {
    min-width: 0;
}

.legal-cta__eyebrow {
    display: block;

    margin: 0 0 7px;

    font-size: 10px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color: #a27a3d;
}


.legal-cta__title {
    margin: 0 0 7px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.08;

    font-weight: 400;

    letter-spacing: -0.025em;

    color: #18231d;
}


.legal-cta__description {
    max-width: 600px;

    margin: 0;

    font-size: 13px;

    line-height: 1.55;

    color: #3c413d;
}


/* =========================================================
   BUTTON AREA
   ========================================================= */

.legal-cta__action {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    justify-content: center;
}


.legal-cta__button {
    min-width: 180px;
    height: 42px;

    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border: 1px solid #b28a4b;

    background: #fffdf8;

    color: #1b271f;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}


.legal-cta__button:hover {
    background: #1b2a20;

    border-color: #1b2a20;

    color: #fff;
}


.legal-cta__arrow {
    font-size: 18px;

    line-height: 1;

    transition: transform 0.25s ease;
}


.legal-cta__button:hover .legal-cta__arrow {
    transform: translateX(4px);
}


/* =========================================================
   SMALL NOTE
   ========================================================= */

.legal-cta__note {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-top: 9px;

    font-size: 12px;

    line-height: 1.3;

    color: #686b67;
}


.legal-cta__calendar {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;

    color: #a27a3d;
}


/* =========================================================
   RIGHT IMAGE
   ========================================================= */

.legal-cta__visual {
    align-self: stretch;

    height: 200px;

    overflow: hidden;

    position: relative;
}


.legal-cta__visual img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}


/* subtle fade into CTA */

.legal-cta__visual::before {
    content: "";

    position: absolute;

    z-index: 1;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #f7f5ef 0%,
            rgba(247, 245, 239, 0.15) 25%,
            rgba(247, 245, 239, 0) 55%
        );
}


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

@media (max-width: 1100px) {

    .legal-cta__inner {
        width: 100%;

        grid-template-columns:
            65px
            1px
            minmax(300px, 1fr)
            220px;

        column-gap: 20px;
    }

    .legal-cta__visual {
        display: none;
    }

    .legal-cta__title {
        font-size: 34px;
    }

}


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

@media (max-width: 700px) {

    .legal-cta {
        padding: 35px 0;
    }


    .legal-cta__inner {
        width:100%;

        display: grid;

        grid-template-columns: 55px 1px 1fr;

        column-gap: 16px;

        row-gap: 22px;
    }


    .legal-cta__icon {
        width: 52px;
        height: 52px;
    }


    .legal-cta__divider {
        height: 60px;
    }


    .legal-cta__content {
        align-self: center;
    }


    .legal-cta__eyebrow {
        font-size: 9px;
        margin-bottom: 6px;
    }


    .legal-cta__title {
        font-size: 28px;
        line-height: 1.1;

        margin-bottom: 8px;
    }


    .legal-cta__description {
        font-size: 13px;
    }


    .legal-cta__action {
        grid-column: 3;

        align-items: flex-start;
    }


    .legal-cta__button {
        width: 100%;
        max-width: 220px;
    }


    .legal-cta__visual {
        display: none;
    }

}

/* =========================================================
   MOBILE RESPONSIVE FIX
   ========================================================= */

@media (max-width: 700px) {

    .legal-cta {
        padding: 24px 16px; /* Content layout overflow se bachane ke liye side padding */
        box-sizing: border-box;
    }

    .legal-cta__inner {
        width: 100%;
        display: flex; /* Grid ki jagah Flexbox se stack layout responsive rahega */
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 14px;
    }

    /* Icon aur Divider Wrapper - Side by Side */
    .legal-cta__icon {
        width: 42px;
        height: 42px;
    }

    /* Mobile par Divider line hide ya subtle rakhein taaki space na ghire */
    .legal-cta__divider {
        display: none; 
    }

    /* Content Area Typography Scaling */
    .legal-cta__content {
        width: 100%;
    }

    .legal-cta__eyebrow {
        font-size: 8px; /* Chota font size */
        margin-bottom: 4px;
        letter-spacing: 0.12em;
    }

    .legal-cta__title {
        font-size: 20px; /* Cut na ho isliye title font size chota kiya */
        line-height: 1.2;
        margin-bottom: 6px;
    }

    .legal-cta__description {
        font-size: 11px; /* Description font size scaling */
        line-height: 1.45;
        max-width: 100%;
    }

    /* Action / Button Area */
    .legal-cta__action {
        width: 100%;
        margin-top: 4px;
    }

    .legal-cta__button {
        width: 100%; /* Mobile viewport me button fit ho jayega */
        max-width: 100%;
        height: 38px;
        padding: 0 12px;
        font-size: 11px;
    }

    .legal-cta__arrow {
        font-size: 14px;
    }

    .legal-cta__note {
        font-size: 10px; /* Small note font size */
        margin-top: 6px;
        gap: 4px;
    }

    .legal-cta__calendar {
        font-size: 16px;
    }

    .legal-cta__visual {
        display: none;
    }

}