/* Service cards and project steps share the About statistics and stock direction visual style.
   The existing .about-stat-icon component supplies the icon frame. */
main .service-cards.service-summary-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

main .service-cards.service-summary-cards > div,
main .timeline.service-project-route > ol > li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 132px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
  box-shadow: 0 10px 28px rgba(35, 53, 84, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

main .timeline.service-project-route > ol > li:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 32%, var(--line));
  box-shadow: 0 12px 28px rgba(25, 80, 125, .09);
}

/* Match the shared raised-card treatment instead of flattening its shadow. */
main .service-cards.service-summary-cards > div {
  border-color: var(--card-depth-border);
  box-shadow: var(--card-depth-shadow);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

@media (hover: hover) {
  main .service-cards.service-summary-cards > div:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--blue) 34%, var(--card-depth-border));
    box-shadow: var(--card-depth-shadow-hover);
  }
}

:is(.service-summary-cards, .service-project-route) .service-card-copy {
  min-width: 0;
  margin: 0;
}

:is(.service-summary-cards, .service-project-route) .service-card-copy strong {
  display: block;
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.125rem;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

:is(.service-summary-cards, .service-project-route) .service-card-copy span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.42;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

[data-theme="dark"] main .service-cards.service-summary-cards > div,
[data-theme="dark"] main .timeline.service-project-route > ol > li {
  border-color: var(--line);
  background: var(--surface-2);
}

[data-theme="dark"] :is(.service-summary-cards, .service-project-route) .service-card-copy strong {
  color: #b9e5ff;
}

main .timeline.service-project-route > ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

main .timeline.service-project-route > ol > li::before {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--blue) 9%, #fff);
  color: var(--blue-deep);
  font-size: 1.125rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] main .timeline.service-project-route > ol > li::before {
  border-color: color-mix(in srgb, var(--blue) 38%, var(--line));
  background: var(--surface-3);
  color: #8fd2ff;
}

@media (max-width: 980px) {
  main .service-cards.service-summary-cards,
  main .timeline.service-project-route > ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  main .service-cards.service-summary-cards,
  main .timeline.service-project-route > ol {
    grid-template-columns: minmax(0, 1fr);
  }

  main .service-cards.service-summary-cards > div,
  main .timeline.service-project-route > ol > li {
    min-height: 108px;
    padding: 13px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  main .service-cards.service-summary-cards > div,
  main .timeline.service-project-route > ol > li {
    transition: none;
  }

  main .service-cards.service-summary-cards > div:hover,
  main .timeline.service-project-route > ol > li:hover {
    transform: none;
  }
}

/* Delivery map and terms, scoped to the Service page. */
.service-terms {
  padding-block: var(--section-space);
  scroll-margin-top: 100px;
}

.service-terms-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid var(--card-depth-border, var(--line));
  border-radius: var(--radius);
  background: var(--card-depth-surface, #fbfdff);
  box-shadow: var(--card-depth-shadow);
}

.service-delivery-map {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  background: linear-gradient(155deg, #f0f8ff, #fbfdff);
}

.service-delivery-map figcaption { padding-inline: 8px; }
.service-delivery-map h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  color: var(--ink);
}
.service-delivery-map figcaption p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .9rem;
}
.service-delivery-map img {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0;
}
.service-delivery-map-note {
  margin: 0;
  padding-inline: 8px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
}
.service-terms-details { min-width: 0; padding: 4px 28px; }

.service-terms-row {
  padding-block: 20px;
}

.service-terms-row + .service-terms-row {
  border-top: 1px solid var(--line);
}

.service-terms-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 10px;
}

.service-terms-label .about-stat-icon { flex: 0 0 46px; }

.service-terms-row h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 1.125rem;
  line-height: 1.4;
}

.service-terms-copy {
  min-width: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .9375rem;
}

.service-terms-copy p { margin: 0; }
.service-terms-copy p + p { margin-top: 8px; }
.service-terms-copy strong { color: var(--ink); }

[data-theme="dark"] .service-terms-panel {
  background: var(--surface-2);
  border-color: var(--line);
}

[data-theme="dark"] .service-terms-row h3 { color: #b9e5ff; }
[data-theme="dark"] .service-delivery-map { background: var(--surface-3); }
[data-theme="dark"] .service-delivery-map img { background: #f5faff; border-radius: var(--radius); }

@media (max-width: 900px) {
  .service-terms-panel { grid-template-columns: minmax(0, 1fr); }
  .service-delivery-map {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px;
  }
  .service-delivery-map img { max-width: 620px; margin-inline: auto; }
  .service-delivery-map figcaption,
  .service-delivery-map-note { padding-inline: 0; }
}

@media (max-width: 480px) {
  .service-delivery-map { padding: 20px 14px; }
  .service-delivery-map img { margin-block: 14px; }
  .service-terms-details { padding-inline: 18px; }
  .service-terms-row { padding-block: 18px; }
}

/* Icons: Heroicons v2.2.0 (https://github.com/tailwindlabs/heroicons)
MIT License

Copyright (c) Tailwind Labs, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
