/* =========================================================
 * Al-Jathnan — Why Us Editorial
 * Shortcode: [aj_why_us]
 * ======================================================= */

.aj-why-us{
    --aj-why-us-blue:var(--aj-navy,#0a2540);
    position:relative;
    isolation:isolate;
    width:100vw;
    max-width:100vw;
    margin-inline:calc(50% - 50vw);
    overflow:hidden;
    background:#fffdfa;
    color:var(--aj-why-us-blue);
    scroll-margin-top:110px;
}

.aj-why-us::before{
    content:"";
    position:absolute;
    z-index:-2;
    width:560px;
    height:560px;
    inset-inline-start:-390px;
    top:-315px;
    border:1px solid rgba(10,37,64,.04);
    border-radius:50%;
    box-shadow:
        0 0 0 76px rgba(10,37,64,.01),
        0 0 0 152px rgba(10,37,64,.006);
    pointer-events:none;
}

.aj-why-us::after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    background:
        linear-gradient(90deg,transparent 49.96%,rgba(10,37,64,.018) 50%,transparent 50.04%);
    pointer-events:none;
}

.aj-why-us__shell{
    position:relative;
    z-index:1;
    padding-block:clamp(54px,5vw,74px);
}

/* =========================================================
 * Header
 * ======================================================= */

.aj-why-us__head{
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(300px,.7fr);
    align-items:end;
    gap:clamp(36px,6vw,86px);
    margin-bottom:clamp(28px,3.5vw,38px);
}

.aj-why-us__eyebrow{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 16px;
    color:var(--aj-gold-deep);
    font-family:var(--aj-font-body);
    font-size:.8rem;
    font-weight:700;
    letter-spacing:.025em;
}

.aj-why-us__eyebrow::before{
    content:"";
    width:32px;
    height:1px;
    flex:0 0 32px;
    background:var(--aj-gold);
}

.aj-why-us__title{
    max-width:780px;
    margin:0;
    color:var(--aj-why-us-blue);
    font-family:var(--aj-font-display);
    font-size:clamp(2.05rem,3.7vw,3.25rem);
    font-weight:800;
    line-height:1.3;
    letter-spacing:-.035em;
    text-wrap:balance;
}

.aj-why-us__lead{
    max-width:590px;
    margin:0;
    color:var(--aj-text);
    font-family:var(--aj-font-body);
    font-size:.96rem;
    line-height:1.95;
}

/* =========================================================
 * Reasons — editorial rows, no cards, no icons, no numbers
 * ======================================================= */

.aj-why-us__reasons{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:clamp(38px,6vw,92px);
    margin-top:0;
}

.aj-why-us__reason{
    position:relative;
    display:grid;
    grid-template-columns:92px minmax(0,1fr);
    gap:22px;
    min-width:0;
    padding:22px 0 24px;
    border-top:1px solid var(--aj-line-strong);
}

.aj-why-us__reason:nth-last-child(-n+2){
    border-bottom:1px solid var(--aj-line-strong);
}

.aj-why-us__reason-kicker{
    align-self:start;
    padding-top:5px;
    color:var(--aj-gold-deep);
    font-size:.73rem;
    font-weight:800;
    letter-spacing:.035em;
}

.aj-why-us__reason-copy{
    min-width:0;
}

.aj-why-us__reason h3{
    margin:0;
    color:var(--aj-why-us-blue);
    font-family:var(--aj-font-display);
    font-size:1.12rem;
    font-weight:750;
    line-height:1.5;
    transition:color var(--aj-duration) var(--aj-ease);
}

.aj-why-us__reason p{
    max-width:500px;
    margin:7px 0 0;
    color:var(--aj-text-soft);
    font-family:var(--aj-font-body);
    font-size:.82rem;
    line-height:1.85;
}

.aj-why-us__reason-line{
    position:absolute;
    inset-inline-start:0;
    top:-1px;
    width:0;
    height:1px;
    background:var(--aj-gold);
    transition:width .55s var(--aj-ease);
}

.aj-why-us__reason:hover .aj-why-us__reason-line{
    width:100%;
}

.aj-why-us__reason:hover h3{
    color:#8a7040;
}

/* =========================================================
 * Footer
 * ======================================================= */

.aj-why-us__footer{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:34px;
    margin-top:clamp(26px,3vw,36px);
    padding:22px 26px;
    border:1px solid rgba(10,37,64,.08);
    background:rgba(244,238,228,.48);
}

.aj-why-us__footer-copy{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:24px;
}

.aj-why-us__footer-label{
    color:var(--aj-gold-deep);
    font-size:.72rem;
    font-weight:800;
    white-space:nowrap;
}

.aj-why-us__footer-copy p{
    max-width:760px;
    margin:0;
    color:var(--aj-why-us-blue);
    font-size:.86rem;
    font-weight:600;
    line-height:1.8;
}

.aj-why-us__cta,
a.aj-why-us__cta,
a.aj-why-us__cta:visited{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-height:48px;
    padding:0 20px;
    border:1px solid var(--aj-why-us-blue);
    border-radius:14px;
    background:var(--aj-why-us-blue);
    color:#fff!important;
    font-family:var(--aj-font-body);
    font-size:.79rem;
    font-weight:750;
    line-height:1;
    text-decoration:none!important;
    white-space:nowrap;
    box-shadow:0 12px 28px rgba(10,37,64,.11);
    transition:
        transform var(--aj-duration) var(--aj-ease),
        background-color var(--aj-duration) var(--aj-ease),
        box-shadow var(--aj-duration) var(--aj-ease);
}

.aj-why-us__cta:hover,
a.aj-why-us__cta:hover,
a.aj-why-us__cta:focus{
    transform:translateY(-2px);
    background:var(--aj-why-us-blue);
    color:#fff!important;
    box-shadow:0 17px 34px rgba(10,37,64,.18);
}

.aj-why-us__cta svg{
    width:16px;
    height:16px;
    flex:0 0 16px;
    transform:none;
}

/* =========================================================
 * Reveal
 * ======================================================= */

.aj-why-us [data-aj-reveal]{
    opacity:0;
    transform:translateY(18px);
    transition:
        opacity 700ms var(--aj-ease) var(--aj-delay,0ms),
        transform 700ms var(--aj-ease) var(--aj-delay,0ms);
}

.aj-why-us [data-aj-reveal].is-visible{
    opacity:1;
    transform:none;
}

/* =========================================================
 * Responsive
 * ======================================================= */

@media(max-width:1050px){
    .aj-why-us__head{
        grid-template-columns:1fr;
        align-items:start;
        gap:18px;
        margin-bottom:30px;
    }

    .aj-why-us__lead{
        max-width:760px;
    }

}

@media(max-width:800px){
    .aj-why-us__reasons{
        grid-template-columns:1fr;
    }

    .aj-why-us__reason:nth-last-child(-n+2){
        border-bottom:0;
    }

    .aj-why-us__reason:last-child{
        border-bottom:1px solid var(--aj-line-strong);
    }

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

@media(max-width:640px){
    .aj-why-us__shell{
        padding-block:42px;
    }

    .aj-why-us__title{font-size:26px;}

    .aj-why-us__reason{
        grid-template-columns:72px minmax(0,1fr);
        gap:14px;
        padding:18px 0 20px;
    }

    .aj-why-us__reason h3{
        font-size:1rem;
    }

    .aj-why-us__reason p{
        font-size:.78rem;
    }

    .aj-why-us__footer{
        margin-top:22px;
        padding:20px 18px;
    }

    .aj-why-us__footer-copy{
        grid-template-columns:1fr;
        gap:8px;
    }

    .aj-why-us__cta{
        width:100%;
    }
}

@media(prefers-reduced-motion:reduce){
    .aj-why-us [data-aj-reveal]{
        opacity:1!important;
        transform:none!important;
        transition:none!important;
    }
}

html[dir="rtl"] .aj-why-us__cta svg{transform:scaleX(-1);}
html:not([dir="rtl"]) .aj-why-us__title{line-height:1.1;letter-spacing:-.04em;}
html:not([dir="rtl"]) .aj-why-us__lead{line-height:1.75;}
