/* Mavrica self-contained slides carousel (replaces Elementor PRO Slides) */
.mav-carousel{
    position:relative;
    width:100%;
    overflow:hidden;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
    background:#1b1b1b;
    --mav-h:540px;
}
.mav-carousel *{box-sizing:border-box;}
.mav-track{
    display:flex;
    height:var(--mav-h);
    transition:transform .6s cubic-bezier(.45,.05,.2,1);
    will-change:transform;
}
.mav-slide{
    position:relative;
    flex:0 0 100%;
    min-width:100%;
    height:100%;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}
.mav-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.45) 32%,rgba(0,0,0,.05) 62%,rgba(0,0,0,0) 100%);
    z-index:1;
}
.mav-caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    padding:30px 40px 56px;
    color:#fff;
    max-width:820px;
}
.mav-title{
    margin:0 0 .35em;
    color:#fff;
    font-size:2rem;
    line-height:1.15;
    font-weight:700;
    text-shadow:0 2px 12px rgba(0,0,0,.45);
}
.mav-desc{
    margin:0;
    color:#f1f1f1;
    font-size:1.05rem;
    line-height:1.5;
    text-shadow:0 1px 8px rgba(0,0,0,.5);
}
.mav-desc p{margin:0;}
.mav-btn{
    display:inline-block;
    margin-top:18px;
    padding:11px 26px;
    background:#fff;
    color:#111;
    border-radius:40px;
    font-weight:600;
    text-decoration:none;
    transition:background .2s,color .2s;
}
.mav-btn:hover{background:#ffd24d;color:#111;}

/* arrows */
.mav-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:4;
    width:46px;
    height:46px;
    border:0;
    border-radius:50%;
    background:rgba(0,0,0,.38);
    color:#fff;
    font-size:28px;
    line-height:46px;
    text-align:center;
    cursor:pointer;
    padding:0;
    transition:background .2s;
    -webkit-tap-highlight-color:transparent;
}
.mav-arrow:hover{background:rgba(0,0,0,.65);}
.mav-prev{left:16px;}
.mav-next{right:16px;}

/* dots */
.mav-dots{
    position:absolute;
    left:50%;
    bottom:18px;
    transform:translateX(-50%);
    z-index:5;
    display:flex;
    gap:9px;
}
.mav-dot{
    width:11px;
    height:11px;
    border-radius:50%;
    border:0;
    padding:0;
    background:rgba(255,255,255,.45);
    cursor:pointer;
    transition:background .2s,transform .2s;
}
.mav-dot:hover{background:rgba(255,255,255,.8);}
.mav-dot.is-active{background:#fff;transform:scale(1.25);}

@media (max-width:1024px){
    .mav-carousel{--mav-h:440px;}
    .mav-title{font-size:1.6rem;}
}
@media (max-width:600px){
    .mav-carousel{--mav-h:360px;border-radius:6px;}
    .mav-caption{padding:20px 22px 48px;}
    .mav-title{font-size:1.3rem;}
    .mav-desc{font-size:.95rem;}
    .mav-arrow{width:38px;height:38px;line-height:38px;font-size:22px;}
    .mav-prev{left:8px;}
    .mav-next{right:8px;}
}

/* ----- Apartment tiles (replaces Elementor PRO Call To Action) ----- */
.mav-cta{
    position:relative;
    display:block;
    width:100%;
    min-height:340px;
    height:100%;
    overflow:hidden;
    border-radius:10px;
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    color:#fff;
    text-decoration:none;
    box-shadow:0 8px 22px rgba(0,0,0,.16);
    transition:transform .35s ease,box-shadow .35s ease;
}
.mav-cta:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 34px rgba(0,0,0,.28);
}
.mav-cta-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.12) 100%);
    transition:background .35s ease;
}
.mav-cta:hover .mav-cta-shade{
    background:linear-gradient(to top,rgba(0,0,0,.82) 0%,rgba(0,0,0,.55) 55%,rgba(0,0,0,.25) 100%);
}
.mav-cta-body{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    padding:26px 26px 28px;
}
.mav-cta-title{
    font-size:1.45rem;
    font-weight:700;
    line-height:1.2;
    text-shadow:0 2px 10px rgba(0,0,0,.5);
}
.mav-cta-desc{
    margin-top:6px;
    font-size:1rem;
    line-height:1.45;
    color:#f0f0f0;
    text-shadow:0 1px 8px rgba(0,0,0,.55);
}
.mav-cta-desc p{margin:0;}
.mav-cta-btn{
    margin-top:16px;
    display:inline-block;
    padding:9px 22px;
    background:#fff;
    color:#111;
    border-radius:40px;
    font-size:.95rem;
    font-weight:600;
    transition:background .2s,color .2s;
}
.mav-cta:hover .mav-cta-btn{background:#ffd24d;color:#111;}

@media (max-width:600px){
    .mav-cta{min-height:280px;}
    .mav-cta-title{font-size:1.25rem;}
}
