/* Service page, matched to the approved customer drawing. */

.page-service-custom {
  --service-blue: #0755b5;
  --service-deep: #082f68;
  --service-ink: #122f55;
  --service-copy: #566b83;
  --service-line: #d9e3ef;
  color: var(--service-ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.page-service-shell {
  display: grid;
  width: min(1400px, calc(100% - 40px));
  max-width: none !important;
  grid-template-areas: "sidebar content";
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 0 auto;
  padding: 20px 0 64px;
}

.page-service-custom__content { grid-area: content; min-width: 0; }
.page-service-custom .page-production-sidebar { grid-area: sidebar; }

.page-service-hero {
  width: 100%;
  min-height: clamp(340px, 26.0417vw, 500px);
  border-radius: 0;
}
.page-service-hero__image { object-position: center 48%; }
.page-service-hero__overlay {
  background: linear-gradient(90deg, rgba(3, 32, 72, .94) 0%, rgba(3, 40, 84, .84) 43%, rgba(4, 33, 68, .22) 78%, rgba(4, 29, 62, .12) 100%);
}
.page-service-hero__inner {
  width: min(1400px, calc(100% - 40px));
  min-height: clamp(340px, 26.0417vw, 500px);
  justify-content: center;
  margin: 0 auto;
  padding: 88px 34px 28px;
}

@media (min-width: 1400px) {
  .page-service-hero,
  .page-service-hero__inner { min-height: 0; }
}
.page-service-breadcrumbs { margin-bottom: 22px; font-size: 13px; }
.page-service-hero__content { width: min(610px, 62%); }
.page-service-hero h1 { margin-bottom: 14px; font-size: 43px; line-height: 1.08; }
.page-service-hero__text { max-width: 590px; font-size: 15px; line-height: 1.58; }

.page-service-custom__main { display: block; min-width: 0; }
.page-service-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--service-line);
}
.page-service-section:last-of-type { border-bottom: 0; }
.page-service-section > h2 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 17px;
  color: #122b4c;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.24;
}
.page-service-section > h2::before {
  position: absolute;
  top: .08em;
  bottom: .08em;
  left: 0;
  width: 4px;
  border-radius: 3px;
  background: var(--service-blue);
  content: "";
}

.page-service-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
}
.page-service-card {
  min-width: 0;
  border: 1px solid var(--service-line);
  border-radius: 6px;
  background: #fff;
}
.page-service-card--support {
  display: grid;
  height: 100%;
  min-height: 136px;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  box-shadow: 0 7px 18px rgba(18, 53, 91, .035);
}
.page-service-card__icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #073f9f;
  background: transparent;
}
.page-service-card__icon i { font-size: 52px; font-weight: 400; }
.page-service-card h3 {
  margin: 0 0 6px;
  color: #0b387f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.page-service-card p {
  margin: 0;
  color: #53657b;
  font-size: 12.5px;
  line-height: 1.5;
}

.page-service-process-section { padding-right: 14px; padding-left: 14px; background: #fff; }
.page-service-process-section > h2 { margin-left: -14px; }
.page-service-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.page-service-process li {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-rows: 84px auto;
  gap: 9px;
  justify-items: center;
  text-align: center;
}
.page-service-process li:not(:last-child)::after {
  position: absolute;
  top: 41px;
  left: calc(50% + 50px);
  width: calc(100% - 82px);
  height: 1px;
  background: #86add9;
  content: "";
}
.page-service-process li:not(:last-child)::before {
  position: absolute;
  z-index: 1;
  top: 36px;
  left: calc(100% + 1px);
  width: 10px;
  height: 10px;
  border-top: 1px solid #588fcf;
  border-right: 1px solid #588fcf;
  content: "";
  transform: rotate(45deg);
}
.page-service-process__number {
  position: absolute;
  z-index: 2;
  top: -3px;
  left: calc(50% - 48px);
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #073f9f;
  font-size: 11px;
  font-weight: 700;
}
.page-service-process__icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 1px solid #cfdceb;
  border-radius: 50%;
  color: #073f9f;
  background: #fff;
}
.page-service-process__icon i { font-size: 38px; }
.page-service-process strong {
  max-width: 175px;
  color: #17365e;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.34;
}
.page-service-process__summary {
  margin-top: 13px;
  padding: 0;
  border: 0;
  color: #52677f;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
}
.page-service-process__summary p { margin: 0; }

.page-service-details__layout {
  display: grid;
  height: 210px;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1.06fr);
  gap: 20px;
  align-items: stretch;
}
.page-service-details ul {
  display: grid;
  gap: 8px;
  align-content: center;
  margin: 0;
  padding: 18px 22px;
  border: 0;
  border-radius: 6px;
  background: #f5f7fa;
  list-style: none;
}
.page-service-details li {
  position: relative;
  padding-left: 20px;
  color: #43566e;
  font-size: 13px;
  line-height: 1.46;
}
.page-service-details li::before {
  position: absolute;
  top: .54em;
  left: 0;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--service-blue);
  content: "";
}
.page-service-details figure {
  width: 100%;
  height: 210px;
  max-height: 210px;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 6px;
  background: #e9eef5;
}
.page-service-details figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-service-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.page-service-card--scenario { overflow: hidden; box-shadow: 0 7px 18px rgba(18, 53, 91, .04); }
.page-service-card--scenario figure {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  margin: 0;
  background: #e9eef5;
}
.page-service-card--scenario figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
.page-service-card--scenario:hover figure img { transform: scale(1.025); }
.page-service-card--scenario > div { padding: 14px 15px 16px; }

.page-service-cta {
  width: calc(100% + 244px);
  margin-top: 20px;
  margin-left: -244px;
  padding: 18px 24px;
}
.page-service-cta.page-production-cta {
  grid-template-columns: 64px minmax(0, 1fr) minmax(190px, auto) minmax(170px, 220px);
  gap: 22px;
}
.page-service-cta .page-production-cta__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
}
.page-service-cta .page-production-cta__icon::before,
.page-service-cta .page-production-cta__icon::after { display: none; }
.page-service-cta .page-production-cta__icon i {
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.page-service-cta h2 { font-size: 20px; }
.page-service-cta p { font-size: 13px; }
.page-service-cta__contacts {
  display: grid;
  gap: 8px;
  align-content: center;
}
.page-service-cta__contacts a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  color: #fff;
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.page-service-cta__contacts i { font-size: 17px; }

.page-service-custom .page-production-sidebar { gap: 14px; }
.page-service-custom .page-production-sidebar__block > h2,
.page-service-custom .page-production-sidebar__heading,
.page-service-custom .page-production-sidebar__contact h2 { font-size: 16px; }
.page-service-custom .page-production-sidebar__products a { padding: 10px 0; font-size: 12.5px; }
.page-service-custom .page-production-sidebar__news li > a {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
}
.page-service-custom .page-production-sidebar__news img { width: 52px; height: 42px; }

@media (max-width: 1199px) {
  .page-service-shell {
    width: min(calc(100% - 32px), 1120px);
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 20px;
    padding-top: 18px;
  }
  .page-service-hero,
  .page-service-hero__inner { min-height: 315px; }
  .page-service-hero__inner { width: min(calc(100% - 32px), 1120px); }
  .page-service-hero h1 { font-size: 38px; }
  .page-service-card--support { grid-template-columns: 54px minmax(0, 1fr); padding: 14px; }
  .page-service-card__icon { width: 50px; }
  .page-service-card__icon i { font-size: 42px; }
  .page-service-details__layout {
    height: auto;
    grid-template-columns: minmax(0, .95fr) minmax(330px, 1.05fr);
  }
  .page-service-details figure {
    height: auto;
    max-height: none;
    aspect-ratio: 2.78 / 1;
  }
  .page-service-cta { width: calc(100% + 230px); margin-left: -230px; }
  .page-service-cta.page-production-cta {
    grid-template-columns: 64px minmax(0, 1fr) minmax(190px, auto) minmax(170px, 220px);
    gap: 22px;
  }
}

@media (max-width: 991px) {
  .page-service-shell {
    display: flex;
    width: min(calc(100% - 28px), 920px);
    flex-direction: column;
    gap: 26px;
  }
  .page-service-custom__content { order: 1; width: 100%; }
  .page-service-custom .page-production-sidebar {
    order: 2;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-service-custom .page-production-sidebar__contact { grid-column: 1 / -1; }
  .page-service-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-service-cta { width: 100%; margin-left: 0; }
  .page-service-cta.page-production-cta {
    grid-template-columns: 64px minmax(0, 1fr) minmax(190px, auto) minmax(170px, 220px);
  }
}

@media (max-width: 767px) {
  .page-service-shell { width: calc(100% - 24px); padding: 12px 0 42px; }
  .page-service-hero { min-height: 390px; border-radius: 0; }
  .page-service-hero__inner {
    width: 100%;
    min-height: 390px;
    justify-content: flex-end;
    padding: 76px 20px 28px;
  }
  .page-service-breadcrumbs { margin-bottom: 18px; }
  .page-service-hero__content { width: 100%; }
  .page-service-hero h1 { font-size: 34px; }
  .page-service-hero__text { font-size: 13px; line-height: 1.52; }
  .page-service-section { padding: 22px 0; }
  .page-service-section > h2 { font-size: 20px; }
  .page-service-support-grid,
  .page-service-scenario-grid,
  .page-service-details__layout { grid-template-columns: 1fr; }
  .page-service-card--support {
    min-height: 0;
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .page-service-process-section { padding-right: 16px; padding-left: 16px; }
  .page-service-process-section > h2 { margin-left: -16px; }
  .page-service-process { grid-template-columns: 1fr; gap: 14px; }
  .page-service-process li {
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 12px;
    align-items: center;
    justify-items: start;
    text-align: left;
  }
  .page-service-process li:not(:last-child)::after {
    top: 54px;
    bottom: -15px;
    left: 27px;
    width: 1px;
    height: auto;
  }
  .page-service-process li:not(:last-child)::before { display: none; }
  .page-service-process__number {
    top: -4px;
    left: -5px;
    width: 21px;
    height: 21px;
    font-size: 10px;
  }
  .page-service-process__icon { width: 54px; height: 54px; grid-column: 1; }
  .page-service-process__icon i { font-size: 26px; }
  .page-service-process strong {
    max-width: none;
    grid-column: 2;
    font-size: 13px;
  }
  .page-service-details figure { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .page-service-card--scenario figure { aspect-ratio: 3 / 2; }
  .page-service-cta.page-production-cta {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }
  .page-service-cta__contacts { grid-column: 2; }
  .page-service-cta .page-production-cta__button { width: 100%; grid-column: 1 / -1; }
  .page-service-custom .page-production-sidebar { grid-template-columns: 1fr; }
  .page-service-custom .page-production-sidebar__contact { grid-column: auto; }
}
