/* =====================================================================
   DOSIK TECHNOLOGY · PAGE CSS · SUB-SERVICE (/services/{category}/{service}): sibling rail, replication beam chips, rich body blocks, comparison table, lead aside
   Load after inner.css, on that page only.
   ===================================================================== */

/* the replication beam: chip positions around the glass (the beam itself is .pbeam in inner.css) */
.pglass--beam .pglass__chip--a { top: 4%; inset-inline-start: -2%; }
.pglass--beam .pglass__chip--b { top: 40%; inset-inline-end: -4%; }
.pglass--beam .pglass__chip--d { bottom: 4%; inset-inline-end: 14%; }
/* sibling rail: the other services of the pillar, the current one tinted */
.srail { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.srail__lbl { font: var(--fw-medium) var(--fz-sm)/1.2 var(--f-display); color: var(--text-2); }
.srail ul { display: flex; flex-wrap: wrap; gap: 8px; }
.srail a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px 6px 14px; border-radius: var(--r-pill);
  font: var(--fw-medium) var(--fz-sm)/1.2 var(--f-display); color: var(--text-2);
  background: var(--surface-glass-strong); border: 1px solid var(--line); box-shadow: var(--sh-1);
  transition: border-color var(--t-1), color var(--t-1), transform var(--t-2) var(--e-out);
}
.srail a .ico { width: 18px; height: 18px; color: var(--link); }
.srail a:hover { border-color: var(--link); color: var(--link); transform: translateY(-1px); }
/* the pillar's topics (capabilities that live inside a service page): lighter pills after the services */
.srail a.srail__topic { min-height: 36px; padding: 4px 13px 4px 11px; font-weight: 400; box-shadow: none; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.srail a.srail__topic .ico { width: 16px; height: 16px; }
.srail a.srail__topic--here { border-color: color-mix(in srgb, var(--c, var(--teal-500)) 40%, #fff); }
.srail a[aria-current] {
  color: var(--text); font-weight: var(--fw-semibold);
  background: color-mix(in srgb, var(--c, var(--teal-500)) 12%, #fff); border-color: color-mix(in srgb, var(--c, var(--teal-500)) 55%, #fff);
}
/* ---------- body: rich blocks in the reading column + a sticky lead aside ---------- */
.reading--detail { grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); }
.dbody { display: grid; gap: clamp(36px, 4.5vw, 56px); min-width: 0; }
.dbody .prose h2:first-child { margin-top: 0; }
.dlead { font-size: clamp(1.12rem, 1.04rem + .35vw, 1.3rem); line-height: 1.8; color: var(--text); }
.dblock { display: grid; gap: 12px; }
.dblock__h { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.9rem); font-weight: var(--fw-bold); line-height: 1.2; }
.dblock__sub { color: var(--text-3); }
.dblock > .flow, .dblock > .ftiles, .dblock > .table-wrap, .dblock > .brandwall { margin-top: 14px; }
/* the brand wall (_BrandWall): each logo is a 255 × 110 image with its own background, shown whole in a rounded tile */
.brandwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 128px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.brandwall__item { overflow: hidden; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-1); }
.brandwall__item img { display: block; width: 100%; height: auto; aspect-ratio: 255 / 110; object-fit: contain; }
.motion-ok .brandwall__item { transition: transform var(--t-2) ease, box-shadow var(--t-2) ease; }
.motion-ok .brandwall__item:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
/* .ftiles and the .vs table live in inner.css §8 (shared by every inner page) */
.form-card--aside { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.form-card--aside .eyebrow { margin-bottom: 8px; }
.form-card--aside .form-card__title { font-size: 1.3rem; margin-bottom: 16px; }
/* the sticky side form never runs below the screen: on a laptop shorter than the card, the card scrolls inside itself, so
   the submit, phone and WhatsApp buttons (and the keyboard focus on them) stay reachable and visible. No overscroll
   containment: once the card has scrolled to its end, the wheel goes on scrolling the page (a pointer resting on the form
   must never freeze the page) */
@media (min-width: 961px) {
  .reading--detail .form-card--aside {
    max-height: calc(100vh - var(--hdr-h) - 48px); max-height: calc(100dvh - var(--hdr-h) - 48px);
    overflow-y: auto; scrollbar-width: thin;
  }
}
/* phone · WhatsApp: side by side while both fit, stacked at large text */
.aside-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5rem), 1fr)); gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.aside-ways .btn { --h: 46px; padding-inline: 12px; font-size: .95rem; }
html.a11y-contrast :is(.srail a) { background: #fff; border: 2px solid #000; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.a11y-contrast .srail a[aria-current] { background: #000; color: #fff; }
@media (max-width: 960px) {
  .reading--detail { grid-template-columns: minmax(0, 1fr); }
  .reading--detail .reading__aside { order: 2; position: static; }
}
@media (max-width: 640px) {
  .srail { gap: 8px; }
  .srail ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .srail ul::-webkit-scrollbar { display: none; }
  .srail a { white-space: nowrap; }
}

/* =====================================================================
   The long page (content-plus): every sub-service now carries an intro, "what's included", a process, benefits, who it suits,
   a deep dive, a comparison, a glossary and FAQs (Pages/Services/Detail.cshtml). Rhythm: the service (white chapter, the sticky
   short form beside it) → the value (night chapter) → the deep dive (light chapter, TOC + help card beside it) → FAQ → related.
   ===================================================================== */
/* the external link (ESET's official store, the answering-service portal): a tinted card with the service glyph */
.dext {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px;
  padding: 18px 20px; border-radius: var(--r-l);
  background: color-mix(in srgb, var(--c, var(--teal-500)) 9%, #fff); border: 1px solid color-mix(in srgb, var(--c, var(--teal-500)) 30%, #fff);
}
.dext .icon-tile { --it: 48px; }
.dext__txt { font: var(--fw-medium) 1rem/1.55 var(--f-display); color: var(--text); }
/* the process inside the reading column: two columns while the column is narrow (laptops, 150 % text) */
.reading--detail .dbody { container: dbody / inline-size; }
@media (min-width: 641px) {
  @container dbody (max-width: 46rem) {
    .flow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .flow__rail { display: none; }
  }
  /* "what's included" in the narrow reading column of a small laptop or a tablet in landscape (961–1090 px): one tile per
     row. Two columns left 130–150 px of text per tile, so a kept-together product name ("Microsoft Exchange") broke inside a word */
  @container dbody (max-width: 36rem) {
    .ftiles--2 { grid-template-columns: minmax(0, 1fr); }
  }
  /* five steps in the ~800 px reading column of a laptop: 3 + 2, never five 140 px columns of two-word lines */
  @container dbody (min-width: 46.01rem) {
    .flow--5 .flow__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
    .flow--5 .flow__rail { display: none; }
  }
}
/* callouts after "how it works", side by side when there are two */
.dcallouts { display: grid; gap: 12px; }
.dcallouts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* ---------- the value (night chapter): numbered benefit cards (.bens, inner.css §8) + "who it suits" ---------- */
.dval .fitfor { margin-top: clamp(20px, 3vw, 32px); background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.dval .fitfor__h { color: var(--on-night); }
.dval .fitfor .feat li { color: var(--on-night-2); }
.dval .fitfor .feat .ico { color: var(--teal-on-night); }
/* ---------- the deep dive: prose sections, comparison, glossary (.dgloss, inner.css §8) | TOC + help card ---------- */
.reading--deep { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
.ddeep .prose h3 { font-size: clamp(1.3rem, 1.12rem + .6vw, 1.6rem); font-weight: var(--fw-bold); line-height: 1.25; margin-top: 2em; }
.ddeep .prose > h3:first-child { margin-top: 0; }
.ddeep .dblock__h { font-size: clamp(1.3rem, 1.12rem + .6vw, 1.6rem); }
/* the help card under the TOC (as on the article page) */
.help-card {
  position: relative; overflow: hidden; display: grid; gap: 12px; padding: 22px; border-radius: var(--r-l); color: var(--on-night-2);
  background: radial-gradient(80% 70% at 100% 0%, rgba(42, 174, 162, .32), transparent 60%), var(--night-2);
}
.help-card strong { font: var(--fw-semibold) 1.15rem/1.3 var(--f-display); color: var(--on-night); }
.help-card p { font-size: var(--fz-sm); line-height: 1.6; }
.help-card .cluster { --cluster-gap: 8px; }
.help-card .link-arrow { justify-self: start; }
/* guides and sibling services: two tight rows that read as one band */
.drel + .drel { padding-top: 0; }
html.a11y-contrast .dext { background: #fff; border: 2px solid #000; box-shadow: none; }
html.a11y-contrast .brandwall__item { border: 2px solid #000; box-shadow: none; }
html.a11y-contrast .night.dval .fitfor { background: #000; border: 2px solid #fff; }
html.a11y-contrast .help-card { background: #000 !important; border: 2px solid #fff; }
@media (max-width: 960px) {
  .dcallouts--2 { grid-template-columns: minmax(0, 1fr); }
  .reading--deep { grid-template-columns: minmax(0, 1fr); }
  .reading--deep .reading__aside { order: 2; position: static; }
}
@media (max-width: 640px) {
  .dext { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .dext .btn { grid-column: 1 / -1; }
}
