body.service-page {
  overflow-x: hidden;
}

.service-page .page-shell {
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.service-page .site-header {
  padding: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(0.8rem, 2vw, 1.2rem);
}

.service-main {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: clamp(1rem, 2vw, 1.5rem);
  padding-inline: clamp(1rem, 4%, 2rem);
}

.service-hero .server-wall {
  inset: 0 0 0 auto;
  width: min(44%, 40rem);
  opacity: 0.68;
}

.service-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: clamp(1rem, 4%, 3rem);
  align-items: center;
  min-height: min(82svh, 52rem);
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.service-page .hero-copy {
  max-width: 100%;
  padding: 0;
}

.service-page .hero-copy h1 {
  max-width: 11.5ch;
}

.service-page .lead {
  max-width: 92%;
  color: rgba(230, 241, 255, 0.82);
}

.service-summary {
  width: 100%;
  margin: 0;
  justify-self: stretch;
  background: rgba(10, 16, 24, 0.82);
  z-index: 1;
}

.service-summary p {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.service-summary-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  color: rgba(230, 241, 255, 0.78);
  line-height: 1.7;
}

.service-summary-list li + li {
  margin-top: 0.55rem;
}

.service-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.2rem, 4%, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(180deg, rgba(19, 26, 35, 0.24), rgba(8, 12, 18, 0.22)),
    rgba(10, 16, 24, 0.14);
}

.service-section.snap-panel {
  min-height: auto;
  align-content: center;
}

.service-section h2 {
  margin: 0;
}

.section-copy {
  max-width: 58rem;
  margin: 0 auto;
  text-align: center;
}

.section-copy p {
  margin: 0;
  color: rgba(230, 241, 255, 0.8);
}

.service-page .bullet-list {
  display: grid;
  gap: clamp(0.65rem, 2vw, 0.95rem);
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(230, 241, 255, 0.8);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2.4vw, 1.15rem);
}

.mini-card {
  position: relative;
  padding: clamp(1rem, 3%, 1.2rem);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    rgba(10, 15, 22, 0.2);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.mini-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.mini-card:hover,
.mini-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 207, 255, 0.28);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.mini-card:hover::before,
.mini-card:focus-within::before {
  opacity: 1;
}

.mini-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.08rem;
}

.mini-card p {
  color: rgba(230, 241, 255, 0.78);
}

.cta-panel {
  text-align: center;
}

.service-page .contact-actions {
  justify-content: center;
}

.service-page .site-footer {
  margin-top: clamp(1rem, 2.5vw, 1.5rem);
  border-radius: 0 0 1rem 1rem;
}

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

  .service-hero .server-wall {
    inset: auto 0 0 0;
    width: 100%;
    height: 26%;
    opacity: 0.32;
  }

  .service-summary {
    width: min(100%, 40rem);
  }

  .service-hero-inner,
  .service-section.snap-panel {
    min-height: auto;
  }
}

@media (min-width: 1121px) {
  .service-hero {
    background:
      linear-gradient(90deg, rgba(4, 8, 14, 0.58) 0%, rgba(4, 8, 14, 0.48) 50%, rgba(3, 8, 14, 0.18) 100%);
  }

  .service-hero .server-wall {
    opacity: 0.42;
  }

  .service-summary {
    background: rgba(10, 16, 24, 0.94);
  }

  .service-section {
    background:
      linear-gradient(180deg, rgba(19, 26, 35, 0.62), rgba(8, 12, 18, 0.6)),
      rgba(10, 16, 24, 0.4);
  }

  .mini-card {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
      rgba(10, 15, 22, 0.42);
  }
}

@media (max-width: 640px) {
  html,
  body.service-page {
    overflow-x: clip;
  }

  .service-page .page-shell {
    width: 100%;
    padding-left: 3%;
    padding-right: 3%;
  }

  .service-main {
    gap: 0.9rem;
  }

  .service-hero {
    padding-inline: 0.9rem;
    border-radius: 1rem;
  }

  .service-hero-inner {
    display: block;
    min-height: auto;
    padding-block: 1rem 1.15rem;
    gap: 0.9rem;
  }

  .service-page .lead {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .service-section.snap-panel,
  .service-hero.snap-panel {
    min-height: auto;
    display: block;
  }

  .service-summary {
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.95rem;
  }

  .service-summary p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .service-summary-list {
    margin-top: 0.8rem;
    padding-left: 1rem;
    font-size: 0.95rem;
  }

  .service-section {
    padding: 1rem 0.95rem;
    border-radius: 1rem;
  }

  .cta-panel {
    text-align: left;
  }

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

  .section-copy {
    text-align: left;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .service-hero .server-wall,
  .service-hero .network-grid {
    display: none;
  }
}

@media (max-width: 420px) {
  .service-page .hero-copy h1 {
    max-width: none;
  }

  .service-summary-list {
    line-height: 1.6;
  }
}
