
.work-page{
    --work-bg:#020b12;
    --work-panel:#06131f;
    --work-panel-2:#071723;
    --work-line:rgba(63,135,198,.28);
    --work-blue:#0787ff;
    --work-blue-2:#19a0ff;
    --work-text:#f4f8fc;
    --work-muted:#9aabbd;
    background:var(--work-bg);
    color:var(--work-text);
    overflow:hidden;
}
.work-page *{box-sizing:border-box}
.work-page .wrap{width:min(100% - 48px,1440px);margin-inline:auto}
.work-kicker{display:block;color:#85a1bc;font-size:14px;letter-spacing:.17em;font-weight:600}
.work-hero{
    position:relative;
    min-height:620px;
    padding-top:88px;
    border-bottom:1px solid rgba(75,142,201,.16);
    background:
        radial-gradient(circle at 76% 35%,rgba(0,105,209,.16),transparent 38%),
        linear-gradient(180deg,#03101a,#020b12);
}
.work-hero-grid{
    position:absolute;
    inset:0;
    opacity:.45;
    background-image:
        linear-gradient(rgba(53,116,169,.035) 1px,transparent 1px),
        linear-gradient(90deg,rgba(53,116,169,.035) 1px,transparent 1px);
    background-size:72px 72px;
}
.work-hero-inner{
    position:relative;
    z-index:1;
    min-height:530px;
    display:grid;
    grid-template-columns:.86fr 1.14fr;
    align-items:center;
    gap:28px;
}
.work-hero-copy{padding:32px 0 24px}
.work-hero h1{
    margin:14px 0 20px;
    font-size:clamp(58px,5.1vw,82px);
    line-height:.98;
    letter-spacing:-.05em;
}
.work-hero h1 span,.work-hero h1 strong{display:block}
.work-hero h1 strong{color:var(--work-blue)}
.work-hero-copy>p{
    max-width:640px;
    color:#c3ced9;
    font-size:19px;
    line-height:1.58;
}
.work-hero-actions{display:flex;align-items:center;gap:14px;margin-top:28px}
.work-btn{
    min-height:52px;
    padding:0 24px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:13px;
    font-weight:700;
    font-size:15px;
    transition:.25s;
}
.work-btn svg,.work-arrow svg{width:18px;fill:none;stroke:currentColor;stroke-width:2}
.work-btn-light{
    background:#fff;
    color:#06111d;
    box-shadow:0 8px 28px rgba(0,135,255,.15);
}
.work-btn-outline{
    border:1px solid rgba(149,182,210,.45);
    color:#fff;
}
.work-btn:hover{transform:translateY(-2px)}
.work-benefits{
    display:flex;
    align-items:center;
    gap:0;
    margin-top:30px;
}
.work-benefits>div{
    display:flex;
    align-items:center;
    gap:8px;
    padding-right:20px;
    margin-right:20px;
    border-right:1px solid rgba(126,163,194,.16);
    color:#e0e9f2;
    font-size:14px;
    white-space:nowrap;
}
.work-benefits>div:last-child{border-right:0;margin-right:0;padding-right:0}
.benefit-icon{
    width:30px;height:30px;border-radius:50%;
    display:grid;place-items:center;
    border:1px solid rgba(40,151,255,.35);
    color:#70b9ff;
}
.benefit-icon svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.work-hero-visual{
    position:relative;
    height:500px;
    align-self:end;
    overflow:hidden;
}
.work-hero-visual:before{
    content:"";
    position:absolute;
    z-index:2;
    inset:0;
    background:linear-gradient(90deg,#020b12 0%,transparent 20%,transparent 87%,#020b12 100%),
               linear-gradient(180deg,#020b12 0%,transparent 12%,transparent 90%,#020b12 100%);
    pointer-events:none;
}
.work-hero-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    filter:saturate(.94) contrast(1.03) brightness(.88);
}

.work-projects{padding:32px 0 64px;background:#020b12}
.work-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:25px;
}
.work-filter{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}
.work-filter button{
    min-height:42px;
    padding:0 20px;
    border-radius:999px;
    border:1px solid rgba(79,145,201,.3);
    background:#06121d;
    color:#e5eef7;
    font:inherit;
    font-size:14px;
    cursor:pointer;
    transition:.2s;
}
.work-filter button.active,.work-filter button:hover{
    border-color:#0787ff;
    background:#0787ff;
    color:#fff;
    box-shadow:0 0 22px rgba(0,135,255,.24);
}
.work-search{
    flex:0 0 300px;
    height:42px;
    border:1px solid rgba(79,145,201,.3);
    border-radius:999px;
    background:#05111b;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 16px;
}
.work-search svg{width:17px;fill:none;stroke:#9fb0c0;stroke-width:1.8}
.work-search input{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#eaf2fa;
    font:inherit;
    font-size:14px;
}
.work-search input::placeholder{color:#66798d}

.work-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.work-card{
    overflow:hidden;
    border:1px solid rgba(62,137,201,.34);
    border-radius:12px;
    background:linear-gradient(180deg,#071722,#06131d);
    transition:.28s;
    display:flex;
    flex-direction:column;
    height:100%;
}
.work-card:hover{
    transform:translateY(-4px);
    border-color:rgba(0,137,255,.72);
    box-shadow:0 18px 45px rgba(0,0,0,.24);
}
.work-card.is-hidden{display:none}
.work-card-media{
    position:relative;
    height:225px;
    overflow:hidden;
    background:#0b1b29;
}
.work-card-media img{
    width:100%;height:100%;object-fit:cover;
    transition:.5s;
}
.work-card:hover .work-card-media img{transform:scale(1.03)}
.work-card-placeholder{
    width:100%;height:100%;
    display:grid;place-items:center;
    background:radial-gradient(circle at 50% 40%,rgba(9,120,236,.2),transparent 36%),linear-gradient(135deg,#0a1a28,#162d40);
}
.placeholder-device{
    width:72%;aspect-ratio:1.6;border:4px solid #4a5f70;border-radius:8px;background:#06111b;transform:perspective(600px) rotateY(-7deg);
}
.placeholder-top{display:block;height:16%;border-bottom:1px solid #1f3546}
.placeholder-device strong{height:84%;display:grid;place-items:center;color:#118bff;font-size:54px}
.work-category-badge{
    position:absolute;
    top:12px;left:12px;
    padding:8px 13px;
    border-radius:999px;
    color:#fff;
    font-size:12px;
    font-weight:700;
    border:1px solid rgba(255,255,255,.18);
    backdrop-filter:blur(8px);
}
.badge-business{background:#0c73cc}
.badge-e-commerce{background:#098b73}
.badge-website{background:#1287e8}
.badge-mobile{background:#9c2c9f}
.badge-digital{background:#6a4bc4}
.work-card-body{padding:19px 20px 17px;display:flex;flex-direction:column;flex:1}
.work-card h2{
    margin:0 0 7px;
    color:#fff;
    font-size:20px;
    line-height:1.25;
}
.work-card p{
    min-height:48px;
    margin:0;
    color:#a9b8c7;
    font-size:15px;
    line-height:1.48;
    flex:1;
}
.work-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin-top:auto;
    padding-top:14px;
}
.work-view-link{
    color:#0790ff;
    font-size:14px;
    font-weight:650;
    text-decoration:underline;
    text-underline-offset:3px;
}
.work-arrow{
    width:34px;height:34px;
    border-radius:50%;
    border:1px solid #0787ff;
    display:grid;place-items:center;
    color:#0787ff;
}

.work-stats{padding:0 0 46px;background:#020b12}
.stats-panel{
    min-height:110px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    border:1px solid rgba(56,127,187,.26);
    border-radius:12px;
    background:linear-gradient(180deg,#06141f,#05111b);
}
.stat-item{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:22px;
}
.stat-item:not(:last-child):after{
    content:"";
    position:absolute;
    right:0;
    top:22%;
    height:56%;
    width:1px;
    background:rgba(76,138,190,.2);
}
.stat-icon{
    width:54px;height:54px;border-radius:50%;
    display:grid;place-items:center;
    background:#062038;
    color:#078fff;
}
.stat-icon svg{width:28px;fill:none;stroke:currentColor;stroke-width:1.8}
.stat-item strong{display:block;color:#fff;font-size:28px;line-height:1}
.stat-item div>span{display:block;margin-top:6px;color:#a3b2c1;font-size:13px}

.work-proof{padding:0 0 46px;background:#020b12}
.proof-panel{
    position:relative;
    min-height:150px;
    padding:27px 32px;
    display:grid;
    grid-template-columns:1.15fr 1fr;
    align-items:center;
    gap:30px;
    border:1px solid rgba(56,127,187,.28);
    border-radius:12px;
    background:
        radial-gradient(circle at 42% 48%,rgba(20,109,194,.08),transparent 35%),
        linear-gradient(180deg,#061521,#05121c);
}
.proof-copy blockquote{
    max-width:690px;
    margin:10px 0 8px;
    color:#fff;
    font-size:20px;
    font-weight:700;
    line-height:1.45;
}
.proof-copy small{color:#7890a6}
.proof-logos{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:26px;
    color:#8999a9;
    font-weight:700;
}
.proof-logos span:nth-child(2){font-size:18px}
.proof-logos span:nth-child(3){font-size:17px}
.proof-logos span:last-child{font-size:11px;font-weight:400}
.proof-dots{
    position:absolute;
    right:24px;
    bottom:16px;
    display:flex;gap:5px;
}
.proof-dots i{
    width:5px;height:5px;border-radius:50%;background:#33556f;
}
.proof-dots i.active{background:#0787ff}

.work-cta{padding:0 0 66px;background:#020b12}
.work-cta-panel{
    position:relative;
    min-height:170px;
    overflow:hidden;
    border:1px solid rgba(0,133,255,.64);
    border-radius:12px;
    padding:31px 36px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    background:
        radial-gradient(circle at 80% 10%,rgba(15,103,206,.3),transparent 26%),
        linear-gradient(110deg,#061a33,#08274a 64%,#0a2b55);
}
.cta-copy{position:relative;z-index:2}
.cta-copy h2{
    margin:9px 0 8px;
    font-size:34px;
    line-height:1.05;
}
.cta-copy h2 strong{color:#0787ff}
.cta-copy p{margin:0;color:#bdcad8;font-size:15px}
.cta-action{
    position:relative;z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:9px;
    min-width:210px;
}
.cta-action small{color:#8495a8;font-size:11px}
.cta-wave{
    position:absolute;
    right:-30px;
    bottom:-72px;
    width:58%;
    height:230px;
    opacity:1;
    transform:rotate(-5deg);
    border-radius:52% 48% 0 0 / 78% 68% 0 0;
    background:
        radial-gradient(ellipse at 23% 25%,rgba(35,181,255,.98) 0%,rgba(8,126,255,.95) 16%,rgba(4,67,165,.82) 34%,rgba(2,30,74,.15) 58%,transparent 70%);
    filter:drop-shadow(0 0 26px rgba(0,129,255,.42));
    pointer-events:none;
}
.cta-wave::before{
    content:"";
    position:absolute;
    left:8%;
    top:17%;
    width:78%;
    height:84%;
    border-radius:52% 48% 18% 12% / 68% 64% 24% 18%;
    border-top:3px solid rgba(76,186,255,.96);
    transform:rotate(7deg);
    box-shadow:
        0 -3px 18px rgba(20,149,255,.7),
        inset 0 22px 34px rgba(0,104,255,.12);
}
.cta-wave::after{
    content:"";
    position:absolute;
    left:34%;
    top:5%;
    width:42%;
    height:72%;
    border-radius:50%;
    background:radial-gradient(circle at 38% 34%,rgba(95,211,255,.82),rgba(11,117,255,.28) 30%,transparent 62%);
    filter:blur(5px);
}

html[dir="rtl"] .work-hero-copy,
html[dir="rtl"] .work-card-body,
html[dir="rtl"] .proof-copy,
html[dir="rtl"] .cta-copy,
html[dir="rtl"] .stat-item{
    direction:rtl;
    text-align:right;
}
html[dir="rtl"] .work-benefits>div{
    padding-right:0;margin-right:0;border-right:0;
    padding-left:20px;margin-left:20px;border-left:1px solid rgba(126,163,194,.16);
}
html[dir="rtl"] .work-benefits>div:last-child{border-left:0;margin-left:0;padding-left:0}
html[dir="rtl"] .work-category-badge{left:auto;right:12px}
html[dir="rtl"] .stat-item:not(:last-child):after{right:auto;left:0}
html[dir="rtl"] .proof-dots{right:auto;left:24px}

@media(max-width:1200px){
    .work-hero-inner{grid-template-columns:1fr 1fr}
    .work-hero h1{font-size:58px}
    .work-benefits{flex-wrap:wrap;gap:12px}
    .work-benefits>div{border:0;margin:0;padding:0 12px 0 0}
    .work-toolbar{align-items:flex-start;flex-direction:column}
    .work-search{width:100%;flex-basis:auto}
    .work-cards{grid-template-columns:repeat(2,1fr)}
    .proof-panel{grid-template-columns:1fr}
    .proof-logos{justify-content:flex-start}
}
@media(max-width:820px){
    .work-page .wrap{width:min(100% - 32px,1440px)}
    .work-hero{padding-top:74px}
    .work-hero-inner{display:flex;flex-direction:column;min-height:auto;padding:54px 0 24px}
    .work-hero-copy{width:100%}
    .work-hero h1{font-size:clamp(48px,11vw,68px)}
    .work-hero-copy>p{font-size:17px}
    .work-hero-visual{width:100%;height:360px}
    .work-filter{flex-wrap:nowrap;width:100%;overflow-x:auto;padding-bottom:5px}
    .work-filter button{white-space:nowrap}
    .work-cards{grid-template-columns:1fr}
    .work-card-media{height:auto;aspect-ratio:1.55}
    .stats-panel{grid-template-columns:1fr 1fr}
    .stat-item:nth-child(2):after{display:none}
    .proof-logos{flex-wrap:wrap}
    .work-cta-panel{align-items:flex-start;flex-direction:column}
    .cta-action{width:100%;align-items:stretch}
    .cta-action .work-btn{width:100%}
}
@media(max-width:520px){
    .work-page .wrap{width:min(100% - 24px,1440px)}
    .work-hero-inner{padding-top:42px}
    .work-hero-actions{align-items:flex-start;flex-direction:column}
    .work-hero-actions .work-btn{width:100%}
    .work-benefits{display:grid;grid-template-columns:1fr}
    .work-benefits>div{font-size:13px}
    .work-hero-visual{height:260px}
    .work-toolbar{margin-bottom:18px}
    .work-cards{gap:14px}
    .stats-panel{grid-template-columns:1fr}
    .stat-item{justify-content:flex-start}
    .stat-item:not(:last-child):after{top:auto;left:22px;right:22px;bottom:0;width:auto;height:1px}
    .proof-panel{padding:24px 20px}
    .proof-copy blockquote{font-size:18px}
    .proof-logos{gap:16px;font-size:13px}
    .work-cta-panel{padding:28px 22px}
    .cta-copy h2{font-size:30px}
}


/* Work spacing + CTA refinement */
.work-cta-panel{
    min-height:190px;
    padding:34px 42px;
}
.cta-copy{
    max-width:760px;
}
.cta-copy h2{
    font-size:clamp(34px,3.4vw,54px);
}
.cta-action{
    margin-left:auto;
    padding-right:18px;
}
html[dir="rtl"] .cta-action{
    margin-left:0;
    margin-right:auto;
    padding-right:0;
    padding-left:18px;
}

@media(max-width:820px){
    .work-projects{padding-bottom:52px}
    .work-stats{padding-bottom:36px}
    .work-proof{padding-bottom:36px}
    .work-cta{padding-bottom:52px}
    .work-cta-panel{min-height:unset;padding:32px 28px}
    .cta-wave{
        width:100%;
        height:210px;
        right:-22%;
        bottom:-95px;
        opacity:.7;
    }
    .cta-action{
        margin-left:0;
        padding-right:0;
    }
}

/* FINAL QA — Work containment */
.work-page{overflow:hidden}
.work-page .wrap{width:min(1400px,calc(100% - 64px))}
.work-hero-inner>*{min-width:0}
html[dir="rtl"] .work-benefits>div{padding-right:0;margin-right:0;border-right:0;padding-left:20px;margin-left:20px;border-left:1px solid rgba(126,163,194,.16)}
html[dir="rtl"] .work-benefits>div:last-child{padding-left:0;margin-left:0;border-left:0}
@media(max-width:1200px){.work-page .wrap{width:min(100% - 48px,1200px)}}
@media(max-width:760px){.work-page .wrap{width:calc(100% - 28px)}}

/* Work video background — layout intentionally unchanged */
.work-hero{
    isolation:isolate;
    overflow:hidden;
}
.work-hero-bg-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:-3;
    pointer-events:none;
}
.work-hero-video-overlay{
    position:absolute;
    inset:0;
    z-index:-2;
    pointer-events:none;
    background:linear-gradient(90deg,rgba(1,13,22,.88) 0%,rgba(1,13,22,.72) 45%,rgba(1,13,22,.46) 100%);
}
html[dir="rtl"] .work-hero-video-overlay{
    background:linear-gradient(270deg,rgba(1,13,22,.88) 0%,rgba(1,13,22,.72) 45%,rgba(1,13,22,.46) 100%);
}
.work-hero-grid{z-index:-1;}
@media (max-width:767px){
    .work-hero-bg-video{object-position:center;}
    .work-hero-video-overlay{background:rgba(1,13,22,.72);}
}
@media (prefers-reduced-motion:reduce){
    .work-hero-bg-video{display:none;}
}


/* Video spans behind header — preserve original Work content position */
body.page-video-under-header .work-hero{margin-top:calc(-1 * var(--page-chrome-space));padding-top:calc(88px + var(--page-chrome-space));min-height:calc(620px + var(--page-chrome-space))}
@media(max-width:760px){body.page-video-under-header .work-hero{padding-top:calc(74px + var(--page-chrome-space))}}

/* FINAL FIX — make Work video physically continue behind breadcrumb + fixed header */
.page-chrome{background:transparent!important}
.work-hero{
    margin-top:calc(-1 * var(--page-chrome-space));
    padding-top:calc(88px + var(--page-chrome-space));
    min-height:calc(620px + var(--page-chrome-space));
}
.work-hero-bg-video{z-index:0!important}
.work-hero-video-overlay{z-index:1!important}
.work-hero-grid{z-index:2!important}
.work-hero-inner{z-index:3!important}
@media(max-width:760px){
    .work-hero{padding-top:calc(74px + var(--page-chrome-space))}
}

/* VIDEO HEADER FINAL — keep original Work layout while video begins at viewport top */
body.page-video-under-header .work-hero{
    margin-top:0!important;
    padding-top:292px!important;
    min-height:824px!important;
}
@media(max-width:760px){body.page-video-under-header .work-hero{padding-top:240px!important;min-height:786px!important}}

/* Work Light Mode */
html[data-theme="light"] .work-projects,
html[data-theme="light"] .work-stats,
html[data-theme="light"] .work-proof{
    background:#f6f8fc;
}
html[data-theme="light"] .work-filter button{
    background:#fff;
    color:#334155;
    border-color:#d7dfea;
}
html[data-theme="light"] .work-filter button.active,
html[data-theme="light"] .work-filter button:hover{
    background:#0787ff;
    border-color:#0787ff;
    color:#fff;
}
html[data-theme="light"] .work-search{
    background:#fff;
    border-color:#d7dfea;
}
html[data-theme="light"] .work-search input{color:#0b1324}
html[data-theme="light"] .work-search input::placeholder{color:#7b8798}
html[data-theme="light"] .work-search svg{stroke:#667085}
html[data-theme="light"] .work-card{
    background:#fff;
    border-color:#d7dfea;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
}
html[data-theme="light"] .work-card:hover{
    border-color:rgba(7,135,255,.6);
    box-shadow:0 18px 42px rgba(15,23,42,.10);
}
html[data-theme="light"] .work-card h2{color:#0b1324}
html[data-theme="light"] .work-card p{color:#5e6b7c}
html[data-theme="light"] .stats-panel{
    background:#fff;
    border-color:#d7dfea;
}
html[data-theme="light"] .stat-item:not(:last-child):after{background:#d7dfea}
html[data-theme="light"] .stat-icon{background:#edf6ff;color:#0787ff}
html[data-theme="light"] .stat-item strong{color:#0b1324}
html[data-theme="light"] .stat-item div>span{color:#667085}
html[data-theme="light"] .proof-panel{
    background:#fff;
    border-color:#d7dfea;
    box-shadow:0 10px 30px rgba(15,23,42,.04);
}
html[data-theme="light"] .proof-copy blockquote{color:#0b1324}
html[data-theme="light"] .proof-copy small,
html[data-theme="light"] .proof-logos{color:#667085}
html[data-theme="light"] .proof-dots i{background:#b8c5d3}
html[data-theme="light"] .proof-dots i.active{background:#0787ff}
html[data-theme="light"] .work-cta{background:#f6f8fc}
html[data-theme="light"] body.page-video-under-header header.nav:not(.scrolled) .logo-word,
html[data-theme="light"] body.page-video-under-header header.nav:not(.scrolled) .links a{color:#fff}
html[data-theme="light"] body.page-video-under-header header.nav:not(.scrolled) .links a:hover,
html[data-theme="light"] body.page-video-under-header header.nav:not(.scrolled) .links a.active{color:#fff}

/* WORK TESTIMONIALS — backend-driven bilingual carousel */
.work-proof{
    padding:0 0 54px;
    background:#020b12;
}
.work-testimonials-panel{
    position:relative;
    display:grid;
    grid-template-columns:minmax(285px,.72fr) minmax(0,2.28fr);
    gap:54px;
    min-height:400px;
    padding:54px 42px 34px;
    border:1px solid rgba(26,126,202,.45);
    border-radius:18px;
    background:
        radial-gradient(circle at 38% 42%,rgba(0,136,255,.10),transparent 34%),
        linear-gradient(180deg,rgba(4,20,31,.98),rgba(3,16,25,.98));
    box-shadow:inset 0 0 70px rgba(1,120,218,.025);
    overflow:hidden;
}
.work-testimonials-intro{
    align-self:center;
    min-width:0;
}
.work-testimonials-intro .work-kicker{
    color:#a6c9e7;
    letter-spacing:.22em;
}
.work-testimonials-intro h2{
    margin:20px 0 14px;
    color:#f8fbff;
    font-size:clamp(38px,3.4vw,54px);
    line-height:1.02;
    letter-spacing:-.04em;
}
.work-testimonials-intro h2 span,
.work-testimonials-intro h2 strong{display:block}
.work-testimonials-intro h2 strong{
    margin-top:7px;
    color:#078cff;
}
.work-testimonials-intro>p{
    max-width:360px;
    margin:0;
    color:#9eb0c2;
    font-size:16px;
    line-height:1.65;
}
.testimonial-arrows{
    display:flex;
    gap:16px;
    margin-top:30px;
}
.testimonial-arrow{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border:1px solid rgba(56,127,187,.25);
    border-radius:50%;
    background:#071824;
    color:#4f6e88;
    cursor:pointer;
    transition:.25s ease;
}
.testimonial-arrow svg{
    width:24px;
    height:24px;
    fill:none;
    stroke:currentColor;
    stroke-width:2.2;
}
.testimonial-arrow:hover:not(:disabled),
.testimonial-arrow:focus-visible{
    color:#fff;
    border-color:#078cff;
    box-shadow:0 0 24px rgba(7,140,255,.28),inset 0 0 18px rgba(7,140,255,.10);
    outline:none;
}
.testimonial-arrow:disabled{opacity:.35;cursor:default}
.work-testimonials-content{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    min-width:0;
}
.work-testimonial-card{
    display:none;
    min-width:0;
    min-height:300px;
    padding:29px 28px 25px;
    flex-direction:column;
    border:1px solid rgba(24,128,205,.48);
    border-radius:18px;
    background:
        radial-gradient(circle at 90% 0,rgba(6,130,231,.055),transparent 34%),
        linear-gradient(180deg,rgba(4,20,32,.92),rgba(3,16,26,.96));
    box-shadow:0 10px 28px rgba(0,0,0,.12);
    animation:testimonialCardIn .32s ease both;
}
.work-testimonial-card.is-visible{display:flex}
@keyframes testimonialCardIn{
    from{opacity:0;transform:translateY(8px)}
    to{opacity:1;transform:translateY(0)}
}
.testimonial-stars{
    display:flex;
    gap:3px;
    margin-bottom:18px;
    line-height:1;
}
.testimonial-stars span{
    color:#264157;
    font-size:23px;
}
.testimonial-stars span.is-active{
    color:#1398ff;
    text-shadow:0 0 12px rgba(19,152,255,.18);
}
.work-testimonial-card blockquote{
    margin:0 0 24px;
    color:#dce6ef;
    font-size:17px;
    line-height:1.55;
    font-weight:500;
    overflow-wrap:anywhere;
}
.testimonial-client{
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:auto;
}
.testimonial-avatar{
    flex:0 0 58px;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
    background:linear-gradient(145deg,#e9f5ff,#7ec5ff);
    color:#06213a;
    font-size:24px;
    font-weight:800;
}
.testimonial-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.testimonial-client-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}
.testimonial-client-copy strong{
    color:#fff;
    font-size:16px;
    line-height:1.25;
}
.testimonial-client-copy span{
    color:#cad6e0;
    font-size:14px;
    line-height:1.35;
}
.testimonial-client-copy small{
    color:#7f93a6;
    font-size:13px;
    line-height:1.35;
}
.testimonial-footer{
    min-height:34px;
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    gap:20px;
    padding:19px 4px 0;
    color:#91a7ba;
    font-size:13px;
}
.testimonial-dots{
    display:flex;
    align-items:center;
    gap:7px;
}
.testimonial-dot{
    width:7px;
    height:7px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#244f70;
    cursor:pointer;
    transition:.2s ease;
}
.testimonial-dot.active{
    background:#0b91ff;
    box-shadow:0 0 12px rgba(11,145,255,.4);
}
.testimonial-empty{
    min-height:220px;
    display:grid;
    place-items:center;
    border:1px dashed rgba(61,127,180,.32);
    border-radius:18px;
    color:#7890a6;
}
html[dir="rtl"] .work-testimonials-intro,
html[dir="rtl"] .work-testimonial-card,
html[dir="rtl"] .testimonial-client-copy{
    direction:rtl;
    text-align:right;
}
html[dir="rtl"] .testimonial-arrows{direction:ltr;justify-content:flex-end}
html[dir="rtl"] .testimonial-client{direction:rtl}
html[dir="rtl"] .testimonial-footer{direction:rtl;justify-content:flex-start}

@media(max-width:1180px){
    .work-testimonials-panel{grid-template-columns:280px minmax(0,1fr);gap:32px;padding-inline:30px}
    .testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
    .work-testimonials-panel{grid-template-columns:1fr;padding:36px 26px 28px;gap:30px}
    .work-testimonials-intro{text-align:center}
    .work-testimonials-intro>p{max-width:620px;margin-inline:auto}
    .testimonial-arrows{justify-content:center}
    .testimonial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .testimonial-footer{justify-content:center}
    html[dir="rtl"] .work-testimonials-intro{text-align:center}
    html[dir="rtl"] .testimonial-footer{justify-content:center}
}
@media(max-width:700px){
    .work-testimonials-panel{padding:32px 18px 24px;border-radius:14px}
    .work-testimonials-intro h2{font-size:40px}
    .testimonial-grid{grid-template-columns:1fr}
    .work-testimonial-card{min-height:290px;padding:26px 23px 22px}
    .testimonial-arrow{width:52px;height:52px}
}

/* Work testimonials — Light Mode */
html[data-theme="light"] .work-testimonials-panel{
    border-color:#c7d8e7;
    background:linear-gradient(180deg,#ffffff,#f8fbfe);
    box-shadow:0 14px 36px rgba(15,23,42,.05);
}
html[data-theme="light"] .work-testimonials-intro h2{color:#0b1324}
html[data-theme="light"] .work-testimonials-intro>p{color:#667085}
html[data-theme="light"] .work-testimonials-intro .work-kicker{color:#567189}
html[data-theme="light"] .work-testimonial-card{
    border-color:#d5e2ed;
    background:#fff;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}
html[data-theme="light"] .work-testimonial-card blockquote{color:#2b3748}
html[data-theme="light"] .testimonial-client-copy strong{color:#0b1324}
html[data-theme="light"] .testimonial-client-copy span{color:#4b5d70}
html[data-theme="light"] .testimonial-client-copy small{color:#7b8a9a}
html[data-theme="light"] .testimonial-arrow{background:#f7fbff;border-color:#d5e2ed}
