.service-showcase {
  background: linear-gradient(140deg, #dcdcea 0%, #d8dfe7 56%, #cbd7de 100%);
  color: #152037;
}
.service-showcase-heading {
  text-align: center;
  margin-bottom: clamp(28px, 3.5vw, 60px);
}
.service-showcase-heading p {
  margin: 0 0 12px;
  color: #414e66;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.service-showcase-heading h2 {
  color: #172237;
  font-size: clamp(33px, 3.65vw, 67px);
  font-weight: 570;
  letter-spacing: -.045em;
  line-height: 1.18;
  text-wrap: balance;
}
.service-showcase .service-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(8px, 1vw, 16px);
}
.service-showcase .showcase-card {
  display: block;
  padding: 0;
  min-height: 0;
  min-width: 0;
  border-radius: var(--tile-radius, 18px);
  background: transparent;
  box-shadow: none;
}
.service-tile {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  text-align: left;
  align-items: end;
  width: 100%;
  aspect-ratio: .68;
  padding: clamp(13px, 1.45vw, 27px);
  border-radius: var(--tile-radius, 18px);
  background: #24303a;
  color: white;
}
.service-tile img {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
#service-support .service-tile img { object-position: 53% 45%; }
#service-training .service-tile img { object-position: 61% center; }
#service-fde .service-tile img { object-position: 56% 50%; }
.service-tile::before, .service-tile::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
}
.service-tile::before {
  background: linear-gradient(180deg, #0912220a 8%, transparent 33%, #10192654 65%, #0c1424ee 100%);
}
#service-ai .service-tile::before {
  background: linear-gradient(155deg, #162e624a, #2f437b88 50%, #121c44f5 100%);
}
#service-rpa .service-tile::before {
  background: linear-gradient(147deg, #23464159, #2a414a91 50%, #0b252eed 100%);
}
.service-tile::after { z-index: 2; }
.service-tile[aria-expanded="true"]::after { box-shadow: inset 0 0 0 3px #b5d2ff; }
.service-tile:focus-visible { outline: 3px solid #154bc2; outline-offset: 3px; }
.tile-name {
  font-size: clamp(17px, 1.55vw, 28px);
  color: white;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.tile-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: clamp(25px, 2vw, 34px);
  aspect-ratio: 1;
  border: 1px solid #ffffff8f;
  border-radius: 50%;
  color: white;
  background: #18233077;
}
.tile-toggle::before, .tile-toggle::after {
  grid-area: 1 / 1;
  content: "";
  width: 10px;
  height: 1.5px;
  border-radius: 10px;
  background: currentColor;
}
.tile-toggle::after { transform: rotate(90deg); }
.service-tile[aria-expanded="true"] .tile-toggle::after { transform: rotate(0); }
.service-chat-shapes, .service-flow-shapes {
  position: absolute;
  z-index: 0;
  top: 31%;
  left: 12%;
  width: 76%;
  height: 29%;
  opacity: .93;
  pointer-events: none;
}
.service-chat-shapes i {
  display: block;
  position: absolute;
  width: 60%;
  height: 48%;
  border: 1px solid #edf3ffc7;
  border-radius: 11px 11px 11px 2px;
  box-shadow: 0 3px 13px #11224d38;
  background: linear-gradient(140deg, #cad9ffd9, #a3bbf8ad);
  backdrop-filter: blur(3px);
}
.service-chat-shapes i::before, .service-chat-shapes i::after {
  content: "";
  position: absolute;
  top: 32%; left: 14%;
  width: 65%; height: 2px;
  border-radius: 5px;
  background: #26497f7d;
}
.service-chat-shapes i::after { top: 54%; width: 42%; }
.service-chat-shapes i:last-child {
  bottom: 0; right: 0;
  background: linear-gradient(140deg, #f6f8ffeb, #e0e9fae5);
  border-radius: 11px 11px 2px 11px;
}
.service-flow-shapes { display: flex; align-items: center; justify-content: space-between; }
.service-flow-shapes::before {
  position: absolute; left: 8%; right: 8%;
  height: 2px; background: #c1ffe8; content: "";
}
.service-flow-shapes i {
  position: relative;
  width: 22%;
  aspect-ratio: 1;
  border: 1px solid #ccffec;
  border-radius: 7px;
  background: #324f58e8;
  display: grid;
  place-items: center;
}
.service-flow-shapes i::before {
  content: ""; width: 34%; height: 18%;
  border: solid #d6fff0; border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.service-rail-controls { display: none; }
.showcase-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(17px, 2.6vw, 46px);
  margin-top: 19px;
  padding: clamp(21px, 2.5vw, 41px);
  border: 1px solid #fff9;
  border-radius: var(--tile-radius, 18px);
  background: #f1f4f8f5;
  color: #263852;
}
.panel-intro h3 {
  color: #172337;
  font-size: clamp(22px, 2vw, 32px);
  margin: 0 0 6px;
}
.panel-intro p, .showcase-points {
  font-size: 16px;
  line-height: 1.62;
  color: #46536a;
}
.showcase-points { margin: 0; padding-left: 1.2em; }
.panel-consult {
  white-space: nowrap;
  color: #fff;
  background: #23334d;
  border-radius: 50px;
  padding: 9px 18px;
  min-height: 44px;
  font-size: 15px;
}
.panel-consult:hover { background: #334f75; }
.showcase-directories { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 15px; }
.showcase-directories a { text-decoration: underline; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-tile img, .service-tile .tile-toggle::after { transition: transform .4s cubic-bezier(.2,.68,.25,1); }
  .service-tile:is(:hover,:focus-visible) img { transform: scale(1.045); }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .service-showcase .service-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .service-tile { aspect-ratio: 1.48; }
  .showcase-panel { grid-template-columns: 1.15fr 1fr; }
  .panel-consult { justify-self: start; }
}
@media (max-width: 700px) {
  .service-showcase-heading { margin-bottom: 26px; }
  .service-showcase-heading p { margin-bottom: 8px; }
  .service-showcase-heading h2 { font-size: clamp(29px, 6.8vw, 42px); }
  .service-showcase .service-rail {
    position: relative;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: clamp(153px, 56%, 244px);
    gap: 10px;
    overflow-x: auto;
    padding: 4px;
    margin-inline: -4px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #8392aa transparent;
  }
  .showcase-card { scroll-snap-align: start; }
  .service-tile { aspect-ratio: .86; padding: 17px; }
  .service-tile:focus-visible { outline-offset: -3px; outline-color: #d3e9ff; }
  .tile-name { font-size: 21px; }
  .service-rail-controls {
    display: flex; justify-content: flex-end; gap: 7px; margin-top: 9px;
  }
  .service-rail-controls button {
    min-height: 42px; width: 42px;
    display: grid; place-items: center; border-radius: 50%;
    background: #ffffff9c; border: 1px solid #acb9ce; color: #33455d;
  }
  .service-rail-controls button:disabled { opacity: .42; cursor: default; }
  .service-rail-controls span {
    width: 9px; height: 9px; border: solid currentColor; border-width: 0 1.6px 1.6px 0;
    transform: translateX(-2px) rotate(-45deg);
  }
  .service-rail-controls .rail-prev span { transform: translateX(2px) rotate(135deg); }
  .showcase-panel { grid-template-columns: 1fr; gap: 12px; margin-top: 10px; }
  .panel-consult { justify-self: start; }
}
