:root{
  --sh-bg:#031225;
  --sh-panel:rgba(5,24,42,.78);
  --sh-card:rgba(8,31,52,.64);
  --sh-line:rgba(68,209,244,.35);
  --sh-cyan:#22d3ee;
  --sh-text:#f5f8fc;
  --sh-muted:#a9b8c9;
}

body.spaceh-service-detail{
  background:var(--sh-bg)!important;
  color:var(--sh-text)!important;
  min-height:100vh;
}

.service-video-backdrop{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
  background:#031225 url('../assets/hero-poster.jpg') center/cover no-repeat;
}
.service-video-backdrop video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:.8;
  transform:none;
}
.service-video-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,18,37,.58) 0%,rgba(3,18,37,.66) 43%,rgba(3,18,37,.28) 100%),
    linear-gradient(0deg,rgba(3,18,37,.9) 0%,rgba(3,18,37,.22) 48%,rgba(3,18,37,.68) 100%);
}

.spaceh-service-detail .cyber-grid,
.spaceh-service-detail .radial-glow{display:none!important}

.spaceh-service-detail .spaceh-page-tools{
  position:relative;
  inset:auto;
  width:min(1560px,calc(100% - 64px));
  height:70px;
  margin:0 auto;
  border-bottom:1px solid rgba(77,201,235,.22);
  z-index:30;
}
.spaceh-service-detail .spaceh-page-tools-spacer{display:none}
.spaceh-service-detail .spaceh-mini-brand,
.spaceh-service-detail .spaceh-back-link{
  padding:0;
  min-height:auto;
  border:0!important;
  border-radius:0;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.spaceh-service-detail .spaceh-mini-brand{font-size:22px;color:#f8fafc!important}
.spaceh-service-detail .spaceh-back-link{font-size:12px;color:#c4d1dd!important}
.spaceh-service-detail .spaceh-back-link:hover,
.spaceh-service-detail .spaceh-mini-brand:hover{color:var(--sh-cyan)!important;transform:none}

.spaceh-service-detail .spaceh-lang{
  top:18px!important;
  left:180px!important;
  transform:none!important;
  padding:2px!important;
  gap:3px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.spaceh-service-detail .spaceh-lang button{
  color:#9fb0c1!important;
  padding:8px 11px!important;
  border-radius:0!important;
  border-bottom:2px solid transparent!important;
}
.spaceh-service-detail .spaceh-lang button.active{
  color:var(--sh-cyan)!important;
  background:transparent!important;
  border-bottom-color:var(--sh-cyan)!important;
}

.spaceh-service-detail main{
  width:min(1180px,calc(100% - 64px));
  max-width:none!important;
  margin:64px auto 0!important;
  padding:0 0 72px!important;
  display:grid;
  gap:26px!important;
}

.spaceh-service-detail main>section{
  margin:0!important;
  border:1px solid rgba(76,205,239,.3)!important;
  border-radius:26px!important;
  background:var(--sh-panel)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.045)!important;
  backdrop-filter:blur(22px)!important;
  -webkit-backdrop-filter:blur(22px)!important;
}

.spaceh-service-detail main>section:first-child{
  padding:46px 48px 42px!important;
  text-align:start!important;
}
.spaceh-service-detail main>section:first-child>div:first-child{
  border-color:rgba(34,211,238,.38)!important;
  background:rgba(10,36,58,.62)!important;
  color:#8eeafe!important;
}
.spaceh-service-detail #hero-title{
  max-width:900px;
  margin-inline:0!important;
  color:#f8fafc!important;
  font-size:clamp(2rem,3vw,3rem)!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
}
.spaceh-service-detail #hero-title span{
  color:#f8fafc!important;
  background:none!important;
  -webkit-text-fill-color:inherit!important;
}
.spaceh-service-detail #hero-desc{
  max-width:830px!important;
  margin-inline:0!important;
  color:var(--sh-muted)!important;
  font-size:15px!important;
}
.spaceh-service-detail main>section:first-child:after{
  content:"";
  display:block;
  width:86px;
  height:3px;
  margin-top:28px;
  border-radius:99px;
  background:var(--sh-cyan);
  box-shadow:0 0 18px rgba(34,211,238,.4);
}
.spaceh-service-detail main>section:first-child .glass-card{
  background:rgba(8,31,52,.55)!important;
  border-color:rgba(106,213,240,.14)!important;
  color:#c9d7e5!important;
}

.spaceh-service-detail .glass-panel{
  background:var(--sh-panel)!important;
  border-color:rgba(76,205,239,.3)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.spaceh-service-detail .glass-card,
.spaceh-service-detail .glass-input{
  background:var(--sh-card)!important;
  border-color:rgba(98,190,218,.16)!important;
  box-shadow:none!important;
}
.spaceh-service-detail .glass-card:hover{
  border-color:rgba(34,211,238,.38)!important;
  background:rgba(10,38,62,.8)!important;
}
.spaceh-service-detail h1,
.spaceh-service-detail h2,
.spaceh-service-detail h3,
.spaceh-service-detail .text-white{color:var(--sh-text)!important}
.spaceh-service-detail .text-slate-300{color:#c4d0dc!important}
.spaceh-service-detail .text-slate-400{color:#91a4b7!important}
.spaceh-service-detail .border-slate-800{border-color:rgba(115,175,199,.15)!important}
.spaceh-service-detail input,
.spaceh-service-detail textarea{color:#f4f8fb!important}

.spaceh-service-detail #configurator{padding:36px!important}
.spaceh-service-detail #configurator>div:first-child{margin-bottom:30px!important}
.spaceh-service-detail button[type="submit"]{
  background:transparent!important;
  border:1px solid rgba(53,221,249,.75)!important;
  color:#f8fafc!important;
  box-shadow:0 0 22px rgba(34,211,238,.08)!important;
}
.spaceh-service-detail button[type="submit"]:hover{
  background:rgba(34,211,238,.12)!important;
}

.spaceh-service-detail .spaceh-contact-panel{
  position:relative;
  z-index:10;
  padding:0 24px 56px!important;
  background:transparent!important;
}
.spaceh-service-detail .spaceh-contact-wrap{
  background:rgba(5,24,42,.8)!important;
  border-color:rgba(76,205,239,.28)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.25)!important;
}
.spaceh-service-detail .spaceh-contact-wrap h3{color:#f5f8fc!important}
.spaceh-service-detail .spaceh-contact-wrap input,
.spaceh-service-detail .spaceh-contact-wrap textarea{
  background:rgba(8,31,52,.78)!important;
  border-color:rgba(98,190,218,.18)!important;
  color:#f4f8fb!important;
}
.spaceh-service-detail .spaceh-contact-wrap button{background:#0c4c68!important}

.spaceh-service-detail .spaceh-footer{
  position:relative;
  z-index:10;
  color:#b9c7d5!important;
  background:rgba(2,13,27,.42)!important;
}
.spaceh-service-detail .spaceh-footer-inner{
  border-top-color:rgba(76,205,239,.2)!important;
}
.spaceh-service-detail .spaceh-footer-brand strong{color:#f8fafc!important}

html[dir="rtl"] .spaceh-service-detail main>section:first-child{text-align:right!important}

@media(max-width:760px){
  .spaceh-service-detail .spaceh-page-tools{
    width:calc(100% - 28px);
    height:58px;
  }
  .spaceh-service-detail .spaceh-mini-brand{font-size:17px}
  .spaceh-service-detail .spaceh-back-link{font-size:10px}
  .spaceh-service-detail .spaceh-lang{
    top:62px!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    padding:3px 5px!important;
    border:1px solid rgba(34,211,238,.18)!important;
    border-radius:999px!important;
    background:rgba(3,18,37,.72)!important;
    backdrop-filter:blur(15px)!important;
  }
  .spaceh-service-detail .spaceh-lang button{padding:7px 9px!important}
  .spaceh-service-detail main{
    width:calc(100% - 28px);
    margin-top:76px!important;
    padding-bottom:42px!important;
    gap:18px!important;
  }
  .spaceh-service-detail main>section{border-radius:20px!important}
  .spaceh-service-detail main>section:first-child{padding:26px 20px!important}
  .spaceh-service-detail #hero-title{
    font-size:clamp(1.7rem,8vw,2.15rem)!important;
    line-height:1.22!important;
    letter-spacing:-.025em!important;
  }
  .spaceh-service-detail #hero-desc{font-size:13px!important}
  .spaceh-service-detail #configurator{padding:20px!important}
  .service-video-backdrop video{object-position:38% center}
  .service-video-shade{
    background:linear-gradient(0deg,rgba(3,18,37,.94),rgba(3,18,37,.5) 58%,rgba(3,18,37,.72));
  }
}

@media(prefers-reduced-motion:reduce){
  .service-video-backdrop video{display:none}
}

/* Shared presentation for the remaining standalone solution pages. */
.spaceh-service-detail>.glow-sphere-1,
.spaceh-service-detail>.glow-sphere-2,
.spaceh-service-detail>.glow-orb-cyan,
.spaceh-service-detail>.glow-orb-blue,
.spaceh-service-detail>.glow-orb-shield,
.spaceh-service-detail>.glow-orb-secondary,
.spaceh-service-detail>.ambient-glow-1,
.spaceh-service-detail>.ambient-glow-2{display:none!important}

.spaceh-service-detail>section:not(.spaceh-contact-panel){
  position:relative;
  z-index:10;
  width:min(1180px,calc(100% - 64px));
  margin:26px auto!important;
  padding:44px!important;
  border:1px solid rgba(76,205,239,.28)!important;
  border-radius:26px!important;
  background:rgba(5,24,42,.78)!important;
  color:var(--sh-text)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.04)!important;
  backdrop-filter:blur(22px)!important;
  -webkit-backdrop-filter:blur(22px)!important;
}
.spaceh-service-detail>#home{
  margin-top:64px!important;
  padding-top:46px!important;
  padding-bottom:42px!important;
}
.spaceh-service-detail>#home h1{
  max-width:920px;
  font-size:clamp(2rem,3vw,3rem)!important;
  line-height:1.16!important;
  letter-spacing:-.035em!important;
  color:#f8fafc!important;
}
.spaceh-service-detail>#home h1 span{
  color:#f8fafc!important;
  -webkit-text-fill-color:inherit!important;
}
.spaceh-service-detail>#home p{color:#a9b8c9!important}
.spaceh-service-detail>#home:after{
  content:"";
  display:block;
  width:86px;
  height:3px;
  margin-top:28px;
  border-radius:99px;
  background:var(--sh-cyan);
  box-shadow:0 0 18px rgba(34,211,238,.4);
}

.spaceh-service-detail [class*="bg-white"],
.spaceh-service-detail [class*="bg-slate-50"],
.spaceh-service-detail [class*="bg-slate-100"]{
  background-color:rgba(8,31,52,.64)!important;
}
.spaceh-service-detail [class*="border-slate-200"],
.spaceh-service-detail [class*="border-slate-300"]{
  border-color:rgba(98,190,218,.17)!important;
}
.spaceh-service-detail .text-slate-900,
.spaceh-service-detail .text-slate-800,
.spaceh-service-detail .text-slate-700,
.spaceh-service-detail .text-slate-600,
.spaceh-service-detail .text-gray-900,
.spaceh-service-detail .text-gray-800,
.spaceh-service-detail .text-black{color:#f5f8fc!important}
.spaceh-service-detail .text-slate-500,
.spaceh-service-detail .text-slate-400,
.spaceh-service-detail .text-gray-500,
.spaceh-service-detail .text-gray-400{color:#9fb0c1!important}
.spaceh-service-detail .shadow-xl,
.spaceh-service-detail .shadow-2xl,
.spaceh-service-detail .shadow-lg{box-shadow:0 18px 45px rgba(0,0,0,.22)!important}
.spaceh-service-detail section .glass-card,
.spaceh-service-detail section .tech-card,
.spaceh-service-detail section .solution-card{
  background:rgba(8,31,52,.64)!important;
  border-color:rgba(98,190,218,.17)!important;
}
.spaceh-service-detail section input,
.spaceh-service-detail section textarea,
.spaceh-service-detail section select{
  background:rgba(6,25,43,.84)!important;
  border-color:rgba(98,190,218,.2)!important;
  color:#f5f8fc!important;
}

/* Accessible button contrast across every solution page. */
.spaceh-service-detail .btn-gradient,
.spaceh-service-detail .btn-primary{
  background:linear-gradient(135deg,#087ca3,#0b526f)!important;
  border:1px solid rgba(76,218,247,.72)!important;
  color:#fff!important;
  box-shadow:0 10px 28px rgba(5,126,166,.2)!important;
}
.spaceh-service-detail .btn-gradient:hover,
.spaceh-service-detail .btn-primary:hover{
  background:linear-gradient(135deg,#0b91bc,#0b617f)!important;
  border-color:#67e8f9!important;
  color:#fff!important;
}
.spaceh-service-detail .btn-light,
.spaceh-service-detail .btn-secondary{
  background:rgba(7,29,49,.88)!important;
  border:1px solid rgba(76,205,239,.5)!important;
  color:#eaf7fc!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.spaceh-service-detail .btn-light:hover,
.spaceh-service-detail .btn-secondary:hover{
  background:rgba(14,68,91,.88)!important;
  border-color:#67e8f9!important;
  color:#fff!important;
}
.spaceh-service-detail button.bg-brand-blue,
.spaceh-service-detail button.bg-rose-600,
.spaceh-service-detail button.bg-emerald-500{
  color:#fff!important;
}
.spaceh-service-detail button:disabled,
.spaceh-service-detail a[aria-disabled="true"]{opacity:.55!important}

@media(max-width:760px){
  .spaceh-service-detail>section:not(.spaceh-contact-panel){
    width:calc(100% - 28px);
    margin:18px auto!important;
    padding:22px 18px!important;
    border-radius:20px!important;
  }
  .spaceh-service-detail>#home{
    margin-top:76px!important;
    padding-top:26px!important;
    padding-bottom:26px!important;
  }
  .spaceh-service-detail>#home h1{
    font-size:clamp(1.7rem,8vw,2.15rem)!important;
    line-height:1.22!important;
  }
}
