/* Standards / services section replica. Loaded last. */

#services,
.section-standards {
  position: relative;
  overflow: visible;
  scroll-margin-top: 120px;
  padding: 88px 0 80px;
  background-color: #f6f9ff;
  background-image:
    radial-gradient(ellipse 46% 40% at 8% 18%, rgba(176, 210, 255, 0.38), transparent 70%),
    radial-gradient(ellipse 42% 36% at 94% 82%, rgba(186, 220, 255, 0.3), transparent 72%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 46%, #f5f8ff 100%);
}

.section-standards::before,
.section-standards::after {
  display: none;
}

.section-standards > .container {
  position: relative;
  z-index: 1;
}

.section-standards .section-heading {
  display: grid;
  grid-template-columns: 72px auto 72px;
  align-items: center;
  justify-content: center;
  column-gap: 18px;
  margin-bottom: 40px;
}

.section-standards .section-heading h2 {
  color: #14213d;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 800;
}

.section-standards .section-heading h2 strong {
  color: #1d4fd8;
}

.section-standards .heading-rule {
  position: relative;
  width: 72px;
  height: 2px;
  background: #c5d7f5;
}

.section-standards .heading-rule::before,
.section-standards .heading-rule::after {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f6bff;
  content: "";
  transform: translateY(-50%);
}

.section-standards .heading-rule::before { left: 28px; }
.section-standards .heading-rule::after { display: none; }
.section-standards .heading-rule.flip::before { left: auto; right: 28px; }

.section-standards .section-heading > p {
  grid-column: 1 / -1;
  max-width: 42em;
  margin-top: 14px;
  color: #5b6b82;
  font-size: 15px;
  line-height: 1.8;
}

.section-standards .standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.section-standards .standard-panel {
  display: flex;
  flex-direction: column;
  min-height: 0 !important;
  padding: 26px 26px 24px;
  border: 1px solid #e4eef8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 72, 138, 0.07);
}

.section-standards .standard-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-standards .standard-panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-standards .standard-panel-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eaf2ff;
}

.section-standards .standard-panel-symbol img {
  width: 32px;
  height: 32px;
}

.section-standards .standard-panel h3 {
  margin: 0 0 4px !important;
  color: #14213d;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
}

.section-standards .standard-panel-summary {
  max-width: 28em;
  margin: 0;
  color: #66788f;
  font-size: 12px;
  line-height: 1.6;
}

.section-standards .standard-panel-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  color: #1d4fd8;
  background: #eef4ff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.section-standards .standard-panel-note::before {
  width: 6px;
  height: 6px;
  margin: 0;
  border-radius: 50%;
  background: #2f6bff;
  content: "";
}

.section-standards .arch-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  grid-template-rows: auto;
  align-items: stretch !important;
  align-content: start;
  flex: none;
  gap: 14px;
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0;
}

.section-standards .arch-labels,
.section-standards .arch-stack {
  display: none;
}

.section-standards .arch-rows {
  display: grid;
  grid-column: 1;
  align-content: stretch;
  gap: 8px;
  min-width: 0;
}

.section-standards .arch-row {
  display: grid;
  grid-template-columns: 40px 5.4em minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  min-height: 56px;
  padding: 8px 10px 8px 8px;
  border-radius: 14px;
  background: #eef4ff;
}

.section-standards .arch-row:nth-child(2) { background: #f3efff; }
.section-standards .arch-row:nth-child(3) { background: #eef8f3; }
.section-standards .arch-row:nth-child(4) { background: #fff6ee; }

.section-standards .arch-row-meta {
  display: contents;
}

.section-standards .arch-ico {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 11px;
  background: #eaf2ff;
}

.section-standards .arch-ico--plat { background: #efeaff; }
.section-standards .arch-ico--data { background: #e8f8f2; }
.section-standards .arch-ico--infra { background: #fff3e4; }

.section-standards .arch-ico img {
  display: block;
  width: 32px;
  height: 32px;
}

.section-standards .arch-row b {
  color: #1e335c;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.section-standards .arch-pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.section-standards .arch-pills span {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #1d4fd8;
  background: #dce8ff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.section-standards .arch-pills .pill-purple {
  color: #6b4fd4;
  background: #e4dcff;
}

.section-standards .arch-pills .pill-green {
  color: #0f8a6c;
  background: #d7f3e8;
}

.section-standards .arch-badge {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch !important;
  grid-column: 2;
  gap: 8px;
  min-height: 100% !important;
  height: auto !important;
  padding: 18px 10px;
  border: 0;
  border-radius: 16px;
  background: #e4efff;
  text-align: center;
}

.section-standards .arch-badge img {
  width: 40px;
  height: 40px;
  padding: 0;
}

.section-standards .arch-badge b {
  color: #1e335c;
  font-size: 14px;
  font-weight: 800;
}

.section-standards .arch-badge small {
  max-width: none !important;
  color: #66788f;
  font-size: 11px;
  line-height: 1.55;
  white-space: normal;
}

.section-standards .workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: none;
  min-height: 0 !important;
  height: auto !important;
  padding-top: 6px;
  gap: 0;
}

.section-standards .workflow-steps > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0 4px;
  text-align: center;
}

.section-standards .workflow-steps .step-icon {
  display: grid;
  width: 80px;
  height: 80px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eaf2ff;
}

.section-standards .workflow-steps > div:nth-of-type(2) .step-icon { background: #e8f8f2; }
.section-standards .workflow-steps > div:nth-of-type(3) .step-icon { background: #efeaff; }
.section-standards .workflow-steps > div:nth-of-type(4) .step-icon { background: #fff3e4; }

.section-standards .workflow-steps .step-icon img {
  display: block;
  width: 58px;
  height: 58px;
}

.section-standards .workflow-steps b {
  margin-top: 12px;
  color: #1e335c;
  font-size: 14px;
  font-weight: 800;
}

.section-standards .workflow-steps small {
  margin-top: 6px;
  color: #66788f;
  font-size: 12px;
  line-height: 1.65;
}

.section-standards .workflow-steps > i {
  position: relative;
  top: 38px;
  display: block;
  width: 22px;
  flex: 0 0 22px;
  height: 2px;
  margin: 0;
  background: #b7ccf0;
}

.section-standards .workflow-steps > i::after {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 6px;
  height: 6px;
  border: 0;
  border-top: 2px solid #7ea2df;
  border-right: 2px solid #7ea2df;
  background: none;
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 1180px) {
  .section-standards .standard-panel { padding: 22px 20px 20px; }
  .section-standards .arch-body { grid-template-columns: minmax(0, 1fr) 108px !important; gap: 12px; }
  .section-standards .arch-row { grid-template-columns: 40px 5em minmax(0, 1fr); column-gap: 8px; }
  .section-standards .arch-pills { gap: 6px; }
  .section-standards .arch-pills span { padding: 0 8px; font-size: 11px; min-height: 30px; }
  .section-standards .workflow-steps > i { width: 16px; flex-basis: 16px; }
}

@media (max-width: 980px) {
  .section-standards .standards-grid { grid-template-columns: 1fr; }
  .section-standards .arch-body { grid-template-columns: minmax(0, 1fr) 120px !important; }
  .section-standards .arch-row { grid-template-columns: 40px 5.4em minmax(0, 1fr); }
  .section-standards .workflow-steps > i { width: 28px; flex-basis: 28px; }
}

@media (max-width: 760px) {
  .section-standards { padding: 64px 0 56px; }
  .section-standards .section-heading { grid-template-columns: 28px auto 28px; column-gap: 10px; }
  .section-standards .heading-rule { width: 28px; }
  .section-standards .heading-rule::before { left: 10px; }
  .section-standards .heading-rule.flip::before { right: 10px; }
  .section-standards .standard-panel { padding: 22px 18px 20px; }
  .section-standards .standard-panel-head { flex-direction: column; align-items: flex-start; }
  .section-standards .arch-body { grid-template-columns: 1fr !important; }
  .section-standards .arch-rows { grid-column: auto; }
  .section-standards .arch-badge { grid-column: auto; flex-direction: row; justify-content: flex-start; min-height: 0 !important; gap: 12px; padding: 14px 16px; text-align: left; }
  .section-standards .arch-row { grid-template-columns: 40px auto minmax(0, 1fr); }
  .section-standards .arch-pills { flex-wrap: wrap; }
  .section-standards .workflow-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section-standards .workflow-steps > div {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 10px 0;
    text-align: left;
  }
  .section-standards .workflow-steps > div:not(:last-of-type)::after {
    top: calc(50% + 32px);
    bottom: auto;
    left: 28px;
    height: 12px;
  }
  .section-standards .workflow-steps .step-icon {
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
  }
  .section-standards .workflow-steps .step-icon img {
    width: 36px;
    height: 36px;
  }
  .section-standards .workflow-steps b { margin-top: 0; }
  .section-standards .workflow-steps small { text-align: left; }
  .section-standards .workflow-steps > i { display: none; }
}
