/* =====================================================================
   DOSIK TECHNOLOGY · PAGE CSS · PRIORITY (/priority): the service cards, the glossary under the modules, the banner line
   Load after inner.css and pages/service-category.css (the in-page nav .cnav, .cabout, the flow section); the numbered
   benefit cards (.bens) and the glossary accordion (.dgloss) are inner.css §8.
   ===================================================================== */
/* ---------- our service: three cards with the pillar's glass slab as a watermark ---------- */
.pserv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pserv li {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: start; gap: 14px;
  padding: clamp(24px, 2.8vw, 36px); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.pserv li::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 4px; background: linear-gradient(to left, var(--c, var(--teal-500)), transparent 80%); }
.pserv .icon-tile { --it: 58px; border-radius: 17px; }
.pserv .icon-tile .ico { width: 26px; height: 26px; }
.pserv__txt { display: grid; gap: 10px; min-width: 0; }
.pserv__title { margin-top: 4px; font: var(--fw-semibold) clamp(1.2rem, 1.06rem + .5vw, 1.45rem)/1.3 var(--f-display); color: var(--text); }
.pserv li p { color: var(--text-2); line-height: 1.75; }
.pserv__glass { position: absolute; z-index: -1; inset-inline-end: -46px; bottom: -74px; width: 210px; aspect-ratio: 1; pointer-events: none; opacity: .14; transform: rotate(-10deg); }
.pserv__glass svg { width: 100%; height: 100%; overflow: visible; }
/* ---------- the modules: two-column rich tiles, then the glossary accordion ---------- */
.pmods__gloss { margin-top: clamp(20px, 2.6vw, 32px); }
/* ---------- the banner line on the navy chapter ---------- */
.pbanner {
  display: flex; align-items: center; gap: 16px; margin-top: clamp(20px, 2.6vw, 32px); padding: 18px 22px; border-radius: var(--r-l);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
  font: var(--fw-medium) clamp(1.05rem, .98rem + .3vw, 1.22rem)/1.5 var(--f-display); color: var(--on-night);
}
.pbanner .icon-tile { --it: 46px; background: rgba(95, 216, 204, .12); color: var(--teal-on-night); }
/* ---------- high contrast ---------- */
html.a11y-contrast .pserv li { background: #fff; border: 2px solid #000; box-shadow: none; }
html.a11y-contrast .pserv li::before, html.a11y-contrast .pserv__glass { display: none; }
html.a11y-contrast .pbanner { background: #000; border: 2px solid #fff; }
/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .pserv { grid-template-columns: minmax(0, 1fr); }
  .pserv li { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: 18px; }
  .pserv__title { margin-top: 0; }
}
@media (max-width: 640px) {
  .pserv li { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .pserv .icon-tile { --it: 50px; }
  .pbanner { align-items: flex-start; padding: 16px; }
}
