/* Bidayat — V13 ATLAS LIGHT / editorial refinement.
 * Main site only, never /landing/. Composited motion, no new images/fonts/libs.
 * Accent design builds on V10–V12 rather than replacing layouts.
 */
body.bdp-preview.bdp-v13 {
 --b13-navy:#071d34; --b13-ink:#18364d; --b13-text:#415d72;
 --b13-gold:#c7a16b; --b13-goldink:#785423; --b13-surface:#fff;
 --b13-ease:cubic-bezier(.2,1,.32,1);
}
body.bdp-preview.bdp-v13 :is(.bd13-story,.bd13-card,.bd13-heading) {position:relative}
/* Architectural underline: emerges when a heading enters the viewport. */
body.bdp-preview.bdp-v13 .bd13-heading:not(.bd13-dark-heading)::after {
 content:"";display:block;height:3px;width:clamp(44px,6vw,92px);
 margin:15px 0 0 auto;border-radius:100px;
 background:linear-gradient(90deg,#d9b987,#b98850,transparent);
 transform:scaleX(.17);transform-origin:right;
 transition:transform 1.1s var(--b13-ease);
}
body.bdp-preview.bdp-v13 .bd13-heading.bd13-dark-heading::after{
 content:"";display:block;width:clamp(47px,7vw,105px);height:3px;
 margin:16px 0 0 auto;border-radius:100px;
 background:linear-gradient(90deg,#f3dfbd,#c7a16b,transparent);
 transform:scaleX(.15);transform-origin:right;
 transition:transform 1.1s var(--b13-ease);
}
body.bdp-preview.bdp-v13 .bd13-heading.bd13-inview::after{transform:scaleX(1)}
/* Cards use measured elevation and subtle reflected gold, not loud gradients. */
body.bdp-preview.bdp-v13 .bd13-card {
 --b13-x:50%;--b13-y:25%;
 isolation:isolate;
 transition:transform .67s var(--b13-ease),box-shadow .67s var(--b13-ease),border-color .5s!important;
}
body.bdp-preview.bdp-v13 .bd13-card::before {
 content:"";position:absolute;inset:0;z-index:0;border-radius:inherit;
 background:radial-gradient(circle 195px at var(--b13-x) var(--b13-y),rgba(205,164,101,.16),transparent 76%);
 pointer-events:none;opacity:0;transition:opacity .6s var(--b13-ease);
}
body.bdp-preview.bdp-v13 .bd13-card:hover::before,
body.bdp-preview.bdp-v13 .bd13-card:focus-within::before{opacity:1}
body.bdp-preview.bdp-v13 .bd13-card:is(:hover,:focus-within){
 border-color:rgba(199,161,107,.73)!important;
 box-shadow:0 29px 66px rgba(7,38,64,.15)!important;
}
body.bdp-preview.bdp-v13 .bd13-card > :not(.bd12-card-rail){
 position:relative;z-index:1;
}
body.bdp-preview.bdp-v13 .bd13-card.bd13-inview{
 --b13-inview:1;
}
/* Editorial scene numbers: only for actual existing home sections. */
body.bdp-preview.bdp-v13.home .elementor-34389 .bd13-story:not(.bd13-story-dark)>.e-con-inner::before{
 content:attr(data-bd13-n);
 pointer-events:none;position:absolute;left:0;top:-29px;
 font:900 clamp(72px,11vw,158px)/1 Almarai,Cairo,Tahoma,sans-serif;
 color:rgba(12,46,76,.045);letter-spacing:-.08em;
 z-index:-1;user-select:none;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .bd13-story-dark>.e-con-inner::before{
 content:attr(data-bd13-n);position:absolute;left:0;top:-20px;z-index:-1;
 pointer-events:none;user-select:none;
 color:rgba(245,223,190,.07);font:900 clamp(73px,11vw,159px)/1 Almarai,Cairo,Tahoma,sans-serif;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .bd13-story>.e-con-inner{
 position:relative!important;
}
/* Exact homepage story sections (why, service title/cards, trust, CTA, process,
   email, journal, final contact). No changes to form markup or actions. */
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-b363ae6 .uael-faq-accordion{
 border-radius:20px!important;
 box-shadow:0 18px 45px rgba(0,14,32,.18)!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-b363ae6 .uael-question-span{
 color:#18364d!important;font-weight:900!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-b363ae6 .uael-faq-accordion:focus-within{
 outline:2px solid #c7a16b;outline-offset:3px;
}
body.bdp-preview.bdp-v13.home .elementor-34389 :is(.elementor-element-1f7de57,.elementor-element-1331360) .uael-infobox{
 border:1px solid #dfe6ec!important;
 border-radius:26px!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 :is(.elementor-element-1f7de57,.elementor-element-1331360) .uael-infobox :is(.uael-infobox-title,.uael-infobox-title a){
 color:#18364d!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 :is(.elementor-element-1f7de57,.elementor-element-1331360) .uael-infobox .uael-image-content{
 position:relative;isolation:isolate;border-radius:20px!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-a16e902{
 background:radial-gradient(ellipse 50% 97% at 80% 40%,rgba(46,109,148,.20),transparent 72%),
 linear-gradient(125deg,#05182c,#102f4d 70%,#071d34)!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-a16e902 .elementor-heading-title{
 color:#fff!important;
 text-wrap:balance;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-a16e902 .elementor-button{
 overflow:hidden;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-c048d8a .elementor-gallery-item{
 border:1px solid rgba(24,54,77,.13);border-radius:19px!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-c048d8a .elementor-gallery-item:hover{
 box-shadow:0 25px 60px rgba(6,32,59,.18)!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-93217e5{
 border-color:rgba(199,161,107,.37)!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-8e7a0c7 .uael-post__bg-wrap{
 border-radius:25px!important;outline:0!important;
}
body.bdp-preview.bdp-v13.home .elementor-34389 .elementor-element-3af02d8d .bd10-contact-action{
 border-radius:100px!important;color:#fff!important;
}
/* Distinctive service hub: geometric leading edge and legible intro. */
body.bdp-preview.bdp-v13.page-id-35172 .elementor-35172 .elementor-element-ee20cfa{
 background:#f5f7fa!important;
}
body.bdp-preview.bdp-v13.page-id-35172 .elementor-35172 .elementor-element-ee20cfa .elementor-heading-title{
 color:#18364d!important;
}
body.bdp-preview.bdp-v13.page-id-35172 .elementor-35172 .elementor-widget-uael-infobox .uael-infobox{
 border-radius:25px!important;
}
body.bdp-preview.bdp-v13.page-id-35172 .elementor-35172 .elementor-widget-uael-infobox .uael-infobox .uael-infobox-title{
 color:#18364d!important;line-height:1.55!important;
}
/* Sectors get a different language from service cards: corner arc and rail. */
body.bdp-preview.bdp-v13.bdp-industry-hub .elementor-35394 .elementor-widget-icon-box {
 border-radius:24px!important;overflow:hidden;isolation:isolate;
}
body.bdp-preview.bdp-v13.bdp-industry-hub .elementor-35394 .elementor-widget-icon-box::after {
 content:"";position:absolute;top:-56px;left:-55px;
 width:132px;height:132px;border:1px solid rgba(199,161,107,.26);
 border-radius:50%;pointer-events:none;transform:scale(.75);
 transition:transform .7s var(--b13-ease),border-color .6s;
}
body.bdp-preview.bdp-v13.bdp-industry-hub .elementor-35394 .elementor-widget-icon-box:hover::after {
 transform:scale(1.15);border-color:rgba(199,161,107,.69);
}
/* Long content: unobtrusive reading rhythm and visual anchors. */
body.bdp-preview.bdp-v13.bdp-blog-v1.single-post #primary article.ast-article-single .entry-content{
 line-height:2.05!important;
}
body.bdp-preview.bdp-v13.bdp-blog-v1.single-post #primary article.ast-article-single .entry-content :is(h2,h3){
 scroll-margin-top:122px;
 border-inline-start:3px solid rgba(199,161,107,.67);
 padding-inline-start:17px;
}
body.bdp-preview.bdp-v13.bdp-blog-v1:not(.single-post) #primary .ast-article-post .entry-title a{
 color:#18364d!important;
}
body.bdp-preview.bdp-v13.bdp-blog-v1:not(.single-post) #primary .ast-article-post .cat-links a{
 color:#785423!important;
}
/* Contact template: original forms stay operational, with accessible focus. */
body.bdp-preview.bdp-v13.page-id-35323 .elementor-35323 .elementor-widget-form{
 background:#fff!important;border-radius:25px!important;
}
body.bdp-preview.bdp-v13.page-id-35323 .elementor-35323 .elementor-form :is(input:not([type=submit]):not([type=checkbox]),textarea,select):focus{
 border-color:#9d773f!important;
 box-shadow:0 0 0 4px rgba(199,161,107,.15)!important;
}
/* Cinematic section-line scanner: only visible while that scene is on screen. */
body.bdp-preview.bdp-v13.home .elementor-34389 .bd13-story.bd13-inview::after{
 content:"";position:absolute;z-index:2;right:clamp(16px,5vw,95px);
 bottom:0;width:clamp(80px,15vw,240px);height:1px;pointer-events:none;
 background:linear-gradient(90deg,transparent,#c7a16b,transparent);
 transform-origin:right center;
 animation:bd13-beam 2.1s var(--b13-ease) both;
}
@keyframes bd13-beam{
 from{transform:scaleX(.15);opacity:.15}
 to{transform:scaleX(1);opacity:.85}
}
/* Vertical chapter navigator: decorative only, never intercept clicks or CTA. */
body.bdp-preview.bdp-v13.home .bd13-chapter-rail{
 position:fixed;left:15px;top:50%;transform:translateY(-50%);
 display:flex;flex-direction:column;gap:10px;z-index:90;
 pointer-events:none;opacity:0;transition:opacity .35s ease;
}
body.bdp-preview.bdp-v13.home .bd13-chapter-rail.bd13-rail-active{opacity:.8}
body.bdp-preview.bdp-v13.home .bd13-chapter-rail span{
 display:block;width:3px;height:16px;background:rgba(199,161,107,.40);
 border-radius:7px;transform-origin:center;
 transition:height .48s var(--b13-ease),background .48s,box-shadow .48s;
}
body.bdp-preview.bdp-v13.home .bd13-chapter-rail span.bd13-current{
 height:34px;background:#c7a16b;
 box-shadow:0 0 0 3px rgba(199,161,107,.12),0 0 17px rgba(199,161,107,.26);
}
@media(max-width:1024px){
 body.bdp-preview.bdp-v13.home .bd13-chapter-rail{display:none}
}
@media(max-width:767px){
 body.bdp-preview.bdp-v13 .bd13-heading::after{
  margin-top:11px;width:55px;
 }
 body.bdp-preview.bdp-v13.home .elementor-34389 .bd13-story.bd13-inview::after{width:90px;opacity:.5}
 body.bdp-preview.bdp-v13 .bd13-card:is(:hover,:focus-within){box-shadow:0 14px 34px rgba(7,38,64,.10)!important}
}
@media(hover:none),(pointer:coarse){
 body.bdp-preview.bdp-v13 .bd13-card:hover::before{opacity:0}
 body.bdp-preview.bdp-v13 .bd13-card:is(:hover,:focus-within){transform:none!important}
}
@media(prefers-reduced-motion:reduce){
 body.bdp-preview.bdp-v13 .bd13-heading::after{transform:scaleX(1)!important;transition:none!important}
 body.bdp-preview.bdp-v13 .bd13-card{transition:none!important}
 body.bdp-preview.bdp-v13.home .bd13-story.bd13-inview::after{animation:none!important}
 body.bdp-preview.bdp-v13.home .bd13-chapter-rail span{transition:none!important}
}