/* MD Digital Creations Studio 1.3.2 — scoped QA corrections.
   No edits to approved Neon Glass pill; only its host Kadence surroundings.
   This file is loaded after module CSS to keep the visual corrections testable. */

/* 1. Remove light theme canvas above/beside hero without changing the menu pill. */
html:has(body.mdcx-page-active){background-color:#120920!important;}
body.mdcx-page-active{
  background:radial-gradient(ellipse 70% 530px at 75% 0%,rgba(104,39,178,.3),transparent 72%),#120920!important;
}
body.mdcx-page-active :is(#page,#wrapper,#inner-wrap,#content,.site,.site-content,.site-container,.site-main,.content-area,.content-bg,.entry-content-wrap,.entry-content){
  background-color:transparent!important;
  box-shadow:none!important;
}
body.mdcx-page-active :is(.site-header-row-container,.site-header-row-container-inner,.site-main-header-wrap,.site-top-header-wrap,.site-bottom-header-wrap,.site-header-inner-wrap){
  background-color:transparent!important;background-image:none!important;
}
body.mdcx-page-active :is(.entry-hero-container,.entry-header){display:none!important;}
body.mdcx-page-active :is(#primary,.content-area,.site-main,.entry-content-wrap,.entry-content){margin-top:0!important;padding-top:0!important;}
body.mdcx-page-active .mdcx-full-bleed{padding-top:0!important;margin-top:0!important;background:transparent!important;}
body.mddc-v1-on.mdcx-page-active #masthead{display:none!important;min-height:0!important;height:0!important;padding:0!important;margin:0!important;}
/* Background behind floating menu extends seamlessly into the first hero. */
body.mdcx-page-active .mdcx-full-bleed>.mdc26-page{background-color:#120920;}

/* 2. Typography: prevent collision, clipping and unnatural letter breaks. */
.mdcx-full-bleed .dx3-page h1{
  font-size:clamp(40px,5.1vw,76px)!important;
  line-height:1.105!important;letter-spacing:-.055em!important;
  text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:none;
  max-width:760px;
}
.mdcx-full-bleed .mddc-service-page h1{
  font-size:clamp(41px,5.1vw,76px)!important;
  line-height:1.09!important;letter-spacing:-.056em!important;
  text-wrap:balance;overflow-wrap:normal;word-break:normal;hyphens:none;
}
.mdcx-full-bleed .dx3-page .dx3-hero,
.mdcx-full-bleed .mddc-service-page .mddc-service-hero{gap:clamp(28px,4vw,65px);}
.mdcx-full-bleed .dx3-page .dx3-hero-copy,
.mdcx-full-bleed .mddc-service-page .mddc-service-copy{min-width:0;position:relative;z-index:2;}
.mdcx-full-bleed .dx3-page .dx3-hero-copy h1 em{display:inline;}

/* 3. AI tool logos — true brand-mark images rather than surrogate glyphs. */
.mdcx-full-bleed .dx3-page .dx3-tools.dx3-wrap{
  width:100%!important;max-width:100%!important;margin-inline:0!important;
  padding-left:0!important;padding-right:0!important;
}
.mdcx-full-bleed .dx3-tools>.dx3-intro,
.mdcx-full-bleed .dx3-tools>.dx3-note{width:min(1180px,calc(100% - 56px));margin-inline:auto;}
.mdcx-full-bleed .dx3-tools .dx3-marquee{width:100%;max-width:100%;margin-inline:0;overflow:hidden;
  mask-image:linear-gradient(90deg,transparent 0%,#000 5%,#000 95%,transparent 100%);
}
.mdcx-full-bleed .dx3-tools .dx3-marquee-track{gap:18px;min-width:max-content;}
.mdcx-full-bleed .dx3-tools .dx3-tool{
  display:inline-flex;align-items:center;justify-content:center;gap:15px;
  min-width:195px;min-height:68px;padding:15px 22px;
  border:1px solid rgba(185,128,244,.24);border-radius:15px;
  background:linear-gradient(140deg,rgba(64,36,91,.84),rgba(32,22,48,.86));
  color:#fff;font-size:17px;font-weight:750;letter-spacing:-.025em;
}
.mdcx-full-bleed .dx3-tools .dx3-tool .dx3-tool-logo{
  display:block!important;flex:0 0 34px!important;width:34px!important;height:34px!important;
  max-width:34px!important;max-height:34px!important;object-fit:contain!important;
  filter:none!important;
}
.mdcx-full-bleed .dx3-tools .dx3-tool--bielik .dx3-tool-logo{width:42px!important;max-width:42px!important;flex-basis:42px!important;}
.mdcx-full-bleed .dx3-tools .dx3-note{margin-top:17px;}

/* 4. AI before/after: consistent fixed-size icons and equal text baseline. */
.mdcx-full-bleed .dx3-compare-grid{align-items:stretch;}
.mdcx-full-bleed .dx3-compare-column ul{list-style:none!important;display:grid;gap:17px;margin:0;padding:0;}
.mdcx-full-bleed .dx3-compare-column li{
  display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;column-gap:14px;
  align-items:start!important;position:relative;min-height:26px;
  padding:0!important;margin:0!important;line-height:1.7!important;
}
.mdcx-full-bleed .dx3-compare-column li::before{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:24px!important;height:24px!important;min-width:24px;flex:0 0 24px;
  border:1px solid rgba(255,138,145,.35);background:rgba(240,93,104,.09);
  border-radius:50%;font-family:Arial,sans-serif!important;
  font-size:14px!important;font-weight:800!important;line-height:1!important;
  margin-top:1px;
}
.mdcx-full-bleed .dx3-compare-after li::before{border-color:rgba(153,225,184,.35);background:rgba(108,192,142,.1);font-size:12px!important;}

/* 5. Sliders and visible focus: arrows aligned regardless of inherited Kadence padding. */
.mdcx-full-bleed .dx3-section-row{align-items:center!important;}
.mdcx-full-bleed .dx3-slider-controls{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px;flex:0 0 auto;}
.mdcx-full-bleed .dx3-slider-controls button{
  display:grid!important;place-items:center!important;
  flex:0 0 46px!important;width:46px!important;height:46px!important;
  padding:0!important;margin:0!important;line-height:1!important;
  font-family:Arial,sans-serif!important;font-size:22px!important;
  border-radius:50%!important;aspect-ratio:1!important;
  box-shadow:0 6px 19px rgba(0,0,0,.16);cursor:pointer;
}
.mdcx-full-bleed .dx3-slider-controls button:focus-visible{outline:2px solid #ffc900!important;outline-offset:4px;}

/* 6. E-commerce: honest purchase path with recognizable icons and motion. */
.mdcx-full-bleed .dx3-shop .dx3-checkout-flow{padding:clamp(20px,3vw,36px);gap:clamp(8px,1.2vw,16px);}
.mdcx-full-bleed .dx3-shop .dx3-checkout-flow>div{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;padding:22px 10px;min-height:170px;
  border:1px solid rgba(183,121,246,.2);border-radius:17px;
  background:rgba(111,62,156,.12);transition:transform .35s ease,border-color .3s ease,background .3s ease;
}
.mdcx-full-bleed .dx3-shop .dx3-checkout-flow>div:hover{
  transform:translateY(-5px);border-color:rgba(204,155,255,.6);background:rgba(116,60,173,.23);
}
.mdcx-full-bleed .dx3-shop .dx3-step-icon{display:grid;place-items:center;color:#dfb0ff;width:49px;height:49px;border-radius:15px;border:1px solid rgba(197,143,255,.32);background:rgba(151,79,217,.16);}
.mdcx-full-bleed .dx3-shop .dx3-step-icon svg{width:24px;height:24px;display:block;}
.mdcx-full-bleed .dx3-shop .dx3-checkout-flow strong{font-size:15px;}
.mdcx-full-bleed .dx3-shop .dx3-checkout-flow p{margin:0;font-size:12px;text-align:center;line-height:1.55;}
.mdcx-full-bleed .dx3-shop .dx3-checkout-flow>span{flex:0 0 auto;text-align:center;}
.mdcx-full-bleed .dx3-shop .dx3-testimonials .rc-viewport-section{
  padding:22px 10px 42px;border:1px solid rgba(188,119,245,.21);
  border-radius:24px;background:radial-gradient(ellipse at 15% 70%,rgba(93,38,151,.18),transparent 70%),#170e28;
}
.mdcx-full-bleed .dx3-shop .dx3-testimonials .rc-top-bar{align-items:center;}
.mdcx-full-bleed .dx3-shop .dx3-testimonials .rc-heading-group h2{font-size:clamp(25px,3.1vw,38px)!important;}
.mdcx-full-bleed .dx3-shop .dx3-testimonials .rc-mask-view{min-width:0;}

/* 7. Floating project preview and richer portfolio cards. */
.mdcx-full-bleed .dx3-www .dx3-www-window{
  transform-origin:50% 50%;animation:mdcxBafirFloat 8s ease-in-out infinite;
  will-change:transform;
}
@keyframes mdcxBafirFloat{
  0%,100%{transform:perspective(1000px) translateY(0) rotateY(-5deg) rotateX(3deg);}
  50%{transform:perspective(1000px) translateY(-13px) rotateY(-2deg) rotateX(1deg);}
}
.mdcx-full-bleed .dx3-www .dx3-proof-grid a{transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;}
.mdcx-full-bleed .dx3-www .dx3-proof-grid a:hover{transform:translateY(-5px);border-color:rgba(215,169,255,.64);box-shadow:0 17px 42px rgba(7,0,21,.24);}
.mdcx-full-bleed .dx3-www .dx3-proof-info{padding:18px 20px 21px;display:grid;gap:9px;}
.mdcx-full-bleed .dx3-www .dx3-proof-info strong{font-size:18px;color:#fff;}
.mdcx-full-bleed .dx3-www .dx3-proof-info p{font-size:12px;line-height:1.7;color:#cab9dc;min-height:43px;}
.mdcx-full-bleed .dx3-www .dx3-proof-info span{display:inline-flex;align-items:center;gap:9px;margin-top:5px;font-weight:800;font-size:12px;color:#ffe083;}
.mdcx-full-bleed .dx3-www-guidance{padding-top:70px;padding-bottom:66px;}
.mdcx-full-bleed .dx3-guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.mdcx-full-bleed .dx3-guidance-grid article{padding:28px;border:1px solid rgba(181,110,246,.23);border-radius:19px;background:linear-gradient(145deg,rgba(56,30,79,.42),rgba(23,15,39,.7));transition:transform .3s,border-color .3s;}
.mdcx-full-bleed .dx3-guidance-grid article:hover{transform:translateY(-3px);border-color:rgba(200,146,255,.5);}
.mdcx-full-bleed .dx3-guidance-icon{display:grid;place-items:center;width:50px;height:50px;margin-bottom:20px;border:1px solid rgba(191,129,253,.39);border-radius:15px;color:#dbaeff;background:rgba(132,60,194,.2);}
.mdcx-full-bleed .dx3-guidance-icon svg{display:block;width:25px;height:25px;}
.mdcx-full-bleed .dx3-guidance-grid h3{margin-bottom:12px;}
.mdcx-full-bleed .dx3-guidance-grid p{font-size:13px;line-height:1.8;}
.mdcx-full-bleed .dx3-guidance-action{margin-top:28px;}

/* 8. Player: real thumbnails and cinematic but restrained overlays. */
.mdcx-full-bleed .mddc-videolounge{width:min(1180px,calc(100% - 36px));margin-top:28px;margin-bottom:105px;padding:0;}
.mdcx-full-bleed .mddc-videolounge-art{isolation:isolate;overflow:hidden;background:#0b0a14;}
.mdcx-full-bleed .mddc-videolounge-art::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(7,5,17,.08),rgba(7,5,17,.82)),linear-gradient(120deg,rgba(80,31,130,.22),transparent 80%);}
.mdcx-full-bleed .mddc-videolounge-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.68);transform:scale(1.025);transition:filter .45s ease,transform .7s ease;}
.mdcx-full-bleed .mddc-videolounge-art:hover .mddc-videolounge-poster{filter:brightness(.76);transform:scale(1.07);}
.mdcx-full-bleed .mddc-videolounge-art>span,.mdcx-full-bleed .mddc-videolounge-art>strong,.mdcx-full-bleed .mddc-videolounge-art>button{position:relative;z-index:1;text-shadow:0 3px 15px rgba(0,0,0,.7);}
.mdcx-full-bleed .mddc-videolounge-art strong{max-width:510px;}
.mdcx-full-bleed .mddc-videolounge-thumb{position:relative;overflow:hidden;width:94px;height:56px;flex-basis:94px;border-radius:10px;background:#221239;padding:0;}
.mdcx-full-bleed .mddc-videolounge-thumb img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:.91;transition:transform .35s,opacity .35s;}
.mdcx-full-bleed .mddc-videolounge-thumb span{position:relative;z-index:1;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:rgba(9,6,20,.65);border:1px solid rgba(255,255,255,.55);font-size:9px;color:#fff;}
.mdcx-full-bleed .mddc-videolounge-item:hover .mddc-videolounge-thumb img,
.mdcx-full-bleed .mddc-videolounge-item.is-active .mddc-videolounge-thumb img{transform:scale(1.08);opacity:1;}
.mdcx-full-bleed .mddc-videolounge-item{min-height:82px;}
.mdcx-full-bleed .mddc-videolounge-item.is-active{box-shadow:inset 3px 0 #ffc900;}
.mdcx-full-bleed .mddc-videolounge-topline>span:last-child{color:#aa95ba;font-size:10px;}

/* 9. Unified contact: portrait left + form right. */
.mdcx-full-bleed .dx3-ai-contact,
.mdcx-full-bleed .dx3-media-learn-contact{padding-top:30px;}
.mdcx-full-bleed .dx3-ai-contact .dx3-social-contact-portrait,
.mdcx-full-bleed .dx3-media-learn-contact .dx3-social-contact-portrait{min-width:0;}

@media(max-width:900px){
  .mdcx-full-bleed .dx3-guidance-grid{grid-template-columns:1fr;}
  .mdcx-full-bleed .dx3-www .dx3-www-window{animation:none!important;transform:none!important;}
  .mdcx-full-bleed .dx3-page h1{font-size:clamp(39px,6.8vw,66px)!important;}
  .mdcx-full-bleed .mddc-service-page h1{font-size:clamp(40px,6.9vw,68px)!important;}
  .mdcx-full-bleed .dx3-slider-controls button{width:43px!important;height:43px!important;flex-basis:43px!important;}
}
@media(max-width:600px){
  .mdcx-full-bleed .dx3-page h1{font-size:clamp(36px,9.5vw,49px)!important;line-height:1.12!important;}
  .mdcx-full-bleed .mddc-service-page h1{font-size:clamp(37px,9.4vw,48px)!important;line-height:1.11!important;}
  .mdcx-full-bleed .dx3-tools>.dx3-intro,.mdcx-full-bleed .dx3-tools>.dx3-note{width:calc(100% - 34px);}
  .mdcx-full-bleed .dx3-tools .dx3-tool{min-width:165px;padding:14px 16px;font-size:15px;}
  .mdcx-full-bleed .dx3-compare-column li{column-gap:11px;font-size:13px;}
  .mdcx-full-bleed .dx3-page .dx3-section-row{flex-direction:column;align-items:flex-start!important;gap:16px;}
  .mdcx-full-bleed .dx3-slider-controls{align-self:flex-end;}
  .mdcx-full-bleed .dx3-slider-controls button{width:44px!important;height:44px!important;flex-basis:44px!important;}
  .mdcx-full-bleed .dx3-guidance-grid article{padding:23px;}
  .mdcx-full-bleed .dx3-shop .dx3-checkout-flow>div{min-height:125px;}
  .mdcx-full-bleed .mddc-videolounge-thumb{width:79px;height:50px;flex-basis:79px;}
  .mdcx-full-bleed .mddc-videolounge-item{min-height:73px;}
}
@media(prefers-reduced-motion:reduce){
  .mdcx-full-bleed .dx3-www .dx3-www-window{animation:none!important;transform:none!important;}
  .mdcx-full-bleed .dx3-shop .dx3-checkout-flow>div,
  .mdcx-full-bleed .mddc-videolounge-poster{transition:none!important;}
}

/* Single real e-commerce testimonial must not leave a giant empty carousel lane. */
.mdcx-full-bleed .dx3-ecom-reviews--single .rc-slider-train{justify-content:center!important;}
.mdcx-full-bleed .dx3-ecom-reviews--single .rc-single-card{flex:0 0 min(100%,430px)!important;width:min(100%,430px)!important;max-width:430px!important;}
.mdcx-full-bleed .dx3-ecom-reviews--single .rc-nav-arrows,
.mdcx-full-bleed .dx3-ecom-reviews--single .rc-progress-track{display:none!important;}

/* No fake prev/next controls over an empty, admin-managed gallery. */
.mdcx-full-bleed .dx3-slider-empty .dx3-slider-controls{display:none!important;}
