/* Lightweight service demonstrations using the shared EVpro design tokens. */
.service-graphic {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(40px, 6vw, 80px);
  padding-block: 14px clamp(30px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.service-graphic h2 {
  margin-bottom: 18px;
  color: var(--service-accent);
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.12;
  text-wrap: balance;
}
.service-graphic-copy p {
  max-width: 55ch;
  color: #d3c8dd;
  font-size: clamp(14px, 1.65vw, 17px);
  line-height: 1.75;
}
.graphic-console {
  min-width: 0;
  padding: clamp(15px, 2.7vw, 30px);
  border: 1px solid #c5a3fa54;
  border-radius: 22px;
  background: radial-gradient(ellipse at 95% 0, #2e2144, transparent 70%), #181520;
  box-shadow: 0 22px 54px #08051050;
}
.graphic-console h3 {
  margin-bottom: 14px;
  color: #f4ecff;
  font-size: clamp(21px, 3vw, 30px);
}
.graphic-console [hidden] {display: none;}
.graphic-control {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 15px;
  padding: 3px;
  border: 1px solid #c5a3fa38;
  border-radius: 14px;
  background: #100e16;
}
.graphic-control button, .graphic-play {
  min-height: 44px;
  padding: 7px 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ded3ed;
  font: 600 12px/1.3 var(--font-body);
  cursor: pointer;
}
.graphic-control button[aria-pressed="true"], .graphic-play {
  background: var(--service-accent);
  color: #1b1128;
}
.graphic-control button:hover:not([aria-pressed="true"]) {background: #2b2138;}
.graphic-play:hover {background: #e1caff;}
.graphic-result, .graphic-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
}
.graphic-result {color: #ece2f5; font-weight: 600;}
.graphic-note {color: #bcb0c9; font-size: 11px;}
.rank-map {
  --road: #faf8ff;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-items: center;
  gap: clamp(8px, 1.5vw, 16px) clamp(5px, 1.25vw, 12px);
  overflow: hidden;
  padding: clamp(12px, 2.7vw, 25px) clamp(10px, 2.7vw, 24px);
  border: 1px solid #b5a1cf72;
  border-radius: 15px;
  background:
    linear-gradient(16deg, transparent 47%, #ede5da 47% 48%, #fff7eb 48% 49.5%, transparent 49.5%),
    repeating-linear-gradient(74deg, transparent 0 31px, var(--road) 32px 34px, transparent 35px 54px),
    repeating-linear-gradient(164deg, transparent 0 25px, var(--road) 26px 28px, transparent 29px 47px),
    radial-gradient(ellipse at 12% 88%, #cfe3d3 0 20%, transparent 21%),
    #e5e2ec;
}
.rank-map::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -20% 58% -28% 24%;
  transform: rotate(-31deg);
  border-inline: 1px solid #82b4d678;
  background: #a6cde26b;
}
.rank-tile, .rank-legend li {--rank-fill: #f5949a;}
.rank-tile[data-band="top"], .rank-legend [data-band="top"] {--rank-fill: #78d3a1;}
.rank-tile[data-band="near"], .rank-legend [data-band="near"] {--rank-fill: #ffd477;}
.rank-tile {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(100%, 39px);
  aspect-ratio: 1;
  color: #17141c;
  font-size: clamp(11px, 1.35vw, 14px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rank-tile::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: rotate(-45deg);
  border: 1.5px solid #fff;
  border-radius: 51% 51% 51% 17%;
  background-color: var(--rank-fill);
  box-shadow: -2px 2px 5px #25203444;
}
.rank-query {
  margin-bottom: 8px;
  color: #d4c8e2;
  font-size: 12px;
}
.rank-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 12px 0 0;
  padding: 0;
  color: #d4c8e2;
  font-size: 11px;
  list-style: none;
}
.rank-legend li {display: flex; align-items: center; gap: 6px;}
.rank-legend li::before {content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--rank-fill);}
.campaign-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.campaign-metrics div {
  padding: 10px;
  border: 1px solid #c5a3fa29;
  border-radius: 12px;
  background: #110e18a1;
}
.campaign-metrics dt {
  color: #c3b7cf;
  font-size: 11px;
}
.campaign-metrics dd {
  margin: 3px 0 0;
  color: #f0dbff;
  font: 700 clamp(18px, 2.8vw, 30px)/1.25 var(--font-body);
  font-variant-numeric: tabular-nums;
}
.campaign-metrics div:last-child dd {color: #95e5be;}
.campaign-chart-label {
  margin: 14px 0 0;
  color: #d6c8e6;
  font-size: 11px;
}
.campaign-chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(6px, 1.5vw, 14px);
  height: 134px;
  margin: 2px 0 22px;
  padding: 0 5px;
  border-bottom: 1px solid #c5a3fa3b;
  background: repeating-linear-gradient(to top, transparent 0 32px, #c5a3fa20 32px 33px);
}
.campaign-chart span {
  position: relative;
  display: block;
  height: var(--bar-height);
  text-align: center;
}
.campaign-chart span::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(#d4a6ff, #7649bf);
}
[data-campaign-view="meta"] .campaign-chart span::before {background: linear-gradient(#b4caff, #5e55cd);}
.campaign-chart b, .campaign-chart small {position: absolute; inset-inline: 0; font-size: 11px;}
.campaign-chart b {bottom: calc(100% + 2px); color: #e8d9f4;}
.campaign-chart small {top: calc(100% + 3px); color: #bdb0cd;}
.workflow-timeline, .graphic-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.workflow-timeline li, .graphic-checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #c5a3fa29;
  border-radius: 12px;
  background: #110e18a1;
}
.workflow-timeline time, .graphic-checklist li > span {
  min-width: 48px;
  color: var(--service-accent);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.graphic-checklist li > span {min-width: 0;}
.workflow-timeline strong, .graphic-checklist strong {
  display: block;
  color: #f2e7fc;
  font-size: 13px;
  line-height: 1.4;
}
.workflow-timeline p, .graphic-checklist p {
  margin-top: 3px;
  color: #c8bbd5;
  font-size: 12px;
  line-height: 1.5;
}
.workflow-timeline li[aria-current="step"] {
  border-color: #c5a3fa9b;
  background: #352449;
  box-shadow: inset 3px 0 var(--service-accent);
}
.workflow-timeline li:last-child strong {color: #9ce6c2;}
.graphic-play {margin-top: 14px; padding-inline: 18px;}
@media (max-width: 760px) {
  .service-graphic {grid-template-columns: minmax(0, 1fr); padding-top: 0;}
  .service-graphic h2 {margin-bottom: 13px;}
  .graphic-console {border-radius: 18px;}
}
@media (max-width: 480px) {
  .graphic-control {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .graphic-console .graphic-note {font-size: 12px;}
  .rank-legend {column-gap: 12px;}
  .workflow-timeline p, .graphic-checklist p {font-size: 13px;}
  .graphic-play {width: 100%;}
}
@media (prefers-reduced-motion: no-preference) {
  .rank-tile::before {transition: background-color 300ms ease;}
  .workflow-timeline li {transition: background 200ms ease, border-color 200ms ease;}
  .campaign-chart span::before {animation: campaign-rise 430ms ease-out both; transform-origin: bottom;}
  @keyframes campaign-rise {
    from {transform: scaleY(.2);}
    to {transform: scaleY(1);}
  }
}

/* Growth-inspired notification and five-day calendar. */
.graphic-console.graphic-ads {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.booking-notification {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  margin-bottom: 26px;
  padding: 13px;
  border: 1px solid #ac8cfc58;
  border-radius: 16px;
  background: linear-gradient(145deg, #29213d, #21192f);
  box-shadow: 0 4px 32px #986bf52b;
}
.booking-notification::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 26px;
  left: 50%;
  top: 100%;
  background: linear-gradient(#a17ded9e, #a17ded33);
}
.booking-notification-icon {
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 9px;
  background: #a47bff30;
}
.booking-notification-icon::before {
  content: '✓';
  color: #d9c5ff;
  font-size: 16px;
  font-weight: 700;
}
.booking-notification strong,
.booking-notification [data-booking-context] {display: block;}
.booking-notification strong {color: #f5eaff; font-size: 13px; line-height: 1.35;}
.booking-notification [data-booking-context] {margin-top: 4px; color: #c5b6db; font-size: 12px;}
.booking-window {
  overflow: hidden;
  border: 1px solid #cec7dd;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 20px 48px #08050e60;
}
.booking-window-bar {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 39px;
  border-bottom: 1px solid #dedde5;
  background: #f4f3f7;
  color: #615c6d;
  font-size: 12px;
  font-weight: 600;
}
.booking-window-dots {
  position: absolute;
  left: 12px;
  display: flex;
  gap: 4px;
}
.booking-window-dots i {width: 8px; height: 8px; border-radius: 50%; background: #ee7777;}
.booking-window-dots i:nth-child(2) {background: #e9ae3b;}
.booking-window-dots i:nth-child(3) {background: #56bf74;}
.booking-calendar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 205px;
  color: #221c35;
}
.booking-day {min-width: 0;}
.booking-day + .booking-day {border-left: 1px solid #eeecf3;}
.booking-day h4 {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #eeecf3;
  color: #615c6d;
  text-align: center;
  font: 700 11px/1.4 var(--font-body);
}
.booking-day ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 5px;
  list-style: none;
}
.booking-event {
  min-width: 0;
  padding: 7px 4px;
  border-left: 2px solid #6a94e7;
  border-radius: 6px;
  background: #e9efff;
}
.booking-event[data-booking="Tracked call"] {border-color: #9b6ce8; background: #eee6fc;}
.booking-event strong,
.booking-event time {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 700 clamp(9px, 1.08vw, 12px)/1.4 var(--font-body);
}
.booking-event strong {color: #2c204b;}
.booking-event time {margin-top: 3px; color: #3c4d9a; font-size: 10px;}
.graphic-ads .graphic-note {text-align: center;}
@media (max-width: 480px) {
  .booking-day ul {padding-inline: 3px;}
  .booking-event {padding-inline: 3px;}
}
@media (prefers-reduced-motion: no-preference) {
  .booking-event {animation: booking-arrive 260ms ease-out both;}
  @keyframes booking-arrive {
    from {opacity: .45; transform: translateY(5px);}
    to {opacity: 1; transform: translateY(0);}
  }
}
