/* Služby: white plane, the home page's system. The list and panel logic stays app.js's (initServices), so the old class names stay as hooks and are restyled here. Mocks stay pictures of the service: neutral stage, straight, thin ring. */

/* ---------- Section ---------- */
.svcx-sec.hm-sl-idx { padding-bottom: 0; scroll-margin-top: 0; }
.hm-sec--first.hm-sl-idx { margin-top: 56px; }

/* ---------- Layout: list on the header's left edge, panel to its right edge ---------- */
.hm-sl-idx .svcx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 12px; align-items: start; }
.hm-sl-idx .svcx__list { grid-column: 1 / span 3; position: sticky; top: calc(var(--nav-h) + 24px); display: block; isolation: auto; background: none; }
.hm-sl-idx .svcx__view { grid-column: 4 / -1; min-width: 0; }

/* The list, in the voice of the home page's directory. */
.hm-sl-idx .svcx__group + .svcx__group { margin-top: 20px; }
.hm-sl-idx .svcx__group .svcx__grp { display: block; margin: 0; padding-bottom: 8px; border-bottom: var(--hl); color: var(--i3); font: var(--t14); letter-spacing: 0; scroll-margin-top: calc(var(--nav-h) + 24px); }
.hm-sl-idx .svcx__grp span { color: inherit; font: inherit; letter-spacing: 0; text-transform: none; }
.hm-sl-idx .svcx__group > .svcx__item:first-of-type { margin-top: 4px; }
.hm-sl-idx .svcx__item { position: relative; z-index: 1; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: baseline; width: 100%; min-height: 30px; padding: 4px 12px; border: 0; border-radius: 999px; background: none; color: #0A0A0A; font: var(--t15); letter-spacing: -.003em; text-align: left; cursor: pointer; touch-action: manipulation; transition: color 120ms linear; }
.hm-sl-idx .svcx__item i { color: var(--i3); font: 400 .8125rem/1rem var(--f); font-style: normal; letter-spacing: 0; font-variant-numeric: tabular-nums; transition: color 120ms linear; }
.hm-sl-idx .svcx__item:focus-visible { outline: 2px solid #0A0A0A; outline-offset: -2px; }
/* Selected: the tabs' look on white, one element that moves. */
.hm-sl-idx .svcx__pill { z-index: 0; border-radius: 999px; background: #F5F5F7; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3); mix-blend-mode: normal; }
.hm-sl-idx .svcx__pill.is-moving { transition: translate 240ms var(--e1), width 240ms var(--e1), height 240ms var(--e1); }
.hm-sl-idx .svcx__item[aria-selected="true"], .hm-sl-idx.svcx-sec:has(.svcx__pill.is-set) .svcx__item[aria-selected="true"] { background: none; color: #0A0A0A; }
.hm-sl-idx .svcx__item[aria-selected="true"] i, .hm-sl-idx.svcx-sec:has(.svcx__pill.is-set) .svcx__item[aria-selected="true"] i { color: #0A0A0A; opacity: 1; }

/* The panel: title, one paragraph, facts, one flat tile. */
.hm-sl-idx .svcx__panel { min-width: 0; border-radius: 16px; }
.hm-sl-idx .svcx__panel:focus-visible { outline-offset: 8px; }
.hm-sl-idx .svcx__panel h3 { margin: 0; }
.hm-sl-idx .svcx__lead { max-width: 44rem; margin-top: 8px; color: var(--i2); font: var(--t16); letter-spacing: -.004em; }
.hm-sl-idx .svcx__tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.hm-sl-case { margin-top: 12px; }
.hm-sl-case .hm-more { display: inline; white-space: normal; }
.hm-sl-case .hm-ic { display: inline-block; margin: 0 -5px 0 2px; vertical-align: -3px; }
.hm-sl-idx .svcx__vis { margin-top: 24px; overflow: hidden; border: 0; border-radius: 16px; background: #F5F5F7; }
/* .hm-s sets an absolute line height: the mocks are drawn in --u and need the page's old relative one. */
.hm-sl-idx .svcx__stage { aspect-ratio: 20 / 11; perspective: none; font-size: 1rem; line-height: 1.55; letter-spacing: -.011em; }
.hm-sl-idx .svcx__stage .ui, .hm-sl-idx .svcx__stage .btmock { transform: none; transform-style: flat; }
.hm-sl-idx .svcx__stage .mock__page, .hm-sl-idx .svcx__stage .mock__nav { transform-style: flat; }

/* One window. Every service that shows a screen shows the same browser in the same place, cut by the tile's bottom edge as on the home page, so going down the list only the content changes. The contents stay drawn in --u. */
.hm-sl-idx .sx--web .btmock, .hm-sl-idx .sx--reno .ui, .hm-sl-idx .sx--chat .ui, .hm-sl-idx .sx--sprava .ui, .hm-sl-idx .sx--domena .ui, .hm-sl-idx .sx--tls .ui, .hm-sl-idx .sx--db .ui, .hm-sl-idx .sx--voice .vo { left: 4cqw; top: 4cqw; right: auto; width: 92cqw; translate: none; border-radius: 1.03cqw 1.03cqw 0 0; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 8px 24px -12px rgba(0, 0, 0, .12); }
.hm-sl-idx .sx--reno .ui, .hm-sl-idx .sx--chat .ui, .hm-sl-idx .sx--sprava .ui, .hm-sl-idx .sx--domena .ui, .hm-sl-idx .sx--tls .ui, .hm-sl-idx .sx--db .ui { --u: 2.6cqw; bottom: 0; height: auto; display: flex; flex-direction: column; }
.hm-sl-idx .svcx__stage .ui__bar, .hm-sl-idx .svcx__stage .mock__bar { flex: none; gap: .9cqw; height: 2.85cqw; padding-inline: 1.15cqw; border: 0; border-radius: 0; background: #EDEDF0; }
.hm-sl-idx .svcx__stage .ui__dots, .hm-sl-idx .svcx__stage .mock__dots { flex: none; gap: .6cqw; }
.hm-sl-idx .svcx__stage .ui__dots i, .hm-sl-idx .svcx__stage .mock__dots i { width: .72cqw; height: .72cqw; background: #C7C7CC; }
.hm-sl-idx .svcx__stage .ui__url, .hm-sl-idx .svcx__stage .mock__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4cqw; height: auto; padding: 0 4.26cqw 0 0; border-radius: 0; background: none; color: #6E6E73; font-size: 1.2cqw; font-weight: 500; letter-spacing: 0; }
.hm-sl-idx .svcx__stage .ui__url svg { width: 1.2cqw; height: 1.2cqw; color: #6E6E73; }

/* The row under the tile. */
.hm-sl-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 32px; margin-top: 8px; }
.hm-sl-end__l { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.hm-sl-note { color: var(--i3); font: var(--t13); letter-spacing: 0; }

/* Rows instead of a picture. */
.hm-sl-idx .hm-sl-rows { padding: 8px 24px; }
.hm-sl-rows .hm-rows { border-bottom: 0; }
.hm-sl-rows .hm-rows > div { padding: 18px 0; }
.hm-sl-rows .hm-rows > div:first-child { border-top: 0; }
.hm-sl-rows .hm-rows dd { font: 400 1.125rem/1.75rem var(--f); letter-spacing: -.004em; }
@media (min-width: 901px) {
  /* The value starts on a column of the page: three columns into eight, two into nine. */
  .hm-sl-rows .hm-rows > div { grid-template-columns: calc(3 * (100cqw + 60px) / 8 - 36px) minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .hm-sl-rows .hm-rows > div { grid-template-columns: calc(2 * (100cqw + 60px) / 9 - 36px) minmax(0, 1fr); }
}

/* Panel swap: the page's tab change. */
.hm-sl-idx .svcx__panel--out { animation: hmSlOut 80ms linear both; }
.hm-sl-idx .svcx__panel--in { animation: hmSlIn 120ms linear 80ms both; }
.hm-sl-idx .svcx__panel--in > * { animation: none; }
@keyframes hmSlOut { to { opacity: 0; } }
@keyframes hmSlIn { from { opacity: 0; } }


/* ---------- Mocks: pictures of the service. ANMA's own accents neutral, real products (Google, Apple, Instagram, TikTok, Facebook) keep their colours. ---------- */
.hm-sl-idx .svcx__stage .ui__mono, .hm-sl-idx .svcx__stage .dns__t, .hm-sl-idx .svcx__stage .dns__ttl, .hm-sl-idx .svcx__stage .db__r--h { font-family: inherit; letter-spacing: 0; text-transform: none; }
.hm-sl-idx .svcx__stage .ui__chip { letter-spacing: 0; font-weight: 500; }
.hm-sl-idx .svcx__stage .ui__chip--ok, .hm-sl-idx .svcx__stage .ui__chip--info { background: rgba(0, 0, 0, .06); color: #1D1D1F; }
.hm-sl-idx .svcx__stage .ui__chip--warn { background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22); color: #1D1D1F; }
.hm-sl-idx .svcx__stage .ui__chip--live { background: #1D1D1F; color: #fff; }

/* 01 Web: the shop with ANMA's own renders. */
.hm-sl-idx .sx--web .btmock { --u: 1.353cqw; bottom: 0; height: auto; overflow: hidden; }
.sx--web .mock__page { inset: 2.85cqw 0 0 0; border-radius: 0; }
.sx--web .mock__hero { margin-top: calc(var(--u) * 1.2); }
.sx--web .mock__sub { max-width: none; }
.sx--web .mock__cards { margin-top: calc(var(--u) * 1.4); }
.sx--web .mock__thumb { aspect-ratio: 4 / 3; }
.is-anim .sx--web .mock__cards { animation: none; }
.is-anim .sx--web .mock__cursor { animation-name: hmSlCur, webPress; }
@keyframes hmSlCur {
  0%, 4%     { translate: calc(var(--u) * 28.93) calc(var(--u) * 23.2); }
  12%, 15%   { translate: calc(var(--u) * 5.97)  calc(var(--u) * 14.4); }
  24%, 36%   { translate: calc(var(--u) * 20.09) calc(var(--u) * 30.05); }
  45%, 80%   { translate: calc(var(--u) * 64.53) calc(var(--u) * 4.60); }
  92%, 100%  { translate: calc(var(--u) * 28.93) calc(var(--u) * 23.2); }
}
.sx--web .mock__eyebrow { font-size: calc(var(--u) * .72); letter-spacing: 0; text-transform: none; color: #6E6E73; }
.sx--web .mock__thumb { background: #E8E8ED; }
.sx--web .mock__badge { background: #fff; color: #0A0A0A; box-shadow: 0 0 0 calc(var(--u) * .13) #16161c; }
.sx--web .mock__badge i { grid-area: 1 / 1; font-style: normal; }
.sx--web .mock__badge i:first-child { opacity: 0; }
.is-anim .sx--web .mock__badge i:first-child { animation: hmSlBadge1 11s steps(1, end) infinite; }
.is-anim .sx--web .mock__badge i:last-child { animation: hmSlBadge2 11s steps(1, end) infinite; }
@keyframes hmSlBadge1 { 0% { opacity: 1; } 35.6% { opacity: 0; } 91% { opacity: 1; } }
@keyframes hmSlBadge2 { 0% { opacity: 0; } 35.6% { opacity: 1; } 91% { opacity: 0; } }
.sx--web .mock__row:nth-of-type(2) .mock__rowimg { background: url(home/shop/p01-420.webp) center / cover; }
.sx--web .mock__row:nth-of-type(3) .mock__rowimg { background: url(home/shop/p10-420.webp) center / cover; }

/* 02 Apps: the live app in the real iPhone. Holes measured in the render, phones as zmx.js scales them: home .78, tour .92 of the stage's height. */
.sx--app .zmx-cap { display: none; }
.hm-sl-fr { position: absolute; max-width: none; height: auto; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .16)); will-change: transform; }
.hm-sl-fr--hero { left: calc(48.5cqw - 40.804cqh); top: 17.976cqh; width: 37.742cqh; }
.hm-sl-fr--tour { left: calc(51.5cqw - 3.612cqh); top: 3.829cqh; width: 44.654cqh; }
@container (max-width: 520px) {
  .hm-sl-fr--hero { display: none; }
  .hm-sl-fr--tour { left: calc(50cqw - 19.97cqh); top: 14.43cqh; width: 39.8cqh; }
}

/* 03 Redesign */
.sx--reno .e404 { flex: 1; aspect-ratio: auto; background: #E8E8ED; }
.sx--reno .reno__new { top: 2.85cqw; }
.sx--reno .reno__chip { top: .55cqw; right: 1.15cqw; height: 1.75cqw; padding: 0 .8cqw; gap: .35cqw; font-size: 1.1cqw; }
.sx--reno .reno__chip svg { width: 1.2cqw; height: 1.2cqw; }
.sx--reno .reno__hero { margin-top: calc(var(--u) * 1.3); }
.sx--reno .reno__h1 { font-size: calc(var(--u) * 1.7); }
.sx--reno .e404 b { color: #6E6E73; font-weight: 600; }
.sx--reno .e404 em { color: #6E6E73; font-weight: 500; }
.sx--reno .reno__eyebrow { letter-spacing: 0; text-transform: none; color: #6E6E73; }
.sx--reno .reno__cards i:nth-child(1) { background: url(home/shop/p02-420.webp) center / cover; }
.sx--reno .reno__cards i:nth-child(2) { background: url(home/shop/p06-420.webp) center / cover; }
.sx--reno .reno__cards i:nth-child(3) { background: url(home/shop/p07-420.webp) center / cover; }
.sx--reno .reno__chip { background: rgba(0, 0, 0, .06); color: #1D1D1F; font-weight: 500; }

/* 04 AI agent: the same window. The call on the left with the approved orb, what it did on the right, the line's state as the window's bar. */
.sx--voice .vo { --u: 2.5cqw; bottom: 0; gap: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 2.85cqw minmax(0, 1fr); align-items: stretch; overflow: hidden; }
.sx--voice .vo__call { grid-column: 1 / -1; grid-row: 1; justify-self: stretch; justify-content: space-between; gap: 1cqw; height: 2.85cqw; margin: 0; padding: 0 .55cqw 0 1.15cqw; border-radius: 0; background: #EDEDF0; box-shadow: none; }
.sx--voice .vo__state { gap: .55cqw; color: #6E6E73; font-size: 1.2cqw; font-weight: 500; }
.sx--voice .vo__state b { color: #1D1D1F; font-family: inherit; font-weight: 500; }
.sx--voice .vo__dot { width: .72cqw; height: .72cqw; background: #1D1D1F; }
.sx--voice .vo__hang { gap: .4cqw; height: 2cqw; padding-inline: .9cqw; background: #1D1D1F; box-shadow: none; font-size: 1.1cqw; font-weight: 500; }
.sx--voice .vo__hang svg { width: 1.2cqw; height: 1.2cqw; }
.sx--voice .vo__side { grid-column: 1; grid-row: 2; justify-content: center; padding: 0 calc(var(--u) * 1.4); }
.sx--voice .vo__orb { width: calc(var(--u) * 4); height: calc(var(--u) * 4); margin-bottom: calc(var(--u) * 1.2); }
.sx--voice .vo__orb::before, .sx--voice .vo__ring { display: none; }
.sx--voice .vo__ball { box-shadow: none; }
.sx--voice .vo__talk { gap: calc(var(--u) * .4); }
.sx--voice .vo__l--in { background: #EDEDF0; color: #3A3A3C; }
.sx--voice .vo__l--ai { background: #1D1D1F; color: #fff; }
.sx--voice .vo__acts { grid-column: 2; grid-row: 2; justify-content: center; gap: calc(var(--u) * .5); padding: 0 calc(var(--u) * 1.4); border-left: 1px solid #EDEDF0; }
.sx--voice .vo__actsh { margin: 0; color: #6E6E73; font-family: inherit; font-size: calc(var(--u) * .5); letter-spacing: 0; text-transform: none; }
.sx--voice .vo__apps { min-height: calc(var(--u) * 10); }
.sx--voice .vo__app { display: flex; flex-direction: column; border-radius: .8cqw; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.sx--voice .vo__app .ui__bar { background: #fff; border-bottom: 1px solid #EDEDF0; }
.sx--voice .vo__app .ui__dots { display: none; }
.sx--voice .voa { flex: 1 1 auto; }
.sx--voice .voa__t { color: #6E6E73; font-size: 1.1cqw; font-weight: 500; }
.sx--voice .voa__v { color: #1D1D1F; }
.sx--voice .voa__k, .sx--voice .voa__d { color: #6E6E73; }
.sx--voice .voa__h { color: #8E8E93; }
.sx--voice .voa__b, .sx--voice .voa__msg { color: #3A3A3C; }
.sx--voice .voa__f { border-bottom-color: #EDEDF0; }
.sx--voice .voa__btn, .sx--voice .voa__msg--out, .sx--voice .voa__ev { background: #1D1D1F; color: #fff; }
.sx--voice .voa__done { color: #1D1D1F; }
.sx--voice .voa__msg { background: #EDEDF0; }
.sx--voice .voa__msg--out { background: #1D1D1F; color: #fff; }
.sx--voice .voa__d--on { color: #1D1D1F; }
.sx--voice .voa__cal { flex: 1 1 auto; grid-template-rows: auto repeat(3, 1fr); }
.sx--voice .voa__ev { font-size: calc(var(--u) * .34); }
.sx--voice .voa__c { height: auto; background: #F5F5F7; }
.sx--voice .voa__c--busy { background: #E5E5EA; }
/* The calendar lies under the other two: its cells are positioned, so without a stacking order they would paint through them. */
.is-anim .sx--voice .vo__app { position: relative; z-index: 1; }
.is-anim .sx--voice .vo__app:last-child { z-index: 0; animation: none; }
.hm-sl-still .sx--voice .vo__app:not(:last-child) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sx--voice .vo__apps { display: grid; }
  .sx--voice .vo__app:not(:last-child) { display: none; }
}

/* 05 Chat */
.sx--chat .ch__page { flex: 1; height: auto; min-height: 0; }
.sx--chat .ch__nav b { color: #1D1D1F; }
.sx--chat .ch__nav i, .sx--chat .ch__l { background: #EDEDF0; }
.sx--chat .ch__t { background: #E5E5EA; }
.sx--chat .ch__cards i { background: #F5F5F7; border-color: #EDEDF0; }
.sx--chat .ch__win { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 16px 40px -16px rgba(0, 0, 0, .2); }
.sx--chat .ch__head, .sx--chat .ch__input { border-color: #EDEDF0; }
.sx--chat .ch__head b { color: #1D1D1F; }
.sx--chat .ch__av { background: #1D1D1F; }
.sx--chat .ch__st em { color: #6E6E73; }
.sx--chat .ch__m--in { background: #EDEDF0; color: #3A3A3C; }
.sx--chat .ch__m--ai { background: #1D1D1F; color: #fff; }
.sx--chat .ch__sys { color: #1D1D1F; font-weight: 500; }
.sx--chat .ch__input { color: #8E8E93; }
.sx--chat .ch__send { background: #1D1D1F; }

/* 06 Maintenance */
.sx--sprava .ui__bars i { background: #C7C7CC; opacity: 1; }
.is-anim .sx--sprava .ui__bars i { animation: none; }
.is-anim .sx--sprava .ui__h .ui__chip--ok { animation: none; }

/* 07 Domain, 08 TLS, 09 Databases */
.sx--domena .ui__body { gap: calc(var(--u) * .3); }
.sx--domena .dns__t { background: #EDEDF0; color: #3A3A3C; }
.sx--domena .dns__ttl { color: #8E8E93; }
.sx--tls .tls__lock { color: #6E6E73 !important; }
.sx--db .db__r--h { background: #F5F5F7; color: #6E6E73; }
.sx--db .db__r .ui__chip { justify-self: start; }
.sx--db .db__tbl, .sx--db .db__r { border-color: #EDEDF0; }
.sx--db .db__ints em { border-color: #E5E5EA; color: #3A3A3C; }
.is-anim .sx--db .db__r:nth-child(2) { animation-name: hmSlRowNew; }
.is-anim .sx--db .db__ints em { animation-name: hmSlInt; }
@keyframes hmSlRowNew {
  0% { opacity: 0; translate: 0 calc(var(--u) * -1.4); background-color: #F5F5F7; }
  8% { opacity: 1; translate: 0 0; background-color: #F5F5F7; }
  22%, 92% { opacity: 1; translate: 0 0; background-color: transparent; }
  100% { opacity: 0; translate: 0 calc(var(--u) * -1.4); background-color: #F5F5F7; }
}
@keyframes hmSlInt {
  0%, 30% { background-color: transparent; }
  38% { background-color: #EDEDF0; }
  52%, 100% { background-color: transparent; }
}

/* 10 Social: three real iPhones, straight. The screens keep their apps' colours. */
.soc__ph { width: calc(var(--u) * 21); height: calc(var(--u) * 43.41); padding: 0; border-radius: 0; background: url(portfolio/iphone-dark.webp?v=20261025a) center / 100% 100% no-repeat; box-shadow: none; }
.soc__scr { inset: auto; left: 3.728%; top: 1.627%; width: 92.398%; height: 96.924%; border-radius: 13.7% / 6.32%; }
.soc__ph--ig { --u: 1.16cqw; }
.soc__ph--tt { --u: 1.02cqw; left: 8%; translate: -150% -50%; rotate: none; }
.soc__ph--fb { --u: 1.02cqw; left: 70.58%; translate: 150% -50%; rotate: none; }
.is-anim .sx--soc .soc__ph--tt { animation-name: hmSlTt; }
.is-anim .sx--soc .soc__ph--fb { animation-name: hmSlFb; }
.is-anim .sx--soc .soc__ph--ig { animation-name: hmSlIg; }
@keyframes hmSlTt {
  0%, 36% { translate: -150% -50%; }
  44%, 92% { translate: 0 -50%; }
  97%, 100% { translate: -150% -50%; }
}
@keyframes hmSlFb {
  0%, 38% { translate: 150% -50%; }
  46%, 92% { translate: 0 -50%; }
  97%, 100% { translate: 150% -50%; }
}
/* The feed jumps back to its start at the end of the loop: the phone fades over that moment. */
@keyframes hmSlIg {
  0%, 1% { opacity: 0; }
  4%, 96% { opacity: 1; }
  99%, 100% { opacity: 0; }
}

/* 13 Renders: ANMA's own 3D work on the page's grid. */
.hm-sl-idx .svcx__vis:has(.hm-sl-3d) { border-radius: 0; background: none; }
.hm-sl-idx .svcx__stage.hm-sl-3d { display: grid; grid-template-columns: minmax(0, 1fr) 27.5%; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hm-sl-3d img { width: 100%; height: 100%; min-height: 0; border-radius: 16px; object-fit: cover; }
.hm-sl-3d__a { grid-row: span 2; }

/* Nothing moves: the visitor paused, or asked for reduced motion. Every tile shows its finished state, nothing is left half way. */
.hm-sl-still .svcx__stage *, .hm-sl-still .svcx__stage *::before, .hm-sl-still .svcx__stage *::after { animation: none !important; }
.hm-sl-still .sx--web .mock__cursor { display: none; }
.hm-sl-still .sx--web .mock__panel { opacity: 1; transform: none; }
.hm-sl-still .sx--web .mock__badge i:first-child { opacity: 0; }
.hm-sl-still .sx--reno .reno__new, .hm-sl-still .sx--reno .reno__u2 { opacity: 1; }
.hm-sl-still .sx--reno .reno__chip { opacity: 1; scale: 1; }
.hm-sl-still .sx--reno .reno__u1 { opacity: 0; }
.hm-sl-still .sx--voice .voa__ev { scale: 1; }
.hm-sl-still .sx--soc .soc__ph--ig { opacity: 1; }
.hm-sl-still .sx--soc .soc__ph--tt, .hm-sl-still .sx--soc .soc__ph--fb { translate: 0 -50%; }
@media (prefers-reduced-motion: reduce) {
  .sx--web .mock__cursor { display: none; }
  .sx--reno .reno__new, .sx--reno .reno__u2 { opacity: 1; }
  .sx--reno .reno__chip { opacity: 1; scale: 1; }
  .sx--reno .reno__u1 { opacity: 0; }
  .sx--soc .soc__ph--ig { opacity: 1; }
  .sx--soc .soc__ph--tt, .sx--soc .soc__ph--fb { translate: 0 -50%; }
  .hm-sl-end .hm-textbtn { display: none; }
}

/* ---------- Packages ---------- */
.hm-sl-pk .hm-head .hm-p { max-width: 44rem; }
.hm-sl-pkgs { display: grid; gap: 12px; }
.hm-sl-pkg__k { color: var(--i3); font: var(--t14); letter-spacing: 0; }
.hm-sl-pkg__top .hm-h3 { margin-top: 4px; }
.hm-sl-pkg__for { margin-top: 6px; color: var(--i2); letter-spacing: -.004em; }
.hm-card.hm-sl-pkg ul { margin: 20px 0 24px; }
.hm-sl-pkg li { display: block; min-height: 0; padding: 0; }
.hm-sl-pkg li > span, .hm-sl-pkg li > a { display: block; padding: 11px 0; }
.hm-sl-pkg li > a { color: #0A0A0A; transition: color 120ms linear; }
.hm-sl-pkg__run p + p { margin-top: 4px; color: var(--i2); font: var(--t15); letter-spacing: -.003em; }
.hm-sl-pkg__foot { margin-top: 24px; }
.hm-sl-pkg__price { margin-bottom: 12px; color: var(--i3); font: var(--t13); letter-spacing: 0; }
.hm-sl-notes { margin-top: 32px; }

/* ---------- Closing ---------- */
.hm-cta > .hm-h2 { max-width: 20em; margin-inline: auto; }

/* ---------- Wider ---------- */
/* The list keeps every name on one line: four columns until three are wide enough. */
@media (min-width: 901px) and (max-width: 1279px) {
  .hm-sl-idx .svcx__list { grid-column: 1 / span 4; }
  .hm-sl-idx .svcx__view { grid-column: 5 / -1; }
}
@media (min-width: 901px) and (max-width: 1099px) {
  .hm-sl-idx .svcx__item { font: var(--t14r); letter-spacing: 0; }
}
@media (min-width: 1000px) {
  .hm-sl-pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); row-gap: 0; }
  .hm-card.hm-sl-pkg { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
}
@media (min-width: 1200px) {
  .hm-card.hm-sl-pkg { padding: 32px; }
}

/* ---------- One column: list, then tile and open text. app.js still arms the phone bar (.has-dock): these rules switch it off, with the same or higher weight. ---------- */
@media (max-width: 900px) {
  .hm-sl-idx .svcx { display: block; }
  .hm-sl-idx .svcx__list { position: relative; top: auto; display: block; }
  .hm-sl-idx .svcx__reach { display: contents; margin: 0; pointer-events: auto; }
  .hm-sl-idx .svcx__reach::before { display: none; }
  .hm-sl-idx .svcx__view { position: relative; bottom: auto; z-index: auto; margin: 32px 0 0; padding: 0; background: none; pointer-events: auto; }
  .hm-sl-idx .svcx__view::before { display: none; }
  .hm-sl-idx .svcx__panel:not([hidden]) { display: flex; flex-direction: column; align-items: stretch; }
  .hm-sl-idx .svcx__panel--out { inset: 0 0 auto 0; width: 100%; }
  .hm-sl-idx .svcx__vis { order: -1; position: static; z-index: auto; width: 100%; max-width: none; margin: 0 0 16px; }
  .hm-sl-idx .svcx__vis.hm-sl-rows { order: 0; margin: 16px 0 0; }
  .hm-sl-idx .svcx__body { order: 0; }
  .hm-sl-idx .svcx__more { display: none; }
  .hm-sl-idx .svcx__body { display: block; }
  .hm-sl-idx .svcx__body > div { overflow: visible; }
  .hm-sl-idx .svcx__panel h3 { margin: 0; font: 500 1.375rem/1.75rem var(--f); letter-spacing: -.006em; cursor: auto; }
  .hm-sl-idx .svcx__lead { padding-top: 0; font: var(--t16); letter-spacing: -.004em; }
}
@media (min-width: 640px) and (max-width: 900px) {
  /* Two columns of whole groups: the second pair's heads level across. */
  .hm-sl-idx .svcx__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; grid-auto-flow: column; gap: 20px 12px; }
  .hm-sl-idx .svcx__group + .svcx__group { margin-top: 0; }
}
/* On a phone the tile is a picture of the service: the windows take the width. */
@media (max-width: 639px) {
  .hm-sl-idx .svcx__stage { aspect-ratio: 16 / 10; }
  .hm-sl-idx .sx--app { aspect-ratio: 4 / 5; }
  .hm-sl-idx .sx--reno .ui, .hm-sl-idx .sx--chat .ui, .hm-sl-idx .sx--sprava .ui, .hm-sl-idx .sx--domena .ui, .hm-sl-idx .sx--tls .ui, .hm-sl-idx .sx--db .ui { --u: 3.2cqw; }
  .hm-sl-idx .svcx__stage .ui__bar, .hm-sl-idx .svcx__stage .mock__bar { height: 4cqw; padding-inline: 1.6cqw; }
  .hm-sl-idx .svcx__stage .ui__dots i, .hm-sl-idx .svcx__stage .mock__dots i { width: 1cqw; height: 1cqw; }
  .hm-sl-idx .svcx__stage .ui__url, .hm-sl-idx .svcx__stage .mock__url { padding-right: 6cqw; font-size: 1.8cqw; }
  .hm-sl-idx .sx--web .mock__page, .hm-sl-idx .sx--reno .reno__new { top: 4cqw; }
  .hm-sl-idx .sx--web .mock__cursor { top: 1.15cqw; }
  .hm-sl-idx .sx--reno .reno__chip { display: none; }
  .hm-sl-idx .sx--reno .reno__hero { margin-top: var(--u); }
  .hm-sl-idx .sx--reno .reno__cards i { height: calc(var(--u) * 3.6); }
  /* The call alone: at this width the second column would be a smudge. */
  .hm-sl-idx .sx--voice .vo { --u: 3.5cqw; grid-template-columns: minmax(0, 1fr); grid-template-rows: 4cqw minmax(0, 1fr); }
  .hm-sl-idx .sx--voice .vo__acts { display: none; }
  .hm-sl-idx .sx--voice .vo__call { height: 4cqw; padding: 0 .8cqw 0 1.6cqw; }
  .hm-sl-idx .sx--voice .vo__state { font-size: 1.8cqw; }
  .hm-sl-idx .sx--voice .vo__dot { width: 1cqw; height: 1cqw; }
  .hm-sl-idx .sx--voice .vo__hang { height: 2.8cqw; font-size: 1.6cqw; }
  .hm-sl-idx .sx--voice .vo__hang svg { width: 1.7cqw; height: 1.7cqw; }
  .hm-sl-idx .sx--voice .vo__side { padding: 0 calc(var(--u) * 1); }
  .hm-sl-idx .sx--voice .vo__orb { width: calc(var(--u) * 3.6); height: calc(var(--u) * 3.6); margin-bottom: calc(var(--u) * .8); }
}
@media (pointer: coarse) {
  .hm-sl-idx .svcx__item { min-height: 44px; align-items: center; }
}

/* ---------- More contrast, forced colours ---------- */
@media (prefers-contrast: more) {
  .hm-sl-idx .svcx__vis { box-shadow: inset 0 0 0 1px var(--l1); }
}
@media (forced-colors: active) {
  .hm-sl-idx .svcx__pill { display: none; }
  .hm-sl-idx .svcx__item[aria-selected="true"], .hm-sl-idx.svcx-sec:has(.svcx__pill.is-set) .svcx__item[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .hm-sl-idx .svcx__item[aria-selected="true"] i, .hm-sl-idx.svcx-sec:has(.svcx__pill.is-set) .svcx__item[aria-selected="true"] i { color: HighlightText; }
}

/* ---------- Hover and press ---------- */
@media (hover: hover) {
  .hm-sl-idx .svcx__item:hover { background: none; color: var(--i2); }
  .hm-sl-idx .svcx__item:hover i { color: #0A0A0A; }
  .hm-sl-pkg li > a:hover { color: var(--i2); }
}
.hm-sl-idx .svcx__item:active, .hm-sl-pkg li > a:active { color: var(--i3); transition: none; }

/* ---------- No script: every service open, one after the other, no list that does nothing. ---------- */
@media (scripting: none) {
  .hm-sl-idx .svcx__list { display: none; }
  .hm-sl-idx .svcx__view { grid-column: 1 / -1; }
  .hm-sl-idx .svcx__panel[hidden] { display: block; margin-top: 56px; }
  .hm-sl-idx .sx--web .mock__cursor { display: none; }
  .hm-sl-idx .sx--voice .voa__ev { scale: 1; }
  .hm-sl-idx .sx--reno .reno__new, .hm-sl-idx .sx--reno .reno__u2 { opacity: 1; }
  .hm-sl-idx .sx--reno .reno__chip { opacity: 1; scale: 1; }
  .hm-sl-idx .sx--reno .reno__u1 { opacity: 0; }
  .hm-sl-idx .sx--soc .soc__ph--ig { opacity: 1; }
  .hm-sl-idx .sx--soc .soc__ph--tt, .hm-sl-idx .sx--soc .soc__ph--fb { translate: 0 -50%; }
  .hm-sl-fr, .hm-sl-idx .sx--app .zmx-host { display: none; }
  .hm-sl-idx .sx--app { background: url(portfolio/zm-angle-480.webp?v=20261025a) center / auto 92% no-repeat; }
}

@media print {
  .hm-sl-idx .svcx__list, .hm-sl-idx .svcx__stage, .hm-sl-end { display: none; }
  .hm-sl-idx .svcx__view { grid-column: 1 / -1; }
  .hm-sl-idx .svcx__panel[hidden] { display: block; margin-top: 24px; }
  .hm-sl-pkg { break-inside: avoid; }
}
/* Mock details: the sound credit clips right after its note, a chip that swaps with a longer one keeps its text centred. */
.hm-sl-mq { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ui__swap .ui__chip { justify-content: center; }
