/* Booking & Business Systems: scoped additions to the shared service layout. */
.systems-flow {
  grid-column: 1 / -1;
  padding: clamp(22px, 3vw, 38px);
  background: var(--card);
  border: 1px solid var(--line-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(37, 99, 235, .12);
}
.systems-flow__heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.systems-flow__heading > .mono { max-width: 22ch; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.systems-flow__mark { display: grid; place-items: center; width: 40px; height: 40px; color: var(--accent-text); border: 1px solid var(--line-hover); border-radius: var(--radius-sm); }
.systems-flow__mark svg { width: 24px; height: 24px; }
.systems-flow__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; }
.systems-flow__step { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--bg); border: 1px solid var(--line-hover); border-radius: var(--radius); }
.systems-flow__step + .systems-flow__step::before { content: ""; position: absolute; top: 50%; left: -25px; width: 24px; border-top: 1px solid var(--accent-text); }
.systems-flow__step--rules { background: var(--accent-soft); border-color: rgba(96, 165, 250, .45); }
.systems-flow__num { position: relative; flex: none; color: var(--accent-text); font-size: 12px; }
.systems-flow__role { display: block; color: var(--faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.systems-flow__step--rules .systems-flow__role { color: var(--accent-text); }
.systems-flow__step p { margin-top: 5px; font-family: var(--heading); font-size: clamp(15px, 1.4vw, 18px); font-weight: 600; line-height: 1.35; }
.systems-flow figcaption { margin-top: 24px; font-size: 12px; line-height: 1.6; color: var(--faint); }

.systems-friction { list-style: none; }
.systems-friction li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.systems-friction li:first-child { padding-top: 0; }
.systems-friction h3 { font-family: var(--heading); font-size: 21px; line-height: 1.35; letter-spacing: -.015em; }
.systems-friction p { margin-top: 9px; color: var(--muted); font-size: 15px; line-height: 1.75; max-width: 66ch; }

.systems-example { padding: clamp(26px, 4vw, 56px); border: 1px solid var(--line-hover); border-radius: var(--radius-lg); background: var(--card); }
.systems-example__overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; }
.systems-example__intro { max-width: 740px; }
.systems-example__visual { min-width: 0; }
.systems-example__visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line-hover); border-radius: var(--radius); }
.systems-example__visual figcaption { margin-top: 12px; color: var(--faint); font-size: 12px; line-height: 1.6; }
.systems-status { display: inline-block; margin-bottom: 24px; padding: 7px 12px; border: 1px solid rgba(96, 165, 250, .4); border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--accent-text); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.systems-example__intro > p:last-child { margin-top: 20px; color: var(--muted); line-height: 1.75; }
.systems-example__journeys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line-hover); }
.systems-example__label { color: var(--accent-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.systems-example__journeys h3 { margin-top: 12px; font-family: var(--heading); font-size: 21px; letter-spacing: -.015em; line-height: 1.3; }
.systems-example__journeys p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.systems-example__note { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; line-height: 1.7; }

.systems-quote { padding: clamp(26px, 4vw, 40px); border: 1px solid rgba(96, 165, 250, .4); border-radius: var(--radius-lg); background: var(--card); }
.systems-quote__label { color: var(--accent-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.systems-quote h3 { margin-top: 18px; max-width: 12ch; font-family: var(--heading); font-size: clamp(30px, 3vw, 40px); line-height: 1.12; letter-spacing: -.025em; }
.systems-quote ul { margin: 26px 0 30px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.systems-quote li + li { margin-top: 8px; }
.systems-quote li::marker { color: var(--accent-text); }
.systems-quote .btn { width: 100%; }

@media (max-width: 1080px) {
  .systems-flow { width: 100%; }
  .systems-flow__step p { font-size: 18px; }
  .systems-example__overview { grid-template-columns: 1fr; }
  .systems-quote { width: 100%; max-width: 560px; }
}
@media (max-width: 768px) {
  .systems-flow__steps { grid-template-columns: 1fr; }
  .systems-flow__step + .systems-flow__step::before { top: auto; bottom: 100%; left: 33px; width: 0; height: 25px; border-top: 0; border-left: 1px solid var(--accent-text); }
  .systems-example__journeys { grid-template-columns: 1fr; gap: 26px; }
  .systems-example__journeys > div + div { padding-top: 24px; border-top: 1px solid var(--line); }
}
@media (max-width: 400px) {
  .systems-page .crumbs { font-size: 11px; }
  .systems-flow__step { gap: 12px; padding: 16px 13px; }
  .systems-flow__step + .systems-flow__step::before { left: 28px; }
  .systems-flow__step p { font-size: 16px; }
}
