/* DIGIGROUPE 2026: shared visual direction for existing marketing routes.
   Keep legacy content, forms, n8n demonstrations, and product demos functional. */
:root{
 --dg-paper:#e8f2ff;
 --dg-cream:#e8f2ff;
 --clarity-paper:#e8f2ff;
 --clarity-blue:#063bfa;
 --dg-menu-cream:#e8f2ff;
 --dg-menu-blue:#063bfa;
}
html{scroll-padding-top:85px}
body.dg-service-clarity,body.dg-commercial,body.dg-agents-public{background:#e8f2ff!important;color:#0a1b4d!important;font-family:'Space Grotesk',sans-serif}
body .dg-global-nav{background:rgba(232,242,255,.96)!important;border-bottom:1px solid #c3d5ef!important;box-shadow:none!important;min-height:78px}
body .dg-global-nav .dg-global-inner{width:min(100% - clamp(38px,7.4vw,144px),1520px);min-height:78px}
body .dg-global-nav .dg-global-brand{width:clamp(150px,15vw,192px)}
body .dg-global-nav :is(.dg-global-direct,.dg-global-contact){border-radius:3px!important}
body .dg-global-nav nav.dg-global-links a.dg-global-contact{background:#063bfa!important;border-radius:3px!important;padding:14px 20px!important}
body .dg-global-nav :is(.dg-global-direct,.dg-global-details>summary):hover{border-radius:3px!important;background:#d5e7ff!important}
body .dg-global-nav .dg-global-toggle{border-radius:3px!important;background:transparent!important;border:0!important}
body.dg-service-clarity .dg-clarity-shell{width:min(100% - clamp(38px,7.4vw,144px),1520px);max-width:none}
body.dg-service-clarity .dg-clarity-hero{min-height:calc(100svh - 78px);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);gap:clamp(30px,4.8vw,95px);align-items:center;padding-top:clamp(60px,6vw,110px);padding-bottom:clamp(80px,7vw,120px)}
body.dg-service-clarity .dg-breadcrumb{margin-bottom:clamp(42px,6vw,70px);font:500 10px/1.6 'DM Mono',monospace!important;letter-spacing:.02em;color:#7184a9}
body.dg-service-clarity .dg-clarity-hero .dg-clarity-kicker{display:block;margin-bottom:25px;color:#063bfa!important;font:500 11px/1.6 'DM Mono',monospace!important;letter-spacing:.08em}
body.dg-service-clarity .dg-clarity-hero h1{font:400 clamp(62px,6.2vw,115px)/.98 'Newsreader',Georgia,serif!important;letter-spacing:-.065em!important;text-wrap:balance;max-width:850px;margin:0 0 31px!important;color:#0a1b4d!important}
body.dg-service-clarity .dg-clarity-hero h1 em{font-style:normal!important;color:#063bfa!important}
body.dg-service-clarity .dg-clarity-hero .dg-clarity-intro{font:400 clamp(16px,1.45vw,20px)/1.65 'Space Grotesk',sans-serif!important;color:#53658b!important;max-width:610px}
body.dg-service-clarity .dg-clarity-hero figure{overflow:hidden;position:relative;border-radius:3px!important;box-shadow:17px 17px 0 #c9dcf8!important;border:1px solid #b4ccf2;min-width:0}
body.dg-service-clarity .dg-clarity-hero figure img{width:100%;height:100%;object-fit:cover;border-radius:0!important;min-height:400px}
body.dg-service-clarity .dg-clarity-hero figure figcaption{border-radius:0!important;background:#fff!important;color:#063bfa!important}
body.dg-service-clarity .dg-clarity-btn,
body.dg-service-clarity .dg-clarity-hero-acts>a:first-child,
body.dg-commercial a.btn.primary{border-radius:3px!important;background:#063bfa!important;border-color:#063bfa!important;box-shadow:none!important;color:#fff!important;font-weight:600!important}
body.dg-service-clarity .dg-clarity-hero-acts>a:last-child{border-bottom:1px solid #063bfa!important;color:#063bfa!important;border-radius:0}
body.dg-service-clarity .dg-clarity-section{padding-top:100px;padding-bottom:105px}
body.dg-service-clarity .dg-clarity-section h2,
body.dg-service-clarity .dg-clarity-example h2,
body.dg-service-clarity .dg-clarity-contact h2{font:400 clamp(49px,5.8vw,88px)/1.03 'Newsreader',Georgia,serif!important;letter-spacing:-.05em!important;color:#0a1b4d}
body.dg-service-clarity .dg-clarity-band{background:#091b51!important}
body.dg-service-clarity :is(.dg-pain-grid article,.dg-deliverables article,.dg-related-links a,.dg-n8n-card){border-radius:2px!important;box-shadow:none!important;border:1px solid #c4d6f2!important}
body.dg-service-clarity .dg-clarity-example{background:#fff!important}
body.dg-service-clarity .dg-clarity-example-image{border-radius:2px!important;overflow:hidden}
body.dg-service-clarity .dg-clarity-contact{background:#d7e8ff!important}
body.dg-service-clarity .dg-clarity-contact label{color:#0a1b4d!important}
body.dg-service-clarity .dg-clarity-contact input,
body.dg-service-clarity .dg-clarity-contact select,
body.dg-service-clarity .dg-clarity-contact textarea{border-radius:1px!important}
body.dg-commercial .hero{background:transparent!important;padding-top:clamp(68px,8vw,125px)!important}
body.dg-commercial .hero h1{font:400 clamp(65px,7.5vw,119px)/.98 'Newsreader',Georgia,serif!important;letter-spacing:-.065em!important;text-transform:none!important;max-width:1000px;color:#0a1b4d!important}
body.dg-commercial .hero .lead{font:400 clamp(17px,1.4vw,21px)/1.65 'Space Grotesk',sans-serif!important;color:#53658b!important;max-width:680px}
body.dg-commercial .hero .ey{color:#063bfa;font:500 11px/1.5 'DM Mono',monospace!important;letter-spacing:.08em}
body.dg-commercial .dg-catalog-guidance{border-radius:2px!important;border:1px solid #c8d8ef!important;background:#dceaff!important;color:#253d78!important;box-shadow:none!important}
body.dg-commercial .dg-collection-cover{border-radius:2px!important;box-shadow:15px 15px 0 #cbdff9!important}
body.dg-commercial .grid .card{background:#fff!important;border:1px solid #c5d5ee!important;border-radius:2px!important;box-shadow:none!important;transition:transform .25s,box-shadow .25s}
body.dg-commercial .grid .card:hover{transform:translateY(-4px);box-shadow:9px 9px 0 #cbdffa!important}
body.dg-commercial .grid .card img{border-radius:0!important}
body.dg-commercial .section h2{font-family:'Newsreader',Georgia,serif!important;font-weight:400!important;letter-spacing:-.05em!important;text-transform:none!important}
body.dg-commercial input,body.dg-commercial select,body.dg-commercial textarea{border-radius:2px!important}
body.dg-agents-public .ag-hero h1{font:400 clamp(61px,7vw,112px)/.98 'Newsreader',Georgia,serif!important;letter-spacing:-.055em!important}
body.dg-agents-public .ag-card,body.dg-agents-public .ag-price-tier{border-radius:3px!important;box-shadow:none!important}
body.dg-agents-public .ag-btn,body.dg-agents-public .ag-cta{border-radius:3px!important}
@media(max-width:1120px){
 body .dg-global-nav .dg-global-inner{min-height:69px}
 body .dg-global-nav .dg-global-panel{background:#e8f2ff!important}
 body.dg-service-clarity .dg-clarity-hero{min-height:0;grid-template-columns:1fr;gap:45px;padding-top:75px}
 body.dg-service-clarity .dg-clarity-hero figure{max-width:700px}
}
@media(max-width:680px){
 body .dg-global-nav .dg-global-inner{width:calc(100% - 38px)!important;min-height:69px}
 body .dg-global-nav .dg-global-brand{width:156px}
 body.dg-service-clarity .dg-clarity-shell{width:calc(100% - 38px)!important}
 body.dg-service-clarity .dg-clarity-hero{padding-top:57px;padding-bottom:72px;gap:35px}
 body.dg-service-clarity .dg-breadcrumb{margin-bottom:33px}
 body.dg-service-clarity .dg-clarity-hero h1{font-size:clamp(53px,10.5vw,74px)!important}
 body.dg-service-clarity .dg-clarity-hero figure img{min-height:260px}
 body.dg-service-clarity .dg-clarity-hero figure{box-shadow:8px 8px 0 #c9dcf8!important}
 body.dg-service-clarity .dg-clarity-section{padding-top:75px;padding-bottom:80px}
 body.dg-commercial .hero{padding-top:65px!important}
 body.dg-commercial .hero h1{font-size:clamp(57px,11vw,78px)!important}
 body.dg-commercial .dg-collection-cover{box-shadow:8px 8px 0 #cbdff9!important}
}
@media(prefers-reduced-motion:reduce){
 body.dg-commercial .grid .card{transition:none}
}

/* Four original interface studies replace generic stock photographs. */
body.dg-service-clarity .dg-clarity-hero figure.studio-showcase{
  display:flex;flex-direction:column;position:relative;width:100%;height:clamp(460px,39vw,590px);
  min-height:460px;margin:0!important;padding:0!important;overflow:hidden;
  border-radius:2px!important;box-shadow:17px 17px 0 #c9dcf8!important;
  background:#063bfa;color:#fff;isolation:isolate;
}
body.dg-service-clarity .dg-clarity-hero figure.studio-showcase:before{
  content:"";position:absolute;inset:0;z-index:-1;
  background-image:linear-gradient(rgba(255,255,255,.085) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.085) 1px,transparent 1px);
  background-size:48px 48px;opacity:.6;
}
body.dg-service-clarity figure.studio-showcase .sg-head{
  position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:23px 25px;border-bottom:1px solid rgba(255,255,255,.21);
  font:500 10px/1.4 'DM Mono',monospace;letter-spacing:.045em;
}
body.dg-service-clarity figure.studio-showcase figcaption{
  margin-top:auto!important;min-height:59px;display:flex;align-items:center;
  padding:16px 25px!important;border-top:1px solid rgba(255,255,255,.23);
  background:transparent!important;color:rgba(255,255,255,.83)!important;
  font:500 10px/1.5 'DM Mono',monospace!important;letter-spacing:.07em;
}
.sg-status{display:flex;align-items:center;gap:9px}
.sg-status i{display:block;width:8px;height:8px;background:#ffd900;border-radius:100%;animation:sg-beat 2.5s ease-in-out infinite}
.sg-ai-content{display:flex;flex-direction:column;justify-content:center;flex:1;padding:30px;position:relative}
.sg-index{font:500 10px 'DM Mono',monospace;color:#b7ccff;letter-spacing:.1em;margin-bottom:20px}
.sg-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;position:relative;isolation:isolate}
.sg-flow:before{content:"";position:absolute;top:50%;left:1%;width:98%;height:2px;background:#ffd900;z-index:-1}
.sg-node{display:flex;flex-direction:column;justify-content:space-between;gap:12px;
  padding:16px 12px;min-height:154px;background:#0a2cc1;border:1px solid rgba(255,255,255,.36);color:#fff;
  box-shadow:7px 7px 0 rgba(3,13,70,.18)}
.sg-node:nth-child(2){background:#e8f2ff;color:#091b51;border-color:#dceaff}
.sg-node small{font:500 9px/1.5 'DM Mono',monospace;letter-spacing:.045em;color:inherit;opacity:.7}
.sg-node b{font:500 clamp(18px,1.7vw,27px)/1.1 'Newsreader',Georgia,serif;letter-spacing:-.025em}
.sg-node>span{font:500 10px 'DM Mono',monospace;align-self:flex-end}
.sg-moving-pulse{position:absolute;top:calc(50% - 5px);left:0;width:10px;height:10px;background:#ffd900;border:2px solid #fff;border-radius:50%;box-shadow:0 0 25px 8px rgba(255,217,0,.52);z-index:4;animation:sg-travel 4s ease-in-out infinite alternate}
.sg-caption-inside{display:flex;justify-content:space-between;gap:6px;margin:27px 0 0;color:#a8c5ff;font:500 10px 'DM Mono',monospace;letter-spacing:.05em}
.sg-caption-inside span{color:#ffd900}
.studio-showcase-app .sg-device{position:relative;flex:1;display:grid;place-items:center;overflow:hidden;padding:28px;background:radial-gradient(circle at 50% 44%,rgba(230,244,255,.2),transparent 42%)}
.sg-device-orbit{position:absolute;width:80%;aspect-ratio:1;border:1px solid rgba(255,255,255,.24);border-radius:50%;transform:rotate(-16deg);pointer-events:none}
.sg-phone{position:relative;z-index:1;width:min(265px,74%);min-height:365px;max-height:430px;overflow:hidden;padding:18px 20px 15px;background:#f6faff;border:7px solid #091b51;border-radius:23px;box-shadow:17px 20px 0 rgba(4,14,81,.28);color:#0a1b4d;transform:rotate(-5deg);transition:transform .45s}
.studio-showcase-app:hover .sg-phone{transform:rotate(-1deg) translateY(-3px)}
.sg-phone-bar{display:flex;justify-content:space-between;margin-bottom:23px;font:500 9px 'DM Mono',monospace}
.sg-phone-bar span:first-child{width:31px;height:6px;background:#0a1b4d;border-radius:6px}
.sg-phone>small{font:500 9px 'DM Mono',monospace;color:#063bfa;letter-spacing:.04em}
.sg-phone>strong{display:block;margin:8px 0 23px;font:400 34px/1 'Newsreader',Georgia,serif;letter-spacing:-.04em}
.sg-stat{display:flex;justify-content:space-between;align-items:center;background:#063bfa;color:#fff;padding:15px 13px;margin-bottom:16px;font-size:11px}
.sg-stat b{font:500 31px 'Newsreader',serif}
.sg-task{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #d6e1f4;font-size:10px}
.sg-task i{width:8px;height:8px;background:#ffd900;border:2px solid #063bfa;border-radius:50%}
.sg-task b{margin-left:auto;font:500 10px 'DM Mono',monospace;color:#063bfa}
.sg-tabbar{display:flex;justify-content:space-between;gap:5px;padding-top:15px;color:#6a7fa7;font:500 7px 'DM Mono',monospace}
.studio-showcase-web{background:#10265f!important}
.studio-showcase-web .sg-browser{flex:1;margin:30px 30px 15px;background:#f8fbff;border:1px solid #d8e3f6;color:#0b1c4d;box-shadow:14px 15px 0 #214bd4;display:flex;flex-direction:column;overflow:hidden}
.sg-browser-bar{display:flex;align-items:center;gap:20px;padding:12px 15px;border-bottom:1px solid #d2def1}
.sg-browser-bar>span{display:flex;gap:5px}.sg-browser-bar i{width:6px;height:6px;border-radius:50%;background:#a9c6f1}.sg-browser-bar small{font:500 8px 'DM Mono',monospace;color:#7790b8}
.sg-web-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;font:500 9px 'DM Mono',monospace;color:#102d82}
.sg-web-title{flex:1;background:linear-gradient(150deg,#e5f0ff,#fff);padding:22px 20px;display:flex;flex-direction:column;justify-content:center}
.sg-web-title small{font:500 9px 'DM Mono',monospace;color:#063bfa;letter-spacing:.08em;margin-bottom:13px}
.sg-web-title strong{font:400 clamp(43px,4.1vw,66px)/.98 'Newsreader',Georgia,serif;letter-spacing:-.065em}
.sg-web-title em{font-style:normal;color:#063bfa}
.sg-web-foot{display:flex;justify-content:space-between;gap:8px;padding:16px 20px;border-top:1px solid #d2def1;font:500 8px 'DM Mono',monospace;color:#6d83ae}
.studio-showcase-commerce{background:#12245c!important}
.studio-showcase-commerce .sg-orders{flex:1;margin:34px 25px 18px;background:#e8f2ff;color:#091b51;padding:20px 23px;min-height:0;display:flex;flex-direction:column;box-shadow:12px 12px 0 #2949c9}
.sg-orders-head{position:relative;padding:0 0 25px;border-bottom:1px solid #bdd1ee}
.sg-orders-head small{display:block;color:#063bfa;font:500 9px 'DM Mono',monospace}
.sg-orders-head strong{display:block;font:400 clamp(34px,3.4vw,52px)/1 'Newsreader',serif;letter-spacing:-.045em;margin:12px 0}
.sg-orders-head>span{font:500 8px 'DM Mono',monospace;color:#6c83ad}
.sg-order{display:grid;grid-template-columns:43px 1fr auto;align-items:center;gap:10px;padding:17px 0;border-bottom:1px solid #bdd1ee}
.sg-order b{font:500 11px 'DM Mono',monospace;color:#063bfa}
.sg-order span{font:500 clamp(12px,1.3vw,16px) 'Space Grotesk',sans-serif}
.sg-order i{font:500 8px 'DM Mono',monospace;color:#617cad;font-style:normal}
.sg-order-progress{display:flex;gap:6px;margin-top:20px}
.sg-order-progress span{height:6px;flex:1;background:#c8d8ee}.sg-order-progress span:first-child,.sg-order-progress span:nth-child(2){background:#063bfa}
@keyframes sg-travel{from{left:0}to{left:calc(100% - 10px)}}
@keyframes sg-beat{0%,100%{opacity:1}50%{opacity:.25}}
@media(max-width:680px){
 body.dg-service-clarity .dg-clarity-hero figure.studio-showcase{height:450px;min-height:0;box-shadow:8px 8px 0 #c9dcf8!important}
 body.dg-service-clarity figure.studio-showcase .sg-head{padding:16px;font-size:8px}
 body.dg-service-clarity figure.studio-showcase figcaption{padding:14px 16px!important;font-size:9px;min-height:48px}
 .sg-ai-content{padding:20px}
 .sg-flow{gap:6px}
 .sg-node{padding:11px 8px;min-height:125px}
 .sg-node b{font-size:19px}
 .sg-node small,.sg-node>span{font-size:8px}
 .sg-caption-inside{font-size:8px}
 .sg-phone{max-width:240px;min-height:340px;padding:16px;border-width:6px}
 .studio-showcase-web .sg-browser{margin:22px 18px 14px}
 .sg-web-title strong{font-size:clamp(42px,10vw,62px)}
 .studio-showcase-commerce .sg-orders{margin:25px 15px 12px;padding:17px}
 .sg-orders-head strong{font-size:44px}
}
@media(prefers-reduced-motion:reduce){.sg-moving-pulse,.sg-status i{animation:none!important}.sg-phone{transition:none!important}}
