/* Rayat — three dimensional metric cards and shared site shell */
.rayat-reference-hero .rayat-art-stage{perspective:1450px;transform-style:preserve-3d;isolation:isolate}
.rayat-reference-hero .rayat-art-parallax{transform-style:preserve-3d}
.rayat-reference-hero .rayat-art-drift{transform-style:preserve-3d;backface-visibility:hidden}
.rayat-reference-hero .rayat-reference-art{backface-visibility:hidden}
.rayat-reference-hero .rayat-cards-layer{
 position:absolute;z-index:6;inset:0;pointer-events:none;
 transform-style:preserve-3d;perspective:900px;
}
.rayat-reference-hero .rayat-stat-card{
 position:absolute;pointer-events:auto;isolation:isolate;
 transform-style:preserve-3d;perspective:800px;
}
.rayat-reference-hero .rayat-stat-card::before{
 content:"";position:absolute;inset:-13px -14px;border-radius:21px;
 background:linear-gradient(145deg,rgba(7,23,38,.96),rgba(8,29,45,.93));
 box-shadow:0 0 24px rgba(5,21,36,.8);
 z-index:-1;pointer-events:none;
}
.rayat-reference-hero .rayat-stat-card .rayat-stat-inner{
 position:relative;
 display:flex;align-items:center;justify-content:center;
 gap:10px;min-height:115px;width:100%;padding:18px 14px;
 border-radius:18px;border:1px solid rgba(255,215,145,.9);
 background:
 linear-gradient(160deg,rgba(29,52,66,.99),rgba(7,25,43,.99) 75%);
 box-shadow:
 0 17px 27px rgba(0,0,0,.56),
 0 0 0 2px rgba(214,151,60,.12),
 0 0 24px rgba(243,174,76,.32),
 inset 0 0 0 1px rgba(255,235,183,.17),
 inset 0 2px 15px rgba(255,231,173,.1);
 backface-visibility:hidden;
 transform-style:preserve-3d;
 animation:rayat-float-3d-1 5.8s ease-in-out infinite;
 will-change:transform;
}
.rayat-reference-hero .rayat-stat-card:nth-child(2) .rayat-stat-inner{animation-name:rayat-float-3d-2;animation-duration:6.6s;animation-delay:-2s}
.rayat-reference-hero .rayat-stat-card:nth-child(3) .rayat-stat-inner{animation-name:rayat-float-3d-3;animation-duration:5.5s;animation-delay:-1.25s}
.rayat-reference-hero .rayat-stat-card .rayat-stat-inner:before{
 content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
 background:linear-gradient(115deg,rgba(255,248,212,.11),transparent 47%,rgba(255,197,111,.09));
}
.rayat-reference-hero .rayat-stat-card .rayat-stat-inner:after{
 content:"";position:absolute;inset:auto 16px -8px;height:14px;border-radius:50%;
 background:rgba(226,158,68,.52);filter:blur(12px);pointer-events:none;
}
.rayat-reference-hero .rayat-stat-card .rayat-stat-icon{
 width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;
 color:#f9ca7d;transform:translateZ(26px);border-inline-end:1px solid rgba(250,207,130,.43);
 padding-inline-end:9px;
}
.rayat-reference-hero .rayat-stat-icon svg{height:39px;width:39px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rayat-reference-hero .rayat-stat-copy{
 display:flex;align-items:center;justify-content:center;flex-direction:column;
 gap:3px;min-width:0;transform:translateZ(34px);text-align:center;
}
.rayat-reference-hero .rayat-stat-value{
 color:#f4c278;direction:ltr;unicode-bidi:isolate;white-space:nowrap;
 font:900 clamp(21px,2.5vw,32px)/1.14 "Cairo",Arial,sans-serif;
 text-shadow:0 0 14px rgba(230,171,79,.2);
}
.rayat-reference-hero .rayat-stat-label{
 color:#fff4e0;white-space:nowrap;font:700 clamp(11px,1vw,13px)/1.6 "Cairo",Tahoma,sans-serif;
}
.rayat-reference-hero .rayat-stat-first{width:21%;left:9.1%;top:63.3%}
.rayat-reference-hero .rayat-stat-second{width:15.4%;left:61.9%;top:73.2%}
.rayat-reference-hero .rayat-stat-third{width:16.5%;left:76.2%;top:68.5%}
.rayat-reference-hero .rayat-stat-first .rayat-stat-inner{min-height:138px}
.rayat-reference-hero .rayat-stat-second .rayat-stat-inner{min-height:104px;gap:5px;padding:12px 8px}
.rayat-reference-hero .rayat-stat-third .rayat-stat-inner{min-height:121px;gap:5px;padding:12px 8px}
.rayat-reference-hero .rayat-stat-second .rayat-stat-icon,.rayat-reference-hero .rayat-stat-third .rayat-stat-icon{width:36px;height:42px;flex-basis:36px;padding-inline-end:5px}
.rayat-reference-hero .rayat-stat-second .rayat-stat-icon svg,.rayat-reference-hero .rayat-stat-third .rayat-stat-icon svg{width:30px;height:30px}
.rayat-reference-hero .rayat-stat-second .rayat-stat-value,.rayat-reference-hero .rayat-stat-third .rayat-stat-value{font-size:clamp(20px,1.95vw,29px)}
@keyframes rayat-float-3d-1{
 0%,100%{transform:translate3d(0,0,0) rotateX(7deg) rotateY(-10deg) translateZ(12px)}
 50%{transform:translate3d(-4px,-13px,8px) rotateX(1deg) rotateY(-16deg) translateZ(30px)}
}
@keyframes rayat-float-3d-2{
 0%,100%{transform:translate3d(0,0,0) rotateX(6deg) rotateY(-13deg) translateZ(9px)}
 50%{transform:translate3d(4px,-16px,10px) rotateX(-3deg) rotateY(-5deg) translateZ(33px)}
}
@keyframes rayat-float-3d-3{
 0%,100%{transform:translate3d(0,0,0) rotateX(4deg) rotateY(8deg) translateZ(12px)}
 50%{transform:translate3d(2px,-12px,12px) rotateX(-4deg) rotateY(16deg) translateZ(38px)}
}
@media(hover:hover) and (pointer:fine){
 .rayat-reference-hero .rayat-stat-card:hover .rayat-stat-inner{
  animation-play-state:paused;
  transform:translate3d(0,-15px,18px) rotateX(-7deg) rotateY(0deg) scale(1.05);
  box-shadow:0 28px 47px rgba(0,0,0,.66),0 0 31px rgba(244,187,90,.5),inset 0 2px 13px rgba(255,235,184,.17);
 }
 .rayat-reference-hero .rayat-art-parallax:hover .rayat-reference-art{filter:brightness(1.04)}
}
.rayat-reference-hero .rayat-art-drift{animation:rayat-laptop-depth 9s ease-in-out infinite!important;transform-origin:43% 53%}
@keyframes rayat-laptop-depth{
 0%,100%{transform:translate3d(0,0,0) rotateY(-1.2deg) rotateX(.6deg)}
 50%{transform:translate3d(0,-10px,0) rotateY(1.45deg) rotateX(-.6deg)}
}
/* Navigation/footer parity: site template markup, brand variables, and responsive behavior */
body.rayat-case-page.site-integrated .site-header{
 position:relative;top:auto;left:auto;right:auto;
 padding:8px 0 6px;z-index:75;
 background:#071a2d;border-bottom:1px solid rgba(232,182,95,.14);
}
body.rayat-case-page.site-integrated .site-header .nav-inner{
 border:1px solid rgba(238,192,116,.18);
 background:rgba(10,28,48,.97);backdrop-filter:blur(14px);
 box-shadow:0 10px 24px rgba(1,12,24,.28);
}
body.rayat-case-page.site-integrated .site-header .site-nav a,
body.rayat-case-page.site-integrated .site-header .mega-toggle{color:#f4f6fb}
body.rayat-case-page.site-integrated .site-header .site-nav .current{color:#f2ca81}
body.rayat-case-page.site-integrated #siteFooter.site-footer-redesign{
 position:relative;width:100%;margin:0;clear:both;
}
body.rayat-case-page.site-integrated #siteFooter .footer-main.container{
 width:min(1300px,calc(100% - 48px));max-width:1300px;margin-inline:auto;
}
body.rayat-case-page.site-integrated .whatsapp{
 z-index:100;position:fixed;left:22px;right:auto;bottom:24px;
}
body.rayat-case-page.site-integrated #tyz-rashed-root{z-index:101}
@media(max-width:1200px){
 .rayat-reference-hero .rayat-stat-card .rayat-stat-inner{min-height:87px;padding:10px 7px}
 .rayat-reference-hero .rayat-stat-first .rayat-stat-inner{min-height:106px}
 .rayat-reference-hero .rayat-stat-icon{width:30px;height:35px;flex-basis:30px;padding:0 0 0 3px}
 .rayat-reference-hero .rayat-stat-icon svg{width:25px;height:25px}
 .rayat-reference-hero .rayat-stat-card .rayat-stat-value{font-size:clamp(16px,2vw,25px)}
 .rayat-reference-hero .rayat-stat-card .rayat-stat-label{font-size:clamp(9px,1vw,12px)}
}
@media(max-width:1000px){
 .rayat-reference-hero .rayat-art-stage{overflow:visible}
 .rayat-reference-hero .rayat-stat-card .rayat-stat-inner{min-height:90px}
 .rayat-reference-hero .rayat-stat-first .rayat-stat-inner{min-height:105px}
}
@media(max-width:640px){
 .rayat-reference-hero .rayat-cards-layer{pointer-events:none}
 .rayat-reference-hero .rayat-stat-card{pointer-events:none}
 .rayat-reference-hero .rayat-stat-card::before{inset:-5px;border-radius:10px}
 .rayat-reference-hero .rayat-stat-card .rayat-stat-inner{
  min-height:46px!important;padding:5px 3px;border-radius:8px;gap:1px;
 }
 .rayat-reference-hero .rayat-stat-icon{display:none}
 .rayat-reference-hero .rayat-stat-card .rayat-stat-value{font-size:clamp(10px,2.3vw,15px)}
 .rayat-reference-hero .rayat-stat-card .rayat-stat-label{font-size:clamp(7px,1.5vw,9px)}
 .rayat-reference-hero .rayat-stat-first .rayat-stat-inner{min-height:63px!important}
 .rayat-reference-hero .rayat-stat-second .rayat-stat-inner{min-height:54px!important}
 .rayat-reference-hero .rayat-stat-third .rayat-stat-inner{min-height:58px!important}
 body.rayat-case-page.site-integrated .site-header{padding:5px 0}
 body.rayat-case-page.site-integrated #siteFooter .footer-main.container{width:calc(100% - 30px)}
}
@media(prefers-reduced-motion:reduce){
 .rayat-reference-hero .rayat-art-drift,
 .rayat-reference-hero .rayat-stat-inner{animation:none!important;transform:none!important}
}
/* Restore the official footer spacing/color after the former portfolio-specific .footer rule. */
html[data-theme="dark"] body.rayat-case-page.site-integrated #siteFooter.site-footer-redesign{
 padding:78px 0 22px;
 background:linear-gradient(135deg,#0b1e34 0%,#0c2139 48%,#101f32 100%);
 border-top:1px solid #24374e;color:#eff4fa;
}
body.rayat-case-page.site-integrated #siteFooter .footer-main.container{
 display:grid;grid-template-columns:minmax(0,1.33fr) minmax(0,.8fr) minmax(0,1.15fr) minmax(0,1.23fr);
 gap:clamp(24px,3.2vw,55px);align-items:start;padding-bottom:58px;
}
body.rayat-case-page.site-integrated #siteFooter .footer-main>div{min-width:0}
@media(max-width:1100px){body.rayat-case-page.site-integrated #siteFooter .footer-main.container{grid-template-columns:repeat(2,minmax(0,1fr))}body.rayat-case-page.site-integrated #siteFooter .footer-identity{grid-column:1/-1}}
@media(max-width:700px){body.rayat-case-page.site-integrated #siteFooter .footer-main.container{width:calc(100% - 30px);grid-template-columns:minmax(0,1fr)}body.rayat-case-page.site-integrated #siteFooter .footer-main>div{grid-column:1}}
/* Conceal baked statistics while independent 3D counterparts move. */
.rayat-reference-hero .rayat-stat-first::before{inset:-14px -21px -25px -18px}
.rayat-reference-hero .rayat-stat-third::before{inset:-14px -18px -27px -14px}
