/* Distinct semantic hero visuals for the four secondary-page stories. */

.page-banner.secondary-hero {
  min-height: min(760px, 100svh);
  align-items: center;
  padding: clamp(112px, 14vh, 148px) 0 clamp(48px, 8vh, 76px);
  color: #102536;
  background:
    radial-gradient(circle at 76% 28%, rgba(7, 95, 202, .11), transparent 31%),
    linear-gradient(135deg, #f7f9f9 0%, #edf1f2 68%, #e7edef 100%);
}

.page-banner.secondary-hero::before {
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 37, 54, .055) 1px, transparent 1px);
  background-size: min(10vw, 144px) 100%;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.page-banner.secondary-hero::after {
  right: -120px;
  bottom: -260px;
  width: 540px;
  height: 540px;
  border-color: rgba(7, 95, 202, .09);
  box-shadow:
    0 0 0 72px rgba(7, 95, 202, .022),
    0 0 0 144px rgba(7, 95, 202, .014);
}

.secondary-hero .secondary-hero__layout {
  display: grid;
  grid-template-columns: minmax(310px, .72fr) minmax(560px, 1.28fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
}

.secondary-hero__copy {
  position: relative;
  z-index: 2;
}

.secondary-hero .eyebrow {
  color: #075fca;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.secondary-hero h1 {
  max-width: 640px;
  margin-top: 19px;
  color: #102536;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.secondary-hero .sub {
  max-width: 590px;
  margin-top: 24px;
  color: #435766;
  font-size: 16px;
  line-height: 1.8;
}

.secondary-hero__cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: #667b89;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.secondary-hero__cue::before {
  content: "";
  width: 34px;
  height: 1px;
  background: #075fca;
}

.section-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c7d5dc;
  border-radius: 6px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 28px 72px rgba(16, 48, 68, .12);
  isolation: isolate;
}

.visual-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border-bottom: 1px solid #d8e2e6;
  color: #6a7e8a;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.visual-heading strong {
  color: #183a4f;
  font-family: "IBM Plex Sans", "Noto Sans SC", sans-serif;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: none;
}

.visual-index {
  color: #075fca;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
}

.section-visual strong,
.section-visual small {
  display: block;
}

.section-visual strong {
  color: #17364b;
}

.section-visual small {
  color: #667b89;
}

/* Company: a rising capability landscape rather than a uniform timeline. */
.evolution-visual {
  padding-bottom: 24px;
}

.evolution-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 364px;
  margin: 0;
  padding: 42px 26px 20px;
  list-style: none;
}

.evolution-route::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  right: 8%;
  top: 57%;
  height: 1px;
  background: linear-gradient(90deg, #aebfc7, #075fca);
  transform: rotate(-12deg);
  transform-origin: center;
}

.evolution-route::after {
  content: "";
  position: absolute;
  left: 7%;
  top: 65%;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #075fca, #36aee5, transparent);
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(-12deg);
  animation: evolution-signal 4.8s linear infinite paused;
}

.evolution-visual.is-active .evolution-route::after {
  animation-play-state: running;
}

.evolution-stage {
  position: relative;
  min-height: calc(126px + var(--rise));
  padding: 18px 16px;
  border: 1px solid #d2dee3;
  border-top: 2px solid #9ab5c3;
  background: rgba(247, 249, 250, .96);
}

.evolution-stage:nth-child(1) { --rise: 0px; }
.evolution-stage:nth-child(2) { --rise: 42px; }
.evolution-stage:nth-child(3) { --rise: 84px; }
.evolution-stage:nth-child(4) {
  --rise: 126px;
  border-top-color: #075fca;
  background: #eef5fa;
}

.evolution-stage::before {
  content: "";
  position: absolute;
  left: 16px;
  top: -7px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  outline: 1px solid #075fca;
  background: #075fca;
}

.evolution-stage strong {
  margin-top: 36px;
  font-size: 14px;
  line-height: 1.35;
}

.evolution-stage small {
  margin-top: 9px;
  font-size: 10px;
  line-height: 1.5;
}

/* Products: portfolio domains govern one end-to-end data route. */
.product-system-visual {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(300px, 1.3fr);
}

.product-system-visual .visual-heading {
  grid-column: 1 / -1;
}

.product-domains {
  display: grid;
  align-content: center;
  gap: 1px;
  margin: 0;
  padding: 28px 0 28px 24px;
  border-right: 1px solid #d8e2e6;
  background: #eef3f5;
  list-style: none;
}

.product-domain {
  padding: 17px 18px;
  border-left: 2px solid #9eb4bf;
  background: #f8fafb;
}

.product-domain:nth-child(2) { margin-left: 10px; }
.product-domain:nth-child(3) { margin-left: 20px; }
.product-domain:nth-child(4) {
  margin-left: 30px;
  border-left-color: #075fca;
  background: #e9f2f9;
}

.product-domain strong {
  font-size: 12px;
}

.product-domain small {
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.4;
}

.governed-flow {
  position: relative;
  display: grid;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 30px 34px 30px 58px;
  list-style: none;
}

.governed-flow::before,
.governed-flow::after {
  content: "";
  position: absolute;
  left: 33px;
  top: 54px;
  bottom: 54px;
  width: 2px;
}

.governed-flow::before {
  background: #b7c8d0;
}

.governed-flow::after {
  height: 64px;
  bottom: auto;
  background: linear-gradient(transparent, #075fca, #36aee5, transparent);
  opacity: 0;
  animation: governed-signal 4.2s linear infinite paused;
}

.product-system-visual.is-active .governed-flow::after {
  animation-play-state: running;
}

.flow-stage {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid #d5e0e4;
  background: #fff;
}

.flow-stage::before {
  content: "";
  position: absolute;
  left: -32px;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  outline: 1px solid #075fca;
  background: #075fca;
}

.flow-stage:nth-child(3) {
  border-color: #9bbacc;
  background: #eef5fa;
}

.flow-stage strong {
  font-size: 12px;
}

.flow-stage small {
  font-size: 9px;
  line-height: 1.4;
}

/* Services hero: a concise handoff route; the full capability landscape below is composable rather than stage-bound. */
.lifecycle-visual {
  padding-bottom: 26px;
}

.lifecycle-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(132px, auto));
  gap: 12px;
  margin: 0;
  padding: 34px;
  list-style: none;
}

.lifecycle-track::before {
  content: "";
  position: absolute;
  inset: 54px 68px;
  z-index: -1;
  border: 1px solid #aebfc8;
  border-radius: 48%;
}

.lifecycle-track::after {
  content: "";
  position: absolute;
  left: 16%;
  top: 53px;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #075fca, #36aee5, transparent);
  opacity: 0;
  animation: lifecycle-signal 5.2s ease-in-out infinite paused;
}

.lifecycle-visual.is-active .lifecycle-track::after {
  animation-play-state: running;
}

.lifecycle-stage {
  position: relative;
  padding: 20px;
  border: 1px solid #d1dde2;
  background: rgba(255, 255, 255, .96);
}

.lifecycle-stage:nth-child(4) { grid-area: 2 / 3; }
.lifecycle-stage:nth-child(5) { grid-area: 2 / 2; }
.lifecycle-stage:nth-child(6) { grid-area: 2 / 1; }

.lifecycle-stage:nth-child(6) {
  border-color: #95b8ca;
  background: #edf5fa;
}

.lifecycle-stage strong {
  margin-top: 28px;
  font-size: 13px;
}

.lifecycle-stage small {
  margin-top: 7px;
  font-size: 9px;
  line-height: 1.45;
}

/* Contact: the verified local map carries the actual regional service network. */
.network-visual {
  min-height: 450px;
  color: #eaf6fb;
  border-color: #244a60;
  background: #0a2234;
}

.network-visual .visual-heading {
  position: relative;
  z-index: 3;
  color: #8baabc;
  border-bottom-color: rgba(137, 192, 220, .18);
  background: rgba(7, 27, 42, .74);
}

.network-visual .visual-heading strong {
  color: #e8f5fb;
}

.network-map {
  position: relative;
  min-height: 390px;
}

.network-map__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
}

.network-map::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 62%;
  top: 39%;
  width: 132px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #56c7f4, transparent);
  opacity: 0;
  transform: rotate(28deg);
  transform-origin: left;
  animation: network-signal 4.6s ease-in-out infinite paused;
}

.network-visual.is-active .network-map::after {
  animation-play-state: running;
}

.network-map__nodes {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.network-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dff4fd;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .03em;
  white-space: nowrap;
  text-shadow: 0 2px 8px #06131d;
}

.network-node::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(220, 246, 255, .86);
  border-radius: 50%;
  background: #0b75c9;
  box-shadow: 0 0 0 4px rgba(55, 184, 236, .12), 0 0 16px rgba(55, 184, 236, .46);
}

.network-node:nth-child(1) { left: 74%; top: 39%; }
.network-node:nth-child(2) { left: 78%; top: 35%; }
.network-node:nth-child(3) { left: 67%; top: 43%; }
.network-node:nth-child(4) { left: 75%; top: 48%; }
.network-node:nth-child(5) { left: 82%; top: 44%; }
.network-node:nth-child(6) { left: 78%; top: 54%; }
.network-node:nth-child(7) { left: 73%; top: 58%; }
.network-node:nth-child(8) { left: 82%; top: 59%; }
.network-node:nth-child(9) { left: 76%; top: 70%; }

@keyframes evolution-signal {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-12deg); }
  12%, 88% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(720%, -156px, 0) rotate(-12deg); }
}

@keyframes governed-signal {
  0% { opacity: 0; transform: translateY(-30%); }
  12%, 88% { opacity: 1; }
  100% { opacity: 0; transform: translateY(410%); }
}

@keyframes lifecycle-signal {
  0% { opacity: 0; transform: translateX(0); }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; transform: translateX(650%); }
}

@keyframes network-signal {
  0%, 10% { opacity: 0; transform: rotate(28deg) scaleX(.15); }
  35%, 72% { opacity: 1; }
  100% { opacity: 0; transform: rotate(28deg) scaleX(1); }
}

@media (max-width: 1080px) {
  .secondary-hero .secondary-hero__layout {
    grid-template-columns: minmax(260px, .62fr) minmax(500px, 1.38fr);
    gap: 38px;
  }

  .secondary-hero h1 {
    font-size: clamp(44px, 5.4vw, 62px);
  }
}

@media (max-width: 980px) {
  .page-banner.secondary-hero {
    min-height: auto;
    padding-block: 122px 68px;
  }

  .secondary-hero .secondary-hero__layout {
    grid-template-columns: 1fr;
  }

  .secondary-hero__copy {
    max-width: 720px;
  }

  .section-visual {
    min-height: 410px;
  }
}

@media (max-width: 860px) {
  .nav {
    height: 68px;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links .language-choice {
    justify-content: flex-start;
    padding-inline: 10px;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 760px) {
  .page-banner.secondary-hero {
    padding-block: 110px 48px;
  }

  .secondary-hero h1 {
    font-size: 43px;
  }

  .secondary-hero .sub {
    font-size: 15px;
  }

  .secondary-hero__cue {
    margin-top: 24px;
  }

  .section-visual {
    min-height: 0;
    border-radius: 2px;
  }

  .visual-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 18px;
  }

  .evolution-route,
  .lifecycle-track {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 9px;
    min-height: 0;
    padding: 22px 18px;
  }

  .evolution-route::before,
  .evolution-route::after,
  .lifecycle-track::before,
  .lifecycle-track::after {
    display: none;
  }

  .evolution-stage {
    min-height: 0;
    padding: 16px 16px 16px 54px;
    border-top-width: 1px;
  }

  .evolution-stage::before {
    left: 18px;
    top: 21px;
  }

  .evolution-stage strong,
  .evolution-stage small {
    margin-top: 0;
  }

  .evolution-stage small {
    margin-top: 4px;
  }

  .product-system-visual {
    grid-template-columns: 1fr;
  }

  .product-system-visual .visual-heading {
    grid-column: auto;
  }

  .product-domains {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid #d8e2e6;
  }

  .product-domain:nth-child(n) {
    margin-left: 0;
  }

  .governed-flow {
    padding: 24px 18px 24px 52px;
  }

  .governed-flow::before,
  .governed-flow::after {
    left: 27px;
  }

  .flow-stage {
    grid-template-columns: 52px 1fr;
  }

  .flow-stage::before {
    left: -31px;
  }

  .lifecycle-stage:nth-child(n) {
    grid-area: auto;
    min-height: 0;
    padding: 16px 18px;
  }

  .lifecycle-stage strong {
    margin-top: 12px;
  }

  .network-visual,
  .network-map {
    min-height: 0;
  }

  .network-map {
    padding: 150px 18px 18px;
  }

  .network-map__image {
    height: 190px;
    opacity: .54;
  }

  .network-map::after {
    display: none;
  }

  .network-map__nodes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .network-node:nth-child(n) {
    position: static;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid rgba(118, 191, 225, .18);
    background: rgba(7, 31, 48, .78);
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .secondary-hero h1 {
    font-size: 38px;
  }

  .product-domains,
  .network-map__nodes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .evolution-route::after,
  .governed-flow::after,
  .lifecycle-track::after,
  .network-map::after {
    animation: none !important;
    display: none;
  }
}
