.service-page {
  background: #030708;
}

.service-page .site-header {
  max-width: 1220px;
}

.service-main {
  overflow: hidden;
}

.service-hero {
  position: relative;
  isolation: isolate;
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
  gap: clamp(42px, 7vw, 112px);
  padding: 146px max(24px, calc((100vw - 1180px) / 2)) 88px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px) 0 0 / 82px 82px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 82px 82px,
    radial-gradient(circle at 18% 32%, rgba(30, 169, 255, 0.2), transparent 34%),
    radial-gradient(circle at 82% 38%, rgba(141, 227, 79, 0.16), transparent 33%),
    linear-gradient(145deg, #061318, #020607 58%, #07110d);
}

.service-hero > * {
  min-width: 0;
}

.service-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(180deg, transparent, #030708);
}

.service-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(246, 248, 245, 0.7);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.service-back::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
}

.service-back:hover {
  color: #fff;
}

.service-hero h1 {
  max-width: 920px;
  margin: 24px 0 0;
  color: #fff;
  font-size: clamp(3.2rem, 7.6vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.service-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: rgba(235, 242, 239, 0.76);
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  font-weight: 650;
  line-height: 1.58;
}

.service-hero .hero-actions {
  justify-content: flex-start;
}

.service-emblem {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.service-emblem::before,
.service-emblem::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.service-emblem::before {
  width: min(30vw, 380px);
  aspect-ratio: 1;
}

.service-emblem::after {
  width: min(24vw, 300px);
  aspect-ratio: 1;
  border-color: rgba(141, 227, 79, 0.16);
}

.service-emblem img {
  position: relative;
  z-index: 1;
  width: min(22vw, 270px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.62));
}

.service-emblem span {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  color: rgba(246, 248, 245, 0.65);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-band {
  padding: clamp(74px, 9vw, 128px) max(24px, calc((100vw - 1180px) / 2));
}

.service-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: end;
  margin-bottom: 48px;
}

.service-heading h2,
.service-split h2,
.service-cta h2 {
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.service-heading > p,
.service-split-copy > p:last-child {
  margin: 0;
  color: rgba(235, 242, 239, 0.68);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  font-weight: 600;
  line-height: 1.6;
}

.service-offer {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 72px 72px,
    #030708;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.offer-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(92, 180, 205, 0.25);
  border-radius: 6px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.072), transparent 44%),
    rgba(5, 22, 27, 0.82);
}

.offer-card > span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
}

.offer-card h3 {
  margin: 58px 0 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.08;
}

.offer-card p {
  margin: 18px 0 0;
  color: rgba(235, 242, 239, 0.66);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.55;
}

.service-delivery {
  position: relative;
  background:
    radial-gradient(circle at 16% 36%, rgba(30, 169, 255, 0.16), transparent 32%),
    radial-gradient(circle at 86% 54%, rgba(141, 227, 79, 0.12), transparent 30%),
    #061014;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(46px, 8vw, 120px);
  align-items: start;
}

.service-split-copy > p:last-child {
  max-width: 680px;
  margin-top: 28px;
}

.service-process {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-process li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-process span {
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-process h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
}

.service-process p {
  margin: 8px 0 0;
  color: rgba(235, 242, 239, 0.64);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-output {
  margin-top: 42px;
  padding: 28px;
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.045);
}

.service-output h3 {
  margin: 0;
  color: #fff;
  font-size: 1.25rem;
}

.service-output ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.service-output li {
  position: relative;
  padding-left: 22px;
  color: rgba(235, 242, 239, 0.7);
  font-size: 0.93rem;
  line-height: 1.45;
}

.service-output li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.service-applications {
  background: #020506;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.application-grid div {
  min-height: 150px;
  padding: 24px;
  background: #050b0d;
}

.application-grid strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.application-grid p {
  margin: 12px 0 0;
  color: rgba(235, 242, 239, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-reference {
  margin: 28px 0 0;
  color: rgba(235, 242, 239, 0.55);
  font-size: 0.8rem;
  line-height: 1.5;
}

.service-reference a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-regulatory {
  background: #071013;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.regulatory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.regulatory-grid article {
  min-height: 210px;
  padding: 28px;
  background: #081417;
}

.regulatory-grid span {
  color: var(--green);
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.regulatory-grid h3 {
  margin: 30px 0 0;
  color: #fff;
  font-size: 1.18rem;
}

.regulatory-grid p {
  margin: 12px 0 0;
  color: rgba(235, 242, 239, 0.65);
  line-height: 1.55;
}

.regulatory-boundary {
  margin-top: 26px;
  padding: 22px 24px;
  color: #e9f2ee;
  background: rgba(30, 169, 255, 0.08);
  border: 1px solid rgba(30, 169, 255, 0.32);
  border-left: 4px solid var(--blue);
}

.regulatory-boundary strong {
  display: block;
  margin-bottom: 8px;
}

.regulatory-boundary p {
  margin: 0;
  color: rgba(235, 242, 239, 0.68);
  line-height: 1.55;
}

.service-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  padding: clamp(72px, 9vw, 118px) max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(125deg, rgba(30, 169, 255, 0.13), transparent 44%, rgba(141, 227, 79, 0.11)),
    #061014;
}

.service-cta p:not(.section-kicker) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(235, 242, 239, 0.67);
  font-size: 1.05rem;
  line-height: 1.55;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(235, 242, 239, 0.46);
  background: #020404;
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .service-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 126px;
  }

  .service-emblem {
    min-height: 250px;
  }

  .service-emblem::before {
    width: min(52vw, 330px);
  }

  .service-emblem::after {
    width: min(42vw, 270px);
  }

  .service-emblem img {
    width: min(36vw, 230px);
  }

  .service-heading,
  .service-split {
    grid-template-columns: 1fr;
  }

  .offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-cta .hero-actions {
    justify-content: flex-start;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .service-hero {
    gap: 28px;
    padding-top: 148px;
    padding-bottom: 64px;
  }

  .service-back {
    margin-bottom: 26px;
  }

  .service-hero h1 {
    font-size: clamp(2.5rem, 11.5vw, 3.35rem);
    overflow-wrap: anywhere;
  }

  .service-emblem {
    min-height: 220px;
  }

  .service-emblem span {
    bottom: 0;
  }

  .service-heading {
    display: block;
  }

  .service-heading > p {
    margin-top: 24px;
  }

  .offer-grid,
  .application-grid,
  .regulatory-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 250px;
  }

  .service-process li {
    grid-template-columns: 42px 1fr;
  }

  .service-output {
    padding: 22px;
  }

  .service-footer {
    display: block;
  }

  .service-footer span {
    display: block;
    margin-top: 8px;
  }
}

.service-hero-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(92, 180, 205, 0.24);
  border-radius: 8px;
  background: #05090a;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.38);
}

.service-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  opacity: 0.92;
}

.service-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-image-band {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.service-image-panel {
  min-height: 420px;
  padding: clamp(28px, 5vw, 68px);
  background: #071114;
}

.service-image-panel.image-panel-dark {
  background: #020506;
}

.service-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.service-image-panel h2 {
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.service-image-panel p:not(.section-kicker) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(235, 242, 239, 0.68);
  font-size: 1rem;
  line-height: 1.6;
}

.integration-loop {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: clamp(74px, 9vw, 128px) max(24px, calc((100vw - 1180px) / 2));
  background: #050b0d;
}

.integration-loop img {
  width: min(100%, 440px);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.integration-loop h2 {
  max-width: 620px;
  margin: 20px 0 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.96;
}

.integration-loop p:not(.section-kicker) {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(235, 242, 239, 0.68);
  font-size: 1.04rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .service-hero-media {
    min-height: 300px;
  }

  .service-hero-media img {
    min-height: 300px;
  }

  .service-image-band,
  .integration-loop {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-hero-media,
  .service-hero-media img {
    min-height: 230px;
  }

  .service-image-panel {
    min-height: 320px;
    padding: 32px 22px;
  }

  .service-image-panel img {
    min-height: 220px;
  }
}

/* Keep service pages calm and let the supplied product images remain fully visible. */
.service-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(34px, 6vw, 78px);
  padding-top: 148px;
  padding-bottom: 88px;
  background: #071113;
}

.service-hero::after {
  display: none;
}

.service-hero h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 5.6vw, 5.3rem);
  line-height: 0.98;
}

.service-lead {
  max-width: 600px;
  font-size: 1.05rem;
  font-weight: 500;
}

.service-hero-media {
  display: grid;
  place-items: center;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 18px;
  border-color: rgba(170, 190, 185, 0.2);
  border-radius: 10px;
  background: #11191a;
  box-shadow: none;
}

.service-hero-media img {
  min-height: 0;
  object-fit: contain;
}

.service-heading h2,
.service-split h2,
.service-cta h2 {
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  line-height: 1.02;
}

.service-heading > p,
.service-split-copy > p:last-child {
  font-size: 1rem;
  font-weight: 500;
}

.regulation-copy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  max-width: 1120px;
}

.regulation-copy p {
  margin: 0;
  color: rgba(235, 242, 239, 0.7);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}

.offer-grid {
  gap: 14px;
}

.offer-card {
  min-height: 240px;
  padding: 22px;
  border-color: rgba(170, 190, 185, 0.2);
  border-radius: 10px;
  background: #0b1719;
  box-shadow: none;
}

.offer-card h3 {
  font-size: 1.18rem;
}

.offer-card p {
  font-size: 0.92rem;
  font-weight: 500;
}

.service-image-band {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  background: #030708;
}

.service-image-panel {
  min-height: 330px;
  border: 1px solid rgba(170, 190, 185, 0.18);
  border-radius: 10px;
  padding: clamp(26px, 4vw, 48px);
  background: #11191a;
}

.service-image-panel.image-panel-dark {
  background: #0b1719;
}

.service-image-panel img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 300px;
  margin-top: auto;
  object-fit: contain;
}

.integration-loop {
  gap: 48px;
  background: #0b1719;
}

.integration-loop img {
  max-height: 360px;
  object-fit: contain;
  padding: 18px;
  border: 1px solid rgba(170, 190, 185, 0.16);
  background: #11191a;
}

@media (max-width: 980px) {
  .service-hero {
    grid-template-columns: 1fr;
  }

  .regulation-copy {
    grid-template-columns: 1fr;
  }

  .service-hero-media {
    width: min(100%, 620px);
  }

  .service-image-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-hero {
    padding-top: 148px;
  }

  .service-hero-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 12px;
  }

  .service-image-band {
    padding: 18px;
  }

.service-image-panel {
  min-height: 260px;
  padding: 24px;
}
}

/* Modular systems page: keep the product story compact and solution-led. */
.service-hero-gallery {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: stretch;
  min-width: 0;
}

.service-hero-gallery figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 150px;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(170, 190, 185, 0.2);
  border-radius: 10px;
  background: #11191a;
}

.service-hero-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.service-hero-gallery figcaption {
  padding-top: 8px;
  color: rgba(235, 242, 239, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modular-solutions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.modular-explanation p {
  max-width: 680px;
  margin: 0;
  color: rgba(235, 242, 239, 0.72);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.72;
}

.solution-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.solution-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.solution-row > span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.solution-row h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.15;
}

.solution-row p {
  margin: 8px 0 0;
  color: rgba(235, 242, 239, 0.62);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
}

.integration-note {
  max-width: 660px;
  margin-top: 14px !important;
  color: rgba(235, 242, 239, 0.52) !important;
  font-size: 0.92rem !important;
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.application-list > div {
  min-height: 132px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.application-list > div:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.application-list strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.application-list p {
  max-width: 480px;
  margin: 10px 0 0;
  color: rgba(235, 242, 239, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.market-context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  max-width: 1120px;
}

.market-context p {
  margin: 0;
  color: rgba(235, 242, 239, 0.7);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.72;
}

.service-output.service-output-plain {
  padding: 0;
  border-left: 0;
  background: transparent;
}

.service-output-plain ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
}

.service-output-plain li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
  .service-hero-gallery {
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 620px);
  }

  .modular-solutions {
    grid-template-columns: 1fr;
  }

  .market-context {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-hero-gallery {
    gap: 10px;
  }

  .service-hero-gallery figure {
    min-height: 132px;
    padding: 10px;
  }

  .application-list {
    grid-template-columns: 1fr;
  }

  .application-list > div,
  .application-list > div:nth-child(even) {
    padding: 20px 0;
    border-left: 0;
  }

  .service-output-plain ul {
    grid-template-columns: 1fr;
  }
}
