/* Build · Grow · Automate systems board */
.services-systems { background: var(--cloud); color: var(--charcoal); }
.services-systems-head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.services-systems-head h2 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  letter-spacing: -.03em;
  direction: ltr;
}
.services-systems-head p { margin: 0 auto; max-width: 42rem; color: #536174; line-height: 1.7; }
.services-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px 16px;
  border: 1px solid #d7e0e8;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font: 600 .78rem var(--font-body);
  letter-spacing: .02em;
}

.systems-board {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  background: var(--navy);
  color: var(--cloud);
  overflow: hidden;
  box-shadow: 0 30px 70px -48px var(--navy);
}
.systems-tabs { display: none; }
.systems-stages { display: grid; }
.systems-stage { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.systems-stage:last-child { border-bottom: 0; }

.systems-mobile-trigger,
.systems-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px 18px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: right;
  cursor: pointer;
}
.systems-tab { grid-template-columns: auto 1fr; }
.systems-mobile-trigger:hover,
.systems-tab:hover,
.systems-tab.is-active,
.systems-stage.is-active > .systems-mobile-trigger {
  background: rgba(255, 255, 255, .04);
}
.systems-tab-copy { display: grid; gap: 4px; min-width: 0; }
.systems-tab-copy strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font: 700 .95rem var(--font-display, var(--font-body));
  letter-spacing: .04em;
  direction: ltr;
  justify-content: flex-end;
}
.systems-tab-copy strong em {
  font-style: normal;
  color: var(--amber);
  font-size: 1.35rem;
  line-height: 1;
}
.systems-tab-copy > span {
  color: var(--text-3);
  font-size: .88rem;
  line-height: 1.45;
}
.systems-stage.is-active .systems-tab-copy > span,
.systems-tab.is-active .systems-tab-copy > span { color: var(--text-2); }

.systems-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  transition: transform .2s;
  margin-inline-start: 4px;
}
.systems-stage.is-active .systems-chevron { transform: rotate(225deg); }

.systems-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 176, 0, .35);
  background:
    radial-gradient(circle at center, rgba(255, 176, 0, .12), transparent 70%),
    rgba(255, 255, 255, .03);
  position: relative;
  flex: 0 0 auto;
}
.systems-icon::before,
.systems-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1.5px solid var(--amber);
  opacity: .95;
}
.systems-icon--build::before {
  width: 14px;
  height: 14px;
  border-radius: 2px 2px 0 0;
  border-bottom-width: 3px;
  top: 4px;
}
.systems-icon--build::after {
  width: 8px;
  height: 6px;
  border-top: 0;
  bottom: 10px;
  top: auto;
}
.systems-icon--performance::before {
  width: 16px;
  height: 12px;
  border: 0;
  border-bottom: 1.5px solid var(--amber);
  border-left: 1.5px solid var(--amber);
  background:
    linear-gradient(var(--amber), var(--amber)) 3px 8px / 2px 4px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 7px 5px / 2px 7px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 11px 2px / 2px 10px no-repeat;
}
.systems-icon--performance::after { display: none; }
.systems-icon--automate::before {
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 40% 40%;
  top: 2px;
}
.systems-icon--automate::after {
  width: 18px;
  height: 8px;
  border-radius: 0 0 8px 8px;
  top: auto;
  bottom: 10px;
  border-top: 0;
}

.systems-stage-body { display: none; padding: 4px 18px 22px; }
.systems-stage.is-active .systems-stage-body { display: block; }
.systems-stage-kicker {
  margin-bottom: 10px;
  color: var(--amber);
  font: 600 .78rem var(--font-body);
  letter-spacing: .08em;
  direction: ltr;
  text-align: right;
}
.systems-stage-body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  line-height: 1.25;
}
.systems-stage-body > p {
  margin: 0 0 22px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 40rem;
}
.systems-expertise-label {
  margin-bottom: 12px;
  color: var(--text-3);
  font: 600 .8rem var(--font-body);
}
.systems-expertise {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.systems-expertise-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .03);
}
.systems-expertise-card strong {
  grid-column: 2;
  font-size: .98rem;
}
.systems-expertise-card > span:last-child {
  grid-column: 2;
  color: var(--text-3);
  font-size: .82rem;
  line-height: 1.45;
}
.systems-expertise-icon {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border: 1.5px solid var(--amber);
  border-radius: 6px;
  position: relative;
}
.systems-expertise-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1.5px solid var(--amber);
}
.systems-expertise-icon--web::before,
.systems-expertise-icon--landing::before {
  width: 14px;
  height: 11px;
  border-radius: 2px;
}
.systems-expertise-icon--crm::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -2px;
  box-shadow: 0 7px 0 -2px var(--amber);
  border-color: var(--amber);
}
.systems-expertise-icon--code::before {
  content: "</>";
  border: 0;
  width: auto;
  height: auto;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--amber);
  font: 700 .62rem/1 var(--font-body);
  letter-spacing: -.04em;
  direction: ltr;
}
.systems-expertise-icon--ads::before,
.systems-expertise-icon--meta::before,
.systems-expertise-icon--measure::before,
.systems-expertise-icon--seo::before {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  transform: rotate(45deg);
  inset: 0;
}
.systems-expertise-icon--link::before,
.systems-expertise-icon--follow::before,
.systems-expertise-icon--voice::before,
.systems-expertise-icon--ops::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.systems-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.systems-actions .btn { min-height: 46px; }
.systems-actions .btn-ghost {
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--cloud);
  background: transparent;
}
.systems-actions .btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}
.systems-play {
  display: inline-block;
  width: 0;
  height: 0;
  margin-inline-start: 6px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
.systems-next { display: inline-flex; }

@media (min-width: 900px) {
  .services-systems-head { margin-bottom: 46px; }
  .systems-board {
    display: grid;
    grid-template-columns: minmax(260px, 320px) 1fr;
    min-height: 560px;
  }
  .systems-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 12px;
    border-inline-end: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .12);
  }
  .systems-tab {
    border-radius: 14px;
    padding: 16px 14px;
  }
  .systems-tab.is-active {
    background: rgba(255, 176, 0, .08);
    box-shadow: inset 3px 0 0 var(--amber);
  }
  .systems-mobile-trigger { display: none; }
  .systems-stages { position: relative; min-height: 560px; }
  .systems-stage {
    border: 0;
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s;
  }
  .systems-stage.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
  }
  .systems-stage-body {
    display: block !important;
    padding: 34px 36px 32px;
    height: 100%;
  }
  .systems-expertise {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .systems-next { display: none; }
}
