/* Technolux v100: accessible service details. Additive styles only. */
.service-card { position: relative; transition: border-color .2s ease, box-shadow .2s ease; }
.service-card:has(.service-card-open:hover), .service-card:focus-within {
  border-color: rgba(130,144,255,.38);
  box-shadow: 0 15px 44px rgba(0,0,0,.22);
}
.service-card .service-copy { padding-bottom: 27px; }
.service-card-open {
  display: inline-flex; align-items:center; gap: 16px;
  margin-top: 20px; padding: 4px 0 5px;
  border: 0; border-bottom: 1px solid rgba(144,158,255,.5);
  color: #dfe4ff; background: transparent;
  font-size: .92rem; line-height: 1.5; font-weight: 550;
  letter-spacing: .015em; cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.service-card-open::after { content:""; position:absolute; inset:0; cursor:pointer; }
.service-card-open:hover { color:#fff; border-color:#fff; }
.service-card-open:focus-visible { outline: 2px solid #a7b5ff; outline-offset: 4px; border-radius:2px; }
.service-card-open span:last-child { font-size: 1.05em; transition:transform .2s ease; }
.service-card:hover .service-card-open span:last-child { transform: translate(2px,-2px); }

.service-popup-dialog {
  box-sizing: border-box;
  width: min(780px, calc(100% - 32px)); max-width: 780px;
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  padding:0; margin:auto;
  border: 1px solid rgba(158,172,255,.30); border-radius: 20px;
  background: #101319; color: #f4f5f7;
  box-shadow: 0 26px 90px rgba(0,0,0,.70), 0 0 80px rgba(65,75,190,.08);
  overflow-y:auto; overscroll-behavior:contain;
  scrollbar-color: #42495b transparent;
}
.service-popup-dialog::backdrop {
  background: rgba(0,0,0,.76); backdrop-filter: blur(7px);
}
.service-popup-dialog:not([open]),.service-popup-pane[hidden] { display:none!important; }
body.service-popup-open { overflow: hidden; }
.service-popup-shell { position:relative; padding: clamp(25px, 5vw, 44px); }
.service-popup-shell::before {
  content:""; pointer-events:none; position:absolute; left:0; top:0; right:0;
  height: 3px; background:linear-gradient(90deg,#5361fc,#33b2ff 52%,transparent 94%);
}
.service-popup-close {
  position: absolute; top: 18px; right: 18px; z-index: 7;
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.17);
  color: #f4f5f7; background:#1b202b; cursor:pointer;
  font-size: 1.65rem; line-height:1; display:grid; place-items:center;
}
.service-popup-close:hover,.service-popup-dismiss:hover { background: #282e3b; }
.service-popup-close:focus-visible,.service-popup-dismiss:focus-visible,.service-popup-cta:focus-visible {
  outline:2px solid #a7b5ff; outline-offset:3px;
}
.service-popup-heading { position:relative; margin: 0 34px 20px 0; }
.service-popup-kicker {
  display:block; color:#a1adf9; font-weight:650; letter-spacing:.17em;
  font-size: .69rem; margin:0 0 13px; text-transform:uppercase;
}
.service-popup-kicker span {color:#586379; margin:0 7px;}
.service-popup-title {
  margin: 0; font-size: clamp(1.65rem, 4.4vw, 2.45rem);
  font-weight: 720; letter-spacing:-.035em; line-height: 1.18;
}
.service-popup-title-text {
  display:inline-block; position:relative; max-width:100%;
  color:rgba(241,244,252,.56); overflow-wrap:break-word;
}
.service-popup-title-text::after {
  content:attr(data-title); position:absolute; inset:0; color:#f7f8fb;
  /* A line-aware clip path is updated by the popup animation script. */
  clip-path: var(--title-clip, inset(0 100% 0 0));
  pointer-events:none;
}
.service-popup-laser-beam, .service-popup-laser-dot {
  position:absolute; pointer-events:none; opacity:0; z-index:3;
}
.service-popup-laser-beam {
  width:0; height:1px; transform-origin:0 50%;
  background:linear-gradient(90deg,rgba(54,68,255,.24),rgba(58,73,255,.6) 65%,rgba(220,226,255,.98));
  box-shadow:0 0 4px rgba(61,75,255,.58),0 0 10px rgba(48,61,255,.32);
}
.service-popup-laser-dot {
  width:5px; height:5px; border-radius:50%; background:#fff;
  box-shadow:0 0 2px 1px #fff,0 0 7px 2px rgba(71,83,255,.98),0 0 15px 5px rgba(44,57,255,.5);
}
.service-popup-lead {
  margin:0 0 28px; color:rgba(244,245,247,.83);
  font-size:1.06rem; line-height:1.75; max-width:660px;
}
.service-popup-columns { display:grid; grid-template-columns: 1fr 1fr; gap:28px; padding-top:23px; border-top:1px solid rgba(255,255,255,.11); }
.service-popup-aside { display:flex; flex-direction:column; gap:21px; }
.service-popup-section h3 { margin:0 0 13px; font-size:.91rem; font-weight:660; color:#f1f3fa; }
.service-popup-section ul { margin:0; padding-left:19px; color:rgba(244,245,247,.74); font-size:.92rem; line-height:1.68; }
.service-popup-section li+li { margin-top:9px; }
.service-popup-section li::marker {color:#7d8fff;}
.service-popup-section p { margin:0; color:rgba(244,245,247,.73); font-size:.92rem; line-height:1.7; }
.service-popup-footer {
  display:flex; flex-wrap:wrap; gap:15px; align-items:center; justify-content:space-between;
  border-top:1px solid rgba(255,255,255,.10); margin-top:27px; padding-top:23px;
}
.service-popup-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:22px;
  min-height:43px; padding:11px 20px; border-radius:9px;
  background:#5260e9; color:white; font-size:.92rem; font-weight:620;
  text-decoration:none; transition:background-color .2s ease;
}
.service-popup-cta:hover { background:#6a78ff; }
.service-popup-dismiss {
  border:1px solid rgba(255,255,255,.16); padding:10px 17px; min-height:43px;
  border-radius:9px; background:#1b202b; color:#e0e3ed; cursor:pointer; font-size:.9rem;
}
@media(max-width:620px) {
  .service-popup-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 20px); border-radius:14px; }
  .service-popup-shell { padding:27px 19px 22px; }
  .service-popup-close { top:10px; right:10px; width:35px; height:35px; }
  .service-popup-heading { margin-right:30px; }
  .service-popup-columns { grid-template-columns:1fr; gap:22px; }
  .service-popup-lead {font-size:.96rem;line-height:1.68;}
  .service-popup-footer { flex-direction:column; align-items:stretch; }
  .service-popup-cta, .service-popup-dismiss { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  .service-popup-title-text::after { clip-path:inset(0 0 0 0)!important; }
  .service-popup-laser-beam,.service-popup-laser-dot {display:none!important;}
  .service-card,.service-card-open,.service-card-open span {transition:none!important;}
}
