:root {
  --service-navy: #071827;
  --service-blue: #0b72e7;
  --service-cyan: #18a0b8;
  --service-ink: #102238;
  --service-muted: #52677b;
  --service-border: #d9e3ea;
  --service-surface: #f3f7fa;
}

.service-container {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

.service-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background-color: #03111f;
  background-image:
    linear-gradient(90deg, rgba(3, 15, 29, 0.92) 0%, rgba(3, 15, 29, 0.76) 46%, rgba(3, 15, 29, 0.18) 76%, rgba(3, 15, 29, 0.08) 100%),
    url("../images/heroes/technical-service-hero.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.service-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(56, 189, 248, 0.42);
  content: "";
}

.service-hero__inner {
  display: flex;
  min-height: 440px;
  align-items: center;
  padding-block: 5rem;
}

.service-hero__content {
  max-width: 720px;
}

.service-hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  font-weight: 900;
  line-height: 1.04;
}

.service-hero__content > p:last-child {
  max-width: 680px;
  margin-top: 1.5rem;
  color: #d2deea;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.9;
}

.service-overview {
  background: var(--service-surface);
  padding-block: 5rem;
}

.service-overview__block {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  border-left: 3px solid var(--service-cyan);
  background: #fff;
  padding: 2rem;
}

.service-section-index {
  color: var(--service-cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 900;
}

.service-eyebrow {
  color: #0b7e98;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.service-overview__block h2,
.service-section-heading h2,
.service-copy-column h2,
.service-cta h2 {
  margin-top: 0.6rem;
  color: var(--service-ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
}

.service-overview__block p:last-child {
  max-width: 920px;
  margin-top: 1rem;
  color: var(--service-muted);
  line-height: 1.9;
}

.service-card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-guide-card {
  position: relative;
  min-height: 100%;
  border: 1px solid var(--service-border);
  border-radius: 6px;
  background: #fff;
  padding: 1.75rem;
}

.service-guide-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--service-cyan);
  content: "";
}

.service-guide-card__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.service-guide-card__head span {
  color: var(--service-cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 900;
}

.service-guide-card h3 {
  color: var(--service-ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.service-guide-card ul {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.service-guide-card li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--service-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-guide-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 2px;
  background: var(--service-cyan);
  content: "";
}

.service-technical-section {
  background: #fff;
  padding-block: 5rem;
}

.service-technical-layout,
.service-parameter-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.service-copy-column {
  padding-top: 0.5rem;
}

.service-highlight-copy {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
  border-left: 3px solid var(--service-blue);
  padding-left: 1.4rem;
  color: var(--service-muted);
  line-height: 1.9;
}

.service-table-panel {
  overflow: hidden;
  border: 1px solid var(--service-border);
  border-radius: 6px;
  background: #fff;
}

.service-table-heading {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--service-navy);
  padding: 1.45rem 1.6rem;
  color: #fff;
}

.service-table-heading::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 96px;
  height: 100%;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.5) 1px, transparent 1px);
  background-size: 16px 16px;
  content: "";
}

.service-table-heading span {
  color: #80e6f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-table-heading h3 {
  margin-top: 0.45rem;
  font-size: 1.2rem;
  font-weight: 900;
}

.service-table-heading p {
  margin-top: 0.35rem;
  color: #9fb2c4;
  font-size: 0.72rem;
}

.service-table-scroll {
  overflow-x: auto;
}

.service-data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #334a60;
  font-size: 0.84rem;
}

.service-data-table th,
.service-data-table td {
  border-right: 1px solid #e1e9ef;
  border-bottom: 1px solid #e1e9ef;
  padding: 0.92rem 0.8rem;
  text-align: center;
  white-space: nowrap;
}

.service-data-table thead th {
  background: #eaf3f8;
  color: var(--service-ink);
  font-weight: 800;
}

.service-data-table tbody th {
  background: #f6fafc;
  color: #0b72a1;
  font-weight: 900;
}

.service-data-table tr:last-child th,
.service-data-table tr:last-child td {
  border-bottom: 0;
}

.service-data-table th:last-child,
.service-data-table td:last-child {
  border-right: 0;
}

.service-parameter-section {
  background: var(--service-surface);
  padding-block: 5rem;
}

.service-section-heading {
  max-width: 760px;
}

.service-parameter-layout {
  margin-top: 2.25rem;
}

.service-parameter-copy {
  display: grid;
  gap: 1.25rem;
  color: var(--service-muted);
  line-height: 1.95;
}

.service-table-panel--compact {
  max-width: 100%;
}

.service-data-table--parameters {
  min-width: 560px;
}

.service-data-table--parameters th,
.service-data-table--parameters td {
  text-align: left;
  white-space: normal;
}

.service-data-table--parameters th {
  width: 31%;
}

.service-disclaimer {
  margin-top: 2rem;
  border-top: 1px solid var(--service-border);
  padding-top: 1.25rem;
  color: #6a7e90;
  font-size: 0.78rem;
  line-height: 1.7;
}

.service-cta {
  background: var(--service-navy);
  color: #fff;
}

.service-cta__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: 3.5rem;
}

.service-cta h2 {
  color: #fff;
}

.service-cta p:last-child {
  max-width: 720px;
  margin-top: 0.8rem;
  color: #9fb2c4;
  line-height: 1.75;
}

.service-cta__inner > a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border: 1px solid #37c6dc;
  border-radius: 4px;
  background: var(--service-cyan);
  padding: 0.75rem 1.6rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.service-cta__inner > a:hover {
  border-color: #80e6f5;
  background: #128ca3;
}

@media (min-width: 640px) {
  .service-container {
    width: min(100% - 3rem, 1280px);
  }

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

@media (min-width: 960px) {
  .service-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-technical-layout {
    grid-template-columns: minmax(0, 0.78fr) minmax(600px, 1.22fr);
  }

  .service-parameter-layout {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.9fr);
  }

  .service-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .service-cta__inner > a {
    justify-self: end;
  }
}

@media (max-width: 767px) {
  .service-hero {
    min-height: 390px;
    background-image:
      linear-gradient(90deg, rgba(3, 15, 29, 0.95) 0%, rgba(3, 15, 29, 0.78) 68%, rgba(3, 15, 29, 0.5) 100%),
      url("../images/heroes/technical-service-hero.png");
    background-position: 66% center;
  }

  .service-hero__inner {
    min-height: 390px;
    padding-block: 4rem;
  }

  .service-overview,
  .service-technical-section,
  .service-parameter-section {
    padding-block: 3.5rem;
  }

  .service-overview__block {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.4rem;
  }

  .service-guide-card {
    padding: 1.4rem;
  }

  .service-table-scroll {
    scrollbar-color: #8aa4b8 #e5edf2;
    scrollbar-width: thin;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-cta__inner > a {
    transition: none;
  }
}
